*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body{
    overflow-x: hidden;
    max-width: 100%;
}

body{
    font-family: "Inter", sans-serif;
}

h1, h2, h3{
    font-family: "Space Grotesk", sans-serif;
}

html{
    scroll-behavior: smooth;
}

header{
    width: 100%;
    padding: 1.5rem 8%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.container-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav ul{
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    position: relative;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color .3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;

    width: 0;
    height: 2px;

    background-color: #eec642;

    transition: width .3s ease;
}

nav a:hover {
    color: #eec642;
}

nav a:hover::after {
    width: 100%;
}
.logo img{
    width: 180px;
    height: auto;
}

/*--------------------------------- HERO seccion  */
#hero{
    padding: 20px 8% 100px; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(
        135deg,
        #0F172A 0%,
        #1E293B 100%
    );
    position: relative;
    overflow: hidden;
}


.hero-content{
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.hero-content h1{
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    color: #fff;
}

.hero-content h2{
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 400;
    color: #eec642;
    margin-top: .3rem;
    margin-bottom: 1.5rem;
}

.hero-description{
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,.75);
    max-width: 520px;
    margin: 0 auto 2rem;
}

.hero-benefits{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .8rem;
    margin-bottom: 2.5rem;
}

.hero-benefits span{
    padding: .6rem 1.1rem;
    border-radius: 999px;
    background-color: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    font-size: .9rem;
    color: rgba(255,255,255,.9);
    white-space: nowrap;
}

.btn-hero{
    display: inline-block;
    background-color: #cf9f00;
    color: #0F172A;
    padding: 1rem 2.2rem;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(238,198,66,.25);
    transition: transform .25s ease, box-shadow .25s ease;
}

.btn-hero:hover{
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(238,198,66,.35);
}


/*--------------------------------- SERVICES SECTION */
#services{
    padding: 7rem 8%;
    background-color: #F8F7F3; /* blanco cálido, no blanco puro */
}

.services-container{
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.services-container h2{
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: #0F172A; /* navy, no dorado — el dorado sobre blanco se lava */
}

.services-subtitle{
    max-width: 700px;
    margin: 0 auto 4rem auto;
    line-height: 1.8;
    color: #475569;
    font-size: 1.05rem;
}

.services-cards{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card{
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background-color: #fff;
    border: 1px solid #E8E6DD;
    box-shadow: 0 4px 20px rgba(15, 23, 42, .06);
    text-align: left;
    transition: transform .25s ease, box-shadow .25s ease;
}

.service-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .1);
}

.service-icon{
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: rgba(238,198,66,.15);
    color: #c09403;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
}

.service-card h3{
    margin-bottom: .8rem;
    color: #0F172A;
    font-size: 1.25rem;
}

.service-card p{
    line-height: 1.7;
    color: #64748B;
}

.service-card-full{
    grid-column: 1 / -1;
    max-width: 48%;
    margin: 0 auto;
}

@media (max-width: 768px){
    .service-card-full{
        max-width: 100%;
    }
}

@media (max-width: 768px){
    .services-cards{
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    #services{
        padding: 5rem 6%;
    }
    
}
/*--------------------------------- PROCESS SECTION */
#process{
    padding: 7rem 8%;
    background-color: #0F172A; /* alterna con el fondo claro de servicios */
    color: #fff;
}

.process-container{
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.process-container h2{
    font-size: clamp(2rem, 4vw, 3rem);
    color: #fff;
    margin-bottom: 1rem;
}

.process-subtitle{
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    color: rgba(255,255,255,.7);
}

.process-steps{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4.5rem;
    position: relative;
}

/* línea conectora, solo desktop */
.process-steps::before{
    content: "";
    position: absolute;
    top: 24px; /* alineado al centro del número */
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(238,198,66,.4), transparent);
}

.step{
    padding: 1.5rem;
    position: relative;
}

.step span{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background-color: #d8a407;
    color: #07112b;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}


.step h3{
    color: #fff;
    margin-bottom: .6rem;
    font-size: 1.15rem;
}

.step p{
    color: rgba(255,255,255,.65);
    line-height: 1.7;
    font-size: .95rem;
}

@media (max-width: 768px){
    .process-steps{
        grid-template-columns: 1fr;
    }
    .process-steps::before{
        display: none;
    }
}


/*--------------------------------- FAQ */

#faq{
    padding: 7rem 8%;
    background-color: #F8F7F3; /* mismo claro que usamos en services */
}

.faq-container{
    max-width: 900px;
    margin: 0 auto;
}

.faq-container h2{
    text-align: center;
    margin-bottom: 3rem;
    color: #0F172A;
    font-size: clamp(2rem, 4vw, 3rem);
}

details{
    padding: 1.5rem 1.8rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #E8E6DD;
    cursor: pointer;
    transition: box-shadow .25s ease, border-color .25s ease;
}

details:hover{
    box-shadow: 0 4px 16px rgba(15, 23, 42, .06);
}

details[open]{
    border-color: #eec642;
    box-shadow: 0 4px 20px rgba(15, 23, 42, .08);
}

summary{
    font-weight: 600;
    list-style: none;
    color: #0F172A;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

summary::-webkit-details-marker{
    display: none; /* Chrome/Safari también tienen su propio marker por default */
}

summary::after{
    content: "+";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(238,198,66,.15);
    color: #c09403;
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform .25s ease;
}

details[open] summary::after{
    content: "−";
    transform: rotate(180deg);
}

details p{
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E8E6DD;
    line-height: 1.8;
    color: #64748B;
}

/*--------------------------------- FOOTER */

#footer {
    padding: 5rem 8% 2.5rem;
    background-color: #070E21; /* más oscuro que el hero, para dar sensación de cierre */
    color: rgba(255,255,255,.7);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    width: 140px;
    height: auto;
    margin-bottom: 1rem;
    /* si tu logo es oscuro y no tenés versión clara, descomentá la linea de abajo */
    /* filter: brightness(0) invert(1); */
}

.footer-container h3{
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: .5rem;
}

.footer-description {
    margin-bottom: 3rem;
    color: rgba(255,255,255,.55);
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.footer-contact,
.footer-services {
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.footer-contact h4,
.footer-services h4 {
    margin-bottom: .5rem;
    color: #eec642;
    font-size: 1rem;
    letter-spacing: .3px;
}

.footer-contact p,
.footer-services p{
    color: rgba(255,255,255,.6);
    line-height: 1.6;
}

.footer-navegable{
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.footer-navegable h4{
    margin-bottom: .5rem;
    color: #eec642;
    font-size: 1rem;
    letter-spacing: .3px;
}

.footer-navegable ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .7rem;
}

.footer-navegable a{
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .25s ease;
}

.footer-navegable a:hover{
    color: #eec642;
}

.copyright {
    margin-top: 1rem;
    font-size: .85rem;
    color: rgba(255,255,255,.4);
}

@media (max-width: 600px){
    .footer-info{
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}



/*--------------------------------- WHATSAPP FLOTANTE */
.whatsapp-float{
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
    z-index: 999;
    transition: transform .25s ease, box-shadow .25s ease;
    animation: whatsapp-pulse 2.5s infinite;
}

.whatsapp-float:hover{
    transform: scale(1.08);
    box-shadow: 0 8px 26px rgba(37, 211, 102, .55);
}

@keyframes whatsapp-pulse{
    0%   { box-shadow: 0 6px 20px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .5); }
    70%  { box-shadow: 0 6px 20px rgba(37, 211, 102, .4), 0 0 0 14px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 6px 20px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 600px){
    .whatsapp-float{
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
        bottom: 1.2rem;
        right: 1.2rem;
    }
}


/*--------------------------------- MENU TOGGLE (mobile) */
.menu-toggle{
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 200;
}

.menu-toggle span{
    display: block;
    width: 100%;
    height: 2px;
    background-color: #000000;
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
}

/* animación a X cuando está abierto */
.menu-toggle.active span:nth-child(1){
    transform: translateY(9px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2){
    opacity: 0;
}
.menu-toggle.active span:nth-child(3){
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px){
    .menu-toggle{
        display: flex;
    }

    nav{
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 320px;
        height: 100vh;
        background-color: #0F172A;
        padding: 6rem 2.5rem;
        transition: right .35s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,.3);
        z-index: 160; 

    }

    nav.active{
        right: 0;
    }

    nav ul{
        flex-direction: column;
        gap: 2rem;
    }

    nav a{
        font-size: 1.1rem;
    }

    /* fondo oscurecido detrás del menú */
    .menu-overlay{
        display: none;
        position: fixed;
        inset: 0;
        background-color: rgba(0,0,0,.5);
        z-index: 150;
    }

    .menu-overlay.active{
        display: block;
    }
}

@media (max-width: 480px){
    .logo img{
        width: 140px;
    }
    header{
        padding: 1rem 6%;
    }
}