/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',sans-serif;
    background:#F8FAFF;
    color:#1F2937;
    line-height:1.6;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1300px;
    margin:auto;
}

/* =========================
   VARIABLES
========================= */

:root{
    --primary:#0D6EFD;
    --primary-dark:#0039A6;
    --secondary:#EDF4FF;
    --text:#1E293B;
    --gray:#64748B;
    --white:#FFFFFF;
    --shadow:0 15px 40px rgba(0,0,0,.08);
    --radius:20px;
}

/* =========================
   BOTONES
========================= */

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:15px 30px;
    border-radius:15px;
    font-weight:600;
    transition:.3s;
}

.btn-primary{
    background:var(--primary);
    color:white;
}

.btn-primary:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
}

.btn-outline{
    border:2px solid var(--primary);
    color:var(--primary);
    background:white;
}

.btn-outline:hover{
    background:var(--primary);
    color:white;
}

.btn-light{
    background:white;
    color:var(--primary);
    font-weight:700;
}

/* =========================
   HEADER
========================= */

.header{
    background:white;
    position:sticky;
    top:0;
    z-index:999;
    box-shadow:0 1px 10px rgba(0,0,0,.05);
}

.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:90px;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
    color:var(--text);
    font-weight:700;
}

.logo-icon{
    width:50px;
    height:50px;
    border-radius:50%;
    background:var(--primary);
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:25px;
}

.nav-menu{
    display:flex;
    gap:35px;
}

.nav-menu a{
    color:#334155;
    font-weight:500;
    transition:.3s;
}

.nav-menu a:hover,
.nav-menu .active{
    color:var(--primary);
}

/* =========================
   HERO
========================= */

.hero{
    padding:80px 0;
    overflow:hidden;
}

.hero-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:50px;
}

.tag{
    display:inline-block;
    padding:10px 20px;
    border-radius:30px;
    background:#EAF2FF;
    color:var(--primary);
    font-size:.9rem;
    font-weight:700;
    margin-bottom:25px;
}

.hero-content h1{
    font-size:4rem;
    line-height:1.1;
    color:#071B57;
    margin-bottom:25px;
}

.hero-content h1 span{
    color:var(--primary);
}

.hero-content p{
    color:#64748B;
    font-size:1.1rem;
    margin-bottom:25px;
}

.hero-list{
    margin-bottom:35px;
}

.hero-list li{
    margin-bottom:15px;
    position:relative;
    padding-left:35px;
}

.hero-list li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    width:22px;
    height:22px;
    border-radius:50%;
    background:var(--primary);
    color:white;
    text-align:center;
    line-height:22px;
    font-size:.8rem;
}

.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.hero-rating{
    margin-top:30px;
    color:#FFD700;
    font-size:1rem;
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    clear:both;
}

.hero-rating span{
    color:var(--text-soft);
    font-size:.9rem;
}

.hero-features{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:35px;
}

/* =========================
   SOCIAL PROOF
========================= */

.social-proof{
    display:flex;
    align-items:center;
    gap:15px;
    margin-top:30px;
}

.avatars{
    display:flex;
}

.avatars span{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#dbeafe;
    border:3px solid white;
    margin-left:-10px;
}

.avatars span:first-child{
    margin-left:0;
}

.social-proof p{
    margin:0;
    color:#64748B;
    font-size:.95rem;
}

/* =========================
   HERO IMAGE
========================= */

.hero-image{
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
}

.hero-image img{
    width:100%;
    max-width:650px;
    z-index:2;
    position:relative;
}

.hero-image::before{
    content:'';
    position:absolute;
    width:600px;
    height:600px;
    border-radius:50%;
    background:radial-gradient(
        circle,
        rgba(13,110,253,.25),
        rgba(13,110,253,.05),
        transparent
    );
    z-index:1;
}

/* =========================
   FLOATING CARDS
========================= */

.floating-card{
    position:absolute;
    background:white;
    border-radius:20px;
    padding:18px 22px;
    box-shadow:var(--shadow);
    z-index:3;
    min-width:180px;
}

.floating-card strong{
    display:block;
    color:#071B57;
    margin-bottom:5px;
}

.floating-card span{
    color:var(--primary);
    font-weight:600;
}

.card-one{
    top:10%;
    right:0;
}

.card-two{
    top:45%;
    right:-20px;
}

.card-three{
    bottom:10%;
    right:0;
}

/* =========================
   FEATURES
========================= */

.features{
    background:white;
    margin-top:30px;
    border-radius:25px;
    box-shadow:var(--shadow);
    padding:35px;
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:20px;
}

.feature-card{
    display:flex;
    gap:15px;
    align-items:center;
}

.feature-card .icon{
    width:65px;
    height:65px;
    min-width:65px;
    border-radius:50%;
    background:#EDF4FF;
    display:flex;
    align-items:center;
    justify-content:center;
}

.feature-card .icon i{
    font-size:26px;
    color:#0D6EFD;
}

.feature-card h3{
    font-size:1rem;
    color:#071B57;
    margin-bottom:5px;
}

.feature-card p{
    color:#64748B;
    font-size:.9rem;
}

/* =========================
   SYMPTOMS + METHOD
========================= */

.diagnostic-section{
    display:grid;
    grid-template-columns:1fr 2fr;
    gap:30px;
    margin-top:70px;
}

.symptoms-card,
.method-card{
    background:white;
    border-radius:25px;
    padding:40px;
    box-shadow:var(--shadow);
}

.symptoms-card h2,
.method-card h2{
    color:#071B57;
    margin-bottom:25px;
    font-size:2rem;
}

.symptoms-card ul li{
    margin-bottom:18px;
    padding-left:35px;
    position:relative;
}

.symptoms-card ul li::before{
    content:"✓";
    position:absolute;
    left:0;
    width:22px;
    height:22px;
    border-radius:50%;
    background:var(--primary);
    color:white;
    text-align:center;
    line-height:22px;
    font-size:.8rem;
}

.method-steps{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin-top:40px;
    flex-wrap:wrap;
}

.step{
    text-align:center;
}

.step-icon{
    width:90px;
    height:90px;
    border-radius:50%;
    background:#EDF4FF;
    display:flex;
    align-items:center;
    justify-content:center;
}

.step-icon i{
    font-size:36px;
    color:#0D6EFD;
}

.step h3{
    color:#071B57;
    margin-bottom:5px;
}

.step p{
    color:#64748B;
}

.method-steps span{
    font-size:2rem;
    color:var(--primary);
}

.method-text{
    text-align:center;
    margin-top:40px;
    color:#64748B;
    font-size:1.05rem;
}
/* =========================
   RESULTS
========================= */

.results-section{
    display:grid;
    grid-template-columns:1.5fr 1fr;
    gap:30px;
    margin-top:70px;
}

.results-gallery,
.testimonial-card{
    background:white;
    border-radius:25px;
    padding:40px;
    box-shadow:var(--shadow);
}

.results-gallery h2{
    color:#071B57;
    font-size:2.4rem;
    line-height:1.2;
    margin-bottom:30px;
}

.result-images{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.result-card{
    position:relative;
    overflow:hidden;
    border-radius:22px;
    height:280px;
}

.result-card img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.result-card span{
    position:absolute;
    bottom:15px;
    left:15px;
    background:var(--primary);
    color:white;
    padding:8px 18px;
    border-radius:30px;
    font-weight:700;
}

.link-more{
    display:inline-block;
    margin-top:25px;
    color:var(--primary);
    font-weight:700;
}

/* =========================
   TESTIMONIAL
========================= */

.testimonial-card{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.quote{
    font-size:6rem;
    color:var(--primary);
    line-height:1;
    font-weight:700;
}

.testimonial-card p{
    font-size:1.15rem;
    color:#334155;
    margin-bottom:25px;
}

.testimonial-card h4{
    color:#071B57;
    margin-bottom:25px;
}

.testimonial-dots{
    display:flex;
    gap:8px;
}

.testimonial-dots span{
    width:10px;
    height:10px;
    border-radius:50%;
    background:#CBD5E1;
}

.testimonial-dots .active{
    background:var(--primary);
}

/* =========================
   CTA
========================= */

.cta{
    margin-top:70px;
    background:linear-gradient(135deg,#0D6EFD,#0039A6);
    border-radius:30px;
    padding:50px;
    color:white;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    box-shadow:var(--shadow);
}

.cta h2{
    font-size:2.4rem;
    margin-bottom:10px;
}

.cta p{
    color:#EAF2FF;
}

/* =========================
   FOOTER
========================= */

.footer{
    background:#071B57;
    margin-top:80px;
    padding-top:70px;
    color:white;
}

.footer-container{
    display:grid;
    grid-template-columns:1.5fr 1fr 1fr 1fr 1.2fr;
    gap:40px;
}

.footer .logo{
    color:white;
    margin-bottom:20px;
}

.footer-brand p{
    color:#CBD5E1;
    margin-bottom:25px;
}

.social-icons{
    display:flex;
    gap:12px;
}

.social-icons a{
    width:38px;
    height:38px;
    border-radius:50%;
    background:rgba(255,255,255,.1);
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    transition:.3s;
}

.social-icons a:hover{
    background:var(--primary);
}

.footer-col h3{
    margin-bottom:20px;
    font-size:1.1rem;
}

.footer-col a,
.footer-col p{
    display:block;
    color:#CBD5E1;
    margin-bottom:12px;
    font-size:.95rem;
}

.footer-col a:hover{
    color:white;
}

.footer-bottom{
    margin-top:50px;
    padding:25px 0;
    border-top:1px solid rgba(255,255,255,.12);
    display:flex;
    justify-content:space-between;
    gap:20px;
    color:#CBD5E1;
    font-size:.9rem;
}

.footer-bottom a{
    color:#CBD5E1;
    margin-left:20px;
}

.footer-bottom a:hover{
    color:white;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px){

    .nav-menu{
        display:none;
    }

    .hero-container,
    .diagnostic-section,
    .results-section{
        grid-template-columns:1fr;
    }

    .features{
        grid-template-columns:repeat(2,1fr);
    }

    .footer-container{
        grid-template-columns:repeat(2,1fr);
    }

    .stats-grid{
    grid-template-columns:repeat(2,1fr);
}
}

@media(max-width:768px){

    .navbar{
        height:auto;
        padding:20px 0;
        gap:15px;
        flex-wrap:wrap;
    }

    .hero{
        padding:50px 0;
    }

    .hero-content h1{
        font-size:2.7rem;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .btn{
        width:100%;
    }

    .features{
        grid-template-columns:1fr;
        padding:25px;
    }

    .diagnostic-section,
    .results-section{
        margin-top:40px;
    }

    .stats-grid{
        grid-template-columns:1fr;
    }

    .symptoms-card,
    .method-card,
    .results-gallery,
    .testimonial-card{
        padding:30px;
    }

    .method-steps{
        flex-direction:column;
    }

    .method-steps span{
        transform:rotate(90deg);
    }

    .result-images{
        grid-template-columns:1fr;
    }

    .result-card{
        height:320px;
    }

    .cta{
        flex-direction:column;
        align-items:flex-start;
        padding:35px;
    }

    .cta h2{
        font-size:2rem;
    }

    .footer-container{
        grid-template-columns:1fr;
    }

    .footer-bottom{
        flex-direction:column;
    }

    .footer-bottom a{
        margin-left:0;
        margin-right:15px;
    }

    .floating-card{
        display:none;
    }
}

@media(max-width:480px){

    .container{
        width:92%;
    }

    .hero-content h1{
        font-size:2.25rem;
    }

    .results-gallery h2,
    .symptoms-card h2,
    .method-card h2{
        font-size:1.7rem;
    }

    .logo-icon{
        width:44px;
        height:44px;
    }

    .header .btn{
        font-size:.85rem;
        padding:12px 18px;
    }
}

.feature-card{
    transition: all .35s ease;
    cursor: pointer;
}

.feature-card:hover{
    transform: translateY(-8px);
}

.feature-card .icon{
    transition: all .35s ease;
}

.feature-card:hover .icon{
    transform: scale(1.15) rotate(8deg);
    background: #0D6EFD;
}

.feature-card:hover .icon i{
    color: #FFF;
}

.step{
    transition: all .35s ease;
    cursor:pointer;
}

.step-icon{
    transition: all .35s ease;
}

.step:hover .step-icon{
    transform: translateY(-10px) scale(1.12);
    box-shadow: 0 15px 30px rgba(13,110,253,.25);
    background:#0D6EFD;
}

.step:hover .step-icon i{
    color:white;
}

.step:hover h3{
    color:#0D6EFD;
}

@keyframes pulseBlue {

    0%{
        box-shadow:0 0 0 0 rgba(13,110,253,.4);
    }

    70%{
        box-shadow:0 0 0 15px rgba(13,110,253,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(13,110,253,0);
    }

}

.step:hover .step-icon,
.feature-card:hover .icon{
    animation:pulseBlue 1.5s infinite;
}

/* ===================================
   BOTÓN FLOTANTE WHATSAPP
=================================== */

.whatsapp-float{
    position:fixed;
    right:25px;
    bottom:25px;
    width:65px;
    height:65px;
    border-radius:50%;
    background:#25D366;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:32px;
    z-index:9999;
    box-shadow:0 15px 35px rgba(37,211,102,.45);
    animation:whatsappPulse 2s infinite;
    transition:.35s;
}

.whatsapp-float:hover{
    transform:scale(1.12) translateY(-5px);
    background:#128C7E;
}

@keyframes whatsappPulse{
    0%{
        box-shadow:0 0 0 0 rgba(37,211,102,.55);
    }

    70%{
        box-shadow:0 0 0 18px rgba(37,211,102,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(37,211,102,0);
    }
}

/* ===================================
   ANIMACIONES AL HACER SCROLL
=================================== */

.reveal{
    opacity:0;
    transform:translateY(40px);
    transition:1s ease;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

.reveal-left{
    opacity:0;
    transform:translateX(-50px);
    transition:1s ease;
}

.reveal-right{
    opacity:0;
    transform:translateX(50px);
    transition:1s ease;
}

.reveal-left.active,
.reveal-right.active{
    opacity:1;
    transform:translateX(0);
}

/* ===================================
   CONTADORES
=================================== */

.counter-box{
    text-align:center;
}

.counter-box h3{
    font-size:2.4rem;
    font-weight:800;
}

.counter-box p{
    opacity:.85;
}

/* =========================
   STATS CONTROL CERO
========================= */

.stats-section{
    padding:60px 0 20px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.counter-box{
    background:white;
    border-radius:25px;
    padding:35px 25px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:.35s;
    border:1px solid rgba(13,110,253,.08);
}

.counter-box:hover{
    transform:translateY(-8px);
    border-color:rgba(13,110,253,.35);
    box-shadow:0 20px 45px rgba(13,110,253,.14);
}

.counter-box h3{
    color:var(--primary);
    font-size:3rem;
    line-height:1;
    margin-bottom:12px;
    font-weight:800;
}

.counter-box p{
    color:#64748B;
    font-size:.95rem;
}

.logo img{
    height:200px;
    width:auto;
    display:block;
}

@media(max-width:768px){

    .logo img{
        height:100px;
        width:auto;
    }

}
.logobajo img{
    height:150px;
    width:auto;
    display:block;
}

/* =========================
   RESULTADOS CON SCROLL
========================= */

/* =========================
   RESULTADOS CON SCROLL - SOLO 3 VISIBLES
========================= */

.results-scroll{
    display:flex;
    gap:18px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:10px 5px 25px;
    scroll-behavior:smooth;
    max-width:100%;
}

.results-scroll .result-card{

    flex:0 0 calc((100% - 60px) / 3);

    max-width:calc((100% - 60px) / 3);

    min-width:calc((100% - 60px) / 3);

    height:320px;

    display:flex;
    justify-content:center;
    align-items:center;

    position:relative;
}

.results-scroll .result-card img{

    width:90%;
    height:260px;

    object-fit:contain;

    margin:auto;

    transition:.35s;
}

.results-scroll .result-card:hover img{

    transform:scale(1.05);

}

.results-scroll::-webkit-scrollbar{
    height:8px;
}

.results-scroll::-webkit-scrollbar-track{
    background:#EAF2FF;
    border-radius:20px;
}

.results-scroll::-webkit-scrollbar-thumb{
    background:#0D6EFD;
    border-radius:20px;
}

/* Celular: muestra 1 por vez */
@media(max-width:768px){
    .results-scroll .result-card{
        flex:0 0 85%;
        max-width:85%;
        min-width:85%;
    }
}

.hero{
    min-height:auto;
    padding-top:30px;
    padding-bottom:30px;
}

.hero-container{
    gap:20px;
}

.hero-content{
    text-align:center;
}

.hero-content h1{
    font-size:2rem;
    line-height:1.15;
    margin-bottom:15px;
}

.hero-content p{
    font-size:.95rem;
    margin-bottom:20px;
}

.hero-image{
    margin-top:10px;
}

.hero-model{
    width:220px;
    max-width:80%;
    margin:auto;
}

.results-carousel{
    position:relative;
}

.carousel-btn{

    position:absolute;

    top:50%;
    transform:translateY(-50%);

    width:50px;
    height:50px;

    border:none;

    border-radius:50%;

    background:#0D6EFD;
    color:white;

    font-size:24px;

    cursor:pointer;

    z-index:20;

    transition:.3s;
}

.carousel-btn:hover{

    transform:translateY(-50%) scale(1.1);

    background:#0056d6;

}

.carousel-btn.prev{
    left:-25px;
}

.carousel-btn.next{
    right:-25px;
}

/* ==========================
   HERO IMAGE ANIMATION
========================== */

.hero-model{

    animation:
        heroUp 1.5s ease-out forwards;

}

@keyframes heroUp{

    0%{

        opacity:0;

        transform:
            translateY(120px);

    }

    100%{

        opacity:1;

        transform:
            translateY(0);

    }

}

.hero-model{

    animation:
        heroUp 1.5s ease-out forwards,
        heroFloat 4s ease-in-out infinite 1.5s;

}

@keyframes heroFloat{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-10px);
    }

    100%{
        transform:translateY(0);
    }

}

/* =========================
   RESPONSIVE STATS
========================= */

@media(max-width:1100px){

    .stats-grid{
        grid-template-columns:repeat(2, 1fr);
    }

}

@media(max-width:768px){

    .stats-section{
        padding:40px 0 20px;
    }

    .stats-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .counter-box{
        padding:28px 20px;
    }

    .counter-box h3{
        font-size:2.4rem;
    }

    .counter-box p{
        font-size:.9rem;
    }

}

@media(max-width:480px){

    .counter-box h3{
        font-size:2.1rem;
    }

}

@media(max-width:768px){

    .hero-model{
        animation:
            heroUpMobile 1.6s ease-out forwards,
            heroFloatMobile 3.5s ease-in-out infinite 1.6s;
    }

    @keyframes heroUpMobile{

        0%{
            opacity:0;
            transform:translateY(180px) scale(.92);
        }

        100%{
            opacity:1;
            transform:translateY(0) scale(1);
        }

    }

    @keyframes heroFloatMobile{

        0%{
            transform:translateY(0);
        }

        50%{
            transform:translateY(-14px);
        }

        100%{
            transform:translateY(0);
        }

    }

}

.hero,
.hero-image{
    overflow:visible;
}

.process-step{
    display:flex;
    flex-direction:column;
    align-items:center;
}
.process-icon{
    display:flex;
    justify-content:center;
    align-items:center;
}

.process-icon i{
    margin:0;
    padding:0;
    width:40px;
    text-align:center;
}