@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,500;0,700;0,800;1,300;1,400&display=swap');

/* Menú */ 
:root {
            --azul-claro: #009ada;
            --azul-medio: #396eaf;
            --azul-oscuro: #27509b;
            --blanco: #ffffff;
            --transition: all 0.3s ease;
			--fuente-principal: 'Poppins', sans-serif;
			--transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Curva más fluida */
			--glass-bg: rgba(39, 80, 155, 0.8); /* Azul oscuro con transparencia */
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: var(--fuente-principal);
        }

        body {
            background-color: #f4f4f4;
            height: 2000px; /* Solo para probar el scroll sticky */
        }
		
		/* Quita el subrayado y el color azul de los enlaces que envuelven las cajas de iconos */
a {
    text-decoration: none !important; /* Elimina la línea debajo del texto */
}

.icon-box {
    color: var(--blanco); /* O el color que desees para el texto */
}

/* Asegura que al pasar el mouse no aparezca el subrayado */
a:hover .icon-box {
    text-decoration: none;
    color: var(--blanco); /* Mantiene el color blanco o cámbialo por var(--azul-claro) */
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px; 
}

        /* --- MEJORA DEL HEADER (GLASSMORPHISM) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 7%;
    /* Efecto cristal moderno */
    background: transparent; 
    z-index: 1000;
    transition: var(--transition);
}

/* Estado cuando el usuario hace scroll */
.header.scrolled {
    padding: 12px 7%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px); /* Desenfoque de fondo PRO */
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- LOGO CON BRILLO --- */
.logo-container img {
    height: 65px;
    transition: var(--transition);
    filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.1));
}

.header.scrolled .logo-container img {
    height: 50px; /* Reducción elegante al bajar */
}

/* --- MENÚ DE NAVEGACIÓN ESTILO PILL --- */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
    border-radius: 50px; /* Estilo cápsula */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item a {
    text-decoration: none;
    color: var(--blanco);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    letter-spacing: 0.5px;
}

/* Efecto de fondo activo/hover tipo "Slide" */
.nav-item a:hover {
    background: var(--blanco);
    color: var(--azul-oscuro) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- ICONO MÓVIL ANIMADO --- */
.mobile-menu-icon {
    display: none;
    font-size: 1.8rem;
    color: var(--blanco);
    padding: 10px;
    transition: transform 0.3s ease;
}

.mobile-menu-icon:active {
    transform: scale(0.9);
}

/* --- RESPONSIVE PRO --- */
@media (max-width: 1100px) {
    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        flex-direction: column;
        background: var(--azul-oscuro);
        width: 100%; /* Pantalla completa para mayor impacto */
        height: 100vh;
        justify-content: center;
        border-radius: 0;
        gap: 20px;
        transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        border: none;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item a {
        font-size: 1.5rem; /* Letras grandes en móvil */
        width: fit-content;
        margin: 0 auto;
    }

    .mobile-menu-icon {
        display: block;
        z-index: 1001;
    }
}




/* Portada */
/* --- SECCIÓN HERO OPTIMIZADA --- */
.hero-section {
    position: relative;
    /* Cambiamos height por min-height para que sea flexible */
    min-height: 100vh; 
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--blanco);
    text-align: center;
    padding: 100px 20px; /* Añadimos padding para que el contenido no pegue a los bordes en móvil */
    box-sizing: border-box;
}

/* El video de fondo ahora debe ser fixed o absoluto relativo al contenedor flexible */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0105169c;
    backdrop-filter: blur(8px);
    z-index: -1;
}

.video-background {
    position: absolute; /* O fixed si es para toda la página */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2; /* Por debajo del overlay */
    overflow: hidden;
}

#bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esta es la clave para que el video no se estire */
    display: block;
}

/* Contenido de texto */
.hero-content {
    padding: 20px;
    max-width: 1000px;
    z-index: 1;
    animation: fadeInUp 1.5s ease;
}

.main-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.roman-numeral {
    font-size: 8rem;
    font-weight: 300;
    line-height: 1;
}

.title-text h3 { font-size: 1.2rem; letter-spacing: 5px; font-weight: 300; }
.title-text h1 { font-size: 3.5rem; font-weight: 700; line-height: 1; }
.title-text .italic-text { font-size: 2.5rem; font-style: italic; font-weight: 300; text-transform: lowercase; }

/* Iconos centrales */
.icons-container {
    display: flex;
    justify-content: space-around;
    margin: 50px 0;
    gap: 20px;
}

.icon-box i {
    font-size: 2rem;
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: var(--transition);
	width: 65px;
    height: 65px;
}

.icon-box:hover i {
    background: var(--azul-claro);
    transform: translateY(-10px);
}

/* Badge del guante de box (SVG) para igualar los iconos de Font Awesome */
.icon-box .glove-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    padding: 15px;
    box-sizing: content-box;
    margin-bottom: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: var(--transition);
}

.icon-box .glove-badge svg {
    width: 32px;
    height: 32px;
    display: block;
}

.icon-box:hover .glove-badge {
    background: var(--azul-claro);
    transform: translateY(-10px);
}

.icon-box:hover p {
    color: #A3D900;
}

/* Fecha y lugar */
.date-location {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
}

.days { font-size: 2.5rem; font-weight: 700; }
.month-year h4 { font-size: 1.5rem; color: var(--blanco); }

/* Animación de entrada */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}


/* --- AJUSTES PARA MÓVILES (Media Queries) --- */
@media (max-width: 768px) {
    .hero-section {
        /* En móviles permitimos que el contenido fluya naturalmente */
        height: auto; 
        padding-top: 120px; /* Espacio para el header fixed */
        padding-bottom: 50px;
    }

    .main-title {
        margin-bottom: 20px;
    }


    .icons-container {
        flex-direction: column;
        margin: 30px 0;
        gap: 25px; /* Más espacio entre iconos en vertical */
    }

    .icon-box i {
        font-size: 1.8rem;
        width: 55px;
        height: 55px;
        padding: 12px;
    }

    .icon-box .glove-badge {
        width: 55px;
        height: 55px;
        padding: 12px;
    }

    .icon-box .glove-badge svg {
        width: 28px;
        height: 28px;
    }

    .date-location {
        flex-direction: column;
        gap: 15px;
        padding-top: 20px;
        width: 100%;
    }

    /* Ajuste del contador en móviles */
    .countdown-container {
        gap: 8px; /* Menos espacio entre cuadros para que no se corten */
    }

    .time-segment {
        min-width: 60px; /* Cuadros más pequeños para que quepan los 4 en una fila */
        padding: 8px;
    }

    .time-value {
        font-size: 1.4rem;
    }
}



/* Sección de Botones */
.cta-section {
    padding: 60px 20px;
    background: #ffffff; /* Fondo blanco para que los botones resalten */
    display: flex;
    justify-content: center;
}

.cta-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
}

/* Estilo Base de los Botones */
.cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 20px; /* Reducimos padding lateral para que el texto largo no rompa el botón */
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1rem; /* Bajamos ligeramente a 1rem para asegurar que "COMUNÍCATE POR WHATSAPP" quepa en una línea */
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    
    /* ESTA ES LA CLAVE DEL ANCHO IGUAL */
    flex: 1; 
    min-width: 300px; /* Ancho mínimo para que no se vean muy delgados */
    max-width: 350px; /* Ancho máximo para que no se estiren demasiado en pantallas grandes */
    text-align: center;
}

/* Colores Específicos */
.btn-inscribe {
    background: #9bd344; /* Verde lima */
    box-shadow: 0 10px 25px rgba(155, 211, 68, 0.4);
}

.btn-patrocina {
    background: #002855; /* Azul muy oscuro/profundo */
    box-shadow: 0 10px 25px rgba(0, 40, 85, 0.4);
}

.btn-whatsapp {
    background: #25d366; /* Verde WhatsApp */
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

/* Efectos Modernos (Hover) */
.cta-btn:hover {
    transform: translateY(-8px) scale(1.03); /* El botón "flota" */
    box-shadow: 0 20px 35px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}

.cta-btn i {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.cta-btn:hover i {
    transform: rotate(15deg) scale(1.2); /* El icono se mueve sutilmente */
}

/* Responsive para móviles */
@media (max-width: 992px) {
    .cta-container {
        flex-direction: column;
        align-items: center;
    }
    .cta-btn {
        width: 100%;
        max-width: 400px; /* En móvil pueden ser un poco más anchos si se desea */
        flex: none; /* Desactivamos el flex:1 en vertical */
    }
}





/* Estilos Sección Presentación */
.presentacion-section {
    padding: 100px 7%;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

.presentacion-section .container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Encabezado con la línea azul de la imagen */
.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: var(--azul-oscuro);
    border-radius: 2px;
}

.subtitle {
    color: var(--azul-oscuro);
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 1.3rem;
    text-transform: uppercase;
}

/* Frase principal estilizada */
.main-quote {
    margin-bottom: 60px;
}

.main-quote p {
    font-size: 2.2rem;
    font-weight: 300;
    color: #444;
    font-style: italic;
    line-height: 1.3;
}

/* Grid de detalles */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.detail-column p {
    font-size: 1.1rem;
    color: #666;
    text-align: justify;
    font-weight: 300;
}

.detail-column strong {
    color: var(--azul-medio);
    font-weight: 500;
}

/* --- Adaptación a Móviles --- */
@media (max-width: 992px) {
    .main-quote p {
        font-size: 1.8rem;
    }
    .details-grid {
        grid-template-columns: 1fr; /* Una sola columna en tablets/celulares */
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .presentacion-section {
        padding: 60px 5%;
    }
    .main-quote p {
        font-size: 1.5rem;
        text-align: left;
    }
    .section-header {
        margin-bottom: 25px;
    }
}




/* Sección Ejes Temáticos */
.ejes-section {
    padding: 100px 7%;
    background: radial-gradient(circle at top, #1a2a44 0%, #0a0f1a 100%);
    color: white;
}

.ejes-title {
    text-align: center;
    margin-bottom: 60px;
}

.ejes-title h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 10px;
}

.ejes-title h2 span {
    color: var(--azul-claro);
    font-style: italic;
    font-weight: 400;
}

.ejes-title p {
    color: rgba(255,255,255,0.6);
    font-style: italic;
    font-weight: 300;
}

/* Grid de Tarjetas */
.ejes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta Estilo Glassmorphism */
.eje-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 40px;
    display: flex;
    gap: 25px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.eje-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--azul-claro);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Decoración interna */
.eje-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100px; height: 100px;
    background: var(--azul-claro);
    filter: blur(80px);
    opacity: 0;
    transition: 0.4s;
}

.eje-card:hover::after {
    opacity: 0.2;
}

/* Iconos y Texto */
.eje-icon {
    background: rgba(255,255,255,0.05);
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--azul-claro);
    transition: 0.4s;
}

.eje-card:hover .eje-icon {
    background: var(--azul-claro);
    color: white;
    transform: scale(1.1);
}

.eje-tag {
    color: var(--azul-claro);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.eje-info h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.eje-info p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 992px) {
    .ejes-grid { grid-template-columns: 1fr; }
    .eje-card { padding: 30px; }
    .ejes-title h2 { font-size: 2.2rem; }
}





/* --- SECCIÓN PONENTES --- */
.ponentes-section { 
    padding: 100px 7%; 
    background: #f9f9f9; 
}

.section-main-title { 
    text-align: center; 
    font-size: 2.5rem; 
    margin-bottom: 50px; 
    color: var(--azul-oscuro); 
}

.section-main-title span { 
    color: var(--azul-claro); 
    font-weight: 300; 
}

.ponentes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-items: stretch;
    max-width: 1300px;
    margin: 0 auto;
}

.ponente-card {
    flex: 0 0 210px;
    max-width: 210px;
}

@media (max-width: 480px) {
    .ponente-card {
        flex-basis: 100%;
        max-width: 320px;
    }
}

/* Tarjeta del Ponente */
.ponente-card {
    background: white;
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    cursor: pointer;
    text-align: center;
}

.ponente-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(39, 80, 155, 0.2);
}

.ponente-img-container {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.ponente-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ponente-card:hover .ponente-img-container img {
    transform: scale(1.1);
}

.badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.58rem;
    letter-spacing: 0.3px;
    line-height: 1.2;
    font-weight: 700;
    color: white;
    z-index: 10;
}
.badge.naranja { background: #f37021; }
.badge.azul { background: #002855; }

/* Bandera del país (badge circular sobre la foto) */
.ponente-img-container img.ponente-flag {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
    background: #fff;
    z-index: 11;
}
.ponente-card:hover .ponente-img-container img.ponente-flag {
    transform: none;
}

.ponente-info { padding: 22px 15px; flex-grow: 1; }
.ponente-info h3 { font-size: 1.05rem; color: #222; margin-bottom: 5px; }
.company { color: var(--azul-medio); font-weight: 700; font-size: 0.72rem; display: block; margin-bottom: 12px; }
.ponente-info p { font-size: 0.82rem; color: #666; font-style: italic; margin-bottom: 20px; }

.btn-perfil {
    background: none;
    border: 1px solid #eee;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--azul-oscuro);
    transition: 0.3s;
}

.ponente-card:hover .btn-perfil {
    background: var(--azul-oscuro);
    color: white;
}

/* --- ESTILOS MODAL --- */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: white;
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 35px;
    padding: 40px;
    position: relative;
    animation: zoomIn 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
}

@keyframes zoomIn { from {transform: scale(0.9); opacity: 0;} to {transform: scale(1); opacity: 1;} }

.close-modal { 
    position: absolute; 
    right: 25px; 
    top: 20px; 
    font-size: 2.5rem; 
    cursor: pointer; 
    color: #333;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-top: 20px;
}

#modal-img { width: 100%; border-radius: 20px; object-fit: cover; }

@media (max-width: 768px) {
    .modal-grid { grid-template-columns: 1fr; }
}




/* --- ESTILOS CRONOGRAMA --- */
.agenda-section { padding: 80px 7%; background: #ffffff; }

.agenda-day-card {
    background: #f8faff;
    border: 1px solid #e1e8f0;
    border-radius: 40px;
    padding: 40px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 10px 30px rgba(0, 40, 85, 0.03);
}

.day-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
    flex-wrap: wrap;
}

.day-badge {
    background: #002855;
    color: white;
    padding: 15px;
    border-radius: 20px;
    text-align: center;
    min-width: 80px;
}
.day-badge.blue { background: #3b82f6; }
.day-badge.orange { background: #f37021; }
.day-badge .month { display: block; font-size: 0.7rem; font-weight: 700; opacity: 0.8; }
.day-badge .number { font-size: 1.8rem; font-weight: 800; }

/* Subtítulos de jornada (Mañana / Tarde) */
.timeline-subtitle {
    display: inline-block;
    color: #002855;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: #e0e7ff;
    padding: 6px 16px;
    border-radius: 50px;
    margin: 10px 0 25px;
}

/* Nota de organizadores día 16 */
.ring-organiza {
    background: #fff4ec;
    border: 1px solid #ffd8bf;
    color: #b5480f;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 16px;
    margin-bottom: 25px;
}
.ring-organiza i { margin-right: 8px; }

.day-title h3 { color: #002855; font-size: 1.4rem; font-weight: 800; margin-bottom: 5px; }
.day-title p { color: #666; font-size: 0.9rem; }

.event-tag {
    margin-left: auto;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
}
.presencial { background: #e0e7ff; color: #4338ca; }
.workshop { background: #dcfce7; color: #15803d; }

/* Timeline Items */
.timeline { position: relative; padding-left: 20px; }
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; width: 2px; height: 100%;
    background: #e1e8f0;
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: -24px; top: 5px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #002855;
    border: 3px solid #fff;
}

.time {
    min-width: 90px;
    font-weight: 800;
    color: #002855;
    font-size: 0.95rem;
}

.event-info h4 { font-size: 1.05rem; color: #222; margin-bottom: 5px; text-transform: uppercase; }
.event-info p { font-size: 0.9rem; color: #777; font-style: italic; }

.timeline-item.highlight {
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Grillas especiales Día 2 */
.special-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.grid-box {
    background: white;
    padding: 25px;
    border-radius: 25px;
    border: 1px solid #edf2f7;
}
.grid-box h5 { color: #002855; margin-bottom: 10px; font-weight: 800; }
.grid-box p { color: #555; font-size: 0.9rem; line-height: 1.6; }
.ejes-cronograma .grid-box { border-left: 4px solid #3b82f6; }

.extra-activities {
    background: #eff6ff;
    padding: 25px;
    border-radius: 25px;
    border: 1px dashed #3b82f6;
}
.activities-flex {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 15px;
}
.activities-flex span { font-size: 0.85rem; font-weight: 700; color: #1e40af; }

/* Responsive */
@media (max-width: 768px) {
    .day-header { text-align: center; justify-content: center; }
    .event-tag { margin: 10px auto 0; }
    .special-grid { grid-template-columns: 1fr; }
    .timeline-item { flex-direction: column; gap: 10px; }
}




/* --- ESTILOS BANNER RING --- */
.ring-banner-container {
    padding: 20px 0;
    max-width: 1000px;
    margin: 40px auto 0 auto;
}

.ring-card {
    background: #001529; /* Azul muy oscuro casi negro */
    border-radius: 60px; /* Bordes súper redondeados según imagen */
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.ring-card:hover {
    transform: scale(1.02);
}

.ring-date-badge {
    background: #f37021; /* Naranja vibrante */
    color: white;
    min-width: 80px;
    height: 80px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ring-month { font-size: 0.7rem; font-weight: 700; margin-bottom: 3px; }
.ring-day { font-size: 1.8rem; font-weight: 900; }

.ring-content h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 900;
    font-style: italic;
    margin: 0;
}

.ring-content p {
    color: #009ada;
    font-weight: 700;
    font-size: 0.85rem;
    margin: 5px 0 0 0;
    letter-spacing: 1px;
}

.btn-estelar {
    background: #f37021;
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 0.9rem;
    font-style: italic;
    box-shadow: 0 0 20px rgba(243, 112, 33, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-estelar:hover {
    background: #ff7e33;
    box-shadow: 0 0 30px rgba(243, 112, 33, 0.6);
    transform: translateY(-2px);
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .ring-card {
        flex-direction: column;
        text-align: center;
        border-radius: 40px;
        padding: 30px 20px;
    }
    .ring-action { margin-top: 10px; }
    .ring-content h3 { font-size: 1.4rem; }
}

/* --- RING DEL EMPRENDIMIENTO (DETALLE) --- */
.ring-detalle {
    max-width: 1000px;
    margin: 0 auto;
}

.ring-block-title {
    color: #002855;
    font-size: 1.4rem;
    font-weight: 800;
    margin: 45px 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ring-block-title i { color: #f37021; }
.ring-block-subtitle {
    color: #666;
    font-style: italic;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

/* Información: tarjetas de estadísticas + votación */
.ring-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 15px;
}
.ring-stat-card {
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 25px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 40, 85, 0.04);
}
.ring-stat-icon {
    width: 60px; height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: #e0e7ff;
    color: #002855;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
}
.ring-stat-num {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: #f37021;
    line-height: 1;
}
.ring-stat-card h4 { color: #002855; font-size: 1rem; margin: 8px 0 10px; }
.ring-stat-card p {
    display: inline-block;
    background: #fff4ec;
    color: #b5480f;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 5px 15px;
    border-radius: 50px;
}
.ring-stat-card p i { margin-right: 5px; }

.ring-vote-box {
    background: linear-gradient(160deg, #002855, #013a7a);
    border-radius: 25px;
    padding: 30px 20px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ring-vote-qr { font-size: 2.5rem; color: #009ada; margin-bottom: 12px; }
.ring-vote-box h4 { font-size: 1.05rem; margin-bottom: 8px; }
.ring-vote-box p { font-size: 0.85rem; opacity: 0.85; margin-bottom: 18px; }
.btn-vote {
    background: #f37021;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}
.btn-vote:hover { background: #ff7e33; transform: translateY(-2px); }

/* Llaves de enfrentamiento (bracket) */
.bracket {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 25px;
    align-items: start;
}
.bracket-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.round-label {
    display: block;
    text-align: center;
    background: #002855;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 8px 10px;
    border-radius: 50px;
    margin-bottom: 5px;
}
.match {
    background: #fff;
    border: 1px solid #e1e8f0;
    border-left: 4px solid #3b82f6;
    border-radius: 14px;
    padding: 12px 15px;
    font-weight: 700;
    color: #002855;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 16px rgba(0, 40, 85, 0.04);
}
.match .seed {
    background: #f37021;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 8px;
    flex-shrink: 0;
}
.match.pending {
    border-left-color: #cbd5e1;
    color: #64748b;
    font-style: italic;
    background: #f8faff;
}
.final-column { justify-content: center; }
.champion-belt {
    background: linear-gradient(160deg, #1e293b, #0a192f);
    border: 2px solid #f3b21f;
    border-radius: 22px;
    padding: 28px 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.champion-belt i.fa-trophy {
    font-size: 2.4rem;
    color: #f3b21f;
    margin-bottom: 12px;
}
.champion-cat {
    display: block;
    color: #009ada;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.champion-belt strong {
    display: block;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 12px;
}
.champion-prize {
    display: inline-block;
    background: rgba(243, 178, 31, 0.15);
    color: #f3b21f;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: 50px;
}

@media (max-width: 768px) {
    .ring-info-grid { grid-template-columns: 1fr; }
    .bracket { grid-template-columns: 1fr; }
}




/* --- ESTILOS INVERSIÓN Y REGISTRO --- */
.inversion-section {
    padding: 100px 7%;
    background: #0a192f; /* Azul noche profundo para contraste */
    text-align: center;
    color: white;
}

.header-inversion { margin-bottom: 60px; }
.header-inversion .subtitle { color: #8892b0; font-style: italic; font-size: 1.1rem; }

/* Grid de Precios */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

/* Tarjetas */
.pricing-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 45px;
    padding: 50px 40px;
    width: 380px;
    position: relative;
    transition: all 0.4s ease;
}

.pricing-card.featured {
    background: #002855;
    border: 2px solid #009ada;
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.pricing-card:hover {
    transform: translateY(-15px);
    border-color: #009ada;
}

/* Iconos y Header */
.pricing-icon {
    font-size: 2.5rem;
    color: #009ada;
    margin-bottom: 20px;
}

.pricing-header h3 { font-size: 2rem; font-weight: 900; letter-spacing: 1px; }
.pricing-header span { font-size: 0.8rem; color: #009ada; font-weight: 700; letter-spacing: 2px; }

/* Precio */
.price { margin: 30px 0; display: flex; align-items: center; justify-content: center; gap: 5px; }
.amount { font-size: 4rem; font-weight: 900; color: #fff; }
.currency { font-size: 1.5rem; font-weight: 700; color: #8892b0; }
.postfix { font-size: 0.9rem; font-weight: 700; color: #009ada; align-self: flex-end; margin-bottom: 15px; }

/* Lista */
.benefits-list { list-style: none; padding: 0; margin: 0 0 40px 0; text-align: left; }
.benefits-list li { margin-bottom: 15px; color: #ccd6f6; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.benefits-list i { color: #84cc16; } /* Verde éxito */

/* BOTONES CON EFECTO MODERNO */
.btn-pay {
    display: block;
    padding: 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 900;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Botón Neon Verde (Asistentes) */
.neon-green {
    background: #84cc16;
    color: #000;
    box-shadow: 0 0 20px rgba(132, 204, 22, 0.3);
}
.neon-green:hover {
    background: #bef264;
    box-shadow: 0 0 35px rgba(132, 204, 22, 0.6);
    transform: scale(1.02);
}

/* Botón Blanco Cristal (Ponentes) */
.glass-white {
    background: #ffffff;
    color: #002855;
}
.glass-white:hover {
    background: #009ada;
    color: white;
    box-shadow: 0 0 25px rgba(0, 154, 218, 0.5);
}

/* Badge Recomendado */
.recommended-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: #f37021;
    color: white;
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 900;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-card { width: 100%; transform: none !important; }
}




/* --- ESTILOS CONTACTOS --- */
.contacto-section {
    background: #0a192f;
    padding: 90px 7% 100px;
    color: #fff;
}
.contacto-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
.contacto-mascota {
    text-align: center;
}
.contacto-mascota img {
    max-width: 100%;
    width: 340px;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(0, 154, 218, 0.25));
}
.contacto-item {
    margin-bottom: 22px;
}
.contacto-label {
    display: inline-block;
    background: #002855;
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    padding: 7px 16px;
    border-radius: 10px;
    margin-bottom: 8px;
}
.contacto-label i { margin-right: 8px; color: #009ada; }
.contacto-item p {
    font-size: 1.05rem;
    color: #d6e2f0;
    padding-left: 4px;
    margin: 0;
}
.contacto-item a {
    color: #d6e2f0;
    text-decoration: none;
    transition: color 0.3s ease;
}
.contacto-item a:hover { color: #009ada; }

@media (max-width: 768px) {
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    .contacto-mascota img { width: 240px; }
    .contacto-info .ejes-title { text-align: center !important; }
    .contacto-info .section-main-title { text-align: center !important; }
}

/* --- ESTILOS FOOTER MEJORADOS --- */
.main-footer {
    background: #000c1d;
    color: #ffffff;
    padding: 70px 7% 0 7%;
    border-top: 4px solid #009ada; /* Un toque de color arriba */
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.footer-grid {
    display: grid;
    /* La primera columna es pequeña (0.8), las otras dos son más amplias (1.2 y 1fr) */
    grid-template-columns: 0.8fr 1.2fr 1fr; 
    gap: 40px;
    padding-bottom: 60px;
    align-items: start; /* Alinea todo al principio para que no se desfase */
}

/* Ajuste opcional para el logo: al ser la columna más pequeña, reducimos un poco el ancho del logo */
.footer-logo {
    max-width: 300px; /* Antes estaba en 260px o 280px */
    margin-bottom: 15px;
	width:100%;
}

.footer-slogan {
    font-size: 0.85rem;
    max-width: 100%; /* Que ocupe todo el ancho de su pequeña columna */
	color:#8892b0;
}

/* Títulos */
.footer-column h4 {
    color: #009ada;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 25px;
    position: relative;
}

/* Línea decorativa bajo el título */
.footer-column h4::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #009ada;
    margin-top: 8px;
}

/* Detalles de Organización */
.faculty-name {
    font-weight: 700;
    color: #e6f1ff;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #ccd6f6;
    font-size: 0.9rem;
}

.contact-item i {
    color: #009ada;
    width: 15px;
}

.contact-item a {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.contact-item a:hover { color: #009ada; }

/* Redes Sociales con efecto moderno */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.social-links a {
    color: #ccd6f6;
    font-size: 1.1rem;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #009ada;
    color: white;
    transform: translateY(-3px);
    border-color: #009ada;
    box-shadow: 0 5px 15px rgba(0, 154, 218, 0.3);
}

/* Evento Badge */
.event-badge {
    background: rgba(0, 154, 218, 0.1);
    padding: 15px;
    border-left: 3px solid #009ada;
    border-radius: 4px;
}

.event-title {
    font-size: 0.7rem;
    color: #8892b0;
    display: block;
    margin-bottom: 4px;
    font-weight: bold;
}

.event-hashtag {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 30px 0;
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #495670;
    letter-spacing: 0.5px;
}

/* Responsivo */
@media (max-width: 992px) {
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .footer-column h4::after { margin: 8px auto 0 auto; }
    .footer-column { text-align: center; }
    .footer-logo { margin: 0 auto 20px auto; }
    .footer-slogan { margin: 0 auto; }
    .contact-item { justify-content: center; }
    .social-links { justify-content: center; }
    .bottom-flex { flex-direction: column; text-align: center; gap: 15px; }
}




/* --- BOTÓN FLOTANTE WHATSAPP --- */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    z-index: 9999;
}

.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Globo de texto (Tooltip) */
.whatsapp-tooltip {
    background: white;
    color: #333;
    padding: 10px 18px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-right: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    pointer-events: none;
    position: relative;
    opacity: 0;
    transform: translateX(10px);
    animation: fade-in-tooltip 1s forwards 2s; /* Aparece después de 2 seg */
}

/* Triangulito del globo */
.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 8px solid white;
}

/* Animaciones */
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes fade-in-tooltip {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Ocultar tooltip en móviles muy pequeños para no tapar pantalla */
@media (max-width: 480px) {
    .whatsapp-tooltip { display: none; }
    .whatsapp-float-container { bottom: 20px; right: 20px; }
}




/* 1. Ajustes del contenedor principal (opcional, pero recomendado) */
.main-title {
    width: 100%;             /* Asegura que el contenedor ocupe el ancho disponible */
    display: flex;           /* Ayuda a centrar la imagen si el contenedor es más ancho */
    justify-content: center; /* Centra la imagen horizontalmente */
    align-items: center;     /* Centra la imagen verticalmente si tiene altura */
    padding: 5px;           /* Espaciado opcional para que no pegue a los bordes en móvil */
    box-sizing: border-box;  /* Asegura que el padding no sume al ancho total */
}

/* 2. La magia para la imagen responsive */
.responsive-title-img {
    /* --- Tus requisitos principales --- */
    max-width: 700px;        /* NUNCA será más ancha de 900px (pantallas grandes) */
    width: 100%;             /* Se adaptará al 100% del ancho del contenedor en pantallas pequeñas (responsive) */
    
    /* --- Mantenimiento de proporción --- */
    height: auto;            /* Importante: Mantiene la proporción de la imagen al cambiar el ancho */
    
    /* --- Mejoras visuales --- */
    display: block;          /* Elimina espacios extraños debajo de la imagen */
    border: none;            /* Asegura que no haya bordes no deseados */
}




.countdown-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.time-segment {
    background: rgba(255, 255, 255, 0.05); /* Fondo muy tenue */
    border: 1px solid rgba(255, 215, 0, 0.3); /* Borde dorado suave */
    padding: 10px;
    border-radius: 8px;
    min-width: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.time-segment:hover {
    transform: translateY(-5px);
    background: rgba(255, 215, 0, 0.1);
}

.time-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff; /* O el color dorado si prefieres resaltar el número */
    display: block;
    line-height: 1;
}

.time-label {
    font-size: 0.65rem;
    color: #aaa;
    letter-spacing: 1px;
    margin-top: 5px;
    font-weight: bold;
}

/* Ajuste responsive para móviles */
@media (max-width: 480px) {
    .countdown-container { gap: 8px; }
    .time-segment { min-width: 55px; padding: 8px 5px; }
    .time-value { font-size: 1.4rem; }
}

.countdown-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.countdown-text {
    font-size: 1.1rem;
    color: #f3f3f3; /* El gris claro que pediste */
    font-style: italic;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    font-weight: 300;
}

/* Opcional: una línea sutil debajo del texto para dar jerarquía */
.countdown-text::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: #f3f3f3;
    margin: 8px auto 0;
    opacity: 0.5;
}