*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg: #050505;
    --bg-soft: #0A0A0A;
    --surface: #121212;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --white: #F5F5F5;
    --gray: #AAAAAA;
    --gold: #D4AF37;
    --gold-light: #F2D57E;
    --gold-dark: #AA7C11;
    --gold-glow: rgba(212, 175, 55, 0.25);
    --radius: 20px;
    --shadow: 0 25px 80px rgba(0,0,0,0.9);
    --ff: 'Inter', sans-serif;
    --ff-display: 'Oswald', sans-serif;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--ff);
    background: var(--bg);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.gold-text { color: var(--gold); }
.eyebrow {
    display: inline-block;
    font-family: var(--ff-display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
    background: var(--glass);
    padding: 4px 16px;
    border-radius: 50px;
    border: 1px solid var(--border);
}

.nav-logo-img {
    height: 55px; width: auto; display: block;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.2));
    transition: transform 0.3s ease;
}
.nav-logo-img:hover { transform: scale(1.05); filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4)); }

/* === NUEVAS CLASES PARA FOOTER CENTRADO === */
.footer-logo-img-center {
    height: 60px;
    width: auto;
    display: block;
    margin: 0 auto 16px auto;
    filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.15));
}
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.footer-brand-center p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 24px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
}
.footer-links-center {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.footer-links-center a {
    color: var(--gray);
    font-size: 0.9rem;
    transition: color 0.3s;
}
.footer-links-center a:hover {
    color: var(--white);
}

.btn-primary {
    display: inline-block; background: var(--gold); color: #050505;
    padding: 18px 38px; border-radius: 60px; font-weight: 900; font-size: 1rem;
    letter-spacing: 0.5px; transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    border: none; cursor: pointer; text-align: center;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}
.btn-primary:hover { transform: translateY(-4px) scale(1.02); background: var(--gold-light); box-shadow: 0 15px 50px var(--gold-glow); }
.btn-primary.full-width { width: 100%; }

.btn-glass {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 18px 38px; border-radius: 60px; border: 1px solid var(--border);
    background: var(--glass); color: var(--white); font-weight: 700;
    transition: all 0.3s;
}
.btn-glass:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.2); transform: translateY(-4px); }

.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000; padding: 18px 0; transition: all 0.4s;
}
.navbar.scrolled { background: rgba(5,5,5,0.95); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--gray); transition: color 0.3s; letter-spacing: 0.3px; }
.nav-links a:hover { color: var(--white); }
.nav-cta { background: var(--gold) !important; color: #050505 !important; padding: 12px 28px !important; border-radius: 60px; font-weight: 800; }
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-2px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.hamburger span { width: 26px; height: 2px; background: var(--white); transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.lang-item { display: flex; align-items: center; }
.lang-toggle { display: flex; align-items: center; gap: 6px; background: var(--glass); border: 1px solid var(--border); border-radius: 50px; padding: 4px 12px; color: var(--gray); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; cursor: pointer; transition: all 0.3s; font-family: var(--ff); }
.lang-toggle:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.1); }
.lang-opt { transition: color 0.3s; }
.lang-opt.active { color: var(--gold); }
.lang-sep { color: var(--border); }

.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding: 100px 0 60px; overflow: hidden; }
.hero-bg-glow { position: absolute; top: -50%; left: -20%; width: 80%; height: 150%; background: radial-gradient(ellipse, rgba(212, 175, 55, 0.06), transparent 70%); pointer-events: none; z-index: 0; }
.hero-content { position: relative; z-index: 1; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-body);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    padding: 10px 22px;
    border-radius: 60px;
    border: 1.5px solid var(--gold);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.15), inset 0 0 15px rgba(212, 175, 55, 0.1);
    position: relative;
    margin-bottom: 24px;
    width: fit-content;
}
.hero-text .hero-badge::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4AF37' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}
.hero-text .hero-badge:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25) 0%, rgba(212, 175, 55, 0.1) 100%);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.3);
    transform: scale(1.02);
    transition: all 0.3s ease;
}
.hero-title {
    font-family: var(--ff-display);
    font-size: clamp(5rem, 12vw, 8rem);
    line-height: 0.85;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    margin-bottom: 24px;
}
.hero-title .line-1, .hero-title .line-2 { display: block; text-shadow: 0 0 40px rgba(0,0,0,0.8); }
.hero-title .line-3 { display: block; color: transparent; -webkit-text-stroke: 2px var(--gold); text-shadow: none; }
.hero-desc {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 36px;
    max-width: 440px;
    line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.social-proof { display: flex; gap: 32px; font-size: 0.95rem; color: var(--gray); }
.social-proof strong { color: var(--white); font-weight: 800; }

/* === HERO VIDEO - DESKTOP ONLY === */
.hero-video-wrapper-desktop {
    width: 100%;
    aspect-ratio: 3/4;
    max-width: 400px;
    border-radius: 40px;
    border: 1px solid var(--border);
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
    overflow: hidden;
    background: #000;
    position: relative;
}
.hero-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* === HERO MOBILE BACKGROUND === */
.hero-video-bg-mobile {
    display: none;
}

.programs { padding: 100px 0; background: var(--bg-soft); }
.section-header { text-align: center; max-width: 500px; margin: 0 auto 60px; }
.section-header h2 { font-family: var(--ff-display); font-size: clamp(2.8rem, 5vw, 4rem); line-height: 1.1; text-transform: uppercase; margin-bottom: 12px; }
.section-sub { color: var(--gray); font-size: 1.05rem; }
.programs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prog-card { background: var(--surface); border: 1px solid var(--border); padding: 36px 28px; border-radius: var(--radius); transition: all 0.4s; text-align: center; }
.prog-card:hover { transform: translateY(-8px); border-color: var(--gold); box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.prog-icon { display: flex; justify-content: center; align-items: center; margin-bottom: 16px; color: var(--gold); }
.prog-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.prog-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; }

/* === ABOUT === */
.about { padding: 100px 0; background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-video-wrapper-desktop {
    width: 100%;
    aspect-ratio: 3/4;
    max-width: 400px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border);
}
.about-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-text h2 { font-family: var(--ff-display); font-size: clamp(2.5rem, 4vw, 3.5rem); line-height: 1.1; text-transform: uppercase; margin-bottom: 20px; }
.about-text p { color: var(--gray); font-size: 1.1rem; line-height: 1.8; margin-bottom: 32px; }
.about-stats { display: flex; gap: 40px; }
.about-stats strong { font-size: 2rem; font-family: var(--ff-display); display: block; }
.about-stats span { font-size: 0.9rem; color: var(--gray); }

/* === ABOUT MOBILE BACKGROUND === */
.about-video-bg-mobile {
    display: none;
}

/* ===== RESULTS ===== */
.results { padding: 100px 0; background: var(--bg-soft); }
.results-wrapper { width: 100%; }
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.result-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s;
    position: relative;
}
.result-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.result-card.result-video { background: var(--bg); border: 1px solid var(--border); }
.result-video-player { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; background: #000; cursor: pointer; }

.contact { padding: 100px 0; background: var(--bg); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; background: var(--bg-soft); padding: 60px 50px; border-radius: var(--radius); border: 1px solid var(--border); }
.contact-info h2 { font-family: var(--ff-display); font-size: clamp(2.8rem, 4vw, 3.5rem); line-height: 1.1; text-transform: uppercase; margin-bottom: 16px; }
.contact-info p { color: var(--gray); line-height: 1.8; margin-bottom: 24px; }
.perks div { display: flex; align-items: center; gap: 10px; color: var(--white); font-size: 1rem; margin-bottom: 12px; }
.perks div svg { flex-shrink: 0; stroke: var(--gold); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 16px 20px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius); color: var(--white); font-family: var(--ff); font-size: 1rem; transition: all 0.3s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); background: rgba(212,175,55,0.04); box-shadow: 0 0 20px rgba(212,175,55,0.05); }
.form-group select option { background: var(--bg); }
.form-group textarea { resize: vertical; }

.footer { padding: 60px 0 20px; border-top: 1px solid var(--border); background: var(--bg); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; color: var(--gray); font-size: 0.85rem; letter-spacing: 0.5px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .social-proof { justify-content: center; }
    .hero-video-wrapper-desktop { margin: 40px auto 0; max-width: 300px; }
    .programs-grid { grid-template-columns: 1fr 1fr; }
    .contact-wrapper { grid-template-columns: 1fr; padding: 40px 30px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background: var(--bg-soft); flex-direction: column; padding: 80px 30px; gap: 20px; border-left: 1px solid var(--border); }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; z-index: 1001; }
    .contact-wrapper { padding: 30px 20px; }
    .lang-item { margin-left: auto; }

    /* ===== MOBILE: HERO AS BACKGROUND ===== */
    .hero-mobile-bg {
        position: relative;
        padding: 140px 0 80px;
        min-height: 80vh;
        background: #000;
        overflow: hidden;
    }
    .hero-video-bg-mobile {
        display: block;
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 0;
    }
    .hero-video-bg-mobile video {
        width: 100%; height: 100%; object-fit: cover;
        opacity: 0.3;
    }
    .hero-mobile-bg .hero-content {
        position: relative;
        z-index: 1;
    }
    .hero-mobile-bg .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }
    .hero-video-wrapper-desktop {
        display: none !important;
    }
    .hero-mobile-bg .hero-text .hero-badge {
        margin-left: auto; margin-right: auto;
    }
    .hero-mobile-bg .hero-desc {
        margin: 0 auto 24px auto;
        max-width: 90%;
    }
    .hero-mobile-bg .hero-actions {
        justify-content: center;
    }
    .hero-mobile-bg .social-proof {
        justify-content: center;
    }
    .hero-mobile-bg .hero-title {
        font-size: clamp(2.8rem, 8vw, 3.6rem);
    }

    /* ===== MOBILE: ABOUT AS BACKGROUND ===== */
    .about-mobile-bg {
        position: relative;
        padding: 100px 0 80px;
        background: #000;
        overflow: hidden;
    }
    .about-video-bg-mobile {
        display: block;
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 0;
    }
    .about-video-bg-mobile video {
        width: 100%; height: 100%; object-fit: cover;
        opacity: 0.25;
    }
    .about-mobile-bg .container {
        position: relative;
        z-index: 1;
    }
    .about-mobile-bg .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0;
    }
    .about-video-wrapper-desktop {
        display: none !important;
    }
    .about-mobile-bg .about-text .eyebrow {
        justify-content: center;
    }
    .about-mobile-bg .about-text h2 {
        font-size: 2.2rem;
    }
    .about-mobile-bg .about-text p {
        max-width: 90%; margin: 0 auto 24px auto;
    }
    .about-mobile-bg .about-stats {
        justify-content: center;
    }

    /* ===== MOBILE: PROGRAMS SIDE-SCROLL ===== */
    .programs-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        padding-bottom: 20px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .programs-wrapper::-webkit-scrollbar { display: none; }
    .programs-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        width: max-content;
        padding: 0 4px;
    }
    .prog-card {
        min-width: 200px;
        width: 200px;
        flex-shrink: 0;
        padding: 16px 14px;
    }
    .prog-card h3 { font-size: 0.95rem; }
    .prog-card p { font-size: 0.75rem; }

    /* ===== MOBILE: RESULTS SIDE-SCROLL ===== */
    .results-wrapper {
        overflow-x: auto;
        overflow-y: visible;
        padding-bottom: 20px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    .results-wrapper::-webkit-scrollbar { display: none; }
    .results-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 16px;
        width: max-content;
        padding: 0 4px;
    }
    .result-card {
        min-width: 200px;
        width: 200px;
        flex-shrink: 0;
    }
}
