
/* =========================================================
   IMT | CUMBRE DE LÍDERES 2026
   CSS — "Riviera Tech"
   Aesthetic: Veraniego premium · Tecnológico · Glass · Waves
   Fonts: Playfair Display (script-like display) + DM Sans (clean)
   Palette: Purple #6B4FA0 · Coral #e67e50 · Sky Blue #99c2e8
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700;1,800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
    --purple: #6B4FA0;
    --purple-light: #9B7FD4;
    --purple-deep: #3D2870;
    --purple-muted: rgba(107, 79, 160, 0.10);
    --purple-glass: rgba(107, 79, 160, 0.15);
    --purple-mid: rgba(107, 79, 160, 0.22);

    --coral: #e67e50;
    --coral-light: #F2A07A;
    --coral-muted: rgba(230, 126, 80, 0.12);
    --coral-glass: rgba(230, 126, 80, 0.18);

    --blue: #99c2e8;
    --blue-deep: #5A9AC8;
    --blue-muted: rgba(153, 194, 232, 0.18);

    /* Sand / warm neutrals */
    --sand: #FDF8F2;
    --sand-2: #F7EFE4;
    --sand-3: #EDE0CE;
    --sand-warm: rgba(237, 224, 206, 0.5);

    --bg: #FDFAF6;
    --surface: #FFFFFF;
    --surface-glass: rgba(255, 255, 255, 0.65);
    --border: rgba(107, 79, 160, 0.12);
    --border-warm: rgba(230, 126, 80, 0.15);

    --text: #1E1630;
    --text-muted: #5C5078;
    --text-faint: #A097BE;
    --text-on-dark: rgba(255, 255, 255, 0.9);

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 0.4s;

    --r-sm: 6px;
    --r-md: 14px;
    --r-lg: 24px;
    --r-xl: 40px;
    --r-full: 999px;

    --shadow-sm: 0 2px 12px rgba(107, 79, 160, 0.08);
    --shadow-md: 0 8px 32px rgba(107, 79, 160, 0.12);
    --shadow-lg: 0 20px 60px rgba(107, 79, 160, 0.18);
    --shadow-glow: 0 0 40px rgba(107, 79, 160, 0.20);
}

/* ── RESET ──────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Sand texture overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    background-size: 300px 300px;
    pointer-events: none;
    z-index: 9998;
    opacity: 1;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ── CONTAINER ──────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 7rem 0;
}

.center-text {
    text-align: center;
}

/* ── WAVE DIVIDER utility ───────────────────────────────── */
.wave-divider {
    position: absolute;
    bottom: -1px;
    /* <-- Esto soluciona la línea de corte */
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: 100%;
}

.wave-divider-top {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
    transform: rotate(180deg);
}

.wave-divider-top svg {
    display: block;
    width: 100%;
}

/* ── SECTION HEADERS ────────────────────────────────────── */
.section-header {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.section-header.center-text {
    align-items: center;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 0.75rem;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1.5px;
    background: var(--coral);
    flex-shrink: 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--text);
}

.section-title em {
    font-style: italic;
    color: var(--purple);
}

.text-accent {
    color: var(--coral);
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    border-radius: var(--r-full);
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background var(--dur);
}

.btn:hover::before {
    background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--coral) 0%, #C85A2A 100%);
    color: #fff;
    box-shadow: 0 4px 20px rgba(230, 126, 80, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(230, 126, 80, 0.5);
}

.btn-outline-light {
    background: var(--surface-glass);
    color: var(--purple);
    border: 1.5px solid rgba(107, 79, 160, 0.3);
    backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* ── HEADER BASE (ESCRITORIO) ───────────────────────────── */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.45s var(--ease);
}

.main-header.scrolled {
    padding: 0.75rem 0;
    background: rgba(61, 40, 112, 0.70);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.main-header.scrolled::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--purple), var(--coral), var(--blue));
    opacity: 0.8;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Logos en Escritorio (Grandes) */
.brand-logos {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.logo-main {
    height: 60px; /* Regresamos a la medida original para PC */
    width: auto;
    object-fit: contain;
}

.logo-secondary {
    height: 60px; /* Regresamos a la medida original para PC */
    width: auto;
    object-fit: contain;
    opacity: 1;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-left: 1.2rem;
    transition: opacity var(--dur);
}

.logo-secondary:hover {
    opacity: 1;
}

/* Navegación en Escritorio */
.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    flex-direction: row; 
    align-items: center;
    gap: 0.5rem;
    list-style: none; 
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #ffffff;
    padding: 0.5rem 1.2rem;
    border-radius: var(--r-full);
    transition: all var(--dur);
    position: relative;
}

.nav-link:hover {
    color: var(--coral);
    background: rgba(255, 255, 255, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Ocultamos la hamburguesa en PC */
.mobile-menu-toggle {
    display: none; 
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.bar {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all var(--dur) var(--ease);
}


/* ── RESPONSIVO: MENÚ MÓVIL ────────────────────────────── */
@media (max-width: 991px) {
    
    /* 1. EL TRUCO ANTIBALAS: Anclar el botón a la fuerza */
    .header-container {
        position: relative; 
        justify-content: flex-start; /* Alineamos el logo a la izquierda */
    }

    .brand-logos {
        max-width: 70%; /* Evita que el logo sea muy ancho */
    }

    .header-actions {
        position: absolute !important; /* Lo sacamos del flujo normal */
        right: 1.5rem; /* Lo pegamos a la derecha SÍ O SÍ */
        top: 50%;
        transform: translateY(-50%); /* Lo centramos verticalmente */
        z-index: 9999;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .btn-primary { 
        display: none; /* Ocultamos el botón de participar en celular */
    }

    /* 2. EL MENÚ DESPLEGABLE (Animación de arriba hacia abajo) */
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 100dvh;
        background: rgba(45, 30, 85, 0.98); /* Tu color morado elegante */
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9000;
        overflow-y: auto;
        
        /* Oculto arriba de la pantalla */
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    /* 3. LISTA DE ENLACES */
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        text-align: center;
        padding: 2rem 0;
        list-style: none;
        margin: 0;
    }

    .nav-link {
        font-size: 1.5rem;
        font-weight: 500;
        padding: 0.85rem 2.5rem;
        display: block;
        color: #ffffff;
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        color: var(--coral);
        background: rgba(255,255,255,0.08);
    }

    /* 4. ANIMACIÓN DE HAMBURGUESA A "X" */
    .mobile-menu-toggle.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .mobile-menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* ── HERO  ────────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--purple-deep);
}

/* Contenedor del video */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* Overlay para oscurecer el video */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(61, 40, 112, 0.85) 0%,
            rgba(61, 40, 112, 0.4) 100%);
    z-index: 1;
}

/* Ola inferior */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 2;
    line-height: 0;
}

.hero-wave svg {
    display: block;
    width: 100%;
}

/* Grid del contenedor */
.hero-container {
    position: relative;
    z-index: 3;
    padding-top: 9rem;
    padding-bottom: 8rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

/* ── IMAGEN PRINCIPAL DEL HERO ── */
.hero-logo-left {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: 2.5rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    /* Sombra para resaltar sobre el video */
    animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* Contenedor de la columna derecha */
.hero-side {
    display: flex;
    flex-direction: column;
    /* Apila la imagen y los botones verticalmente */
    align-items: flex-end;
    /* Empuja todo hacia la derecha */
    justify-content: center;
    gap: 2rem;
    /* Espacio entre la imagen de la fecha y los botones */
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
}

.hero-image-right {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botones */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
    /* Asegura que los botones se peguen a la derecha si la pantalla se achica */
}

/* ── HERO INFO CARD — Glassmorphism (Lado derecho) ── */
.hero-info-card {
    background: var(--surface-glass);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--r-xl);
    padding: 2.5rem 2rem;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

/* Orbes decorativos dentro de la card */
.hero-info-card::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle,
            rgba(153, 194, 232, 0.25) 0%,
            rgba(107, 79, 160, 0.10) 50%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-info-card::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle,
            rgba(230, 126, 80, 0.15) 0%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.info-card-header {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.info-card-header::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--coral);
    border-radius: 50%;
}

.info-row-visual {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    margin-bottom: 0.9rem;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--r-md);
    transition: all var(--dur) var(--ease);
    backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.info-row-visual:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.info-visual-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-muted), var(--blue-muted));
    border: 1px solid rgba(107, 79, 160, 0.15);
    border-radius: var(--r-md);
    color: var(--purple);
    transition: all var(--dur) var(--ease);
}

.info-row-visual:hover .info-visual-icon {
    background: var(--purple);
    color: #fff;
    border-color: var(--purple);
}

.info-visual-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.info-visual-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-faint);
}

.info-visual-value {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.01em;
}

/* ── ARREGLO DEL HERO (EXCLUSIVO PARA CELULAR) ── */
@media (max-width: 991px) {
    
    /* Volvemos el contenedor principal una columna vertical */
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center;
        gap: 2rem; 
        padding-top: 100px; 
    }

    /* Le quitamos los lados a los contenedores y los centramos */
    .hero-content, 
    .hero-side {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        position: static !important; 
    }

    /* Forzamos a que las imágenes no se desfasen ni se salgan */
    .hero-logo-left, 
    .hero-image-right {
        max-width: 90% !important; 
        height: auto !important;
        margin: 0 auto !important; 
        position: static !important; 
        transform: none !important; 
    }

    /* Aseguramos que el botón de participar quede centrado */
    .hero-actions {
        margin-top: 1.5rem;
        display: flex;
        justify-content: center;
        width: 100%;
    }
}

/* ── FEATURES SECTION ───────────────────────────────────── */
.features-section {
    background: var(--sand);
    position: relative;
    overflow: hidden;
}

.features-section .container {
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.features-gallery {
    position: relative;
}

/* ── CARRUSEL AUTOMÁTICO PARA "QUÉ ESPERAR" (6 FOTOS) ── */
.features-slideshow {
    position: relative;
    width: 100%;
    height: 460px; 
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    background: #000;
}

.features-slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* Animación: 30s en total (5s x 6 fotos) */
    animation: fadeSlideSix 30s infinite;
    will-change: opacity, transform; 
}

/* Retraso escalonado de 5 en 5 segundos para las 6 fotos */
.features-slide-img:nth-child(1) { animation-delay: 0s; }
.features-slide-img:nth-child(2) { animation-delay: 5s; }
.features-slide-img:nth-child(3) { animation-delay: 10s; }
.features-slide-img:nth-child(4) { animation-delay: 15s; }
.features-slide-img:nth-child(5) { animation-delay: 20s; }
.features-slide-img:nth-child(6) { animation-delay: 25s; }

@keyframes fadeSlideSix {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    3% { /* Aparece rápido */
        opacity: 1; 
    }
    16.66% { /* Se mantiene visible el 1/6 del tiempo */
        opacity: 1; 
    }
    19.66% { /* Se desvanece suavemente */
        opacity: 0; 
        transform: scale(1);
    }
    100% {
        opacity: 0; 
    }
}

.gallery-decoration {
    position: absolute;
    top: -1.5rem;
    left: -1.5rem;
    width: 70px;
    height: 70px;
    border-top: 3px solid var(--coral);
    border-left: 3px solid var(--coral);
    border-radius: var(--r-sm) 0 0 0;
    opacity: 0.5;
}

.features-content {
    padding-left: 1rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Glass feature cards */
.feature-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.4rem 1.5rem;
    background: var(--surface-glass);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--r-lg);
    backdrop-filter: blur(12px);
    transition: all var(--dur) var(--ease);
    box-shadow: 0 2px 8px rgba(107, 79, 160, 0.05);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(107, 79, 160, 0.15);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-muted), var(--coral-muted));
    border: 1px solid rgba(107, 79, 160, 0.12);
    border-radius: var(--r-md);
    color: var(--purple);
    transition: all var(--dur) var(--ease);
}

.feature-item:hover .feature-icon {
    background: var(--purple);
    color: #fff;
    box-shadow: 0 4px 16px rgba(107, 79, 160, 0.3);
}

.feature-text h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.35rem;
}

.feature-text p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 400;
}

.features-section {
    position: relative;
    /* necesario para que la ola se posicione bien */
    overflow: visible;
    /* asegura que la ola no se corte */
}

.wave-divider {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 2;
}

.wave-divider svg {
    display: block;
    width: 100%;
}

/* ── SECCIÓN SPEAKERS ────────────────────────────────────── */
.speakers-section {
    /* Fondo morado profundo coherente con el Hero */
    background: linear-gradient(160deg, var(--purple-deep, #3D2870) 0%, #3D2870 40%, #3D2870 100%);
    position: relative;
    overflow: hidden;
    padding-top: 6rem;
    padding-bottom: 5rem;
}

/* Orbes decorativos de fondo (Morado y Coral) */
.speakers-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(107, 79, 160, 0.25) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.speakers-section::after {
    content: '';
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(230, 126, 80, 0.15) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.speakers-section .section-title {
    color: #ffffff;
}

.speakers-section .section-subtitle {
    color: var(--coral-light, #F2A07A);
}

.speakers-section .section-subtitle::before,
.speakers-section .section-subtitle::after {
    background: var(--coral-light, #F2A07A);
}

.speakers-section .section-header {
    margin-bottom: 2rem; /* Ya no necesitamos tanto margen si la caja de abajo tiene la altura correcta */
    position: relative;
    z-index: 10; /* Fuerza al título a estar por encima de las fotos */
}

/* ── GALERÍA FLOTANTE ────────────────────────────────────── */
.floating-gallery {
    position: relative;
    width: 100%;
    max-width: 1200px; 
    height: 450px; 
    margin: 0 auto; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 1;
}

/* Línea base de la galería (suelo iluminado) */
.floating-gallery::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            rgba(107, 79, 160, 0.5) 30%,
            rgba(230, 126, 80, 0.6) 50%,
            rgba(107, 79, 160, 0.5) 70%,
            transparent);
    z-index: 0;
}

/* ── CADA SPEAKER ────────────────────────────────────────── */
.float-speaker {
    text-decoration: none;
    color: inherit;
    position: relative;
    flex: 1 !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: flex 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    min-width: 0;
    z-index: 1;
}

.floating-gallery:hover .float-speaker {
    flex: 0.6;
}

.floating-gallery:hover .float-speaker:hover {
    flex: 2.2;
    z-index: 10;
    /* Trae al frente al speaker seleccionado */
}

/* Imagen del Speaker */
.float-speaker img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    transition:
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.5s ease,
        opacity 0.5s ease;

    /* Foco de luz morado muy sutil detrás del PNG en lugar del naranja fuerte */
    background: radial-gradient(circle at center 60%, rgba(107, 79, 160, 0.3) 0%, transparent 60%);
    transform-origin: bottom center;
}

/* ── CAJA DE INFORMACIÓN SOBRE LA IMAGEN (ESTILO ETIQUETA) ── */
.float-speaker-info {
    position: absolute;

    /* POSICIONAMIENTO: Dentro de la imagen, en la parte inferior */
    bottom: 40px;
    left: 45%;
    transform: translateX(-50%) translateY(50px);

    /* TAMAÑO COMPACTO */
    width: 100%;
    max-width: 300px;
    padding: 0.7rem;
    text-align: center;
    border-radius: 15px;

    /* EFECTO CRISTAL RIVIERA */
    background: rgba(21, 13, 46, 0.85);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);

    /* ESTADO INICIAL */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Efecto rebote suave */
    z-index: 20;
    pointer-events: none;
}

.float-speaker-info::after {
    display: none;
}

.float-speaker:hover .float-speaker-info {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-1);
}

.speaker-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.1rem;
    line-height: 1.2;
}

.speaker-role {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--coral-light, #F2A07A);
    margin-bottom: 0.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


.speaker-company {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.6rem;
}

/* Efecto 1: Cuando el mouse entra a la galería, atenuamos a TODOS */
.floating-gallery:hover .float-speaker img {
    filter: blur(5px) brightness(0.6) grayscale(30%);
    opacity: 0.7;
    transform: scale(0.98);
}

/* Efecto 2: El speaker específico que estamos tocando recupera su color y brilla */
.floating-gallery:hover .float-speaker:hover img {
    filter: blur(0px) drop-shadow(0 -10px 25px rgba(230, 126, 80, 0.6)) brightness(1.05);
    opacity: 1;
    transform: scale(1.06) translateY(-10px);
}

/* Alturas escalonadas (Se mantiene igual) */
.float-speaker:nth-child(1) img,
.float-speaker:nth-child(2) img,
.float-speaker:nth-child(3) img,
.float-speaker:nth-child(4) img,
.float-speaker:nth-child(5) img {
    max-height: 500px;
}

/* ── BADGE DE LINKEDIN O ROL ─────────────────────────────── */
.float-speaker-li {
    position: absolute;
    top: 0.8rem;
    right: calc(50% - 110px);
    bottom: auto;
    left: auto;
    opacity: 0;
    z-index: 15;
    background: #0A66C2;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.65rem;
    border-radius: 5px;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(230, 126, 80, 0.4);
    pointer-events: none;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.float-speaker:hover .float-speaker-li {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* Glow bajo el speaker activo en el suelo */
.float-speaker::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 60px;
    background: radial-gradient(ellipse, rgba(107, 79, 160, 0) 0%, transparent 70%);
    border-radius: 50%;
    transition: background 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.float-speaker:hover::before {
    /* Ilumina el piso de morado cuando pasas el mouse */
    background: radial-gradient(ellipse, rgba(107, 79, 160, 0.4) 0%, transparent 70%);
}

/* ── CARRUSEL TRANSPARENTE GIGANTE 1 a 1 ── */
@media (max-width: 991px) {
    
    /* 1. La pista de desplazamiento */
    .floating-gallery { 
        display: flex !important;
        flex-direction: row !important; 
        flex-wrap: nowrap !important; 
        overflow-x: auto !important; 
        scroll-snap-type: x mandatory !important; 
        justify-content: flex-start !important; 
        gap: 0.5rem !important; /* Espacio mínimo entre speakers */
        
        /* 👇 MENOS PADDING LATERIAL para que la foto gigante quepa 👇 */
        padding: 2rem 2.5% !important; 
        height: auto !important; 
        scrollbar-width: none; 
        -ms-overflow-style: none; 
    }
    
    .floating-gallery::-webkit-scrollbar {
        display: none; 
    }

    /* 2. El Speaker (Contenedor principal) */
    .float-speaker {
        /* 👇 OCUPA EL 95% DEL ANCHO DEL CELULAR (Casi toda la pantalla) 👇 */
        flex: 0 0 95% !important; 
        scroll-snap-align: center !important; 
        
        position: relative !important;
        top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
        transform: none !important; 
        margin: 0 !important; 
        
        background: transparent !important; 
        box-shadow: none !important; 
        border: none !important;
        padding: 0 !important; 
        
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* 3. LA FOTO (¡¡AHORA SÍ GIGANTE!!) */
    .float-speaker img {
        /* 👇 Ocupa el 100% de ese 95% de la tarjeta... 👇 */
        width: 100% !important; 
        
        /* 👇 Aumentamos el tope drásticamente de 300px a 450px 👇 */
        max-width: 450px !important; 
        
        height: auto !important;
        max-height: 60vh !important; /* Un poco más alta también */
        object-fit: contain !important; 
        border-radius: 0 !important; 
        box-shadow: none !important; 
        
        /* Centrado perfecto con buen espacio abajo */
        margin: 0 auto 1.5rem auto !important; 
        position: relative !important; 
    }
    
    /* 4. EL CUADRO DE TEXTO (Domado) */
    .float-speaker-info {
        position: relative !important; 
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        width: 100% !important;
        max-width: 450px; /* Que no sea más ancho que la foto */
        background: transparent !important; 
        padding: 0 1rem !important; /* Un poco de aire a los lados para el texto */
        margin: 0 auto !important;
        transform: none !important;
    }

    /* 5. Textos grandes y claros */
    .speaker-name {
        font-size: 1.8rem !important; /* Subimos el tamaño */
        margin-bottom: 0.3rem !important;
        color: #ffffff !important; 
        font-weight: 700;
    }
    
    .speaker-role {
        font-size: 1.2rem !important; /* Subimos el tamaño */
        line-height: 1.3 !important;
        color: #ffffff !important;
    }
}

/* ── MESAS DE DIÁLOGO ───────────────────────────────────── */
.dialogo-section {
    background: var(--sand-2);
    position: relative;
    overflow: hidden;
}

.dialogo-section .container {
    position: relative;
    z-index: 1;
}

.dialogo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.dialogo-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 2.5rem;
    font-weight: 400;
    padding: 1.2rem 1.4rem;
    background: var(--surface-glass);
    border: 1px solid rgba(107, 79, 160, 0.1);
    border-left: 3px solid var(--purple);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    backdrop-filter: blur(8px);
}

.topics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Glass topic cards */
.topic-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.4rem;
    background: var(--surface-glass);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--r-lg);
    backdrop-filter: blur(12px);
    transition: all var(--dur) var(--ease);
    box-shadow: 0 2px 8px rgba(107, 79, 160, 0.05);
}

.topic-card:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.topic-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    flex-shrink: 0;
}

.terracota-icon {
    background: var(--coral-muted);
    color: var(--coral);
    border: 1px solid rgba(230, 126, 80, 0.2);
}

.azul-icon {
    background: var(--purple-muted);
    color: var(--purple);
    border: 1px solid rgba(107, 79, 160, 0.15);
}

.topic-card h4 {
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
}

/* ── CARRUSEL AUTOMÁTICO (SLIDESHOW) ── */
.dialogo-image-wrapper {
    position: relative;
    width: 100%;
    height: 480px; /* Mantenemos la altura que ya tenías */
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
    background: #000; /* Fondo negro por si tardan en cargar */
}

/* El contenedor que recorta los bordes redondeados */
.dialogo-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--r-xl);
    overflow: hidden;
}

/* Las 10 imágenes apiladas */
.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para que no se deformen */
    opacity: 0; /* Todas empiezan invisibles */
    /* Animación: dura 40s (4s por foto), infinita */
    animation: fadeSlide 25s infinite; 
}

/* ── EL TRUCO: RETRASAR CADA FOTO ── */
/* Si hay 10 fotos, cada una debe esperar 4 segundos más que la anterior */
.slide-img:nth-child(1) { animation-delay: 0s; }
.slide-img:nth-child(2) { animation-delay: 5s; }
.slide-img:nth-child(3) { animation-delay: 10s; }
.slide-img:nth-child(4) { animation-delay: 15s; }
.slide-img:nth-child(5) { animation-delay: 20s; }

/* ── LA ANIMACIÓN (FADE Y LIGERO ZOOM) ── */
/* Matemática: (100% / 10 fotos) = 10% del tiempo visible. 
   Dejamos 2% para la transición (Fade in/out) y 8% solida */
@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: scale(1.05);
    }
    4% {
        opacity: 1; /* Aparece rápido */
    }
    20% {
        opacity: 1; /* Se mantiene visible un ratito */
    }
    24% {
        opacity: 0; /* Desaparece suavemente */
        transform: scale(1); /* Efecto Ken Burns inverso sutil */
    }
    100% {
        opacity: 0;
    }
}

/* Mantenemos tu decoración del marco */
.dialogo-frame {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 55%;
    height: 55%;
    border-right: 2px solid var(--coral);
    border-bottom: 2px solid var(--coral);
    border-radius: 0 0 var(--r-lg) 0;
    opacity: 0.4;
    pointer-events: none;
    z-index: 2; /* Para que quede por encima de las fotos */
}

/* ── PATROCINADORES ─────────────────────────────────────── */
.sponsors-section {
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.sponsors-grid-duo {
    display: grid;
    /* Cambiamos a 3 columnas para que los 6 patrocinadores formen 2 filas exactas */
    grid-template-columns: repeat(3, 1fr); 
    gap: 2rem;
    margin: 3.5rem 0;
}

/* Reglas responsivas para que no se apachurren en pantallas pequeñas */
@media (max-width: 992px) {
    .sponsors-grid-duo {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
    }
}

@media (max-width: 576px) {
    .sponsors-grid-duo {
        grid-template-columns: 1fr; /* 1 columna en celular */
    }
}

.sponsor-item-duo {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 3rem;
    background: var(--surface-glass);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--r-xl);
    overflow: hidden;
    text-decoration: none;
    transition: all var(--dur) var(--ease);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    min-height: 240px;
}

.sponsor-item-duo:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(107, 79, 160, 0.2);
}

.sponsor-badge {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--purple);
    background: var(--purple-muted);
    border: 1px solid rgba(107, 79, 160, 0.15);
    padding: 0.3rem 0.9rem;
    border-radius: var(--r-full);
    white-space: nowrap;
    transition: all var(--dur);
}

.sponsor-item-duo:hover .sponsor-badge {
    background: var(--coral-muted);
    color: var(--coral);
    border-color: var(--border-warm);
}

.sponsor-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    transition: transform var(--dur) var(--ease);
}

.sponsor-item-duo:hover .sponsor-logo-wrap {
    transform: scale(1.06);
}

.sponsor-logo-duo {
    height: 120px; 
    width: 80%;    
    
    object-fit: contain;
    object-position: center; 
    filter: grayscale(15%);
    transition: filter var(--dur);
}

.sponsor-item-duo:hover .sponsor-logo-duo {
    filter: grayscale(0%);
}

.sponsor-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 90px;
    background: radial-gradient(ellipse, rgba(107, 79, 160, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity var(--dur), bottom var(--dur);
    pointer-events: none;
}

.sponsor-item-duo:hover .sponsor-glow {
    opacity: 1;
    bottom: -10px;
}

.sponsors-cta {
    margin-top: 3rem;
}

.sponsors-cta-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* ── VENUE ───────────────────────────────────────────────── */
.venue-section {
    background: #F7EFE4;
    position: relative;
    overflow: hidden;
}

.venue-section .container {
    position: relative;
    z-index: 1;
}

.venue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.venue-image-wrapper {
    position: relative;
}

.venue-img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-lg);
}

.venue-experience-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--surface-glass);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: var(--purple);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.5rem 1.1rem;
    border-radius: var(--r-full);
    box-shadow: var(--shadow-sm);
}

.venue-content {
    padding-left: 0.5rem;
}

.venue-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 2rem;
    font-weight: 400;
}

.venue-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.2rem;
}

.venue-highlights li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    padding: 0.7rem 1rem;
    background: var(--surface-glass);
    border: 1px solid rgba(107, 79, 160, 0.08);
    border-radius: var(--r-md);
    backdrop-filter: blur(8px);
    transition: all var(--dur) var(--ease);
}

.venue-highlights li:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.venue-highlights svg {
    flex-shrink: 0;
    color: var(--coral);
}
/* ── SECCIÓN: QUÉ OBTIENES AL ASISTIR ── */
.benefits-section {
    background-color: var(--sand-2, #F7EFE4); /* Fondo claro de tu paleta */
    padding: 6rem 0;
    position: relative;
}

/* Cuadrícula de 6 tarjetas */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 2rem;
    margin-top: 3.5rem;
}

/* Diseño de cada tarjeta */
.benefit-card {

    flex: 1 1 300px;  
    max-width: 340px; 
    width: 100%;      
    
    /* Mantenemos tus estilos visuales intactos */
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-8px); /* Brinquito al pasar el mouse */
    box-shadow: 0 15px 35px rgba(61, 40, 112, 0.08); /* Sombra morada suave */
}

/* Círculo del Icono */
.benefit-icon {
    width: 70px;
    height: 70px;
    background: rgba(230, 126, 80, 0.1); 
    color: var(--coral, #E67E50); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem auto;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--coral, #E67E50);
    color: #ffffff;
    transform: scale(1.05);
}

/* Textos de la tarjeta */
.benefit-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--purple-main, #3D2870);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.benefit-desc {
    font-size: 0.9rem;
    color: #555555; 
    line-height: 1.6;
    margin: 0;
    flex-grow: 1; /* Empuja el texto para que las tarjetas se alineen bien */
}
/* ── FOOTER ─────────────────────────────────────────────── */
.main-footer {
    /* Mismo degradado morado profundo de la sección Speakers */
    background: linear-gradient(160deg, var(--purple-deep, #3D2870) 0%, #2A1B54 40%, #150D2E 100%);
    padding-top: 6rem;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.65);
}

/* Orb decorativo footer */
.main-footer::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(107, 79, 160, 0.15) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

/* Ola superior */
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    line-height: 0;
    z-index: 0;
}

.footer-wave svg {
    display: block;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 100px !important; 
    width: auto !important;
    max-width: none !important; 
    object-fit: fill;
    margin-bottom: 1.2rem;
    filter: none !important;  
    opacity: 1;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    max-width: 270px;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 0.6rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--r-md);
    color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    transition: all var(--dur) var(--ease);
}

.social-icon:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(107, 79, 160, 0.4);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--purple-light);
    margin-bottom: 1.4rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
    transition: all var(--dur);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 6px;
}

.footer-contact p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.75;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.copyright {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.copyright p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
}

.copyright strong {
    color: rgba(255, 255, 255, 0.4);
}

.privacy-link {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.25);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--dur);
}

.privacy-link:hover {
    color: var(--coral);
}

.imt-logo-footer {
    height: 50px;
    width: auto;
    filter: none;
    opacity: 1;
}

/* ── SCROLL ANIMATIONS ──────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    animation: fadeUp 0.7s var(--ease) 0.1s both;
}

.hero-title {
    animation: fadeUp 0.8s var(--ease) 0.22s both;
}

.hero-description {
    animation: fadeUp 0.7s var(--ease) 0.34s both;
}

.hero-immersion {
    animation: fadeUp 0.7s var(--ease) 0.46s both;
}

.hero-actions {
    animation: fadeUp 0.7s var(--ease) 0.58s both;
}

.hero-info-card {
    animation: fadeUp 0.9s var(--ease) 0.3s both;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── MOBILE MENU ────────────────────────────────────────── */
.main-nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(30, 22, 48, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.main-nav.open .nav-list {
    flex-direction: column;
    gap: 1.5rem;
}

.main-nav.open .nav-link {
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: 0.05em;
}

.main-nav.open .nav-link:hover {
    color: var(--coral);
    background: transparent;
}

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {

    .hero-container,
    .features-grid,
    .dialogo-grid,
    .venue-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-info-card {
        display: none;
    }

    .features-content,
    .venue-content {
        padding-left: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .main-nav {
        
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hide-on-mobile {
        display: none;
    }

    .section-padding {
        padding: 5rem 0;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .sponsors-grid-duo {
        grid-template-columns: 1fr;
    }

    .speaker-card {
        height: 320px;
    }

    .speakers-slider-wrapper {
        padding: 1rem 0.5rem 4rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        text-align: center;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}