/* ============================================================
   CONGRESO INTERNACIONAL - DELITOS ECONÓMICOS Y FINANCIEROS
   Standalone CSS - Sin dependencias externas
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #0f172a;
    background: #f8fafc;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- Colors --- */
:root {
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-200: #bfdbfe;
    --blue-300: #93c5fd;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --blue-700: #1d4ed8;
    --blue-800: #1e40af;
    --blue-900: #1e3a8a;
    --blue-950: #172554;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
}

/* --- Utilities --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.hidden { display: none !important; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.flex { display: flex; }
.grid { display: grid; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.object-cover { object-fit: cover; }

/* --- Navbar --- */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 1.25rem 0;
    background: transparent;
}
#navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 12px rgba(0,0,0,0.08);
    padding: 0.75rem 0;
}
.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-brand { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-box {
    width: 40px; height: 40px;
    background: var(--blue-900);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: white; font-weight: 700; font-size: 1.2rem;
}
.nav-title { font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; color: white; transition: color 0.3s; line-height: 1.2; }
.nav-subtitle { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-200); transition: color 0.3s; }
#navbar.scrolled .nav-title { color: var(--blue-900); }
#navbar.scrolled .nav-subtitle { color: var(--slate-500); }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.9); transition: color 0.2s; }
.nav-link:hover { color: var(--blue-400); }
#navbar.scrolled .nav-link { color: var(--slate-600); }
#navbar.scrolled .nav-link:hover { color: var(--blue-600); }
.btn-inscribirse {
    background: var(--blue-600); color: white;
    padding: 0.5rem 1.25rem; border-radius: 9999px;
    font-size: 0.875rem; font-weight: 600;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(37,99,235,0.25);
}
.btn-inscribirse:hover { background: var(--blue-700); transform: translateY(-1px); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; color: white; transition: color 0.3s; }
#navbar.scrolled .mobile-menu-btn { color: var(--slate-900); }

/* --- Mobile Menu --- */
#mobile-menu {
    display: none; position: fixed; inset: 0; z-index: 900;
    background: white; padding: 6rem 1.5rem 2rem;
    overflow-y: auto; opacity: 0; transition: opacity 0.3s;
}
#mobile-menu.open { display: block; }
#mobile-menu.visible { opacity: 1; }
.mobile-menu-close { position: absolute; top: 1.5rem; right: 1.5rem; color: var(--slate-800); background: none; border: none; cursor: pointer; }
.mobile-links { display: flex; flex-direction: column; gap: 0; }
.mobile-link {
    font-size: 1.5rem; font-weight: 700; color: var(--slate-800);
    border-bottom: 1px solid var(--slate-100); padding: 1rem 0;
    display: block; transition: color 0.2s;
}
.mobile-link:hover { color: var(--blue-600); }
.btn-mobile-inscribirse {
    display: flex; align-items: center; justify-content: center;
    width: 100%; background: var(--blue-600); color: white;
    padding: 1rem; border-radius: 12px; font-size: 1.125rem;
    font-weight: 700; margin-top: 1.5rem; gap: 0.5rem;
}

/* --- Hero Section --- */
#inicio {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: var(--blue-950); overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    background-image: url('img/hero_bg.png');
    background-size: cover; background-position: center;
    opacity: 0.3;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(23,37,84,0.8) 0%, rgba(23,37,84,0.4) 50%, rgba(23,37,84,1) 100%);
}
.hero-content {
    position: relative; z-index: 10;
    max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem;
    text-align: center; margin-top: 5rem;
}
.hero-badge {
    display: inline-block; padding: 0.4rem 1rem; margin-bottom: 1.5rem;
    border-radius: 9999px; background: rgba(59,130,246,0.2);
    border: 1px solid rgba(96,165,250,0.3); color: var(--blue-300);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
}
.hero-title {
    font-size: clamp(2rem, 6vw, 4rem); font-weight: 900; color: white;
    line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.5rem;
}
.hero-title span {
    background: linear-gradient(90deg, var(--blue-400), var(--blue-200));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.125rem; color: rgba(219,234,254,0.8);
    margin-bottom: 2.5rem; max-width: 700px; margin-left: auto; margin-right: auto;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-primary {
    background: var(--blue-600); color: white;
    padding: 1rem 2rem; border-radius: 9999px;
    font-size: 1rem; font-weight: 700;
    box-shadow: 0 8px 24px rgba(37,99,235,0.35);
    transition: all 0.2s; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-primary:hover { background: var(--blue-500); transform: translateY(-2px); }
.btn-ghost {
    background: rgba(255,255,255,0.1); color: white;
    padding: 1rem 2rem; border-radius: 9999px;
    font-size: 1rem; font-weight: 700;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px); transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.scroll-indicator {
    position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.scroll-dot {
    width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,0.3); border-radius: 12px;
    display: flex; justify-content: center; padding-top: 6px;
}
.scroll-dot::before {
    content: ''; width: 4px; height: 8px;
    background: rgba(255,255,255,0.5); border-radius: 2px;
}
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-8px); } }

/* --- Sections General --- */
section { padding: 5rem 0; }
.section-label {
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--blue-600); margin-bottom: 1rem; display: block;
}
.section-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; color: var(--slate-900); line-height: 1.2; margin-bottom: 1.25rem; }
.section-subtitle { font-size: 1.0625rem; color: var(--slate-600); max-width: 600px; line-height: 1.7; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 4rem; }

/* --- About Section --- */
#sobre { background: white; }
.about-grid { display: grid; gap: 4rem; align-items: center; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
    width: 48px; height: 48px; min-width: 48px;
    background: var(--blue-50); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-600);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-title { font-weight: 700; color: var(--slate-900); margin-bottom: 0.25rem; }
.feature-desc { font-size: 0.8125rem; color: var(--slate-500); }
.about-image { position: relative; }
.about-img-box {
    aspect-ratio: 1; border-radius: 1.5rem; overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}
.about-date-badge {
    position: absolute; bottom: -2rem; left: -2rem;
    background: var(--blue-900); color: white;
    padding: 2rem; border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.about-date-num { font-size: 2.5rem; font-weight: 900; line-height: 1; }
.about-date-text { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue-200); margin-top: 0.25rem; }

/* --- Ejes Temáticos --- */
#ejes { background: var(--slate-50); }
.ejes-grid { display: grid; gap: 1.5rem; }
.eje-card {
    background: white; padding: 2rem; border-radius: 1rem;
    border: 1px solid var(--slate-100); box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: all 0.3s; cursor: default;
}
.eje-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-3px); }
.eje-icon {
    width: 56px; height: 56px;
    background: var(--blue-50); border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--blue-600); margin-bottom: 1.5rem;
    transition: all 0.3s;
}
.eje-card:hover .eje-icon { background: var(--blue-600); color: white; }
.eje-icon svg { width: 28px; height: 28px; }
.eje-title { font-size: 1.0625rem; font-weight: 700; color: var(--slate-900); margin-bottom: 0.75rem; line-height: 1.3; }
.eje-desc { font-size: 0.8125rem; color: var(--slate-600); line-height: 1.7; }

/* --- Speakers --- */
#conferencistas { background: white; }
.speakers-grid { display: grid; gap: 1.5rem; }
.speaker-card {
    background: var(--slate-50); border-radius: 2rem;
    border: 1px solid var(--slate-100); box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: all 0.4s; display: flex; flex-direction: column;
}
.speaker-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.speaker-body { padding: 2rem; flex: 1; }
.speaker-badge {
    display: inline-block; padding: 0.25rem 0.75rem; border-radius: 9999px;
    background: var(--blue-100); color: var(--blue-700); border: 1px solid var(--blue-200);
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    margin-bottom: 1rem;
}
.speaker-name { font-size: 1.125rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.25rem; }
.speaker-role { font-size: 0.8125rem; font-weight: 700; color: var(--blue-600); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.speaker-role svg { width: 16px; height: 16px; }
.speaker-bio { font-size: 0.75rem; color: var(--slate-600); line-height: 1.7; }
.speaker-footer { padding: 0 2rem 2rem; }
.speaker-topic {
    padding: 1.25rem; background: white; border-radius: 1rem;
    border: 1px solid var(--blue-50); position: relative;
    box-shadow: inset 0 1px 4px rgba(0,0,0,0.03);
}
.speaker-topic-label {
    position: absolute; top: -0.75rem; left: 1rem;
    padding: 0.125rem 0.5rem; background: var(--blue-600); color: white;
    font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    border-radius: 4px;
}
.speaker-topic p { font-size: 0.8125rem; font-weight: 600; color: var(--slate-800); line-height: 1.5; padding-top: 0.25rem; }

/* --- Fechas --- */
#fechas {
    background: var(--blue-900); color: white; position: relative; overflow: hidden;
}
#fechas::before {
    content: ''; position: absolute; top: 0; right: 0;
    width: 50%; height: 100%;
    background: rgba(255,255,255,0.05);
    transform: skewX(-12deg) translateX(8rem);
}
.fechas-grid { display: grid; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.fechas-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-300); margin-bottom: 1rem; display: block; }
.fechas-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 1.5rem; }
.fechas-desc { color: rgba(219,234,254,0.7); font-size: 1rem; margin-bottom: 2rem; max-width: 400px; }
.btn-white {
    background: white; color: var(--blue-900);
    padding: 0.875rem 2rem; border-radius: 9999px;
    font-weight: 700; transition: all 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.btn-white:hover { background: var(--blue-50); transform: translateY(-1px); }
.timeline { display: flex; flex-direction: column; gap: 0.75rem; }
.timeline-item {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.25rem 1.5rem; border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05);
    transition: background 0.2s;
}
.timeline-item:hover { background: rgba(255,255,255,0.1); }
.timeline-item.active { background: var(--blue-600); border-color: var(--blue-400); box-shadow: 0 4px 16px rgba(37,99,235,0.4); }
.timeline-icon {
    width: 40px; height: 40px; min-width: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
    color: var(--blue-300);
}
.timeline-item.active .timeline-icon { background: white; color: var(--blue-600); }
.timeline-icon svg { width: 18px; height: 18px; }
.timeline-title { font-weight: 700; color: var(--blue-100); font-size: 0.9375rem; }
.timeline-date { font-size: 0.8125rem; color: rgba(147,197,253,0.7); margin-top: 0.2rem; }

/* --- Programa --- */
#programa { background: var(--slate-50); border-bottom: 1px solid var(--slate-200); }
.day-tabs { display: flex; justify-content: center; margin-bottom: 3rem; }
.day-tabs-inner {
    display: inline-flex; padding: 0.375rem;
    background: rgba(226,232,240,0.6); border-radius: 9999px; gap: 0.25rem;
}
.btn-day {
    padding: 0.625rem 1.5rem; border-radius: 9999px;
    font-size: 0.875rem; font-weight: 700; transition: all 0.2s;
    color: var(--slate-600); cursor: pointer; border: none; background: none;
}
.btn-day.active { background: var(--blue-600); color: white; box-shadow: 0 2px 8px rgba(37,99,235,0.3); }
.schedule { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.schedule-item {
    display: flex; gap: 1rem; padding: 1.5rem;
    background: white; border-radius: 1rem;
    border: 1px solid var(--slate-100); box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s; flex-wrap: wrap;
}
.schedule-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.schedule-item.lunch { background: var(--blue-50); border-color: var(--blue-100); }
.schedule-item.highlight { background: var(--blue-900); color: white; border-color: var(--blue-700); }
.schedule-time { min-width: 160px; }
.schedule-time span {
    display: inline-block; padding: 0.25rem 0.75rem;
    background: var(--blue-50); color: var(--blue-700);
    font-size: 0.75rem; font-weight: 700; border-radius: 8px;
}
.schedule-item.highlight .schedule-time span { background: var(--blue-600); color: white; }
.schedule-content { flex: 1; }
.schedule-title { font-weight: 700; font-size: 1rem; color: var(--slate-900); margin-bottom: 0.4rem; }
.schedule-item.highlight .schedule-title { color: white; }
.schedule-item.lunch .schedule-title { color: var(--slate-700); }
.schedule-desc { font-size: 0.8125rem; color: var(--slate-500); }
.schedule-item.highlight .schedule-desc { color: var(--blue-200); }
.schedule-sub { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.4rem; }
.schedule-sub p { font-size: 0.8125rem; color: var(--slate-600); }
.schedule-sub strong { color: var(--slate-800); }

/* --- Comités --- */
#comites { background: white; border-bottom: 1px solid var(--slate-100); }
.comites-grid { display: grid; gap: 2rem; }
.comite-card {
    background: var(--slate-50); padding: 2.5rem;
    border-radius: 1.5rem; border: 1px solid var(--slate-100);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04); transition: box-shadow 0.2s;
}
.comite-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.comite-title {
    font-size: 1.375rem; font-weight: 800; color: var(--blue-900);
    margin-bottom: 2rem; display: flex; align-items: center; gap: 0.75rem;
}
.comite-title svg { width: 28px; height: 28px; }
.comite-list { display: flex; flex-direction: column; gap: 1.5rem; }
.comite-member { display: flex; gap: 1rem; align-items: flex-start; }
.comite-dot { width: 8px; height: 8px; min-width: 8px; background: var(--blue-600); border-radius: 50%; margin-top: 0.5rem; }
.comite-member-name { font-weight: 700; color: var(--slate-900); }
.comite-member-role { font-size: 0.8125rem; color: var(--blue-600); font-weight: 500; }
.cientifico-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.cientifico-item {
    padding: 0.875rem; background: var(--blue-50); border-radius: 12px;
    border: 1px solid var(--blue-100);
}
.cientifico-name { font-weight: 700; color: var(--blue-900); font-size: 0.9375rem; }
.cientifico-uni { font-size: 0.75rem; color: var(--slate-500); margin-top: 0.125rem; }
.cientifico-paises {
    padding-top: 1rem; border-top: 1px solid var(--slate-200); margin-top: 0.5rem;
}
.cientifico-paises-label {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: var(--blue-700); margin-bottom: 0.5rem;
}
.cientifico-paises-val { font-size: 0.8125rem; color: var(--slate-600); }

/* --- Sede --- */
#sede { background: var(--slate-950); color: white; }
.sede-grid { display: grid; gap: 4rem; align-items: center; }
.sede-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--blue-400); margin-bottom: 1rem; display: block; }
.sede-title { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 1.25rem; }
.sede-desc { color: var(--slate-300); font-size: 1.0625rem; margin-bottom: 2rem; line-height: 1.7; }
.sede-info { display: flex; flex-direction: column; gap: 1rem; }
.sede-info-item { display: flex; align-items: center; gap: 0.875rem; color: var(--slate-300); font-size: 0.9375rem; }
.sede-info-item svg { width: 20px; height: 20px; color: var(--blue-400); flex-shrink: 0; }
.sede-info-item a { color: var(--blue-300); text-decoration: underline; }
.sede-info-item a:hover { color: var(--blue-200); }
.sede-imgs { display: flex; gap: 1.5rem; align-items: center; flex-wrap: wrap; justify-content: center; }
.sede-img { border-radius: 1.5rem; width: 100%; max-width: 380px; height: 260px; object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,0.3); border: 1px solid var(--slate-800); }
.sede-logo-box { background: white; padding: 1.5rem; border-radius: 1rem; display: flex; align-items: center; justify-content: center; width: 160px; height: 160px; flex-shrink: 0; }
.sede-logo-box img { max-height: 96px; object-fit: contain; }

/* --- Contacto --- */
#contacto { background: white; }
.contact-card { background: var(--blue-50); border-radius: 2.5rem; overflow: hidden; border: 1px solid var(--blue-100); box-shadow: 0 8px 32px rgba(37,99,235,0.1); }
.contact-inner { padding: 3rem 4rem; }
.contact-title { font-size: 2rem; font-weight: 800; color: var(--slate-900); margin-bottom: 1rem; }
.contact-desc { color: var(--slate-600); font-size: 1.0625rem; margin-bottom: 2.5rem; line-height: 1.7; }
.contact-items { display: flex; flex-direction: column; gap: 2rem; }
.contact-item { display: flex; align-items: center; gap: 1.5rem; }
.contact-icon {
    width: 56px; height: 56px; background: white;
    border-radius: 1rem; display: flex; align-items: center; justify-content: center;
    color: var(--blue-600); box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    border: 1px solid var(--blue-100); flex-shrink: 0;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-label { font-size: 0.75rem; color: var(--slate-500); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.contact-value { font-size: 1.125rem; font-weight: 800; color: var(--slate-900); }

/* --- Footer --- */
footer { background: var(--slate-50); padding: 5rem 0 2.5rem; border-top: 1px solid var(--slate-200); }
.footer-grid { display: grid; gap: 2.5rem; margin-bottom: 4rem; }
.footer-brand { grid-column: span 2; }
.footer-logo-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer-logo-box { width: 40px; height: 40px; background: var(--blue-900); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 1.2rem; }
.footer-brand-name { font-weight: 800; font-size: 1.0625rem; color: var(--blue-900); }
.footer-desc { color: var(--slate-500); max-width: 360px; line-height: 1.7; margin-bottom: 1.25rem; font-size: 0.9375rem; }
.footer-badge { display: inline-block; padding: 0.5rem 1rem; background: rgba(219,234,254,0.5); border: 1px solid var(--blue-200); border-radius: 8px; }
.footer-badge p { font-weight: 700; color: var(--blue-800); font-size: 0.875rem; }
.footer-badge a { text-decoration: underline; color: var(--blue-800); font-weight: 900; }
.footer-badge a:hover { color: var(--blue-900); }
.footer-col h5 { font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--slate-900); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.footer-col ul li a { color: var(--slate-500); font-size: 0.9375rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--blue-600); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2.5rem; border-top: 1px solid var(--slate-200); flex-wrap: wrap; gap: 1rem; }
.footer-copy { color: var(--slate-400); font-size: 0.875rem; }
.footer-credit { color: var(--slate-400); font-size: 0.875rem; }
.footer-credit a { color: var(--slate-600); font-weight: 700; text-decoration: underline; }
.footer-credit a:hover { color: var(--blue-600); }

/* --- Modal --- */
.modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.modal.hidden { display: none; }
.modal-overlay { position: absolute; inset: 0; background: rgba(2,6,23,0.8); backdrop-filter: blur(4px); }
.modal-box {
    background: white; border-radius: 2rem; overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.4); position: relative; z-index: 10;
    width: 95vw; max-width: 900px; height: 90vh;
    display: flex; flex-direction: column;
    transform: scale(0.95); opacity: 0; transition: all 0.3s;
}
.modal-box.open { transform: scale(1); opacity: 1; }
.modal-header {
    padding: 1.25rem 2rem;
    background: var(--slate-50); border-bottom: 1px solid var(--slate-100);
    display: flex; justify-content: space-between; align-items: center; flex-shrink: 0;
}
.modal-header-title { font-weight: 700; font-size: 1rem; color: var(--slate-900); display: flex; align-items: center; gap: 0.5rem; }
.modal-header-title svg { width: 18px; height: 18px; color: var(--blue-600); }
.modal-header p { font-size: 0.75rem; color: var(--slate-500); margin-top: 0.125rem; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; color: var(--slate-500); transition: background 0.2s; }
.modal-close:hover { background: var(--slate-200); }
.modal-close svg { width: 20px; height: 20px; }
.modal-body { flex: 1; background: var(--slate-800); position: relative; min-height: 0; }
.modal-iframe { width: 100%; height: 100%; border: none; display: none; }
.modal-loader {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: var(--slate-900); z-index: 10;
}
.modal-loader-inner { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.spinner {
    width: 48px; height: 48px; border: 4px solid var(--blue-500);
    border-top-color: transparent; border-radius: 50%; animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.modal-loader p { font-size: 0.875rem; color: var(--slate-400); }
.modal-footer {
    padding: 0.875rem 2rem; background: var(--slate-50);
    border-top: 1px solid var(--slate-100);
    display: flex; justify-content: space-between; align-items: center; flex-shrink: 0;
    font-size: 0.75rem; color: var(--slate-500);
}
.modal-footer a { color: var(--blue-600); font-weight: 700; display: flex; align-items: center; gap: 0.4rem; transition: color 0.2s; }
.modal-footer a:hover { color: var(--blue-700); }
.modal-footer a svg { width: 14px; height: 14px; }
.upcoming-notice {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: var(--slate-900); z-index: 20; padding: 2rem; text-align: center;
    color: white;
}
.upcoming-inner { max-width: 400px; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.upcoming-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(251,191,36,0.1); border: 1px solid rgba(251,191,36,0.3);
    display: flex; align-items: center; justify-content: center; color: var(--amber-400);
}
.upcoming-icon svg { width: 40px; height: 40px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.5;} }
.upcoming-inner h4 { font-size: 1.5rem; font-weight: 900; }
.upcoming-inner p { font-size: 0.875rem; color: var(--slate-400); line-height: 1.6; }
.btn-entendido {
    background: var(--blue-600); color: white;
    padding: 0.625rem 1.5rem; border-radius: 9999px;
    font-weight: 700; font-size: 0.875rem;
    transition: background 0.2s; box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.btn-entendido:hover { background: var(--blue-700); }

/* --- Boletin / Revista pages --- */
.page-header { padding-top: 7rem; padding-bottom: 3rem; background: var(--slate-950); position: relative; overflow: hidden; color: white; }
.page-header-bg { position: absolute; inset: 0; }
.page-header-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.2; filter: blur(4px); transform: scale(1.05); }
.page-header-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(2,6,23,0.6), rgba(2,6,23,1)); }
.page-header-content { position: relative; z-index: 10; text-align: center; padding: 2.5rem 1.5rem; max-width: 800px; margin: 0 auto; }
.page-badge { display: inline-block; padding: 0.4rem 1rem; border-radius: 9999px; background: rgba(59,130,246,0.2); border: 1px solid rgba(96,165,250,0.3); color: var(--blue-300); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 1rem; }
.page-title { font-size: clamp(1.75rem, 5vw, 3rem); font-weight: 900; color: white; margin-bottom: 1rem; line-height: 1.1; }
.page-subtitle { color: var(--slate-300); font-size: 1.0625rem; max-width: 560px; margin: 0 auto; line-height: 1.7; }
.page-count { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1.25rem; color: var(--slate-400); font-size: 0.875rem; }
.page-count svg { width: 16px; height: 16px; color: var(--blue-400); }
.stats-bar { background: white; border-bottom: 1px solid var(--slate-100); padding: 0.875rem 0; position: sticky; top: 64px; z-index: 100; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.stats-bar-inner { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.stats-items { display: flex; gap: 1.5rem; }
.stat-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--slate-600); font-weight: 500; }
.stat-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.stat-dot.blue { background: var(--blue-600); }
.stat-dot.amber { background: var(--amber-400); }
.stat-item strong { color: var(--slate-900); }
.stats-tag { font-size: 0.7rem; color: var(--slate-400); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; }
.editions-section { padding: 4rem 0; background: white; min-height: 80vh; }
.editions-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--slate-100); }
.editions-head h2 { font-size: 1.5rem; font-weight: 800; color: var(--slate-900); }
.editions-head p { font-size: 0.875rem; color: var(--slate-500); margin-top: 0.25rem; }
.editions-head-badge { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.875rem; color: var(--blue-600); background: var(--blue-50); padding: 0.5rem 1rem; border-radius: 12px; }
.editions-head-badge svg { width: 16px; height: 16px; }
.editions-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }
.edition-card { background: white; border-radius: 1rem; border: 1px solid var(--slate-200); box-shadow: 0 1px 4px rgba(0,0,0,0.04); overflow: hidden; display: flex; flex-direction: column; transition: all 0.3s; }
.edition-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-4px); }
.edition-thumb { position: relative; aspect-ratio: 3/4; overflow: hidden; cursor: pointer; }
.edition-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.edition-card:hover .edition-thumb img { transform: scale(1.05); }
.edition-overlay { position: absolute; inset: 0; background: rgba(30,58,138,0.6); opacity: 0; transition: opacity 0.3s; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 0.875rem; gap: 0.5rem; }
.edition-overlay svg { width: 20px; height: 20px; }
.edition-card:hover .edition-overlay { opacity: 1; }
.edition-upcoming-overlay { position: absolute; inset: 0; background: rgba(15,23,42,0.7); display: flex; align-items: center; justify-content: center; }
.upcoming-pill { background: var(--amber-400); color: var(--slate-900); font-size: 0.65rem; font-weight: 900; padding: 0.25rem 0.75rem; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.12em; animation: pulse-glow 2s infinite; }
@keyframes pulse-glow { 0%,100%{box-shadow:0 0 0 0 rgba(251,191,36,0.4);} 50%{box-shadow:0 0 0 8px rgba(251,191,36,0);} }
.avail-badge { position: absolute; top: 0.5rem; left: 0.5rem; background: var(--blue-600); color: white; font-size: 0.6rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.08em; }
.edition-info { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.edition-tag { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.375rem; display: block; }
.edition-tag.blue { color: var(--blue-600); }
.edition-tag.amber { color: var(--amber-600); }
.edition-name { font-size: 0.8125rem; font-weight: 700; color: var(--slate-900); line-height: 1.35; margin-bottom: 0.5rem; flex: 1; }
.edition-desc { font-size: 0.7rem; color: var(--slate-500); line-height: 1.6; margin-bottom: 0.75rem; }
.btn-edition {
    width: 100%; padding: 0.625rem; border-radius: 10px;
    font-size: 0.75rem; font-weight: 700; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 0.375rem;
    transition: all 0.2s; border: none;
}
.btn-edition.dark { background: var(--slate-900); color: white; }
.btn-edition.dark:hover { background: var(--blue-600); }
.btn-edition.amber { background: var(--amber-400); color: var(--slate-900); }
.btn-edition.amber:hover { background: var(--amber-500); }
.btn-edition svg { width: 14px; height: 14px; }

/* --- Page Navbar (boletin/revista) --- */
.page-nav { background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
.page-nav .nav-title { color: var(--blue-900); }
.page-nav .nav-subtitle { color: var(--slate-500); }
.page-nav .nav-link { color: var(--slate-600); }
.page-nav .mobile-menu-btn { color: var(--slate-900); }

/* --- Dark Footer --- */
.footer-dark { background: var(--slate-950); padding: 4rem 0 2rem; color: var(--slate-400); }
.footer-dark .footer-col h5 { color: white; }
.footer-dark .footer-col ul li a { color: var(--slate-400); }
.footer-dark .footer-col ul li a:hover { color: var(--blue-400); }
.footer-dark .footer-badge { background: rgba(30,58,138,0.4); border-color: rgba(30,58,138,0.5); }
.footer-dark .footer-badge p { color: var(--blue-300); }
.footer-dark .footer-badge a { color: var(--blue-300); }
.footer-dark .footer-bottom { border-color: var(--slate-800); }
.footer-dark .footer-copy { color: var(--slate-500); }
.footer-dark .footer-credit a { color: var(--slate-300); }
.footer-dark .footer-credit a:hover { color: var(--blue-400); }

/* --- Responsive --- */
@media (min-width: 640px) {
    .about-features { grid-template-columns: 1fr 1fr; }
    .ejes-grid { grid-template-columns: 1fr 1fr; }
    .speakers-grid { grid-template-columns: 1fr 1fr; }
    .comites-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
    .footer-brand { grid-column: span 1; }
}
@media (min-width: 768px) {
    .nav-links { display: flex; }
    .mobile-menu-btn { display: none; }
    .about-grid { grid-template-columns: 1fr 1fr; }
    .ejes-grid { grid-template-columns: repeat(3, 1fr); }
    .speakers-grid { grid-template-columns: repeat(3, 1fr); }
    .fechas-grid { grid-template-columns: 1fr 1fr; }
    .sede-grid { grid-template-columns: 1fr 1fr; }
    .editions-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (max-width: 767px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
    .about-features { grid-template-columns: 1fr; }
    .ejes-grid { grid-template-columns: 1fr; }
    .speakers-grid { grid-template-columns: 1fr; }
    .fechas-grid { grid-template-columns: 1fr; }
    .comites-grid { grid-template-columns: 1fr; }
    .sede-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .editions-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .about-date-badge { display: none; }
    .contact-inner { padding: 2rem; }
    .cientifico-grid { grid-template-columns: 1fr; }
    .schedule-item { flex-direction: column; }
    .schedule-time { min-width: unset; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
