/* ============================================
   ONTA PERU 2026 — Sistema de Diseño Institucional
   Congreso Científico — UI/UX Versátil
   Paleta: Institucional + Científica
   ============================================ */

:root {
    /* Colores principales (identidad) */
    --purple: #1a1625;
    --purple-light: #23192D;
    --pink: #C41E5A;
    --pink-bright: #E02468;
    --coral: #B84A5C;
    --peach: #E8B4A0;
    --cream: #F5EDE4;
    --ivory: #FAF8F5;

    /* Neutros */
    --white: #FFFFFF;
    --text-dark: #1a1625;
    --text-body: #3d3544;
    --text-muted: #5c5468;

    /* Espaciado (sistema 8px) */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;

    /* Tipografía */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Source Serif 4', 'Playfair Display', Georgia, serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow: 0 2px 12px rgba(26, 22, 37, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 22, 37, 0.1);
    --shadow-lg: 0 12px 40px rgba(26, 22, 37, 0.12);

    /* Compatibilidad */
    --yellow: #F5EDE4;
}

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

/* Focus visible para accesibilidad */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--pink);
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: var(--ivory);
    color: var(--text-body);
    line-height: 1.65;
    font-size: 1rem;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}


a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============================================
   NAVBAR — Institucional, limpia
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 2000;
    background: var(--purple);
    border-bottom: 2px solid rgba(196, 30, 90, 0.4);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    gap: 1rem;
    transition: var(--transition);
}

.navbar.scrolled .nav-content {
    height: 70px;
}


/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    color: var(--white);
}

.nav-logo-img {
    height: 70px;
    width: auto;
    border-radius: 6px;
}

.nav-logo-text {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--white);
    white-space: nowrap;
}

.nav-logo-text small {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--peach);
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
    color: var(--ivory);
    padding: 0.5rem 0;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--pink);
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--pink);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Redimensionamiento dinámico por idioma para evitar desbordes */
html[lang="fr"] .nav-links { gap: 0.8rem; }
html[lang="fr"] .nav-links li a { font-size: 0.82rem; }

html[lang="de"] .nav-links { gap: 0.6rem; }
html[lang="de"] .nav-links li a { font-size: 0.78rem; }

html[lang="br"] .nav-links { gap: 0.8rem; }
html[lang="br"] .nav-links li a { font-size: 0.82rem; }



/* Utilities Section */
.nav-utilities {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}


/* Visibilidad desktop / móvil */
.desktop-only { display: flex; }
.mobile-only  { display: none; }
.mobile-only-flex { display: none; }


/* Botón icono compacto para móvil */
.nav-icon-btn {
    color: var(--ivory);
    font-size: 1.1rem;
    padding: 0.4rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    display: none;
}
.nav-icon-btn:hover { color: var(--pink); }

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(245,237,228,0.3);
    color: var(--ivory);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-family: var(--font-sans);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--pink);
    color: var(--white);
    border-color: var(--pink);
}

.lang-btn .fa-chevron-down {
    font-size: 0.6rem;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--purple);
    border: 1px solid var(--coral);
    border-radius: 8px;
    min-width: 160px;
    display: none;
    box-shadow: 0 10px 30px rgba(35, 25, 45, 0.5);
    overflow: hidden;
    z-index: 1001;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown li a {
    display: block;
    padding: 0.6rem 1rem;
    font-size: 0.82rem;
    color: var(--peach);
    transition: var(--transition);
}

.lang-dropdown li a:hover,
.lang-dropdown li a.active {
    background: var(--pink);
    color: var(--white);
}

/* Search */
.nav-search {
    position: relative;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--ivory);
    font-size: 1rem;
    cursor: pointer;
    padding: var(--space-sm);
    transition: var(--transition);
}

.search-toggle:hover {
    color: var(--pink);
}

.search-box {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--purple);
    border: 1px solid var(--coral);
    border-radius: 8px;
    display: none;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(35, 25, 45, 0.5);
    z-index: 1001;
}

.search-box.show {
    display: flex;
}

.search-box input {
    padding: 0.6rem 1rem;
    border: none;
    background: transparent;
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    outline: none;
    width: 220px;
}

.search-box input::placeholder {
    color: var(--peach);
}

.search-box button {
    background: var(--pink);
    border: none;
    color: var(--white);
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--coral);
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--purple);
    border: 1px solid var(--coral);
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1002;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: var(--pink);
}

.suggestion-item i {
    color: var(--peach);
    font-size: 0.9rem;
}

.suggestion-item span {
    font-size: 0.85rem;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggestion-item small {
    font-size: 0.7rem;
    background: rgba(255,255,255,0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--peach);
}

/* Login / User */
.user-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.user-greeting {
    font-size: 0.875rem;
    color: var(--peach);
    font-weight: 500;
}

.nav-login {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--pink);
    color: var(--white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.nav-login:hover {
    background: var(--pink-bright);
    transform: translateY(-2px);
}

.nav-logout {
    background: var(--coral);
}

.nav-logout:hover {
    background: var(--pink);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-gold {
    background: var(--pink);
    color: var(--white);
}

.btn-gold:hover {
    background: var(--pink-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 30, 90, 0.35);
}

.btn-gold:focus-visible {
    outline: 2px solid var(--pink);
    outline-offset: 2px;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   SECTION TITLES — Institucionales, jerarquía clara
   ============================================ */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.section-title .accent {
    color: var(--pink);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: var(--space-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   SECCIÓN: ¿POR QUÉ PARTICIPAR? — Diseño enriquecido
   ============================================ */
.why-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--cream);
    overflow: hidden;
}

.why-section-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(196, 30, 90, 0.03) 0%, transparent 30%, transparent 70%, rgba(26, 22, 37, 0.04) 100%);
    pointer-events: none;
}

.why-section-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--pink));
    opacity: 0.4;
}

/* Header de la sección */
.why-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-3xl);
}

.why-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pink);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(196, 30, 90, 0.08);
    border-radius: 50px;
}

.why-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-top: var(--space-lg);
}

/* Grid de beneficios principales */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
}

.benefit-card {
    position: relative;
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(26, 22, 37, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(196, 30, 90, 0.15);
}

.benefit-num {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-serif);
    color: rgba(196, 30, 90, 0.12);
    line-height: 1;
}

.benefit-icon-wrap {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(196, 30, 90, 0.1) 0%, rgba(196, 30, 90, 0.05) 100%);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
}

.benefit-icon-wrap i {
    font-size: 1.75rem;
    color: var(--pink);
}

.benefit-card h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 0;
}

/* Bloque de evidencia visual */
.why-evidence {
    margin-bottom: var(--space-4xl);
}

.why-evidence-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
}

.why-evidence-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--pink);
    margin: var(--space-md) auto 0;
    border-radius: 2px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
    max-width: 1100px;
    margin: 0 auto;
}

/* Cards de evidencia (imagen + texto) */
.why-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(26, 22, 37, 0.06);
}

.why-card-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.why-card-img {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: var(--peach);
}

.why-card-featured .why-card-img {
    height: 100%;
    min-height: 260px;
}

.why-card-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--pink);
    color: var(--white);
    padding: var(--space-sm) var(--space-md);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    z-index: 5;
}

.why-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 22, 37, 0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: var(--space-lg);
    opacity: 0;
    transition: var(--transition);
}

.why-card-overlay i {
    font-size: 2rem;
    color: var(--white);
}

.why-card:hover .why-card-overlay {
    opacity: 1;
}

.why-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.why-card:hover .why-card-img img {
    transform: scale(1.08);
}

.why-card-body {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why-card h3 {
    font-size: 1.25rem;
    font-family: var(--font-serif);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.why-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: var(--space-md);
}

.why-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.why-card-features li {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.why-card-features li i {
    color: var(--pink);
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
    .why-card-featured {
        grid-template-columns: 1fr;
    }
    .why-card-featured .why-card-img {
        min-height: 220px;
    }
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   HERO CAROUSEL — Impacto institucional
   ============================================ */
.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 680px;
    background: var(--purple);
    overflow: hidden;
    padding-top: 85px;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 22, 37, 0.75) 0%, rgba(26, 22, 37, 0.5) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    transform: translateY(30px);
    transition: transform 0.8s ease;
}

.carousel-slide.active .slide-content {
    transform: translateY(0);
}

.slide-tag {
    display: inline-block;
    background: var(--pink);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

/* ============================================
   HERO: DATE RANGE — ESTILO CALENDARIO PREMIUM
   ============================================ */
.hero-event-dates {
    display: flex;            /* ← bloque centrado, NO inline */
    justify-content: center;
    align-items: center;
    gap: 0;
    width: 100%;
    margin-bottom: 1.8rem;
    animation: dateEntrance 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes dateEntrance {
    from {
        opacity: 0;
        transform: translateY(-28px) scale(0.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Bloque individual de día (09 / 13) */
.hero-date-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--pink);
    border-radius: 16px;
    padding: 0.85rem 1.4rem 0.75rem;
    min-width: 88px;
    box-shadow: 0 10px 30px rgba(196, 30, 90, 0.55),
                0 3px 10px rgba(0,0,0,0.35),
                inset 0 1px 0 rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.hero-date-block:hover {
    transform: translateY(-3px);
}

/* Efecto brillo interno */
.hero-date-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 45%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.22), transparent);
    border-radius: 16px 16px 0 0;
}

/* Número del día — grande y llamativo */
.hero-date-block .day-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
    letter-spacing: -2px;
    position: relative;
    z-index: 1;
}

/* Nombre del mes debajo del número */
.hero-date-block .day-month {
    font-family: var(--font-sans);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 0.25rem;
    position: relative;
    z-index: 1;
}

/* Conector "AL" entre los dos bloques */
.hero-date-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    gap: 4px;
}

.hero-date-connector .connector-line {
    width: 32px;
    height: 2px;
    background: linear-gradient(to right, rgba(196,30,90,0.8), rgba(255,255,255,0.4));
    border-radius: 2px;
}

.hero-date-connector .connector-label {
    font-family: var(--font-sans);
    font-size: 0.58rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255,255,255,0.7);
}

/* Panel derecho: mes y año */
.hero-date-year-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1.2rem;
    border-left: 2px solid rgba(255,255,255,0.22);
    margin-left: 0.5rem;
    text-align: left;
}

.hero-date-year-label .label-month {
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--cream);
    line-height: 1;
}

.hero-date-year-label .label-year {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-top: 4px;
    letter-spacing: -1px;
}

/* Responsive */
@media (max-width: 600px) {
    .hero-date-block .day-num        { font-size: 2.2rem; letter-spacing: -1px; }
    .hero-date-block                 { min-width: 68px; padding: 0.65rem 1rem; }
    .hero-date-year-label .label-year{ font-size: 1.5rem; }
    .hero-date-connector             { padding: 0 0.6rem; }
}

@media (max-width: 380px) {
    .hero-date-block .day-num        { font-size: 1.8rem; }
    .hero-date-block                 { min-width: 58px; border-radius: 12px; }
    .hero-date-year-label            { display: none; } /* ocultar año en pantallas muy pequeñas */
}


.slide-content h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    font-weight: 700;
}

.slide-content h1 .accent {
    color: var(--pink);
}

.slide-content p {
    font-size: 1.15rem;
    color: var(--cream);
    margin-bottom: var(--space-2xl);
    max-width: 620px;
    margin-inline: auto;
}

.slide-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.nav-btn-outline {
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    border: 2px solid var(--cream);
    color: var(--cream);
    font-weight: 600;
    transition: var(--transition);
}

.nav-btn-outline:hover {
    background: var(--cream);
    color: var(--purple);
}

/* Video Slide Specifics */
.slide-video .slide-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: center;
    text-align: left;
    max-width: 1100px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    background: #000;
    border: 3px solid var(--pink);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.video-text p {
    font-size: 1.1rem;
    color: var(--yellow);
    margin-left: 0;
}

/* ============================================
   EVENT COUNTDOWN (TRANS-MODERN)
   ============================================ */
.hero-countdown {
    position: absolute;
    bottom: 40px; /* Un poco despegado del borde inferior */
    left: 0;
    width: 100%;
    background: transparent; /* Sin fondo, respetando las imágenes */
    backdrop-filter: none;
    border-top: none; /* Sin borde superior */
    z-index: 10;
    padding: 1.5rem 0;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    margin: 0 auto !important; /* Forzar centrado del contenedor */
}

.countdown-item {
    text-align: center;
    min-width: 100px;
}

/* Estilo específico para el contador de inicio (sin cuadros) */
.hero-countdown .countdown-item {
    background: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    min-width: auto; /* El contenido define el ancho */
}

.hero-countdown .countdown-number {
    margin-bottom: 0;
}

.countdown-number {
    display: block;
    font-size: 3.2rem; /* Más grande */
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.3rem;
    letter-spacing: -1px;
}

.countdown-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--cream);
    letter-spacing: 0.1em;
}

.countdown-divider {
    font-size: 2.8rem; /* Más grande */
    color: var(--pink);
    font-weight: 300;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .hero-countdown {
        bottom: 20px;
    }
    .countdown-container {
        gap: 1.2rem;
    }
    .countdown-number {
        font-size: 2rem;
    }
    .countdown-item {
        min-width: 65px;
    }
    .countdown-divider {
        font-size: 1.8rem;
    }
}

/* Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(253, 10, 84, 0.2);
    border: none;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background: var(--pink);
}

.carousel-control.prev { left: 30px; }
.carousel-control.next { right: 30px; }

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(245, 236, 183, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--pink);
    width: 40px;
    border-radius: 10px;
}

@media (max-width: 968px) {
    .slide-content h1 { font-size: 3rem; }
    .slide-video .slide-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .video-text p { margin-inline: auto; }
}

/* ============================================
   SECCIÓN: Estadísticas — Acento institucional
   ============================================ */
.highlights {
    padding: var(--space-4xl) 0;
    background: var(--pink);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    margin-bottom: 0.2rem;
}

.stat-item h2.counter {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin: 0;
    font-family: var(--font-serif);
}

.stat-suffix {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cream);
    line-height: 1;
}

.stat-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-item p {
    color: var(--peach);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
}

.stat-icon {
    font-size: 1.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   SECCIÓN: Interacción Institucional — UI/UX mejorado
   ============================================ */
.institutions-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--cream);
    overflow: hidden;
}

.institutions-section .container {
    max-width: 1450px;
}

.institutions-bg {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(196, 30, 90, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(26, 22, 37, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.institutions-bg::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(196, 30, 90, 0.15);
    opacity: 0.6;
}

/* Header */
.institutions-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-3xl);
    position: relative;
    z-index: 1;
}

.institutions-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pink);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(196, 30, 90, 0.08);
    border-radius: 50px;
}

.institutions-intro {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: var(--space-md);
}

/* Grid */
.institutions-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.institution-card {
    position: relative;
    background: transparent;
    text-align: center;
    transition: var(--transition);
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-md);
}

.institution-card:hover {
    transform: translateY(-5px);
}

/* Card destacada (ONTA) */
.institution-card-featured {
    transform: scale(1.1);
}

.institution-role {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 4px 12px;
    background: rgba(26, 22, 37, 0.06);
    border-radius: 50px;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(26, 22, 37, 0.08);
}

.institution-role-featured {
    background: rgba(196, 30, 90, 0.12);
    color: var(--pink);
}

.institution-img {
    width: 100%;
    min-height: 240px;
    height: auto;
    margin: var(--space-sm) 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    transition: var(--transition);
}

.institution-card-featured .institution-img {
    min-height: 280px;
}

.institution-card:hover .institution-img {
    transform: scale(1.05);
}

.institution-img img {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.08));
    transition: var(--transition);
}

.institution-card:hover .institution-img img {
    filter: drop-shadow(0 15px 30px rgba(196, 30, 90, 0.15));
    transform: scale(1.1);
}

.institution-info {
    margin-top: auto;
}

.institution-card h4 {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0.9;
}

.institution-card-featured h4 {
    font-size: 1.1rem;
    color: var(--purple);
}

.institution-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* CTA institucional */
.institutions-cta {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(196, 30, 90, 0.04);
    border-radius: var(--radius-lg);
    border: 1px dashed rgba(196, 30, 90, 0.2);
    position: relative;
    z-index: 1;
}

.institutions-cta p {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: var(--space-md);
}

.institutions-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--pink);
    transition: var(--transition);
}

.institutions-link:hover {
    color: var(--pink-bright);
}

.institutions-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.institutions-link:hover i {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1200px) {
    .institutions-grid {
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .institutions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    .institution-card-featured {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .institutions-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SECCIÓN: Galería Científica
   ============================================ */
/* ============================================
   SECCIÓN: Galería Científica — UI/UX mejorado
   ============================================ */
.gallery-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--peach) 0%, rgba(254, 191, 151, 0.7) 50%, var(--cream) 100%);
    overflow: hidden;
}

.gallery-section-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(196, 30, 90, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* Header */
.gallery-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
    position: relative;
    z-index: 1;
}

.gallery-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pink);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
}

.gallery-intro {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: var(--space-md);
}

/* Grid con items destacados */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: var(--space-md);
    position: relative;
    z-index: 1;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--purple);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:hover {
    box-shadow: var(--shadow-lg);
}

.institution-img-placeholder {
    font-size: 3rem;
    color: var(--text-muted);
    opacity: 0.3;
}

.comite-universidades .institution-img {
    min-height: 140px;
}


.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 22, 37, 0.85) 0%, rgba(26, 22, 37, 0.4) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-icon {
    font-size: 2rem;
    color: var(--white);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-icon {
    transform: scale(1.15);
}

.gallery-caption {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: 0.05em;
}

/* Responsive galería */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    .gallery-item-large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
}

/* ============================================
   SECCIÓN: Sede del Evento
   ============================================ */
/* ============================================
   SECCIÓN: Sede del Evento — UI/UX mejorado
   ============================================ */
.venue-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 50%, var(--cream) 100%);
    overflow: hidden;
}

.venue-section-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 0% 100%, rgba(196, 30, 90, 0.04) 0%, transparent 40%),
                      radial-gradient(circle at 100% 0%, rgba(26, 22, 37, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

/* Header */
.venue-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
    position: relative;
    z-index: 1;
}

.venue-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pink);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(196, 30, 90, 0.08);
    border-radius: 50px;
}

.venue-intro {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-top: var(--space-md);
}

/* Layout principal */
.venue-content {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: var(--space-3xl);
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Video */
.venue-video-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.venue-video-info .video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid rgba(196, 30, 90, 0.1);
}

.venue-video-info .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.venue-video-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    padding: var(--space-sm);
    background: rgba(26, 22, 37, 0.03);
}

/* Descripción y features */
.venue-desc {
    margin-top: var(--space-xl);
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid rgba(26, 22, 37, 0.05);
}

.venue-desc h3 {
    font-size: 1.35rem;
    font-family: var(--font-serif);
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.venue-desc p {
    font-size: 0.95rem;
    color: var(--text-body);
    margin-bottom: var(--space-lg);
    line-height: 1.7;
}

.venue-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: 0;
    padding: 0;
    list-style: none;
}

.venue-features li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.venue-features li i {
    color: var(--pink);
    font-size: 1rem;
    width: 22px;
    flex-shrink: 0;
}

/* Info de ubicación (junto al mapa) */
.venue-location-info {
    padding: var(--space-lg);
    background: rgba(196, 30, 90, 0.05);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--pink);
}

.venue-location-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.venue-location-info h4 i {
    color: var(--pink);
}

.venue-location-info p {
    font-size: 0.9rem;
    color: var(--text-body);
    margin: 0 0 var(--space-xs);
    line-height: 1.5;
}

.venue-phone {
    margin-top: var(--space-sm);
    font-weight: 600;
    color: var(--pink);
}

.venue-phone i {
    margin-right: var(--space-xs);
}

/* Mapa */
.venue-map-wrap {
    position: sticky;
    top: 120px;
}

.venue-map-col .map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(196, 30, 90, 0.1);
    height: 420px;
    background: #f5f5f5;
}

.venue-map-col .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.venue-map-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}


.venue-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.venue-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

@media (max-width: 992px) {
    .venue-map-wrap {
        position: static;
    }
    .venue-map-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .venue-map-actions .btn {
        flex: 1;
        min-width: 140px;
    }
}

/* ============================================
   FOOTER — Institucional
   ============================================ */
.main-footer {
    padding: var(--space-4xl) 0 var(--space-lg);
    background: var(--purple);
    color: var(--cream);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 200px;
    width: auto;
    display: block;
}

.footer-info p {
    color: var(--peach);
    max-width: 400px;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--white);
}

.social-icons a:hover {
    background: var(--coral);
    transform: translateY(-3px);
}

.footer-links h3,
.footer-contact h3 {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 0.7rem;
}

.footer-links ul li a {
    color: var(--peach);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--pink);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--peach);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--pink);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--coral);
    color: var(--peach);
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {

    .why-grid {
        grid-template-columns: 1fr;
    }

    .slide-content h1 {
        font-size: 2.8rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item h2 {
        font-size: 2.2rem;
    }

    .institutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .venue-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .institutions-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .venue-features {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   GALERÍA MODAL (LIGHTBOX)
   ============================================ */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding: 20px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(35, 25, 45, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.gallery-modal.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 0 60px rgba(0,0,0,0.6);
    border: 4px solid var(--white);
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-modal.show .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--white);
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    width: 50px;
    height: 50px;
    background: rgba(253, 10, 84, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    background: var(--pink);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-caption {
    margin-top: 20px;
    width: 80%;
    max-width: 800px;
    text-align: center;
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ============================================
   CONTACT MODAL — Glassmorphism & Premium UI
   ============================================ */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 22, 37, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.contact-modal.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.contact-modal-content {
    background: var(--white);
    width: 90%;
    max-width: 480px;
    border-radius: var(--radius-xl);
    padding: 3.5rem 2.5rem;
    position: relative;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.4);
    transform: translateY(40px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.contact-modal.show .contact-modal-content {
    transform: translateY(0) scale(1);
}

.close-contact-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(26, 22, 37, 0.04);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.close-contact-modal:hover {
    background: var(--pink);
    color: var(--white);
    transform: rotate(90deg);
}

.contact-modal-header {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-logo-wrap {
    width: 100px;
    height: 100px;
    margin-bottom: 1.25rem;
    padding: 10px;
    background: var(--ivory);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.05);
}

.contact-modal-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.contact-modal-header h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--purple);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.contact-modal-body {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.contact-item-box {
    background: var(--ivory);
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
    border: 1px solid rgba(26, 22, 37, 0.03);
    text-align: left;
}

.contact-item-box:hover {
    background: var(--white);
    border-color: rgba(196, 30, 90, 0.2);
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.contact-icon-circle {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink);
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.contact-info-text {
    display: flex;
    flex-direction: column;
}

.contact-info-text span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-info-text p {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.contact-modal-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    position: relative;
}

.footer-decoration {
    width: 40px;
    height: 3px;
    background: var(--pink);
    margin: 0 auto 1.5rem;
    border-radius: 10px;
    opacity: 0.6;
}

.contact-modal-footer p {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

@media (max-width: 576px) {
    .contact-modal-content {
        padding: 3rem 1.5rem 2rem;
    }
    .contact-item-box {
        gap: 1rem;
        padding: 1rem;
    }
    .contact-icon-circle {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* ============================================
   BOTÓN FLOTANTE WHATSAPP
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: #fff;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: #23192d;
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.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 #23192d;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 90px;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 30px;
    }
    .whatsapp-tooltip {
        display: none; /* Ocultar tooltip en móviles para no estorbar */
    }
}

/* ============================================
   PÁGINA: COMITÉ
   ============================================ */
.comite-hero {
    padding: calc(85px + var(--space-4xl)) 0 var(--space-4xl);
    background: var(--purple);
    color: var(--white);
    border-bottom: 3px solid rgba(196, 30, 90, 0.4);
}

.comite-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.comite-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--cream);
    margin-bottom: var(--space-md);
    padding: var(--space-sm) var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.comite-header .section-title {
    color: var(--white);
}

.comite-header .section-title .accent {
    color: var(--pink);
}

.comite-intro {
    font-size: 1.1rem;
    color: var(--cream);
    margin-top: var(--space-md);
}

.comite-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.comite-stat {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comite-stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-serif);
    color: var(--pink);
    line-height: 1.2;
}

.comite-stat-label {
    font-size: 0.9rem;
    color: var(--cream);
}

.comite-section {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.comite-section-light {
    background: var(--cream);
}

.comite-section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.comite-section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: var(--space-md);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Estructura Jerárquica Moderna */
.comite-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.comite-section-header .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.comite-section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Badges Jerárquicos en Fila */
.comite-hierarchy-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hierarchy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.hierarchy-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hierarchy-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 2px;
}

.hierarchy-number {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.hierarchy-label {
    font-size: 0.8rem;
    font-weight: 500;
}

.hierarchy-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: white;
    order: 1;
}

.hierarchy-1::before {
    background: linear-gradient(90deg, #FF6B6B, #FFD700);
}

.hierarchy-2 {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    color: white;
    order: 2;
}

.hierarchy-2::before {
    background: linear-gradient(90deg, #87CEEB, #C0C0C0);
}

.hierarchy-3 {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: white;
    order: 3;
}

.hierarchy-3::before {
    background: linear-gradient(90deg, #DEB887, #CD7F32);
}

/* Grid Individual para Tarjetas Jerárquicas */
.comite-featured-grid-single {
    display: flex;
    justify-content: center;
}

/* Tarjetas Especiales por Nivel */
.comite-card-president {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #FFD700, #FFA500) border-box;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.15), 
                0 8px 25px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: scale(1.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    order: 2;
}

.comite-card-president::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
}

.comite-card-president:hover {
    transform: scale(1.08) translateY(-8px);
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.25), 
                0 12px 35px rgba(0, 0, 0, 0.12),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.comite-card-vice {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #C0C0C0, #808080) border-box;
    box-shadow: 0 12px 35px rgba(192, 192, 192, 0.12), 
                0 6px 20px rgba(0, 0, 0, 0.06),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: scale(1.02);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    order: 1;
}

.comite-card-vice::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 192, 192, 0.08) 0%, transparent 70%);
    animation: float 7s ease-in-out infinite;
    pointer-events: none;
}

.comite-card-vice:hover {
    transform: scale(1.05) translateY(-6px);
    box-shadow: 0 18px 45px rgba(192, 192, 192, 0.18), 
                0 10px 28px rgba(0, 0, 0, 0.10),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.comite-card-vice-second {
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #CD7F32, #8B4513) border-box;
    box-shadow: 0 10px 30px rgba(205, 127, 50, 0.10), 
                0 5px 18px rgba(0, 0, 0, 0.05),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    order: 3;
}

.comite-card-vice-second::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(205, 127, 50, 0.06) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.comite-card-vice-second:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 40px rgba(205, 127, 50, 0.15), 
                0 8px 25px rgba(0, 0, 0, 0.08),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Header de Tarjetas */
.comite-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.comite-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.comite-card-badge i {
    font-size: 0.8rem;
}

/* Roles Especiales */
.role-presidente {
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-presidente::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.role-presidente:hover::before {
    left: 100%;
}

.role-presidente:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4), 0 3px 12px rgba(0, 0, 0, 0.15);
}

.role-presidenta {
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-presidenta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.role-presidenta:hover::before {
    left: 100%;
}

.role-presidenta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4), 0 3px 12px rgba(0, 0, 0, 0.15);
}

.role-vice {
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    color: #ffffff !important;
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3), 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-vice::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.role-vice:hover::before {
    left: 100%;
}

.role-vice:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.4), 0 3px 12px rgba(0, 0, 0, 0.15);
}

/* Feature Tags */
.comite-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
    backdrop-filter: blur(5px);
}

.feature-tag i {
    font-size: 0.6rem;
    color: var(--pink);
}

/* ============================================
   LIDERAZGO EJECUTIVO — Tarjetas Premium con foto grande
   Imágenes PNG sin fondo: diseño editorial open
   ============================================ */

/* Grid 3 columnas equilibrado para liderazgo */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: end;
}

/* Tarjeta editorial: foto encima del card, sin contenedor */
.leadership-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-8px);
}

/* FOTO: grande, fluida, sin fondo visible */
.leadership-photo-wrap {
    position: relative;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    z-index: 2;
}

.leadership-photo-wrap img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    object-position: bottom;
    display: block;
    filter: drop-shadow(0 12px 32px rgba(26,22,37,0.18));
    transition: filter 0.3s ease;
}

.leadership-card:hover .leadership-photo-wrap img {
    filter: drop-shadow(0 20px 48px rgba(196,30,90,0.22));
}

/* Card de info debajo o superpuesto */
.leadership-info {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: var(--shadow-md);
    width: 100%;
    margin-top: -2rem;
    position: relative;
    z-index: 1;
    border-top: 4px solid var(--pink);
    transition: box-shadow 0.3s ease;
}

.leadership-card:hover .leadership-info {
    box-shadow: var(--shadow-lg);
}

/* Variante Presidente: margen superior mayor para destacar */
.leadership-card--president .leadership-photo-wrap {
    max-width: 280px;
}

.leadership-card--president .leadership-photo-wrap img {
    max-height: 330px;
}

.leadership-card--president .leadership-info {
    border-top-color: var(--pink);
    border-top-width: 5px;
}

.leadership-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    background: var(--pink);
    color: var(--white);
}

.leadership-role-badge--organizer {
    background: var(--purple);
}

.leadership-role-badge--vice {
    background: var(--coral);
}

.leadership-name {
    font-size: 1.1rem;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.leadership-org {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
    line-height: 1.4;
}

.leadership-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}

.leadership-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    background: var(--cream);
    border: 1px solid rgba(196,30,90,0.12);
    border-radius: 20px;
    font-size: 0.72rem;
    color: var(--text-body);
    font-weight: 500;
}

.leadership-tag i {
    color: var(--pink);
    font-size: 0.68rem;
}

/* ---- Cards con fotos para conferencistas en Programación ---- */
.comite-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Contenedor para centrar una sola tarjeta */
.comite-card-centered {
    display: grid;
    justify-items: center;
    grid-column: 1 / -1;
}

.comite-card-centered .comite-card {
    width: min(100%, calc((100% - 3rem * 2) / 3));
}

.comite-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.comite-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

/* comite-card-img: solo para conferencistas en programacion (speaker-photo) */
.comite-card > .comite-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ivory) 0%, #ffffff 100%);
    border: 3px solid var(--ivory);
    box-shadow: 0 10px 25px rgba(26, 22, 37, 0.08);
    margin: 2rem auto 0;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.comite-card:hover .comite-card-img {
    transform: scale(1.05);
    border-color: rgba(196, 30, 90, 0.2);
    box-shadow: 0 15px 35px rgba(196, 30, 90, 0.15);
}

.comite-card-body {
    padding: var(--space-xl);
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.comite-card-role {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pink);
    margin-bottom: var(--space-sm);
}

.comite-card h3 {
    font-size: 1.2rem;
    font-family: var(--font-serif);
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.comite-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Responsive liderazgo */
@media (max-width: 900px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }
    .leadership-card--president { order: -1; }
}

/* Comité ejecutivo (sin fotos) */
.comite-executive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-lg);
}

.comite-executive-item {
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--pink);
    box-shadow: var(--shadow);
    position: relative;
    align-items: flex-start;
}

.comite-exec-flag-img {
    width: 56px;
    height: auto;
    max-height: 36px;
    margin-bottom: 0.75rem;
    display: inline-block;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    border-radius: 3px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    padding: 3px;
}

.comite-exec-flag-img:hover {
    transform: scale(1.12) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

.comite-section-light .comite-executive-item {
    background: var(--white);
}

.comite-exec-role {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pink);
}

.comite-exec-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: var(--space-xs) 0;
}

.comite-exec-org {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Comité organizador (con logos) */
.comite-organizer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.comite-organizer-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.comite-organizer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Contenedor para centrar las últimas tres tarjetas */
.comite-organizer-centered-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    grid-column: 1 / -1;
    max-width: 800px;
    margin: 0 auto;
}

/* Tarjetas sin cuadros para Universidades Representadas */
.comite-organizer-card-simple {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: var(--space-lg);
    text-align: center;
    box-shadow: none;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
}

.comite-organizer-card-simple:hover {
    transform: translateY(-2px);
}

/* Logos grandes para Universidades Representadas */
.comite-organizer-logo-large {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: var(--space-sm);
    transition: all 0.3s ease;
}

.comite-organizer-logo-large:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.comite-organizer-logo-large img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.comite-organizer-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.comite-organizer-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.comite-organizer-logo-placeholder {
    background: rgba(196, 30, 90, 0.1);
    border-radius: 50%;
}

.comite-organizer-logo-placeholder i {
    font-size: 2rem;
    color: var(--pink);
}

.comite-organizer-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: var(--space-xs);
}

.comite-organizer-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.comite-organizer-org {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Sección Universidades Representadas con fondo blanco completo sin bordes */
.comite-universidades {
    background: var(--white);
    padding: var(--space-3xl) 0;
    margin: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.comite-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
}

.comite-logo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.comite-logo-item:hover {
    box-shadow: var(--shadow-lg);
}

.comite-logo-item img {
    height: 70px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.comite-logo-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

/* Grid simple sin cuadros para Universidades Representadas */
.comite-logos-grid-simple {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
    justify-items: center;
    position: relative;
}

.comite-logo-item-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
}

.comite-logo-item-simple:hover {
    transform: translateY(-8px) scale(1.05);
}

.comite-logo-item-simple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    z-index: -1;
}

.comite-logo-item-simple:hover::before {
    width: 200px;
    height: 200px;
}

.comite-logo-large-wrapper {
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
}

.comite-logo-large-wrapper:hover {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 12px 30px rgba(255, 107, 157, 0.4)) 
            drop-shadow(0 6px 15px rgba(0, 0, 0, 0.2))
            drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.comite-logo-large-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.comite-logo-large-wrapper:hover img {
    filter: drop-shadow(0 16px 40px rgba(255, 107, 157, 0.5))
            drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25))
            drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15))
            drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

.comite-logo-item-simple span {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.4;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.comite-logo-item-simple:hover span {
    color: var(--pink);
    transform: translateY(-2px);
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.comite-logo-item-simple {
    animation: fadeInUp 0.6s ease forwards;
}

.comite-logo-item-simple:nth-child(1) { animation-delay: 0.1s; }
.comite-logo-item-simple:nth-child(2) { animation-delay: 0.2s; }
.comite-logo-item-simple:nth-child(3) { animation-delay: 0.3s; }
.comite-logo-item-simple:nth-child(4) { animation-delay: 0.4s; }
.comite-logo-item-simple:nth-child(5) { animation-delay: 0.5s; }
.comite-logo-item-simple:nth-child(6) { animation-delay: 0.6s; }

.comite-logo-item span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

@media (max-width: 992px) {
    .comite-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .comite-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
    .comite-card-centered {
        justify-items: center;
    }
    
    .comite-card-centered .comite-card {
        width: min(100%, calc((100% - var(--space-xl)) / 2));
    }
    .comite-card {
        min-height: 400px;
    }
    
    /* Jerarquía responsiva */
    .comite-section-header .section-title {
        font-size: 2rem;
    }
    
    .comite-hierarchy-badges {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .comite-card-president {
        transform: scale(1.02);
    }
    
    .comite-card-vice {
        transform: scale(1);
    }
    
    .hierarchy-badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .hierarchy-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .hierarchy-label {
        font-size: 0.7rem;
    }
    
    .comite-logos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .comite-stats {
        grid-template-columns: 1fr;
    }
    .comite-featured-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .comite-card-centered {
        justify-items: center;
    }
    
    .comite-card-centered .comite-card {
        width: 100%;
    }
    .comite-card {
        min-height: 380px;
    }
    .comite-card-img {
        min-height: 240px;
        padding: 0.5rem;
    }
    
    /* Jerarquía móvil */
    .comite-section-header .section-title {
        font-size: 1.8rem;
    }
    
    .comite-section-desc {
        font-size: 1rem;
    }
    
    .comite-hierarchy-badges {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .comite-card-president,
    .comite-card-vice,
    .comite-card-vice-second {
        transform: scale(1);
        border-width: 2px;
    }
    
    .hierarchy-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hierarchy-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .hierarchy-label {
        font-size: 0.7rem;
    }
    
    .comite-card-features {
        gap: 0.4rem;
    }
    
    .feature-tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }
    
    .role-presidente,
    .role-presidenta,
    .role-vice {
        font-size: 0.75rem;
        padding: 0.6rem 1.2rem;
    }
    
    .comite-card-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
    
    .comite-organizer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comite-logos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
     ESTILOS PARA PÁGINA DE ÁREAS TEMÁTICAS
     ============================================ */

/* Hero Section */
.areas-hero {
    background: linear-gradient(135deg, var(--pink) 0%, #ff6b9d 100%);
    color: white;
    padding: calc(85px + var(--space-4xl)) 0 var(--space-4xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.areas-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="90" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.areas-header {
    position: relative;
    z-index: 2;
}

.areas-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-lg);
    backdrop-filter: blur(10px);
}

.areas-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

.areas-intro {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.8;
    line-height: 1.6;
}

/* Introducción */
.areas-intro {
    background: var(--cream);
    padding: var(--space-3xl) 0;
}

.areas-intro-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.areas-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: var(--space-lg);
}

/* Grid de Áreas */
.areas-section {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-3xl);
}

.area-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pink), #ff6b9d);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.area-card:hover::before {
    transform: scaleX(1);
}

.area-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 107, 157, 0.2);
}

.area-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(255, 107, 157, 0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    transition: all 0.3s ease;
}

.area-card:hover .area-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(255, 107, 157, 0.1));
}

.icon-emoji {
    font-size: 2.5rem;
    line-height: 1;
}

.area-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.area-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    flex: 1;
}

.area-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Modalidades de Participación */
.participation-section {
    background: var(--cream);
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.participation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2xl);
}

.participation-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.participation-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.participation-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.participation-card:hover .participation-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

.participation-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.participation-description {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Call to Action */
.cta-section {
    background: linear-gradient(135deg, var(--pink) 0%, #ff6b9d 100%);
    padding: var(--space-4xl) 0;
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: var(--space-2xl);
    opacity: 0.9;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: 2px solid transparent;
}

.btn-primary {
    background: white;
    color: var(--pink);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--pink);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsividad para Áreas */
@media (max-width: 768px) {
    .areas-hero {
        padding: calc(85px + var(--space-3xl)) 0 var(--space-3xl);
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .participation-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .area-card {
        padding: var(--space-lg);
    }
    
    .area-icon {
        width: 60px;
        height: 60px;
    }
    
    .icon-emoji {
        font-size: 2rem;
    }
}

/* Estilos adicionales para íconos de áreas */
.area-icon-emoji {
    font-size: 3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(255, 107, 157, 0.05));
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.comite-card:hover .area-icon-emoji {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(255, 107, 157, 0.1));
}

/* Botones CTA para áreas */
.comite-cta-buttons {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    margin-top: var(--space-3xl);
    flex-wrap: wrap;
}

.comite-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.comite-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
}

.comite-cta-btn:hover::before {
    left: 100%;
}

.comite-cta-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.comite-cta-btn i {
    font-size: 1.1rem;
}

/* Responsividad para áreas con formato comité */
@media (max-width: 992px) {
    .comite-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xl);
    }
    
    .comite-card {
        min-height: 400px;
    }
    
    .comite-card-img {
        min-height: 120px;
    }
    
    .area-icon-emoji {
        font-size: 2.5rem;
    }
    
    .comite-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .comite-cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .comite-featured-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .comite-card {
        min-height: 380px;
    }
    
    .comite-card-img {
        min-height: 100px;
    }
    
    .area-icon-emoji {
        font-size: 2rem;
    }
    
    .comite-organizer-grid {
        grid-template-columns: 1fr;
    }
    
    .comite-organizer-centered-cards {
        grid-template-columns: 1fr;
        max-width: none;
        width: 100%;
    }
    
    .comite-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .comite-cta-btn {
        width: 100%;
        max-width: 250px;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .comite-cta-btn i {
        font-size: 1rem;
    }
}

/* ============================================
     PRELOADER AVANZADO - Efectos de ciencia
     ============================================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--pink) 0%, #ff6b9d 50%, #e91e63 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

.preloader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    animation: bgAnimation 10s ease-in-out infinite;
}

@keyframes bgAnimation {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    color: var(--white);
    max-width: 1000px;
    width: 100%;
    padding: 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-logo {
    margin-bottom: 2rem;
    position: relative;
}

.preloader-logo img {
    width: 120px;
    height: auto;
    animation: logoFloat 3s ease-in-out infinite;
    filter: brightness(0) invert(1);
    position: relative;
    z-index: 3;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

/* Partículas científicas animadas */
.science-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.particle {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.7;
    animation: floatParticle 4s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    color: rgba(255, 255, 255, 0.8);
}

.particle:nth-child(2) {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
    color: rgba(255, 255, 255, 0.6);
}

.particle:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
    color: rgba(255, 255, 255, 0.7);
}

.particle:nth-child(4) {
    bottom: 20%;
    right: 15%;
    animation-delay: 3s;
    color: rgba(255, 255, 255, 0.5);
}

.particle:nth-child(5) {
    top: 50%;
    left: 10%;
    animation-delay: 1.5s;
    color: rgba(255, 255, 255, 0.6);
}

.particle:nth-child(6) {
    top: 50%;
    right: 10%;
    animation-delay: 2.5s;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes floatParticle {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.9;
    }
}

.preloader-progress {
    margin-bottom: 2rem;
    position: relative;
}

.preloader-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.preloader-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #f0f0f0, #ffffff);
    border-radius: 50px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.preloader-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.preloader-percentage {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulseText 2s ease-in-out infinite;
}

@keyframes pulseText {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.preloader-text {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Efectos adicionales */
.dna-helix {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
    opacity: 0.1;
}

.dna-strand {
    position: absolute;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    top: 50%;
    left: 0;
    transform-origin: center;
    animation: rotateStrand 8s linear infinite;
}

.dna-strand:nth-child(2) {
    animation-delay: 2s;
    transform: rotate(45deg);
}

.dna-strand:nth-child(3) {
    animation-delay: 4s;
    transform: rotate(90deg);
}

.dna-strand:nth-child(4) {
    animation-delay: 6s;
    transform: rotate(135deg);
}

@keyframes rotateStrand {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .preloader-content {
        padding: 1rem;
    }
    
    .preloader-logo img {
        width: 100px;
    }
    
    .preloader-percentage {
        font-size: 1.2rem;
    }
    
    .preloader-text {
        font-size: 0.9rem;
    }
    
    .science-particles {
        width: 250px;
        height: 250px;
    }
    
    .particle {
        font-size: 1.2rem;
    }
}

/* ============================================
   ESTILOS PARA PÁGINA DE PROGRAMACIÓN
   ============================================ */

/* Barra de progreso */
.progress-container {
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
    text-align: center;
    padding: 2rem 1rem;
}

.progress-bar {
    width: 100%;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.7);
    padding: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 0 10px rgba(255, 255, 255, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--pink), #ff6b9d);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0% { 
        opacity: 0.8;
        transform: scaleY(0.95);
    }
    50% { 
        opacity: 1;
        transform: scaleY(1);
    }
    100% { 
        opacity: 0.8;
        transform: scaleY(0.95);
    }
}

.progress-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 1.5s ease-in-out infinite;
}

@keyframes shine {
    0% { 
        left: -100%;
        opacity: 0;
    }
    50% { 
        left: 100%;
        opacity: 1;
    }
    51% {
        opacity: 0;
    }
    100% { 
        left: 100%;
        opacity: 0;
    }
}

.progress-text {
    color: white;
    font-weight: 700;
    font-size: 1rem;
    z-index: 2;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    gap: 1rem;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    text-align: center;
}

.progress-step i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.progress-step span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

.progress-step.completed i {
    color: var(--green);
}

.progress-step.active i {
    color: var(--pink);
}

.progress-step:not(.completed):not(.active) i {
    color: var(--text-muted);
}

.progress-step.active span {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .progress-steps {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .progress-step {
        flex: 1 1 45%;
    }
    
    .progress-step span {
        font-size: 0.75rem;
    }
}

.progress-desc {
    margin-top: var(--space-md);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Bandera de país en conferencistas */
.conference-country {
    font-size: 3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(255, 107, 157, 0.05));
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.comite-card:hover .conference-country {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2), rgba(255, 107, 157, 0.1));
}

/* Quote de conferencistas */
.conference-quote {
    font-style: italic;
    color: var(--pink);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-top: var(--space-md);
    padding: var(--space-sm);
    border-left: 3px solid var(--pink);
    background: rgba(255, 107, 157, 0.05);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* Estadísticas de conferencistas */
.conference-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
    padding: var(--space-2xl);
    background: linear-gradient(135deg, var(--cream), rgba(255, 107, 157, 0.05));
    border-radius: var(--radius-lg);
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--pink);
    line-height: 1.2;
    margin-bottom: var(--space-xs);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Iconos de expectativas */
.expectation-icon {
    font-size: 2.5rem;
    line-height: 1;
}

/* Estructura del programa */
.program-schedule {
    display: grid;
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.program-day {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.program-day:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.day-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    border-radius: var(--radius-md);
    color: white;
    text-align: center;
}

.day-number {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.day-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.day-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.day-activities {
    list-style: none;
    padding: 0;
    margin: 0;
}

.day-activities li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.day-activities li i {
    color: var(--pink);
    font-size: 0.8rem;
}

.program-note {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-top: var(--space-lg);
    font-size: 0.9rem;
}

/* Grid de información importante */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

/* Contenedor para centrar una sola tarjeta de información */
.info-card-centered {
    grid-column: 1 / -1;
    display: grid;
    justify-items: center;
}

.info-card-centered .info-card {
    width: min(100%, calc((100% - var(--space-xl) * 2) / 3));
    min-width: 280px;
}

.info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.info-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.info-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
}

.info-detail {
    color: var(--pink);
    font-size: 0.85rem;
    font-style: italic;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.info-list li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-xs);
    padding-left: var(--space-sm);
}

/* Responsividad para programación */
@media (max-width: 992px) {
    .conference-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .program-day {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .day-header {
        flex-direction: row;
        justify-content: center;
        gap: var(--space-md);
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
    
    .info-card-centered {
        justify-items: center;
    }
    
    .info-card-centered .info-card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .conference-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .stat-item {
        padding: var(--space-md);
    }
    
    .program-day {
        padding: var(--space-lg);
    }
    
    .day-header {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md);
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .info-card-centered {
        justify-items: center;
    }
    
    .info-card-centered .info-card {
        width: 100%;
        max-width: none;
    }
    
    .info-card {
        padding: var(--space-lg);
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
}

/* ============================================
     ESTILOS PARA PÁGINA DE INSCRIPCIONES
     ============================================ */

/* Sección de precios */
.pricing-section {
    margin-bottom: var(--space-3xl);
}

.pricing-category {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-xl);
    text-align: center;
    position: relative;
}

.pricing-category::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), #ff6b9d);
    border-radius: 2px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pink), #ff6b9d);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 107, 157, 0.2);
}

.pricing-card.featured {
    border: 2px solid var(--pink);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.pricing-period {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.pricing-type {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.pricing-amount {
    text-align: center;
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: var(--space-xs);
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--pink);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.asterisk {
    color: var(--pink);
    font-size: 1.5rem;
    margin-left: var(--space-xs);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.feature i {
    color: var(--pink);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.pricing-note {
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pricing-note small {
    color: var(--text-muted);
    font-style: italic;
}

/* Contacto para inscripciones */
.contact-info {
    background: linear-gradient(135deg, var(--cream), rgba(255, 107, 157, 0.05));
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--space-2xl);
}

.contact-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--pink);
    font-size: 1.1rem;
}

/* Formulario de inscripción */
.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.inscription-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-section {
    margin-bottom: var(--space-2xl);
}

.form-section:last-child {
    margin-bottom: 0;
}

.form-section-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.form-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--pink);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-help {
    display: block;
    margin-top: var(--space-xs);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-style: italic;
}

.form-actions {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    margin-top: var(--space-2xl);
}

.btn-submit {
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 157, 0.3);
}

.btn-reset {
    background: transparent;
    color: var(--text-muted);
    border: 2px solid var(--text-muted);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.btn-reset:hover {
    background: var(--text-muted);
    color: white;
    transform: translateY(-2px);
}

/* Información de soporte */
.support-info {
    background: linear-gradient(135deg, var(--cream), rgba(255, 107, 157, 0.05));
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--space-3xl);
}

.support-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.support-desc {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.support-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.support-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.support-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.support-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.support-details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.support-details p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.support-note {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

/* Responsividad para inscripciones */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .pricing-card {
        padding: var(--space-lg);
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .form-container {
        padding: 0 var(--space-lg);
    }
    
    .inscription-form {
        padding: var(--space-lg);
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
    }
    
    .btn-submit,
    .btn-reset {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .support-methods {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .support-item {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
}

/* ============================================
     ESTILOS PARA PÁGINA DE RESÚMENES
     ============================================ */

/* Contador de tiempo restante */
.countdown-container {
    text-align: center;
    margin: var(--space-2xl) auto; /* Cambiado a auto para centrar */
}

.countdown-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
}

.countdown-display {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-md);
}

.countdown-item {
    text-align: center;
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    border-radius: var(--radius-lg);
    color: white;
    min-width: 100px;
    transition: all 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

.countdown-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--space-xs);
}

.countdown-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.countdown-note {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    margin-top: var(--space-md);
}

/* Tarjetas de instrucciones */
.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.instruction-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.instruction-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--pink), #ff6b9d);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.instruction-card:hover::before {
    transform: scaleX(1);
}

.instruction-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 107, 157, 0.2);
}

.instruction-card.featured {
    border: 2px solid var(--pink);
    transform: scale(1.05);
}

.instruction-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.instruction-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.instruction-card:hover .instruction-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

.instruction-content {
    text-align: center;
}

.instruction-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.instruction-desc {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.instruction-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.instruction-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.instruction-features i {
    color: var(--pink);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.instruction-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: var(--space-lg);
}

.instruction-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

/* Sistema de búsqueda */
.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-form {
    margin-bottom: var(--space-xl);
}

.search-input-group {
    display: flex;
    gap: var(--space-md);
}

.search-input {
    flex: 1;
    padding: var(--space-md);
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.search-btn {
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

.search-results {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: var(--space-lg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.search-loading {
    text-align: center;
    padding: var(--space-lg);
    color: var(--text-muted);
}

.search-loading i {
    font-size: 2rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.search-results-content {
    text-align: center;
}

.result-item {
    padding: var(--space-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.result-item:last-child {
    border-bottom: none;
}

.result-item h4 {
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.result-item p {
    color: var(--text-muted);
}

/* Timeline */
.timeline {
    position: relative;
    margin-top: var(--space-2xl);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--pink), rgba(255, 107, 47, 0.3));
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-xl);
    position: relative;
    margin-bottom: var(--space-2xl);
}

.timeline-date {
    text-align: center;
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    border-radius: var(--radius-md);
    color: white;
    position: relative;
    z-index: 2;
}

.timeline-day {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: var(--space-xs);
}

.timeline-month {
    font-size: 0.9rem;
    opacity: 0.9;
}

.timeline-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.timeline-desc {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.timeline-status {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-status.deadline {
    background: linear-gradient(135deg, #ff6b6b, #ff4444);
    color: white;
}

.timeline-status.notification {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.timeline-status.event {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.timeline-status.location {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
}

/* Contacto */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

.contact-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.contact-detail {
    color: var(--pink);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.contact-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Instrucciones detalladas */
.instructions-content {
    max-width: 800px;
    margin: 0 auto;
}

.instruction-block {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.instruction-block h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--pink);
}

.instruction-block ul,
.instruction-block ol {
    margin: 0;
    padding-left: var(--space-lg);
}

.instruction-block li {
    margin-bottom: var(--space-sm);
    color: var(--text-muted);
    line-height: 1.5;
}

/* Formulario de resúmenes */
.authors-container {
    margin-bottom: var(--space-lg);
}

.author-item {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    align-items: center;
}

.author-name,
.author-email,
.author-institution {
    padding: var(--space-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.author-name:focus,
.author-email:focus,
.author-institution:focus {
    outline: none;
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.remove-author {
    background: linear-gradient(135deg, #ff6b6b, #ff4444);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-author:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

.add-author-btn {
    background: linear-gradient(135deg, var(--pink), #ff6b9d);
    color: white;
    border: none;
    border-radius: 50px;
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.add-author-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.3);
}

/* Responsividad para resúmenes */
@media (max-width: 768px) {
    .countdown-display {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .countdown-item {
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .instructions-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .instruction-card {
        padding: var(--space-lg);
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .timeline-date {
        padding: var(--space-md);
    }
    
    .timeline-day {
        font-size: 1rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .authors-container {
        gap: var(--space-md);
    }
    
    .author-item {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .remove-author {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
    
    .add-author-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   PÁGINA: LOGIN — Diseño institucional moderno
   ============================================ */
.login-page {
    min-height: 100vh;
    padding-top: 85px; /* Altura del navbar fijo */
}

.login-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: calc(100vh - 85px);
}

/* Panel de marca izquierdo */
.login-brand-panel {
    background: var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    position: relative;
    border-right: 3px solid rgba(196, 30, 90, 0.3);
    overflow: hidden;
}

/* Patrón decorativo sutil sin gradiente */
.login-brand-panel::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 240px;
    height: 240px;
    border: 40px solid rgba(196, 30, 90, 0.06);
    border-radius: 50%;
    pointer-events: none;
}
.login-brand-panel::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    border: 50px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
}

.login-brand-content {
    position: relative;
    z-index: 1;
    max-width: 420px;
    width: 100%;
}

.login-brand-logo {
    margin-bottom: 2rem;
}

.login-logo-img {
    height: 100px;
    width: auto;
    margin: 0 auto;
}

.login-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--pink);
    background: rgba(196, 30, 90, 0.12);
    border: 1px solid rgba(196, 30, 90, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.login-brand-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.login-brand-text p {
    font-size: 0.95rem;
    color: var(--peach);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.login-brand-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.login-fact {
    text-align: center;
    padding: 1.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
}

.login-fact-num {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-serif);
    color: var(--pink);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.login-fact-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--peach);
    font-weight: 500;
}

.login-brand-quote {
    border-left: 3px solid var(--pink);
    padding-left: 1.25rem;
    margin-top: 2rem;
}

.login-brand-quote i {
    display: block;
    color: var(--pink);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0.7;
}

.login-brand-quote p {
    font-size: 0.85rem;
    font-style: italic;
    color: rgba(245, 237, 228, 0.7);
    line-height: 1.65;
    margin: 0;
}

/* Panel de formulario derecho */
.login-form-panel {
    background: var(--ivory);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
}

.login-form-inner {
    max-width: 420px;
    width: 100%;
}

.login-form-header {
    margin-bottom: 2.5rem;
}

.login-form-header h1 {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.login-form-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.login-field label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.login-field label i {
    color: var(--pink);
    font-size: 0.85rem;
}

.login-input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    background: var(--white);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.login-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(196, 30, 90, 0.08);
}

.login-input.input-error {
    border-color: #e53e3e;
}

.login-input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.login-password-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.login-password-wrap .login-input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0.25rem;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--pink);
}

.login-error {
    font-size: 0.8rem;
    color: #c53030;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.login-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1rem 2rem;
    background: var(--pink);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.login-submit-btn:hover {
    background: var(--pink-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 30, 90, 0.3);
}

.login-form-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 22, 37, 0.08);
}

.login-form-footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.login-form-footer a {
    color: var(--pink);
    font-weight: 700;
}

.login-form-footer a:hover {
    text-decoration: underline;
}

/* ===== Responsive Login ===== */
@media (max-width: 900px) {
    .login-split {
        grid-template-columns: 1fr;
    }

    .login-brand-panel {
        padding: 3rem 2rem;
        border-right: none;
        border-bottom: 3px solid rgba(196, 30, 90, 0.3);
    }

    .login-form-panel {
        padding: 3rem 2rem;
    }

    .login-brand-facts {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .login-brand-facts {
        grid-template-columns: repeat(2, 1fr);
    }

    .login-form-inner,
    .login-brand-content {
        max-width: 100%;
    }
}

/* ============================================
   LOGOS SIN CAJA INSTITUCIONAL — uso general
   ============================================ */
.comite-organizer-logo {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    margin: 0 auto var(--space-md);
}

.comite-organizer-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: none;
}

/* Logo de universities grid — sin cuadros */
.comite-logo-large-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background: none;
    border: none;
    box-shadow: none;
}

.comite-logo-large-wrapper img {
    max-height: 70px;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: var(--transition);
}

.comite-logo-item-simple:hover .comite-logo-large-wrapper img {
    filter: none;
    transform: scale(1.05);
}

.comite-logo-item-simple {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    transition: var(--transition);
}

.comite-logo-item-simple span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}



/* ============================================
   SISTEMA DE ÍCONOS CIENTÍFICOS PREMIUM
   sci-icon-box — Sin gradientes, colores sólidos
   ============================================ */
.sci-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto var(--space-md);
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: var(--transition);
}

/* Variantes de color institucional */
.sci-icon-box--pink {
    background: rgba(196, 30, 90, 0.08);
    color: var(--pink);
    border-color: rgba(196, 30, 90, 0.2);
}
.sci-icon-box--purple {
    background: rgba(26, 22, 37, 0.06);
    color: var(--purple);
    border-color: rgba(26, 22, 37, 0.15);
}
.sci-icon-box--teal {
    background: rgba(14, 116, 144, 0.08);
    color: #0e7490;
    border-color: rgba(14, 116, 144, 0.2);
}
.sci-icon-box--coral {
    background: rgba(184, 74, 92, 0.08);
    color: var(--coral);
    border-color: rgba(184, 74, 92, 0.2);
}

/* Hover effect */
.comite-organizer-card:hover .sci-icon-box--pink  { background: var(--pink);   color: var(--white); border-color: var(--pink); }
.comite-organizer-card:hover .sci-icon-box--purple { background: var(--purple); color: var(--white); border-color: var(--purple); }
.comite-organizer-card:hover .sci-icon-box--teal   { background: #0e7490;      color: var(--white); border-color: #0e7490; }
.comite-organizer-card:hover .sci-icon-box--coral  { background: var(--coral);  color: var(--white); border-color: var(--coral); }

/* Ícono inline en títulos de sección */
.sci-icon-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(196, 30, 90, 0.1);
    color: var(--pink);
    font-size: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
    border: 1px solid rgba(196, 30, 90, 0.15);
}

/* Íconos en la sección de soporte (inscripciones) */
.support-sci-icon {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
    margin: 0;
    flex-shrink: 0;
}

/* ============================================
   SPEAKER FLAGS — Banderas en conferencistas
   ============================================ */
/* ============================================
   SPEAKER PHOTOS — Fotos en conferencistas (PNG sin fondo)
   ============================================ */
.speaker-flag {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Para que las fotos sin fondo no se corten */
    display: block;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
    transition: transform 0.4s ease;
}

.comite-card:hover .speaker-flag {
    transform: translateY(-5px);
}

/* Fallback si no hay imagen de flag */
.comite-card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(26, 22, 37, 0.04);
    border: 2px solid rgba(196, 30, 90, 0.1);
    margin: 0 auto var(--space-md);
    overflow: hidden;
}

/* ============================================
   FORMULARIO CIENTÍFICO — Inscripciones
   ============================================ */
.scientific-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(26, 22, 37, 0.06);
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(26, 22, 37, 0.06);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.85rem;
}

.form-section-title i {
    color: var(--pink);
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group label i {
    color: var(--pink);
    font-size: 0.8rem;
    width: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    background: var(--ivory);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--pink);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(196, 30, 90, 0.07);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-help {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.form-help i {
    color: var(--pink);
    font-size: 0.75rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-submit {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: var(--pink);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--pink-bright);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 30, 90, 0.28);
}

.btn-reset {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1.5rem;
    background: transparent;
    color: var(--text-muted);
    border: 2px solid rgba(26, 22, 37, 0.12);
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-reset:hover {
    border-color: var(--pink);
    color: var(--pink);
}

/* Pricing grid centrado para estudiantes */
.pricing-grid--centered {
    max-width: 400px;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

/* Pricing category header mejorado */
.pricing-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(196, 30, 90, 0.12);
}

.pricing-category i {
    color: var(--pink);
}

/* Contact info en inscripciones */
.contact-info {
    margin-top: 2.5rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--pink);
    box-shadow: var(--shadow);
}

.contact-text {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-text i {
    color: var(--pink);
}

.contact-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--ivory);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-body);
    border: 1px solid rgba(26, 22, 37, 0.08);
}

.contact-item i {
    color: var(--pink);
}

/* Support section */
.support-info {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--cream);
    border-radius: var(--radius-lg);
    text-align: center;
}

.support-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.support-title i {
    color: var(--pink);
}

.support-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.support-methods {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.support-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.support-details h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.support-details p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.support-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* CTA button variant primary */
.comite-cta-btn--primary {
    background: var(--pink);
    color: var(--white) !important;
    border-color: var(--pink);
}

.comite-cta-btn--primary:hover {
    background: var(--pink-bright);
    box-shadow: 0 8px 24px rgba(196, 30, 90, 0.3);
}

/* Conference quote mejorada */
.conference-quote {
    font-style: italic;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-left: 3px solid var(--pink);
    padding-left: 0.75rem;
    margin-top: 0.75rem;
    line-height: 1.5;
}

/* Responsive formulario científico */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .scientific-form {
        padding: 1.5rem;
    }

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

    .contact-methods {
        flex-direction: column;
    }
}

/* ============================================
   SECCIÓN RESÚMENES (ABSTRACTS) - ESTILOS ADICIONALES
   ============================================ */

/* Tarjetas Científicas Modernas */
.scientific-card-modern {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(26, 22, 37, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.scientific-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(196, 30, 90, 0.1);
}

.scientific-card-modern.elite {
    border: 2px solid var(--pink);
    background: linear-gradient(to bottom, var(--white), var(--ivory));
}

.scientific-card-modern .sci-card-body h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.sci-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    text-align: left;
}

.sci-feature-list li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sci-feature-list li i {
    color: #0e7490;
    font-size: 0.8rem;
}

.scientific-card-modern.elite .sci-feature-list li i {
    color: var(--pink);
}

.sci-link-btn {
    color: var(--purple);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
    margin-top: auto;
}

.sci-link-btn:hover {
    gap: 0.8rem;
    color: var(--pink);
}

.sci-btn-primary {
    background: var(--pink);
    color: var(--white) !important;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
}

.sci-btn-primary:hover {
    background: #a3184b;
    box-shadow: 0 5px 15px rgba(196, 30, 90, 0.3);
}

/* Timeline Científica */
.scientific-timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    padding-left: 2rem;
}

.scientific-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--cream);
}

.tl-item {
    position: relative;
    padding-bottom: 3rem;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-dot {
    position: absolute;
    left: -2px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--pink);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 4px var(--white), 0 0 0 8px rgba(196, 30, 90, 0.1);
}

.tl-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.tl-item:hover .tl-content {
    transform: translateX(10px);
    border-color: var(--pink);
}

.tl-date {
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--pink);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.tl-content h4 {
    margin: 0 0 0.5rem;
    color: var(--text-dark);
}

.tl-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Caja de Búsqueda Científica */
.search-scientific-box {
    background: var(--white);
    padding: 3rem;
    border-radius: 32px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
}

.sci-input-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.sci-search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: 2px solid var(--cream);
    outline: none;
    font-family: var(--font-sans);
    transition: border-color 0.3s;
}

.sci-search-input:focus {
    border-color: var(--pink);
}

.sci-search-btn {
    background: var(--purple);
    color: var(--white);
    border: none;
    padding: 0 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s;
}

.sci-search-btn:hover {
    background: #000;
    transform: scale(1.02);
}

/* Countdown Abstracts */
.scientific-countdown-box {
    background: var(--purple);
    color: var(--white);
    padding: 2.5rem;
    border-radius: 24px;
    margin: 3rem auto;
    max-width: 600px;
    text-align: center;
}

.countdown-title {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.count-item {
    display: flex;
    flex-direction: column;
}

.count-item .num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.count-item .lab {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.7;
    margin-top: 0.5rem;
    font-weight: 700;
}

.count-item.dash {
    font-size: 2rem;
    opacity: 0.5;
    padding-bottom: 1.5rem;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--cream);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: var(--pink);
    background: rgba(196, 30, 90, 0.02);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder i {
    font-size: 2.5rem;
    color: var(--pink);
    margin-bottom: 1rem;
}

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

/* Authors row */
.author-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr;
    gap: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
    .sci-input-group {
        flex-direction: column;
    }
    .sci-search-btn {
        padding: 1rem;
        justify-content: center;
    }
    .author-row {
        grid-template-columns: 1fr;
    }
    .count-item .num {
        font-size: 2rem;
    }
}

/* Pasos para subir resumen */
.submission-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    transition: transform 0.3s;
    position: relative;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-img-box {
    width: 100%;
    height: 180px;
    background: var(--ivory);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--cream);
    cursor: pointer;
}

.step-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-content {
    padding: 1.5rem;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--pink);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(196, 30, 90, 0.3);
    border: 3px solid var(--white);
}

.step-content h4 {
    margin: 0.5rem 0 0.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.abstract-cta-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: var(--text-dark);
    padding: 3rem;
    border-radius: 30px;
    text-align: center;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.abstract-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(196, 30, 90, 0.1);
    border-radius: 50%;
}

.abstract-cta-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.abstract-cta-desc {
    opacity: 0.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.btn-login-sci {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--teal);
    color: var(--pink);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 8px 20px rgba(14, 116, 144, 0.25);
}

.btn-login-sci:hover {
    background: var(--pink);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(196, 30, 90, 0.35);
}


/* ============================================
   SECCIÓN: Universidades Representadas (Comité) — FILA ÚNICA
   ============================================ */
.comite-logos-row {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap; /* Para tablets y móviles se ajustará */
}

.comite-logo-item-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
    padding: 1rem;
    transition: var(--transition);
}

.comite-logo-item-premium img {
    max-height: 100px;
    max-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.08));
    transition: var(--transition);
    margin-bottom: 1.25rem;
}

.comite-logo-item-premium:hover img {
    filter: drop-shadow(0 15px 30px rgba(196, 30, 90, 0.15));
    transform: scale(1.1) translateY(-5px);
}

.comite-logo-item-premium span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    opacity: 0.8;
    max-width: 180px;
    margin-top: auto;
    padding-top: 1rem;
}

/* ============================================
   PÁGINA: ÁREAS TEMÁTICAS — PREMIUM
   ============================================ */

.areas-hero {
    background: linear-gradient(135deg, var(--purple) 0%, #2a2438 100%);
    position: relative;
    padding: 6rem 0;
    color: var(--white);
    overflow: hidden;
}

.areas-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(196, 30, 90, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
}

.areas-stats {
    margin-top: 3rem;
    justify-content: center;
}

.section-header-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-desc-centered {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.scientific-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    padding: 2rem 0;
}

/* Contenedor para centrar las últimas dos tarjetas de áreas */
.area-premium-centered-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    grid-column: 1 / -1;
    max-width: 680px;
    margin: 0 auto;
}

.area-premium-card {
    background: var(--white);
    border-radius: 30px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    min-height: auto; /* Evita que crezcan demasiado verticalmente */
}

.area-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(196, 30, 90, 0.12);
    border-color: rgba(196, 30, 90, 0.15);
}

.area-card-num {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(196, 30, 90, 0.04);
    line-height: 1;
    font-family: var(--font-sans);
}

.area-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.area-premium-card:hover .area-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.area-badge {
    background: rgba(196, 30, 90, 0.08);
    color: var(--pink);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    display: inline-block;
    text-align: center;
}

.area-premium-card h3 {
    font-family: var(--font-sans); 
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-align: justify;
    hyphens: auto;
}

.scientific-area-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}

@media (max-width: 1024px) {
    .scientific-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .area-premium-centered-cards {
        grid-template-columns: 1fr;
        max-width: 340px;
    }
}

@media (max-width: 768px) {
    .scientific-area-grid {
        grid-template-columns: 1fr;
    }
    
    .area-premium-centered-cards {
        grid-template-columns: 1fr;
        max-width: none;
        width: 100%;
    }
}


.cta-premium-box {
    background: linear-gradient(135deg, var(--purple) 0%, #1a1625 100%);
    padding: 4rem 2rem;
    border-radius: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

/* Modalidades específicas para Areas - Centradas y Justificadas */
.areas-modality-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 0 auto;
    justify-content: center;
}

@media (max-width: 900px) {
    .areas-modality-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

.areas-modality-card {
    text-align: center;
}

.areas-modality-card .sci-icon-box {
    margin: 0 auto 1.5rem;
}

.areas-modality-card h4 {
    margin-bottom: 1rem;
}

.areas-modality-card .comite-organizer-name {
    text-align: justify;
    line-height: 1.6;
    font-weight: normal;
}

.cta-buttons-three {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn-cta-area {
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.btn-cta-area--outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: var(--white);
}

.btn-cta-area--outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

.btn-cta-area--solid {
    background: var(--pink);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(196, 30, 90, 0.3);
}

.btn-cta-area--solid:hover {
    background: var(--pink-bright);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(196, 30, 90, 0.4);
}

@media (max-width: 768px) {
    .modalities-flex-row {
        flex-direction: column;
    }
    .modality-sci-card {
        min-width: 100%;
        padding: 1.5rem;
        gap: 1.5rem;
    }
}

/* ============================================
   MOBILE NAVBAR — Hamburger + Slide Panel
   ============================================ */

/* Botón hamburguesa: hidden en desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ivory);
    font-size: 1.5rem;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    z-index: 1100;
    flex-shrink: 0;
}

.menu-toggle:hover {
    background: rgba(196, 30, 90, 0.15);
    color: var(--pink);
}

/* Overlay oscuro detrás del menú móvil */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 6, 20, 0.75);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ============================================
   BREAKPOINT: Tablets y móviles (≤ 1024px)
   ============================================ */
@media (max-width: 1024px) {

    /* Mostrar botón hamburguesa */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 3;
    }

    /* En móvil: ocultar utilidades avanzadas de desktop, mostrar iconos compactos */
    .desktop-only { display: none !important; }
    .mobile-only  { display: flex !important; }
    .mobile-only-flex { display: flex !important; }
    
    .nav-utilities {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 0rem; /* Espaciado controlado por el ancho de los botones */
        order: 2;
    }

    .nav-icon-btn, 
    .search-toggle { 
        display: flex !important; 
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0 !important;
        color: #fff !important; 
        background: transparent !important; 
        border: none !important;
        font-size: 1.15rem !important;
        transition: var(--transition);
    }
    
    .nav-icon-btn:active,
    .search-toggle:active {
        opacity: 0.7;
        transform: scale(0.9);
    }

    /* Corrección de desborde del buscador en móvil */
    .search-box {
        position: fixed !important;
        top: 78px !important;
        left: 1rem !important;
        right: 1rem !important;
        width: calc(100% - 2rem) !important;
        max-width: none !important;
        z-index: 2001;
    }

    .search-box input {
        width: 100% !important;
        flex: 1;
    }

    /* Dropdown de idioma en móvil para que no se corte */
    #langDropdownMobile {
        position: fixed !important;
        top: 78px !important;
        right: 1rem !important;
        left: auto !important;
        min-width: 160px !important;
        z-index: 2001;
    }



    /* Panel lateral deslizante */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        height: 100dvh;
        width: min(280px, 82vw);
        background: var(--purple);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 5rem 0 2rem;
        z-index: 1100;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        border-left: 2px solid rgba(196, 30, 90, 0.35);
        box-shadow: -10px 0 40px rgba(0,0,0,0.5);
    }

    /* Estado abierto */
    .nav-links.mobile-open {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem 1.8rem;
        font-size: 1rem;
        font-weight: 600;
        color: var(--ivory);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        transition: var(--transition);
        width: 100%;
    }

    .nav-links li a:hover {
        background: rgba(196, 30, 90, 0.12);
        color: var(--pink);
        padding-left: 2.2rem;
    }

}

/* ============================================
   BREAKPOINT: Móviles pequeños (≤ 640px)
   ============================================ */
@media (max-width: 640px) {
    /* Logo más compacto */
    .nav-logo-text {
        display: none;
    }

    .nav-logo-img {
        height: 52px;
    }

    .navbar {
        padding: 0.6rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-links {
        width: 88vw;
    }
}

/* ============================================
   PUNO PAGE — CIRCUITO SUR ANDINO V2
   Layout: Mapa Protagonista (100%) + Grid 4 paradas
   ============================================ */

.ph-circuit-layout-v2 {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    margin-top: 1rem;
}

/* ---- Columna del mapa PROTAGONISTA (Arriba) ---- */
.ph-map-col-v2 {
    width: 100%;
}

.ph-map-container-v2 {
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
    border: 3px solid white;
    height: 600px;
    position: relative;
    background: #111;
}

.ph-map-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: rgba(26,22,37,0.85);
    color: #DEB05A;
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.ph-map-container-v2 iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ---- Paradas en GRID (Abajo) ---- */
.ph-stops-grid-v2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.ph-route-card-v2 {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.ph-route-card-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

.ph-route-card-img-wrap-v2 {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.ph-route-card-img-wrap-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.ph-route-card-v2:hover .ph-route-card-img-wrap-v2 img {
    transform: scale(1.1);
}

.ph-route-num-v2 {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(26,22,37,0.7);
    color: white;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 1rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.ph-route-card-body-v2 {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ph-route-tag-v2 {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #a0a0a0;
    margin-bottom: 0.4rem;
}

.ph-tag-pink-v2 { color: #C41E5A; }
.ph-tag-gold-v2 { color: #C08B30; }

.ph-route-card-body-v2 h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a1625;
    margin: 0 0 0.5rem;
    line-height: 1.25;
}

.ph-route-card-body-v2 p {
    font-size: 0.82rem;
    color: #777;
    line-height: 1.6;
    margin-bottom: auto; /* Empuja el footer hacia abajo */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
}

.ph-route-foot-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #999;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}

/* ---- Tarjeta PUNO SEDE — Especial destacada ---- */
.ph-card-venue-v2 {
    border: 2px solid rgba(196,30,90,0.35);
    box-shadow: 0 8px 30px rgba(196,30,90,0.12);
}

.ph-card-venue-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(196,30,90,0.22);
    border-color: rgba(196,30,90,0.7);
}

.ph-venue-banner-v2 {
    background: linear-gradient(90deg, #C41E5A, #e0366e);
    color: white;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 2px;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.ph-card-venue-v2 .ph-route-card-body-v2 h4 {
    color: #C41E5A;
    font-size: 1.35rem;
}

.ph-foot-venue {
    flex-direction: column;
    gap: 0.8rem;
    border-top: 1px solid rgba(196,30,90,0.15);
}

.ph-time-venue-v2 {
    color: #C41E5A;
    font-weight: 800;
    font-size: 0.8rem;
}

.ph-venue-cta-btn-v2 {
    display: block;
    width: 100%;
    text-align: center;
    background: #C41E5A;
    color: white;
    padding: 0.6rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ph-venue-cta-btn-v2:hover { background: #a51849; transform: scale(1.02); }

/* ---- Tarjeta Machu Picchu — Gold ---- */
.ph-card-gold-v2 {
    border: 1.5px solid rgba(222,176,90,0.3);
    background: linear-gradient(to bottom, white, #fffdf5);
}

.ph-card-gold-v2 .ph-route-card-body-v2 h4 { color: #B8860B; }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
    .ph-stops-grid-v2 { grid-template-columns: repeat(2, 1fr); }
    .ph-map-container-v2 { height: 480px; }
}

@media (max-width: 600px) {
    .ph-stops-grid-v2 { grid-template-columns: 1fr; }
    .ph-map-container-v2 { height: 350px; border-radius: 18px; }
    .ph-route-card-img-wrap-v2 { height: 200px; }
}
