/* ==========================================================
   HOME
========================================================== */

:root {

    --home-max-width: 1240px;

    --hero-padding: 90px;

    --header-height: 78px;

    --transition-fast: .25s ease;

    --shadow-soft:
        0 12px 35px rgba(15, 23, 42, .08);

    --shadow-hover:
        0 20px 45px rgba(15, 23, 42, .14);

    --radius-xl: 26px;

}

/* ==========================================================
   HEADER
========================================================== */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(255,255,255,.95);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(0,0,0,.05);

}

.header-container{

    min-height: var(--header-height);

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:40px;

}

/* ==========================================================
   LOGO
========================================================== */

.logo{

    display:flex;

    align-items:center;

    gap:14px;

    text-decoration:none;

    color:inherit;

}

.logo-star{

    width:54px;

    height:54px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.4rem;

    background:linear-gradient(
        135deg,
        var(--primary-color),
        #0ea5e9);

    color:#fff;

    box-shadow:var(--shadow-soft);

}

.logo-text{

    display:flex;

    flex-direction:column;

    line-height:1.1;

}

.logo-text strong{

    font-size:1.05rem;

    letter-spacing:.08em;

}

.logo-text small{

    color:var(--text-light);

    letter-spacing:.14em;

    font-size:.72rem;

}

/* ==========================================================
   NAV
========================================================== */

.nav{

    display:flex;

    align-items:center;

    gap:30px;

}

.nav a{

    position:relative;

    text-decoration:none;

    color:var(--text-color);

    font-weight:600;

    transition:var(--transition-fast);

}

.nav a:hover{

    color:var(--primary-color);

}

.nav a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:3px;

    border-radius:999px;

    background:var(--primary-color);

    transition:.25s;

}

.nav a:hover::after{

    width:100%;

}

.header-actions{

    display:flex;

    align-items:center;

}

/* ==========================================================
   MOBILE MENU
========================================================== */

.menu-toggle{

    display:none;

    width:46px;

    height:46px;

    border:none;

    background:none;

    font-size:1.8rem;

    cursor:pointer;

    color:var(--text-color);

}

.mobile-login{

    display:none;

}

/* ==========================================================
   HERO
========================================================== */

.hero{

    overflow:hidden;

    padding:

        var(--hero-padding)

        0;

    background:

        linear-gradient(

        180deg,

        #ffffff,

        #f8fbff

    );

}

.hero-container{

    display:grid;

    grid-template-columns:

        1.1fr

        .9fr;

    gap:70px;

    align-items:center;

}

.hero-content{

    max-width:640px;

}

.hero-eyebrow{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    border-radius:999px;

    background:#e8f4ff;

    color:var(--primary-color);

    font-weight:700;

    margin-bottom:28px;

}

.hero h1{

    font-size:clamp(

        2.6rem,

        5vw,

        4.3rem

    );

    line-height:1.08;

    margin-bottom:28px;

    color:#0f172a;

}

.hero-description{

    font-size:1.15rem;

    line-height:1.8;

    color:var(--text-light);

    margin-bottom:42px;

}

.hero-buttons{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

    margin-bottom:50px;

}

/* ==========================================================
   HERO BUTTONS
========================================================== */

.hero-buttons .button{

    min-width:220px;

    justify-content:center;

    transition:
        transform .25s ease,
        box-shadow .25s ease;

}

.hero-buttons .button:hover{

    transform:translateY(-3px);

    box-shadow:var(--shadow-hover);

}

/* ==========================================================
   HERO STATS
========================================================== */

.hero-stats{

    display:flex;

    flex-wrap:wrap;

    gap:22px;

}

.hero-stat{

    flex:1;

    min-width:130px;

    padding:22px;

    background:#fff;

    border-radius:20px;

    text-align:center;

    box-shadow:var(--shadow-soft);

    transition:.25s;

}

.hero-stat:hover{

    transform:translateY(-6px);

    box-shadow:var(--shadow-hover);

}

.hero-stat strong{

    display:block;

    font-size:2rem;

    color:var(--primary-color);

    margin-bottom:8px;

    font-weight:800;

}

.hero-stat span{

    display:block;

    font-size:.95rem;

    color:var(--text-light);

}

/* ==========================================================
   HERO IMAGE
========================================================== */

.hero-image{

    position:relative;

    display:flex;

    justify-content:center;

    align-items:center;

}

.hero-image::before{

    content:"";

    position:absolute;

    width:460px;

    height:460px;

    border-radius:50%;

    background:

        radial-gradient(

            circle,

            rgba(37,99,235,.10),

            transparent 70%

        );

    z-index:0;

}

.hero-image img{

    position:relative;

    width:100%;

    max-width:520px;

    display:block;

    z-index:1;

    animation:heroFloat 6s ease-in-out infinite;

    filter:

        drop-shadow(

            0 30px 45px

            rgba(0,0,0,.15)

        );

}

/* ==========================================================
   FLOAT ANIMATION
========================================================== */

@keyframes heroFloat{

    0%{

        transform:translateY(0px);

    }

    50%{

        transform:translateY(-12px);

    }

    100%{

        transform:translateY(0px);

    }

}

/* ==========================================================
   HERO DECORATION
========================================================== */

.hero::after{

    content:"";

    position:absolute;

    right:-180px;

    top:-180px;

    width:420px;

    height:420px;

    border-radius:50%;

    background:

        radial-gradient(

            circle,

            rgba(14,165,233,.10),

            transparent 70%

        );

    pointer-events:none;

}

/* ==========================================================
   HERO RESPONSIVE
========================================================== */

@media (max-width:1000px){

    .hero{

        padding:70px 0;

    }

    .hero-container{

        grid-template-columns:1fr;

        text-align:center;

        gap:55px;

    }

    .hero-content{

        max-width:760px;

        margin:auto;

    }

    .hero-buttons{

        justify-content:center;

    }

    .hero-stats{

        justify-content:center;

    }

    .hero-image{

        order:-1;

    }

}

@media (max-width:700px){

    .hero{

        padding:55px 0;

    }

    .hero h1{

        font-size:2.35rem;

    }

    .hero-description{

        font-size:1rem;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:stretch;

    }

    .hero-buttons .button{

        width:100%;

    }

    .hero-stat{

        min-width:100px;

        padding:18px;

    }

    .hero-stat strong{

        font-size:1.6rem;

    }

    .hero-image img{

        max-width:360px;

    }

}

@media (max-width:480px){

    .hero-eyebrow{

        font-size:.85rem;

        padding:8px 15px;

    }

    .hero h1{

        font-size:2rem;

    }

    .hero-description{

        line-height:1.65;

    }

    .hero-image img{

        max-width:300px;

    }

}

/* ==========================================================
   PROGRAMS
========================================================== */

.programs{

    padding:100px 0;

    background:#ffffff;

}

.home-section-header{

    max-width:760px;

    margin:0 auto 70px;

    text-align:center;

}

.home-section-eyebrow{

    display:inline-block;

    padding:8px 18px;

    border-radius:999px;

    background:#e8f4ff;

    color:var(--primary-color);

    font-size:.92rem;

    font-weight:700;

    margin-bottom:18px;

}

.home-section-title{

    font-size:clamp(
        2rem,
        4vw,
        3rem
    );

    line-height:1.15;

    margin-bottom:20px;

    color:#0f172a;

}

.home-section-description{

    color:var(--text-light);

    line-height:1.8;

    font-size:1.08rem;

}

/* ==========================================================
   GRID
========================================================== */

.program-grid{

    display:grid;

    grid-template-columns:
        repeat(4,1fr);

    gap:28px;

    align-items:stretch;

}

/* ==========================================================
   CARD
========================================================== */

.program-card{

    position:relative;

    display:flex;

    flex-direction:column;

    background:#fff;

    padding:34px;

    border-radius:26px;

    box-shadow:var(--shadow-soft);

    transition:
        transform .3s,
        box-shadow .3s;

    overflow:hidden;

}

.program-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-hover);

}

/* ==========================================================
   FEATURED
========================================================== */

.program-card.featured{

    border:2px solid var(--primary-color);

    transform:scale(1.04);

}

.program-card.featured:hover{

    transform:
        scale(1.04)
        translateY(-10px);

}

.featured-badge{

    position:absolute;

    top:18px;

    right:18px;

    padding:7px 14px;

    border-radius:999px;

    background:var(--primary-color);

    color:#fff;

    font-size:.8rem;

    font-weight:700;

    letter-spacing:.04em;

}

/* ==========================================================
   ICON
========================================================== */

.program-icon{

    width:72px;

    height:72px;

    border-radius:22px;

    display:flex;

    align-items:center;

    justify-content:center;

    margin-bottom:24px;

    background:
        linear-gradient(
            135deg,
            #eff6ff,
            #dbeafe
        );

    overflow:hidden;

}

.program-icon img{

    width:60px;

    height:60px;

    object-fit:contain;

    display:block;

    transition:.30s ease;

}

.program-card:hover .program-icon img{

    transform:scale(1.08);

}

/* ==========================================================
   TITLE
========================================================== */

.program-card h3{

    font-size:1.45rem;

    margin-bottom:18px;

    color:#0f172a;

}

/* ==========================================================
   PRICE
========================================================== */

.program-price{

    margin-bottom:30px;

    font-size:2rem;

    font-weight:800;

    color:var(--primary-color);

}

.program-price span{

    display:block;

    margin-top:6px;

    font-size:.95rem;

    font-weight:500;

    color:var(--text-light);

}

/* ==========================================================
   LIST
========================================================== */

.program-card ul{

    list-style:none;

    padding:0;

    margin:0 0 34px;

    flex:1;

}

.program-card li{

    position:relative;

    padding-left:28px;

    margin-bottom:16px;

    line-height:1.6;

    color:var(--text-color);

}

.program-card li::before{

    content:"✓";

    position:absolute;

    left:0;

    top:0;

    color:#10b981;

    font-weight:700;

}

/* ==========================================================
   BUTTON
========================================================== */

.program-card .button{

    width:100%;

    justify-content:center;

}

/* ==========================================================
   HOVER EFFECT
========================================================== */

.program-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:

        linear-gradient(
            90deg,
            var(--primary-color),
            #38bdf8
        );

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;

}

.program-card:hover::before{

    transform:scaleX(1);

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:1150px){

    .program-grid{

        grid-template-columns:
            repeat(2,1fr);

    }

}

@media (max-width:700px){

    .programs{

        padding:80px 0;

    }

    .program-grid{

        grid-template-columns:1fr;

    }

    .program-card.featured{

        transform:none;

    }

    .program-card.featured:hover{

        transform:translateY(-10px);

    }

}

/* ==========================================================
   PLATFORM
========================================================== */

.platform{

    padding:110px 0;

    background:#f8fbff;

}

.platform-container{

    display:flex;

    flex-direction:column;

    gap:70px;

}

.platform-info{

    max-width:760px;

    margin:0 auto;

    text-align:center;

}

/* ==========================================================
   FEATURES GRID
========================================================== */

.platform-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

/* ==========================================================
   FEATURE CARD
========================================================== */

.feature-card{

    background:#fff;

    padding:34px 28px;

    border-radius:24px;

    text-align:center;

    box-shadow:var(--shadow-soft);

    transition:
        transform .30s,
        box-shadow .30s;

}

.feature-card:hover{

    transform:translateY(-8px);

    box-shadow:var(--shadow-hover);

}

/* ==========================================================
   FEATURE ICON
========================================================== */

.feature-icon{

    width:74px;

    height:74px;

    margin:0 auto 24px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:22px;

    font-size:2rem;

    background:linear-gradient(
        135deg,
        #dbeafe,
        #eff6ff
    );

}

/* ==========================================================
   FEATURE TITLE
========================================================== */

.feature-card h3{

    font-size:1.25rem;

    margin-bottom:14px;

    color:#0f172a;

}

.feature-card p{

    color:var(--text-light);

    line-height:1.7;

}

/* ==========================================================
   METHOD
========================================================== */

.method{

    padding:110px 0;

    background:#ffffff;

}

.method-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

    margin-top:60px;

}

/* ==========================================================
   METHOD CARD
========================================================== */

.method-card{

    position:relative;

    background:#fff;

    padding:38px 30px;

    border-radius:24px;

    text-align:center;

    box-shadow:var(--shadow-soft);

    transition:
        transform .3s,
        box-shadow .3s;

    overflow:hidden;

}

.method-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-hover);

}

/* Línea superior */

.method-card::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

    background:linear-gradient(
        90deg,
        var(--primary-color),
        #38bdf8
    );

    transform:scaleX(0);

    transform-origin:left;

    transition:.35s;

}

.method-card:hover::before{

    transform:scaleX(1);

}

/* ==========================================================
   STEP NUMBER
========================================================== */

.method-number{

    width:70px;

    height:70px;

    margin:0 auto 24px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:1.6rem;

    font-weight:700;

    color:#fff;

    background:linear-gradient(
        135deg,
        var(--primary-color),
        #0ea5e9
    );

    box-shadow:

        0 12px 25px rgba(37,99,235,.25);

}

/* ==========================================================
   METHOD TITLE
========================================================== */

.method-card h3{

    margin-bottom:16px;

    font-size:1.35rem;

    color:#0f172a;

}

.method-card p{

    line-height:1.7;

    color:var(--text-light);

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:1150px){

    .platform-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .method-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media (max-width:700px){

    .platform{

        padding:80px 0;

    }

    .method{

        padding:80px 0;

    }

    .platform-grid{

        grid-template-columns:1fr;

    }

    .method-grid{

        grid-template-columns:1fr;

    }

    .feature-card{

        padding:30px 24px;

    }

    .method-card{

        padding:34px 24px;

    }

}

/* ==========================================================
   FAQ
========================================================== */

.faq{

    padding:110px 0;

    background:#ffffff;

}

.faq-list{

    max-width:900px;

    margin:60px auto 0;

    display:flex;

    flex-direction:column;

    gap:18px;

}

.faq-list details{

    background:#fff;

    border-radius:20px;

    box-shadow:var(--shadow-soft);

    overflow:hidden;

    transition:
        box-shadow .3s,
        transform .3s;

}

.faq-list details:hover{

    transform:translateY(-4px);

    box-shadow:var(--shadow-hover);

}

.faq-list summary{

    list-style:none;

    cursor:pointer;

    padding:24px 30px;

    font-size:1.08rem;

    font-weight:600;

    display:flex;

    justify-content:space-between;

    align-items:center;

    color:#0f172a;

}

.faq-list summary::-webkit-details-marker{

    display:none;

}

.faq-list summary::after{

    content:"+";

    font-size:1.5rem;

    color:var(--primary-color);

    transition:.3s;

}

.faq-list details[open] summary::after{

    transform:rotate(45deg);

}

.faq-list details p{

    padding:

        0

        30px

        26px;

    color:var(--text-light);

    line-height:1.8;

}

/* ==========================================================
   CTA
========================================================== */

.cta{

    padding:110px 0;

    background:

        linear-gradient(
            135deg,
            var(--primary-color),
            #0ea5e9
        );

    color:#fff;

}

.cta-container{

    max-width:820px;

    margin:auto;

    text-align:center;

}

.cta h2{

    font-size:clamp(
        2.2rem,
        4vw,
        3.4rem
    );

    margin-bottom:24px;

}

.cta p{

    font-size:1.15rem;

    line-height:1.8;

    opacity:.95;

    margin-bottom:40px;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:18px;

}

.cta .button{

    min-width:220px;

}

.cta .button-primary{

    background:#fff;

    color:var(--primary-color);

}

.cta .button-primary:hover{

    background:#f8fafc;

}

.cta .button-secondary{

    border:2px solid rgba(255,255,255,.35);

    background:transparent;

    color:#fff;

}

.cta .button-secondary:hover{

    background:rgba(255,255,255,.12);

}

/* ==========================================================
   FOOTER
========================================================== */

.footer{

    background:#0f172a;

    color:#cbd5e1;

}

.footer-grid{

    display:grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr
        1fr;

    gap:50px;

    padding:80px 0;

}

.footer-logo{

    display:flex;

    align-items:center;

    gap:14px;

    margin-bottom:22px;

    color:#fff;

    text-decoration:none;

}

.footer-logo strong{

    display:block;

    font-size:1.15rem;

    letter-spacing:.08em;

}

.footer-logo small{

    color:#94a3b8;

    letter-spacing:.12em;

}

.footer-column h4{

    color:#fff;

    margin-bottom:22px;

}

.footer-column p{

    line-height:1.8;

}

.footer-column ul{

    list-style:none;

    margin:0;

    padding:0;

}

.footer-column li{

    margin-bottom:14px;

}

.footer-column a{

    color:#cbd5e1;

    text-decoration:none;

    transition:.25s;

}

.footer-column a:hover{

    color:#fff;

}

/* ==========================================================
   FOOTER BOTTOM
========================================================== */

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

}

.footer-bottom-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    padding:26px 0;

}

.footer-links{

    display:flex;

    gap:24px;

}

.footer-links a{

    color:#94a3b8;

    text-decoration:none;

    transition:.25s;

}

.footer-links a:hover{

    color:#fff;

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:900px){

    .footer-grid{

        grid-template-columns:1fr 1fr;

    }

    .footer-bottom-container{

        flex-direction:column;

        text-align:center;

    }

}

@media (max-width:700px){

    .faq{

        padding:80px 0;

    }

    .cta{

        padding:80px 0;

    }

    .footer-grid{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-logo{

        justify-content:center;

    }

    .cta-buttons{

        flex-direction:column;

        align-items:stretch;

    }

    .cta .button{

        width:100%;

    }

    .footer-links{

        flex-direction:column;

        gap:12px;

    }

}

/* ==========================================================
   SMOOTH SCROLL
========================================================== */

html{

    scroll-behavior:smooth;

}

/* ==========================================================
   SECTION SPACING
========================================================== */

section{

    position:relative;

}

/* ==========================================================
   IMAGE OPTIMIZATION
========================================================== */

img{

    max-width:100%;

    height:auto;

    display:block;

}

/* ==========================================================
   LINKS
========================================================== */

a{

    transition:

        color .25s ease,

        opacity .25s ease,

        transform .25s ease;

}

/* ==========================================================
   BUTTONS
========================================================== */

.button{

    transition:

        background .25s ease,

        color .25s ease,

        border-color .25s ease,

        transform .25s ease,

        box-shadow .25s ease;

}

.button:hover{

    transform:translateY(-2px);

}

.button:active{

    transform:translateY(0);

}

/* ==========================================================
   CARDS
========================================================== */

.program-card,
.feature-card,
.method-card,
.hero-stat,
.faq-list details{

    will-change:transform;

}

/* ==========================================================
   FADE-IN
========================================================== */

.fade-up{

    opacity:0;

    transform:translateY(35px);

    transition:

        opacity .8s ease,

        transform .8s ease;

}

.fade-up.visible{

    opacity:1;

    transform:translateY(0);

}

/* ==========================================================
   HERO IMAGE
========================================================== */

.hero-image img{

    user-select:none;

    -webkit-user-drag:none;

}

/* ==========================================================
   FEATURE ICON
========================================================== */

.feature-icon,
.program-icon,
.method-number{

    transition:

        transform .30s ease,

        box-shadow .30s ease;

}

.feature-card:hover .feature-icon,

.program-card:hover .program-icon,

.method-card:hover .method-number{

    transform:scale(1.08) rotate(-4deg);

}

/* ==========================================================
   FAQ
========================================================== */

.faq-list summary{

    transition:

        background .25s ease;

}

.faq-list details[open] summary{

    background:#f8fbff;

}

/* ==========================================================
   HEADER SHADOW
========================================================== */

.header.scrolled{

    box-shadow:

        0 10px 35px rgba(0,0,0,.08);

}

/* ==========================================================
   SELECTION
========================================================== */

::selection{

    background:

        rgba(37,99,235,.18);

    color:#111827;

}

/* ==========================================================
   SCROLLBAR
========================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#eef2f7;

}

::-webkit-scrollbar-thumb{

    background:var(--primary-color);

    border-radius:999px;

}

::-webkit-scrollbar-thumb:hover{

    background:#1d4ed8;

}

/* ==========================================================
   DESKTOP LARGE
========================================================== */

@media (min-width:1500px){

    .container{

        max-width:1380px;

    }

    .hero{

        padding:120px 0;

    }

}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion:reduce){

    *{

        animation:none !important;

        transition:none !important;

        scroll-behavior:auto !important;

    }

}

/* ==========================================================
   FOUNDER
========================================================== */

.founder-badge{

    display:block;

    width:fit-content;

    margin:0 auto 20px;

}

.founder{

    padding:90px 0 110px;

    background:#ffffff;

}

.founder-grid{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:70px;

    align-items:start;

}

/* ==========================================================
   PHOTO
========================================================== */

.founder-image{

    position:relative;

    margin-top:50px;

}

.founder-image img{

    width:100%;

    display:block;

    border-radius:28px;

    box-shadow:var(--shadow-md);

    transition:.35s;

}

.founder-image img:hover{

    transform:translateY(-6px);

}

/* ==========================================================
   CONTENT
========================================================== */

.founder-content h3{

    font-size:2.3rem;

    color:var(--secondary);

    margin-bottom:24px;

    line-height:1.2;

}

.founder-content p{

    font-size:1.05rem;

    color:var(--text-soft);

    line-height:1.9;

    margin-bottom:22px;

}

/* ==========================================================
   FEATURES
========================================================== */

.founder-features{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin:40px 0;

}

.founder-feature{

    display:flex;

    align-items:center;

    gap:12px;

    padding:18px;

    background:#f8fafc;

    border-radius:16px;

    border:1px solid var(--border);

    transition:.25s;

}

.founder-feature:hover{

    transform:translateY(-4px);

    box-shadow:var(--shadow-sm);

}

.founder-feature span{

    font-size:1.4rem;

}

/* ==========================================================
   QUOTE
========================================================== */

.founder blockquote{

    margin-top:40px;

    padding:28px;

    border-left:5px solid var(--primary);

    background:#f8fafc;

    border-radius:18px;

    font-size:1.15rem;

    line-height:1.8;

    font-style:italic;

    color:var(--secondary);

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:950px){

    .founder-grid{

        grid-template-columns:1fr;

        gap:45px;

    }

    .founder-image{

        max-width:500px;

        margin:auto;

    }

    .founder-content{

        text-align:center;

    }

    .founder-features{

        grid-template-columns:1fr;

    }

}

@media (max-width:650px){

    .founder{

        padding:80px 0;

    }

    .founder-content h3{

        font-size:1.9rem;

    }

    .founder-content p{

        font-size:1rem;

    }

}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:900px){

    .header-container{

        gap:20px;

    }

    .header-actions{

        display:none;

    }

    .menu-toggle{

        display:flex;

        align-items:center;

        justify-content:center;

    }

    .nav{

        position:absolute;

        top:100%;

        left:0;

        right:0;

        display:none;

        flex-direction:column;

        gap:0;

        padding:20px;

        background:#fff;

        border-bottom:1px solid rgba(0,0,0,.08);

        box-shadow:0 12px 35px rgba(0,0,0,.08);

    }

    .nav.open{

        display:flex;

    }

    .nav a{

        width:100%;

        padding:16px 0;

        border-bottom:1px solid rgba(0,0,0,.06);

    }

    .nav a:last-child{

        border-bottom:none;

    }

    .mobile-login{

        display:flex;

        justify-content:center;

        margin-top:18px;

    }

}

/* ==========================================================
   MOBILE HEADER — FINAL OVERRIDE
========================================================== */

.menu-toggle{
    display:none;
}

.mobile-login{
    display:none;
}

@media screen and (max-width:900px){

    .header-container{
        position:relative;
        min-height:82px;
        gap:12px;
    }

    .logo{
        flex-shrink:0;
    }

    .logo-star{
        width:46px;
        height:46px;
    }

    .logo-text strong{
        font-size:1rem;
    }

    .logo-text small{
        font-size:.65rem;
    }

    .header-actions{
        display:none !important;
    }

    .menu-toggle{
        display:flex !important;
        align-items:center;
        justify-content:center;
        flex-shrink:0;
        width:46px;
        height:46px;
        margin-left:auto;
        padding:0;
        border:0;
        border-radius:12px;
        background:#f1f5f9;
        color:#0f172a;
        font-size:1.65rem;
        line-height:1;
        cursor:pointer;
    }

    .nav{
        position:absolute !important;
        top:100%;
        left:0;
        right:0;
        z-index:1001;
        display:none !important;
        flex-direction:column;
        align-items:stretch;
        gap:0;
        padding:16px 20px 22px;
        background:#ffffff;
        border-top:1px solid rgba(0,0,0,.05);
        border-bottom:1px solid rgba(0,0,0,.08);
        box-shadow:0 16px 30px rgba(15,23,42,.12);
    }

    .nav.open{
        display:flex !important;
    }

    .nav a{
        display:block;
        width:100%;
        padding:14px 4px;
        border-bottom:1px solid rgba(0,0,0,.06);
    }

    .nav a::after{
        display:none;
    }

    .mobile-login{
        display:flex !important;
        align-items:center;
        justify-content:center;
        margin-top:14px;
        border-bottom:0 !important;
    }
}

/* ====================================== */
/* GALERÍA DE LA PLATAFORMA               */
/* ====================================== */

.platform-gallery{

    padding:120px 0;

    background:#f8fafc;

}

.gallery-grid{

    margin-top:60px;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:32px;

}

.gallery-card{

    background:#ffffff;

    border-radius:28px;

    overflow:hidden;

    border:1px solid #e5e7eb;

    box-shadow:
        0 15px 35px rgba(15,23,42,.06);

    transition:
        transform .35s ease,
        box-shadow .35s ease;

    cursor:pointer;

}

.gallery-card:hover{

    transform:translateY(-8px);

    box-shadow:
        0 25px 50px rgba(37,99,235,.15);

}

.gallery-card img{

    width:100%;
    cursor:zoom-in;

    aspect-ratio:16/10;

    object-fit:cover;

    display:block;

    transition:transform .45s ease;

}

.gallery-card:hover img{

    transform:scale(1.04);

}

.gallery-content{

    padding:26px;

}

.gallery-content h3{

    font-size:1.35rem;

    margin-bottom:12px;

    color:#0f172a;

}

.gallery-content p{

    color:#64748b;

    line-height:1.7;

    font-size:.98rem;

}

/* Responsive */

@media (max-width:900px){

    .platform-gallery{

        padding:90px 0;

    }

    .gallery-grid{

        gap:24px;

    }

}

@media (max-width:600px){

    .gallery-grid{

        grid-template-columns:1fr;

    }

}

/* ====================================== */
/* MODAL GALERÍA                          */
/* ====================================== */

.gallery-modal{

    position:fixed;

    inset:0;

    background:rgba(15,23,42,.92);

    display:flex;

    align-items:center;

    justify-content:center;

    padding:40px;

    opacity:0;

    visibility:hidden;

    transition:.3s;

    z-index:9999;

}

.gallery-modal.active{

    opacity:1;

    visibility:visible;

}

.gallery-modal img{

    max-width:min(1200px,92vw);

    width:100%;

    height:auto;

    max-height:90vh;

    object-fit:contain;

    border-radius:20px;

    background:white;

    box-shadow:
        0 30px 80px rgba(0,0,0,.45);

}

.gallery-close{

    position:absolute;

    top:25px;

    right:35px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:white;

    font-size:2rem;

    cursor:pointer;

    color:#0f172a;

    transition:.25s;

}

.gallery-close:hover{

    transform:rotate(90deg) scale(1.08);

}
.gallery-modal{

    position:fixed;
    inset:0;

    background:rgba(15,23,42,.92);

    display:flex;
    align-items:center;
    justify-content:center;

    padding:40px;

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:
        opacity .3s ease,
        visibility .3s ease;

    z-index:9999;

}

.gallery-modal.active{

    opacity:1;
    visibility:visible;
    pointer-events:auto;

}

.gallery-modal{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(15,23,42,.88);

    backdrop-filter:blur(8px);

    opacity:0;

    visibility:hidden;

    transition:.25s;

    z-index:9999;

}

.gallery-modal.active{

    opacity:1;

    visibility:visible;

}

.gallery-modal img{

    width:min(1200px,92vw);

    max-height:88vh;

    object-fit:contain;

    border-radius:18px;

    background:white;

    box-shadow:
        0 30px 80px rgba(0,0,0,.45);

}

.gallery-close{

    position:absolute;

    top:28px;

    right:35px;

    width:56px;

    height:56px;

    border:none;

    border-radius:50%;

    background:white;

    font-size:2rem;

    cursor:pointer;

    z-index:3;

}

.gallery-arrow{

    position:absolute;

    top:50%;

    transform:translateY(-50%);

    width:58px;

    height:58px;

    border:none;

    border-radius:50%;

    background:white;

    cursor:pointer;

    font-size:2rem;

    transition:.25s;

}

.gallery-arrow:hover{

    transform:translateY(-50%) scale(1.08);

}

.gallery-arrow-left{

    left:40px;

}

.gallery-arrow-right{

    right:40px;

}

.gallery-counter{

    position:absolute;

    bottom:28px;

    color:white;

    font-size:1rem;

    font-weight:600;

    letter-spacing:.05em;

}
.gallery-modal img{

    transition:
        opacity .2s ease,
        transform .25s ease;

}

.footer-bottom-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:15px;

}

.footer-links{

    display:flex;

    flex-wrap:wrap;

    gap:20px;

}

.footer-links a{

    color:rgba(255,255,255,.8);

    text-decoration:none;

    font-size:.9rem;

    transition:.25s;

}

.footer-links a:hover{

    color:#ffffff;

    text-decoration:underline;

}

@media (max-width:768px){

    .footer-bottom-container{

        flex-direction:column;

        text-align:center;

    }

    .footer-links{

        justify-content:center;

    }

}

.cta-banner{

    margin:90px 0;

    padding:70px 20px;

    background:linear-gradient(135deg,#2563eb,#1d4ed8);

}

.cta-banner .container{

    text-align:center;

    max-width:900px;

    margin:auto;

}

.cta-banner h2{

    color:#fff;

    font-size:2.4rem;

    margin-bottom:18px;

}

.cta-banner p{

    color:rgba(255,255,255,.9);

    max-width:650px;

    margin:0 auto 35px;

}

.cta-banner .button{

    background:#fff;

    color:#2563eb;

}

.cta-banner{

    padding:70px 20px;

}

.cta-banner .container{

    max-width:800px;

    margin:0 auto;

    text-align:center;

}

.cta-banner h2{

    margin:0 auto 20px;

}

.cta-banner p{

    max-width:650px;

    margin:0 auto 35px;

}

.cta-banner .button{

    display:inline-flex !important;

    justify-content:center;

    align-items:center;

    margin:0 auto;

}

@media (max-width:768px){

    .cta-banner{

        padding:50px 20px;

    }

    .cta-banner h2{

        font-size:2rem;

        line-height:1.25;

    }

    .cta-banner p{

        font-size:1rem;

        margin-bottom:30px;

    }

.cta-banner .button{

    display:inline-flex !important;

    justify-content:center;

    align-items:center;

    width:auto;

    max-width:none;

    margin:0 auto;

}

}

.cta-container{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    max-width:900px;

    margin:0 auto;

}

.cta-container h2,
.cta-container p{

    width:100%;

    text-align:center;

}

.cta-container .button{

    align-self:center;

}

.program-price .program-price-old {
    display: block;
    font-size: 16px;
    font-weight: 600;
    text-decoration: line-through;
    opacity: 0.65;
    margin-bottom: 4px;
}