:root {
    /* PALETA: MARISOL ROSE MILK */
    --bg-deep: #fff0f5; 
    --bg-gradient: linear-gradient(135deg, #ffe6f2 0%, #fff0f5 50%, #ffe6f2 100%);
    --text-main: #5e3a4b; 
    --text-muted: #8a6a7a; 
    --gold-gradient: linear-gradient(to right, #BF953F, #d4af37, #B38728, #FBF5B7, #AA771C);
    --gold: #D4AF37;
    --gold-light: #F9E29C;
    --pink-hot: #FF007F; 
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: 1px solid rgba(255, 255, 255, 0.9);
    --glass-shadow: 0 15px 40px rgba(219, 169, 189, 0.3);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

html, body {
    width: 100%;
    max-width: 100%;
    
    /* EL SECRETO: 'clip' evita el scroll lateral sin romper 
       ni la barra de progreso ni el sticky de la historia */
    overflow-x: clip; 
    
    position: relative;
    background: var(--bg-gradient);
    background-attachment: fixed; /* Fondo fijo */
    color: var(--text-main);
    font-family: var(--font-body);
    scroll-behavior: smooth;
    cursor: default;
}

/* --- SCROLL PROGRESS BAR (FIX FINAL - POSICIÓN INFERIOR) --- */
.scroll-progress {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 6px; 
    background: var(--gold-gradient);
    
    /* AGREGAR ESTO: Evita que el gradiente se deforme al crecer la barra */
    background-size: 100vw auto; 
    
    width: 0%;
    z-index: 2147483647; 
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 10px rgba(212, 175, 55, 0.5);
    
    /* CAMBIAR ESTO: Hace que la animación sea más rápida y fluida */
    transition: width 0.05s ease-out; 
}

/* --- DECORACIONES FLOTANTES --- */
.gold-shape {
    position: absolute;
    border: 1px solid var(--gold);
    opacity: 0.3;
    z-index: -1;
    animation: floatShape 20s infinite linear;
}
.shape-1 {
    width: 100px; height: 100px;
    top: 20%; left: 5%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}
.shape-2 {
    width: 150px; height: 150px;
    top: 60%; right: 5%;
    border-radius: 63% 37% 54% 46% / 55% 48% 52% 45%;
    animation-direction: reverse;
}

@keyframes floatShape {
    0% { transform: rotate(0deg) translate(0, 0); }
    50% { transform: rotate(180deg) translate(20px, 20px); }
    100% { transform: rotate(360deg) translate(0, 0); }
}

/* --- SECCIONES Y UTILIDADES --- */
section { 
    padding: 100px 0; 
    position: relative; 
}

.section-title {
    font-size: 3rem; 
    margin-bottom: 60px; 
    position: relative;
    z-index: 2;
}
.text-center { 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.small-container { max-width: 800px; }
.subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto 40px auto; }

/* --- TEXT GRADIENT --- */
.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
    font-weight: 700;
    display: inline-block; 
}
@keyframes shine { to { background-position: 200% center; } }

/* --- BACKGROUND FX --- */
.spotlight {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 9999;
    background: radial-gradient(600px circle at var(--x, 50%) var(--y, 50%), rgba(255, 0, 127, 0.05), transparent 40%);
    opacity: 0; transition: opacity 0.5s;
}
.bg-noise {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; z-index: -1; opacity: 0.4;
}
.orb {
    position: fixed; border-radius: 50%; filter: blur(80px); z-index: -2; opacity: 0.6;
    animation: floatOrb 25s infinite alternate ease-in-out;
}
.orb-1 { width: 40vw; height: 40vw; background: #ffe6f2; top: -10%; left: -10%; }
.orb-2 { width: 35vw; height: 35vw; background: #fff5e6; bottom: -10%; right: -10%; animation-delay: -5s; }
.orb-3 { width: 25vw; height: 25vw; background: rgba(255, 0, 127, 0.08); top: 40%; left: 30%; animation-delay: -10s; }
@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.05); }
}

/* --- NAVBAR & HAMBURGER (ESTILO EBOOK) --- */
nav {
    padding: 8px 5%; 
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; z-index: 1000;
    
    background: rgba(255, 240, 245, 0.85); 
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(219, 169, 189, 0.15);
    width: 100%;
    max-height: 80px; 
}

.logo-img {
    height: 50px; 
    width: auto;
    display: block;
    margin: 0; /* Alineado a la izquierda */
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(255, 182, 193, 0.5));
}
.logo-img:hover { transform: scale(1.05); }

/* Menú Escritorio */
.nav-desktop { display: flex; gap: 20px; align-items: center; }
.nav-desktop a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}
.nav-desktop a:hover { color: var(--pink-hot); }

/* Botón Hamburguesa */
.hamburger {
    display: none; 
    font-size: 2rem; 
    color: var(--text-main); 
    background: none; 
    border: none; 
    cursor: pointer;
    transition: 0.3s;
}

/* Menú Móvil Desplegable */
.mobile-menu {
    position: absolute; top: 100%; left: 0; width: 100%;
    background: #fff0f5; /* Rosa Lavender Blush */
    border-bottom: 1px solid var(--pink-hot);
    display: none; /* Oculto por defecto */
    flex-direction: column; align-items: center; gap: 20px;
    padding: 30px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.mobile-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.1rem;
}
.mobile-menu.active { display: flex; }

/* --- ICONO INSTAGRAM NAVBAR --- */
/* --- ICONO INSTAGRAM NAVBAR (FIX TAMAÑO) --- */
.nav-instagram {
    display: flex;
    align-items: center;
    text-decoration: none;
    margin: 0 10px;
    color: var(--text-main);
    transition: transform 0.3s ease;
}

/* AQUÍ ESTÁ EL TRUCO: Le damos el tamaño a la 'i' directamente */
.nav-instagram i {
    font-size: 2.2rem !important; /* El !important obliga a que cambie sí o sí */
}

.nav-instagram:hover {
    color: var(--pink-hot);
    transform: scale(1.1);
}

/* Ajuste para el menú móvil */
.mobile-menu .nav-instagram {
    font-size: 2rem;
    margin-top: 10px;
}

/* --- BOTÓN DORADO NAVBAR --- */
.btn-nav-gold {
    background: var(--gold-gradient); /* Usamos tu variable dorada */
    color: var(--text-main); /* Texto oscuro (Vino) para contraste elegante */
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); /* Sombra dorada */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    display: inline-block;
}

.btn-nav-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5); /* Más brillo al pasar el mouse */
    color: #000; /* Se oscurece un poco más al hacer hover */
}

/* RESPONSIVE DEL NAVBAR */
@media (max-width: 899px) {
    .nav-desktop { display: none; }
    .hamburger { display: block; }
}

/* --- HERO --- */
.hero {
    min-height: 100vh; 
    display: flex; 
    align-items: flex-start; 
    padding-top: 100px; 
    position: relative; 
    perspective: 1000px; 
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.badge-gold {
    background: rgba(212, 175, 55, 0.1); color: var(--gold); border: 1px solid var(--gold);
    padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 2px;
    text-transform: uppercase; display: inline-block; margin-bottom: 20px;
}
.hero h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; }

.btn-primary {
    background: var(--pink-hot); color: white; padding: 15px 35px; border-radius: 30px;
    text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 10px;
    transition: all 0.3s; border: none; cursor: pointer; box-shadow: 0 5px 20px rgba(255, 0, 127, 0.3);
    position: relative; overflow: hidden;
}
.btn-primary:hover { box-shadow: 0 10px 40px rgba(255, 0, 127, 0.6); transform: translateY(-2px); }
.btn-outline {
    background: transparent; border: 1px solid var(--text-main); color: var(--text-main);
    padding: 12px 25px; border-radius: 30px; text-decoration: none; display: block; text-align: center;
    transition: 0.3s; font-weight: 500;
}
.btn-outline:hover { background: var(--text-main); color: white; }

.hero-visual { width: 100%; display: flex; justify-content: center; align-items: center; }
.glass-card-abstract {
    background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(30px); border: 2px solid white;
    border-radius: 30px; padding: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
    box-shadow: 0 20px 50px rgba(219, 169, 189, 0.4); position: relative;
}
.floating-badge {
    position: absolute; top: -20px; right: -20px; background: var(--gold-gradient); color: white;
    padding: 10px 20px; border-radius: 20px; font-weight: bold;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.4); animation: floatBadge 3s infinite ease-in-out;
}
@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.stat-number { display: block; font-size: 2.5rem; font-weight: 700; color: var(--pink-hot); }
.stat-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); }

/* --- HERO SCROLL INDICATOR --- */
.scroll-indicator {
    position: absolute;
    bottom: 80px; 
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    z-index: 10;
}
.scroll-text {
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}
.scroll-arrow {
    width: 40px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    padding-top: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}
.scroll-arrow i {
    font-size: 1.5rem;
    color: var(--pink-hot);
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* --- VIDEO --- */
.video-wrapper {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 20px;
    border: 4px solid white; box-shadow: var(--glass-shadow); transition: transform 0.3s;
}
.video-wrapper:hover { transform: scale(1.02); }
.video-placeholder {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #fff;
    display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--text-muted);
}
.play-btn-pulse { font-size: 4rem; color: var(--pink-hot); animation: pulsePlay 2s infinite; }
@keyframes pulsePlay {
    0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; }
}

/* --- AUDIENCIA --- */
.grid-audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.audience-card {
    background: white; border: 1px solid rgba(0,0,0,0.05); padding: 30px; border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    min-width: 260px; 
}
.hover-lift:hover { transform: translateY(-15px); box-shadow: 0 20px 50px rgba(255, 0, 127, 0.15); }
.audience-card h3 { margin-bottom: 10px; color: var(--text-main); }
.audience-card p { color: var(--text-muted); font-size: 0.95rem; }
.icon-gold { font-size: 2.5rem; color: var(--gold); margin-bottom: 15px; display: block; }

/* --- STEPS --- */
.steps-container { display: flex; flex-direction: column; gap: 30px; }
.step-item {
    display: flex; gap: 20px; align-items: center; background: white; padding: 25px; border-radius: 15px;
    border-left: 4px solid var(--pink-hot); box-shadow: 0 5px 20px rgba(0,0,0,0.02); transition: 0.3s;
}
.step-item:hover { transform: translateX(15px); border-left-width: 8px; }
.step-number { font-size: 3rem; font-weight: bold; color: #f0e0e6; font-family: var(--font-heading); }

/* --- HORIZONTAL SCROLL TIMELINE --- */
.timeline-trigger { padding: 0; position: relative; height: 350vh; }
.sticky-wrapper {
    position: sticky; top: 0; height: 100vh; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; background: var(--bg-deep); 
}
.timeline-header { position: absolute; top: 10%; left: 10%; z-index: 10; }
.horizontal-scroll-track {
    display: flex; gap: 50px; padding-left: 10vw; padding-right: 5vw; width: max-content; 
}
.timeline-card {
    min-width: 320px; width: 320px; height: 420px;
    background: rgba(255, 255, 255, 0.8); border: 1px solid white; border-radius: 20px; padding: 25px;
    display: flex; flex-direction: column; justify-content: flex-end; backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); flex-shrink: 0;
}
.img-placeholder {
    flex-grow: 1; background: #f8f8f8; border-radius: 15px; margin-bottom: 15px;
    display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 0.9rem; overflow: hidden;
}

/* --- BIO --- */
.bio-image-wrapper {
    position: relative; width: 100%; max-width: 400px; height: 500px; background: #e0e0e0;
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    overflow: hidden; box-shadow: var(--glass-shadow);
}
.bio-placeholder-text { position: absolute; color: #999; font-weight: bold; font-size: 1.2rem; z-index: 1; }
.bio-img { width: 100%; height: 100%; object-fit: cover; z-index: 2; position: relative; }
.bio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }

/* --- PRICING GRID --- */
.pricing-grid-4 { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 50px;
    padding: 60px 20px; 
}
.pricing-grid-2 { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; justify-content: center; 
    max-width: 900px; margin: 0 auto;
    padding: 60px 20px; 
}

.price-card {
    background: var(--glass-bg); border: var(--glass-border); border-radius: 30px; padding: 35px;
    position: relative; box-shadow: var(--glass-shadow); display: flex; flex-direction: column;
    overflow: visible; transition: transform 0.4s ease;
    min-width: 280px; 
}
.price-card:hover { transform: translateY(-10px); }

/* --- SHIMMER 2.0 --- */
.shimmer-card {
    position: relative;
    overflow: visible !important; 
    background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.8) 50%, transparent 60%) no-repeat, rgba(255, 255, 255, 0.6); 
    background-size: 200% 100%, 100% 100%;
    background-position: 200% 0, 0 0; 
    transition: background-position 0.7s ease, transform 0.4s ease;
    border: var(--glass-border);
    border-radius: 30px;
    box-shadow: var(--glass-shadow);
}
.shimmer-card:hover {
    background-position: -100% 0, 0 0; 
    transform: translateY(-10px);
}
.shimmer-card::before { display: none !important; content: none; }

.card-header { margin-bottom: 20px; text-align: center; }
.card-header h3 { font-size: 1.4rem; margin-bottom: 5px; }
.price-tag { font-family: var(--font-heading); font-size: 2rem; color: var(--gold); font-weight: bold; }

.premium-card {
    border: 2px solid var(--pink-hot); background: white; transform: scale(1.05); z-index: 2;
    box-shadow: 0 20px 50px rgba(255, 0, 127, 0.15);
}
.premium-card:hover { transform: scale(1.05) translateY(-10px); }

.popular-tag {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--pink-hot);
    color: white; padding: 5px 15px; border-radius: 15px; font-size: 0.75rem; font-weight: bold;
    text-transform: uppercase; box-shadow: 0 5px 15px rgba(255, 0, 127, 0.4); z-index: 3;
}
.features-list { list-style: none; margin: 20px 0 30px 0; flex-grow: 1; }
.features-list li { margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; color: var(--text-muted); font-size: 0.95rem; }
.features-list li.bold { color: var(--text-main); font-weight: 600; }
.features-list i { color: var(--gold); font-size: 1.2rem; min-width: 20px; }
.full-width { width: 100%; justify-content: center; }
.separator-line { height: 1px; background: rgba(0,0,0,0.1); width: 100%; margin: 0 auto 60px auto; }

/* --- MARQUEE --- */
.marquee-wrapper { 
    overflow: hidden; width: 100%; 
    mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent); 
    -webkit-mask-image: linear-gradient(to right, transparent, white 10%, white 90%, transparent);
}
.marquee-track {
    display: flex; gap: 30px; width: max-content; animation: scrollInfinite 40s linear infinite;
}
@keyframes scrollInfinite { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.testimonio-img {
    width: 250px; height: 350px; background: white; border-radius: 15px;
    display: flex; justify-content: center; align-items: center; border: 1px solid #eee;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); color: #ccc; flex-shrink: 0; 
}

/* --- FAQ --- */
.faq-item { margin-bottom: 15px; border-bottom: 1px solid rgba(0,0,0,0.05); padding: 10px 0; background: rgba(255,255,255,0.5); border-radius: 10px; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-weight: 600; font-size: 1rem; padding: 15px; color: var(--text-main); transition: 0.3s; }
.faq-item summary:hover { color: var(--pink-hot); }
.faq-item p { padding: 0 15px 15px 15px; color: var(--text-muted); line-height: 1.6; font-size: 0.95rem; }

/* --- FOOTER & CTA --- */
.final-cta { padding: 40px 0 80px 0; }
.cta-subtitle { margin-bottom: 40px; color: var(--text-muted); font-size: 1.2rem; }
.big-btn { padding: 18px 50px; font-size: 1.1rem; }
footer { padding: 50px 0; text-align: center; border-top: 1px solid rgba(0,0,0,0.05); margin-top: 20px; }
footer p { color: var(--text-muted); font-size: 0.9rem; }
.credits a { color: var(--text-main); font-weight: bold; text-decoration: none; }

/* --- WHATSAPP --- */
.float-whatsapp {
    position: fixed; bottom: 30px; right: 30px; background: #25D366; width: 65px; height: 65px;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); z-index: 999; text-decoration: none;
    animation: heartbeat 2s infinite; color: white; font-size: 40px; 
}
@keyframes heartbeat {
    0% { transform: scale(1); } 15% { transform: scale(1.1); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } 60% { transform: scale(1); }
}

/* --- ESTILOS MÓVIL --- */
.mobile-swipe-hint {
    display: none; 
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--pink-hot);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    animation: swipeAnim 2s infinite;
}
@keyframes swipeAnim {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(10px); opacity: 1; }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    /* AJUSTE CLAVE: Fondo estático en móvil para evitar repintado constante */
    body { background-attachment: scroll; }

    section { padding: 50px 0; } 
    .section-title { font-size: 2.2rem; margin-bottom: 30px; } 
    .hero h1 { font-size: 2.2rem; }
    .hero-grid, .bio-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { display: none; } 
    
    .hero { 
        padding-top: 90px; 
        min-height: auto; 
        padding-bottom: 180px; 
    }
    
    .mobile-swipe-hint { display: flex; }
    
    .mobile-scroll-snap {
        display: flex !important;
        flex-wrap: nowrap !important; 
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 30px; 
        -webkit-overflow-scrolling: touch;
        gap: 20px;
        scrollbar-width: none; 
        width: 100%;
        justify-content: flex-start; 
    }
    .mobile-scroll-snap::-webkit-scrollbar { display: none; }
    
    .mobile-scroll-snap > * {
        scroll-snap-align: start; 
        flex: 0 0 85%; 
        max-width: 350px;
    }

    .premium-card { transform: scale(1); }
    .pricing-grid-4, .pricing-grid-2 { 
        padding: 40px 20px 60px 20px; 
        grid-template-columns: unset; 
    }

    .timeline-trigger { height: auto; }
    .sticky-wrapper { 
        position: relative; 
        height: auto; 
        overflow: visible; 
        background: transparent; 
        display: block; 
    }
    .timeline-header { 
        position: relative; 
        top: auto; 
        left: auto; 
        margin-bottom: 15px; 
        text-align: center; 
        z-index: 1;
    }

    .timeline-header .mobile-swipe-hint {
        margin-top: 30px; 
        margin-bottom: 5px; 
    }

    .horizontal-scroll-track { 
        display: flex;
        flex-direction: row; 
        width: 100%; 
        padding: 40px 20px; 
        transform: none !important; 
        overflow-x: auto;
        gap: 20px;
        scroll-snap-type: x mandatory;
    }
    .timeline-card { 
        min-width: 85vw; 
        height: auto; 
        margin-bottom: 0;
        scroll-snap-align: center;
        background: rgba(255, 255, 255, 0.95); 
        z-index: 2; 
    }
    .img-placeholder {
        min-height: 200px; 
    }
    
    .nav-links { display: none; } 
    
    /* FIX NAVBAR MÓVIL: Posición fija sin transformaciones y sin saltos */
    .glass-nav { 
        width: 95%; 
        top: 10px !important; 
        left: 0;
        right: 0;
        margin: 0 auto;
        transform: none !important;
        transition: none !important;
        
        /* FIX CLAVE: Forzamos capa de hardware para estabilidad total */
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .bio-image-wrapper { margin: 0 auto; height: 350px; }
}

/* Asegura que el iframe de YouTube llene el contenedor glass */
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px; 
}