:root {
    --bg-color: #050505;
    --surface-color: rgba(25, 25, 25, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #999999;
    --accent-color: #ccff00;
    --font-main: 'Inter', sans-serif;
}

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

/* --- SMOOTH SCROLL --- */
html {
    scroll-behavior: smooth;
}

/* Evita que el menú fijo (sticky) tape los títulos de las secciones al deslizarse */
section, header {
    scroll-margin-top: 85px; /* Ajusta este valor si tu menú es más alto o más bajo */
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
}

/* --- FONDOS ANIMADOS (AURORA EFFECT) --- */
/* --- FONDOS ANIMADOS (AURORA EFFECT - MARCADO Y VISIBLE) --- */
.bg-glow {
    position: fixed;
    /* Usamos vw/vh para que el tamaño sea proporcional a la pantalla del usuario */
    width: 80vw; 
    height: 80vw;
    border-radius: 50%;
    filter: blur(80px); /* Ligeramente menos difuminado para mayor definición (antes 90px) */
    z-index: -1;
    pointer-events: none;
    will-change: transform, opacity; /* Hint de rendimiento para el navegador */
}

/* Luz Verde Neón (Empieza arriba a la derecha) */
.glow-1 {
    top: -20vh;
    right: -20vw;
    /* SUBIMOS OPACIDAD DE 0.15 A 0.4 para que sea mucho más visible */
    background: radial-gradient(circle, rgba(204, 255, 0, 0.4) 0%, rgba(204, 255, 0, 0) 65%, transparent 70%);
    /* Aumentamos velocidad ligeramente para notar el movimiento */
    animation: float-glow-1 15s ease-in-out infinite alternate;
}

/* Luz Morada (Empieza abajo a la izquierda) */
.glow-2 {
    bottom: -30vh;
    left: -30vw;
    /* SUBIMOS OPACIDAD DE 0.15 A 0.4 para que sea mucho más visible */
    background: radial-gradient(circle, rgba(125, 42, 137, 0.4) 0%, rgba(125, 42, 137, 0) 65%, transparent 70%);
    /* Aumentamos velocidad ligeramente */
    animation: float-glow-2 18s ease-in-out infinite alternate;
}

/* NUEVAS ANIMACIONES: Movimiento proporcional mucho más amplio */
@keyframes float-glow-1 {
    0% { 
        transform: translate(0, 0) scale(1); 
        opacity: 1;
    }
    50% {
        opacity: 0.8; /* Sutil efecto respiración */
    }
    100% { 
        /* Viaja considerablemente hacia el centro-izquierda (40% de la pantalla) */
        transform: translate(-50vw, 40vh) scale(1.3); /* Crece un poco más (1.3) */
        opacity: 1;
    }
}

@keyframes float-glow-2 {
    0% { 
        transform: translate(0, 0) scale(1); 
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
    100% { 
        /* Viaja considerablemente hacia el centro-derecha (60% de la pantalla) */
        transform: translate(60vw, -40vh) scale(1.4); /* Crece un poco más (1.4) */
        opacity: 1;
    }
}

/* Ajuste Responsivo para celulares (Rango de movimiento más corto para que no se pierdan) */
@media (max-width: 600px) {
    .bg-glow {
        width: 100vw;
        height: 100vw;
    }
    @keyframes float-glow-1 {
        0% { transform: translate(0, 0) scale(1); }
        100% { transform: translate(-30vw, 20vh) scale(1.2); }
    }
    @keyframes float-glow-2 {
        0% { transform: translate(0, 0) scale(1); }
        100% { transform: translate(40vw, -20vh) scale(1.2); }
    }
}
/* Reducimos el tamaño de las luces en móviles para que no saturen la pantalla */
@media (max-width: 600px) {
    .bg-glow {
        width: 400px;
        height: 400px;
    }
}
/* --- NAVEGACIÓN --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    border-bottom: 1px solid var(--border-color);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.2rem;
}

.logo-icon { color: var(--accent-color); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--text-main); }

/* --- BOTONES Y UTILIDADES --- */
.btn-primary {
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-primary a{
    background: #fff;
    color: #000;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-accent {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.btn-accent a{
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.text-muted { color: var(--text-muted); }
.mt-20 { margin-top: 20px; }

/* --- HERO SPLIT --- */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 5%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 80vh;
}

.hero-split h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-split h1 span { color: var(--accent-color); }

.hero-split p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

.search-bar {
    display: flex;
    gap: 10px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 12px;
    max-width: 500px;
}
.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 10px 15px;
    outline: none;
}

.hero-image-wrapper {
    position: relative;
    height: 600px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.hero-banner-img {
    width: 100%;
    height: 100%;
    background: url(assets/banner-inicial-correcto.png);
    background-size: cover;
    background-position: center;
}
.glass-overlay {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* --- PATROCINADORES MARQUEE --- */
/* --- PATROCINADORES MARQUEE (Ajustado) --- */
.sponsors-section {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden; /* Evita que el movimiento cree scroll horizontal */
    width: 100%;
    position: relative;
}

.sponsors-title {
    display: block; /* Obliga al título a ocupar su propia línea */
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin: 0 auto 40px auto; /* Lo centra perfectamente y le da aire abajo */
}

.marquee-container {
    width: 100%;
    display: flex;
    justify-content: center; /* Centra el bloque de logos */
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 80px; /* Espacio entre logos */
    animation: ping-pong 8s ease-in-out infinite alternate;
}

.marquee-content img {
    height: 80px; /* ¡Logos mucho más grandes! (antes 45px) */
    width: auto;
    object-fit: contain; /* Evita que se deformen */
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
    cursor: pointer;
}

.marquee-content img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05); /* Pequeño efecto de crecimiento al pasar el mouse */
}

/* Movimiento de vaivén suave */
@keyframes ping-pong {
    0% { transform: translateX(8%); }
    100% { transform: translateX(-8%); }
}

/* Responsivo para celulares */
@media (max-width: 600px) {
    .sponsors-title {
        margin-bottom: 30px;
    }
    .marquee-content {
        gap: 40px;
    }
    .marquee-content img {
        height: 50px; /* Más grandes también en celular */
    }
    @keyframes ping-pong {
        0% { transform: translateX(15%); }
        100% { transform: translateX(-15%); }
    }
}

/* Responsivo para móviles */
@media (max-width: 600px) {
    .marquee-content {
        gap: 40px;
    }
    .marquee-content img {
        max-height: 35px;
    }
}

/* --- WIDGETS DASHBOARD --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.stats-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.stat-card, .promo-card, .cta-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
}
.stat-card h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 5px;
}
.stat-label { font-weight: 600; margin-bottom: 15px; }
.stat-desc { color: var(--text-muted); font-size: 0.85rem; line-height: 1.4; }

.promo-card {
    grid-column: span 2;
    display: flex;
    align-items: center;
}
.promo-card h3 { font-size: 1.8rem; line-height: 1.2; }
.promo-card span {
    border: 1px solid var(--border-color);
    padding: 2px 10px;
    border-radius: 20px;
}

.cta-card {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    padding: 0;
}
.cta-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta-content h2 { font-size: 2rem; margin-bottom: 15px; }
.cta-content p { color: var(--text-muted); margin-bottom: 30px; }
.btn-link { color: var(--accent-color); text-decoration: none; font-weight: 600; }

.cta-image {
    width: 40%;
    background: url(assets/body-nelson-vargas.png);
    border-left: 1px solid var(--border-color);
}

/* --- PONENTES --- */
.mentors-section {
    padding: 40px 5% 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.section-header h2 { font-size: 2.5rem; margin-bottom: 5px;}

.filters {
    display: flex;
    flex-wrap: wrap; /* CRUCIAL: Permite que los botones bajen de línea si no caben */
    justify-content: center; /* Los centra en la pantalla */
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
}
.filters .active {
    color: var(--accent-color);
    position: relative;
}
.filters .active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}

.mentors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.mentor-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.mentor-card:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.3); }

.mentor-img {
    height: 400px;
    background: #222;
    position: relative;
    padding: 15px;
}
.rating {
    background: rgba(0,0,0,0.6);
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
    position: absolute;
    top: 15px;
    right: 15px;
}
.mentor-info { padding: 20px; position: relative; }
.tag {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--text-muted);
}
.mentor-info h3 { margin: 10px 0 5px 0; font-size: 1.2rem; }
.mentor-info p { color: var(--text-muted); font-size: 0.85rem; }

.btn-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--accent-color);
    color: #000;
    border: none;
    font-weight: bold;
    cursor: pointer;
    display: grid;
    place-items: center;
}

/* --- REELS --- */
.reels-section {
    padding: 0 5% 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.reels-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) var(--surface-color);
}
.reels-carousel::-webkit-scrollbar { height: 8px; }
.reels-carousel::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.reel-card {
    min-width: 280px;
    aspect-ratio: 9/16;
    background: var(--surface-color);
    border-radius: 20px;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}
.reel-card:hover { transform: scale(0.98); }
.reel-thumbnail { width: 100%; height: 100%; background: #1a1a1a; }
.reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}
.play-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.4);
    color: white;
    display: grid;
    place-items: center;
    cursor: pointer;
    align-self: flex-end;
}
.reel-info h4 { font-size: 1rem; margin-bottom: 5px; }
.reel-info span { font-size: 0.8rem; color: var(--text-muted); }

/* --- SEDE --- */
.venue-section {
    padding: 0 5% 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}
.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    align-items: center;
}
.venue-info h2 { font-size: 2.5rem; margin: 15px 0; }
.venue-info p { color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }
.venue-perks { list-style: none; margin-bottom: 30px; }
.venue-perks li { margin-bottom: 10px; color: #fff; font-weight: 300; }
.venue-gallery { height: 400px; border-radius: 16px; overflow: hidden; }
.venue-img-main { width: 100%; height: 100%; background: url(assets/congreso-royal.png); }

/* --- ANIMACIONES GLOBALES JS --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVO --- */
@media (max-width: 900px) {
    .hero-split { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
    .hero-split p, .search-bar { margin-left: auto; margin-right: auto; }
    .hero-image-wrapper { height: 400px; }
    
    .dashboard-grid, .stats-col, .mentors-grid, .venue-grid { grid-template-columns: 1fr; }
    .cta-card { flex-direction: column; }
    .cta-image { width: 100%; height: 200px; border-left: none; border-top: 1px solid var(--border-color); }
    .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
    .venue-gallery { height: 300px; }




}






/* --- PROGRAMA HERO --- */
.program-hero {
    text-align: center;
    padding: 60px 20px 40px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.program-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}
.program-hero h1 span { color: var(--accent-color); }
.program-hero p { color: var(--text-muted); font-size: 1.1rem; }

/* --- AGENDA TABS --- */
.agenda-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 5% 80px 5%;
}

.agenda-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    text-align: left;
    padding: 15px 25px;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.05); /* Glow sutil */
}

.tab-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-title {
    font-size: 1.2rem;
    font-weight: 600;
}

/* --- TIMELINE --- */
.timeline-container {
    position: relative;
}

.tab-content {
    display: none; /* Oculto por defecto */
    animation: fadeIn 0.5s ease;
}

.tab-content.active-tab {
    display: block; /* Visible cuando está activo */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 40px 1fr;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

/* Línea vertical conectora */
.timeline-item::after {
    content: '';
    position: absolute;
    left: 119px; /* Centrado con el marcador */
    top: 40px;
    bottom: -40px;
    width: 2px;
    background: var(--border-color);
    z-index: 0;
}
.timeline-item:last-child::after {
    display: none; /* Quita la línea después del último elemento */
}

.timeline-time {
    font-weight: 600;
    color: var(--text-muted);
    padding-top: 10px;
    text-align: right;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 3px solid var(--accent-color);
    border-radius: 50%;
    margin-top: 10px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 15px rgba(204, 255, 0, 0.3);
}

.timeline-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease;
    position: relative;
    z-index: 1;
}

.timeline-card:hover {
    transform: translateX(10px);
    border-color: rgba(204, 255, 0, 0.3);
}

.timeline-card h3 {
    margin: 15px 0 10px 0;
    font-size: 1.4rem;
}

.timeline-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Speaker Miniatura en el Programa */
.speaker-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.speaker-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #333; /* Placeholder para foto B/N */
    border: 1px solid var(--border-color);
}

.speaker-info strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
}

.speaker-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .agenda-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .timeline-item {
        grid-template-columns: 30px 1fr;
        gap: 15px;
    }
    
    .timeline-time {
        grid-column: 2;
        text-align: left;
        padding-top: 0;
        font-size: 0.9rem;
        color: var(--accent-color);
        margin-bottom: -10px;
    }
    
    .timeline-marker {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin-top: 25px;
    }
    
    .timeline-item::after {
        left: 9px;
        top: 45px;
    }
    
    .timeline-card {
        grid-column: 2;
    }
}



/* --- SUB-TABS (SALONES) --- */
.room-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    overflow-x: auto; /* Permite scroll horizontal en móviles */
    padding-bottom: 10px;
    scrollbar-width: none; /* Oculta la barra de scroll en Firefox */
}
.room-tabs::-webkit-scrollbar {
    display: none; /* Oculta la barra de scroll en Chrome/Safari */
}

.room-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.room-btn:hover {
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--text-main);
}

.room-btn.active {
    background: rgba(204, 255, 0, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Ocultar / Mostrar Salones */
.room-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.room-content.active-room {
    display: block;
}


.play-btn {
    /* ... todo lo que ya tenías ... */
    transition: opacity 0.3s ease; 
}




/* --- HERO FORM (Captura de Leads) --- */
.hero-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 16px;
    max-width: 500px;
    backdrop-filter: blur(10px);
    margin-top: 20px;
}

.hero-form input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 14px 15px;
    border-radius: 8px;
    outline: none;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-form input::placeholder {
    color: var(--text-muted);
}

.hero-form input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(204, 255, 0, 0.1);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.hero-form .btn-accent {
    width: 100%;
    margin-top: 10px;
    padding: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsivo para el formulario en móviles */
@media (max-width: 600px) {
    .form-group-row {
        grid-template-columns: 1fr; /* Apila el correo y teléfono en móviles */
    }
}


/* --- MENÚ HAMBURGUESA Y RESPONSIVE NAV --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 101; /* Asegura que quede por encima del menú abierto */
}

.hamburger span {
    width: 30px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Ocultar el botón CTA normal en desktop dentro de la lista, si lo prefieres separado, 
   puedes ajustar esta clase. Como lo metimos al ul, por defecto se verá normal. */
.nav-cta-mobile {
    list-style: none;
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Oculto fuera de la pantalla */
        width: 280px;
        height: 100vh;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(15px);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s ease;
        z-index: 100;
    }

    .nav-links.active {
        right: 0; /* Aparece en pantalla */
    }

    .nav-links a {
        font-size: 1.2rem;
        font-weight: 600;
    }

    /* Animación del icono de hamburguesa convirtiéndose en "X" */
    .hamburger.toggle span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .hamburger.toggle span:nth-child(2) {
        opacity: 0; /* Desaparece la línea del medio */
    }
    
    .hamburger.toggle span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}



/* --- PREGUNTAS FRECUENTES (FAQ) --- */
.faq-section {
    padding: 80px 5%;
    max-width: 900px; /* Más angosto para facilitar la lectura */
    margin: 0 auto;
}

.text-center {
    text-align: center;
    align-items: center;
    flex-direction: column;
}

.accordion {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
}

.faq-icon {
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 0 25px 25px 25px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Clases activas para JS */
.faq-item.active {
    border-color: var(--accent-color);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg); /* Convierte el + en una x */
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Altura suficiente para mostrar el texto */
}


/* --- FOOTER CORPORATIVO --- */
.site-footer {
    border-top: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.6);
    padding: 60px 5% 20px 5%;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 300px;
    line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.contact-link {
    display: block;
    color: #019ae5; /* Color azul de tu diseño */
    text-decoration: none;
    margin-bottom: 10px;
    font-weight: 600;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.legal-links a:hover {
    color: var(--text-main);
}

/* Responsivo Footer */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}





/* --- PRICING & COUNTDOWN TIMER --- */
.pricing-container {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid var(--border-color);
}

.pricing-header {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-header h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

/* Timer Styles */
.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.time-box {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-width: 80px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.time-box span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
}

.time-box small {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
}

.colon {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-muted);
    margin-top: -15px;
}

/* Cards Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-10px);
}

.price-card.popular {
    border-color: var(--accent-color);
    background: rgba(25, 25, 25, 0.8);
    box-shadow: 0 0 30px rgba(204, 255, 0, 0.05);
}

.discount-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #d540af; /* Tu color rosa */
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(213, 64, 175, 0.4);
}

.price-card h2 {
    font-size: 3rem;
    margin: 20px 0 15px 0;
}

.price-card h2 small {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.price-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.w-100 { width: 100%; }

/* Responsive para la sección de Precios */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-header h3 {
        font-size: 2rem;
    }
    
    .countdown-timer {
        gap: 5px;
    }
    
    .time-box {
        min-width: 60px;
        padding: 10px;
    }
    
    .time-box span {
        font-size: 1.5rem;
    }
}



/* --- AJUSTE DE FOTOS DE PONENTES (PARA QUE NO SE CORTEN) --- */
.mentor-img img {
    /* Le dice al navegador: si vas a recortar, mantén siempre visible la parte superior (cabeza) */
    object-position: top center !important; 
}

@media (max-width: 768px) {
    .mentor-card .mentor-img {
        /* Reduce un poco la altura en celulares para mejorar la proporción de la foto */
        height: 540px; 
    }
}






