/* ===========================================================
   Semana de la Competencia — Portal
   Hoja de estilos compartida
   Paleta: marino #003876 · azul #4158D0 · rojo #DE0707
   Tipografía: Barlow (texto) · Barlow Condensed (números/etiquetas)
              Dancing Script (marca del evento)
   =========================================================== */

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Barlow', system-ui, sans-serif;
  color: #0e1726;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: #4158D0; text-decoration: none; }
a:hover { color: #003876; }
::selection { background: #DE0707; color: #fff; }
img { display: block; max-width: 100%; }

/* Textos justificados con división silábica (lang="es") para bordes parejos */
p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }

/* Pantallas grandes: el diseño está en px, así que se escala completo en proporción
   en vez de dejar franjas vacías a los lados. */
@media (min-width: 1600px) { html { zoom: 1.1; } }
@media (min-width: 1800px) { html { zoom: 1.2; } }
@media (min-width: 2100px) { html { zoom: 1.35; } }
@media (min-width: 2500px) { html { zoom: 1.55; } }

/* ---------- Variables ---------- */
:root {
  --marino: #003876;
  --azul: #4158D0;
  --azul-claro: #6f8bff;
  --rojo: #DE0707;
  --tinta: #0e1726;
  --gris: #5a6577;
  --gris-claro: #f6f8fc;
  --borde: #eef1f6;
  --maxw: 1240px;
}

/* ---------- Utilidades ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: 28px; padding-right: 28px; }
.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; letter-spacing: .16em; font-size: 15px; color: var(--rojo);
  text-transform: uppercase;
}
.script { font-family: 'Dancing Script', cursive; }
.section-title { font-size: 42px; font-weight: 800; color: var(--marino); line-height: 1.08; letter-spacing: -.01em; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto; }
.section-head p { text-align-last: center; margin-top: 14px; font-size: 16px; color: var(--gris); line-height: 1.55; }
.section-head .section-title { margin-top: 12px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 16px; padding: 15px 26px;
  border-radius: 999px; cursor: pointer; border: none; line-height: 1;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { font-size: 14px; padding: 11px 20px; }
.btn-red { background: var(--rojo); color: #fff; box-shadow: 0 14px 30px -12px rgba(222,7,7,.6); }
.btn-red:hover { color: #fff; }
.btn-outline { background: #fff; color: var(--marino); border: 1.5px solid #d6ddec; }
.btn-outline:hover { color: var(--marino); }
.btn-ghost { background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { color: #fff; }
.btn .lucide { width: 20px; height: 20px; }
.btn-sm .lucide { width: 16px; height: 16px; }

/* ---------- Iconos ---------- */
.lucide { width: 22px; height: 22px; stroke-width: 2; vertical-align: middle; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--borde);
  transition: box-shadow .3s ease, background .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -14px rgba(0,56,118,.45); background: rgba(255,255,255,.97); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 54px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 9px 13px; border-radius: 8px; font-size: 14.5px; font-weight: 600; color: #334; white-space: nowrap; }
.nav-links a:hover { background: var(--gris-claro); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-back { font-weight: 700; font-size: 14px; color: var(--marino); padding: 10px 12px; display: inline-flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; color: var(--marino); }
.nav-mobile { display: none; border-top: 1px solid var(--borde); padding: 10px 24px 18px; flex-direction: column; gap: 2px; }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 12px 8px; font-size: 16px; font-weight: 600; color: #223; border-bottom: 1px solid #f4f6fa; }

/* ---------- Fondos decorativos ---------- */
.hex-bg { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--borde); }
.hero.light { background: linear-gradient(180deg, #f7f9fd, #ffffff); }
.hero.dark { background: linear-gradient(160deg, #003876, #0a2a55); color: #fff; }
/* Fondo más profundo para que resalte el “2” azul del logo del congreso */
.hero.dark.deep { background: linear-gradient(160deg, #0a2140, #04142b); }
.hero-grid {
  position: relative; display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 48px; align-items: center; padding-top: 70px; padding-bottom: 84px;
}
.hero-grid.solo { grid-template-columns: 1fr; }
.hero-grid.solo .hero-lead, .hero-grid.solo .page-lead { max-width: 820px; }
.hero-script { font-family: 'Dancing Script', cursive; font-weight: 600; font-size: 44px; color: var(--rojo); line-height: .9; margin-left: 6px; }
.hero h1.brand-title { font-family: 'Dancing Script', cursive; font-weight: 700; font-size: 104px; color: var(--marino); line-height: .86; margin-top: 2px; }
/* Logo oficial del evento en el hero */
.hero-logo { line-height: 0; }
.hero-logo img { width: 100%; max-width: 560px; height: auto; }
/* Hero de la edición 2026: fondo claro como el del logo, con los arcos del logo como trazo de fondo */
.hero.edition { background: linear-gradient(180deg, #ffffff, #f4f8fd); }
.hero.edition::before, .hero.edition::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero.edition::before { width: 760px; height: 760px; right: -220px; top: -180px; border: 46px solid rgba(140,207,240,.16); }
.hero.edition::after { width: 560px; height: 560px; right: -120px; top: -80px; border: 3px solid rgba(21,88,154,.12); border-left-color: transparent; transform: rotate(-30deg); }
.edition-logo img { max-width: 600px; }
.hero-logo-dark img { width: 100%; max-width: 620px; height: auto; }
.hero-lead { margin-top: 24px; font-size: 19px; line-height: 1.55; color: #3a4557; max-width: 520px; text-wrap: pretty; }
.hero.dark .hero-lead { color: #dfe6f5; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 34px; display: flex; align-items: center; gap: 14px; color: var(--gris); font-size: 15px; font-weight: 600; flex-wrap: wrap; }
.hero-meta .lucide { color: var(--azul); }
.hero.dark .hero-meta { color: #dfe6f5; }
.hero.dark .hero-meta .lucide { color: #ffd0d0; }
.dot-sep { width: 5px; height: 5px; border-radius: 50%; background: #c7cede; }

/* Hexágono con imagen */
.hex-photo-wrap { position: relative; width: 100%; aspect-ratio: 1 / 1.08; max-width: 440px; margin: 0 auto; }
.hex-photo {
  position: absolute; inset: 0;
  clip-path: polygon(50% 0, 100% 26%, 100% 74%, 50% 100%, 0 74%, 0 26%);
  background: linear-gradient(150deg, #4158D0, #003876); padding: 9px;
}
.hex-photo-inner {
  width: 100%; height: 100%;
  clip-path: polygon(50% 0, 100% 26%, 100% 74%, 50% 100%, 0 74%, 0 26%);
  overflow: hidden; background: #eef1f6;
}
.hex-photo-inner img { width: 100%; height: 100%; object-fit: cover; }
.hex-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #9aa8c0; font-size: 14px; text-align: center; padding: 20px; }

/* Hexágono decorativo (sin foto) */
.hex-deco {
  position: relative; width: 100%; aspect-ratio: 1 / 1.08; max-width: 440px; margin: 0 auto;
  clip-path: polygon(50% 0, 100% 26%, 100% 74%, 50% 100%, 0 74%, 0 26%);
  background: linear-gradient(150deg, #4158D0, #003876);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 30px 60px -30px rgba(0,56,118,.5);
}
.hex-deco::before {
  content: ""; position: absolute; inset: 0; opacity: .16;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='56' height='96' viewBox='0 0 56 96'><path d='M28 0l28 16v32L28 64 0 48V16z' fill='none' stroke='%23ffffff' stroke-width='1'/></svg>");
  background-size: 56px 96px;
}
.hex-deco .lucide { width: 118px; height: 118px; color: rgba(255,255,255,.92); stroke-width: 1.3; }

/* Chips flotantes */
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.chip {
  position: absolute; background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 18px 40px -18px rgba(0,56,118,.4); animation: floaty 5s ease-in-out infinite;
}
.chip .big { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 30px; color: var(--rojo); line-height: 1; }
.chip .lbl { font-size: 12px; font-weight: 600; color: var(--gris); }
.chip.blue { background: var(--marino); color: #fff; }
.chip.blue .big { color: #fff; }
.chip.blue .lbl { color: rgba(255,255,255,.85); }
.chip.a { top: 6%; left: -6%; }
.chip.b { bottom: 9%; right: -5%; animation-delay: .8s; }
.chip.c { bottom: -4%; left: 8%; animation-delay: .4s; display: flex; align-items: center; gap: 10px; }
.chip.c .lucide { color: var(--azul); }
.chip.c div { font-size: 13px; font-weight: 700; color: var(--marino); line-height: 1.15; }

/* ---------- Flyer edición ---------- */
.flyer {
  position: relative; overflow: hidden; border-radius: 30px;
  background: linear-gradient(135deg, #003876, #4158D0); color: #fff; padding: 56px;
}
.flyer-grid { position: relative; display: grid; grid-template-columns: 1.35fr .65fr; gap: 36px; align-items: center; }
.flyer .script { font-size: 32px; color: #ffd0d0; line-height: .9; }
.flyer h2 { font-size: 52px; font-weight: 800; line-height: 1.02; margin-top: 8px; letter-spacing: -.01em; }
.flyer p { margin-top: 16px; font-size: 18px; line-height: 1.55; color: #dfe6f5; max-width: 540px; text-wrap: pretty; }
.flyer-cta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; }
.flyer-facts { display: flex; flex-direction: column; gap: 14px; }
.fact {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; padding: 16px 18px;
}
.fact .lucide { color: #ffd0d0; flex: 0 0 auto; }
.fact .k { font-size: 12px; color: #c9d5ee; font-weight: 600; letter-spacing: .02em; }
.fact .v { font-size: 17px; font-weight: 800; }

/* ---------- Carruseles (marquee) ---------- */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-mask {
  position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: 18px; width: max-content; padding: 0 9px; }
.marquee-track.slow { animation: marquee 42s linear infinite; }
.marquee-track.med { animation: marquee 40s linear infinite; }
.marquee-track.allies { gap: 26px; animation: marquee 34s linear infinite; }
.marquee-mask:hover .marquee-track { animation-play-state: paused; }

/* Aliados */
.ally {
  flex: 0 0 auto; width: 190px; height: 96px; border: 1px solid var(--borde);
  border-radius: 14px; background: #fbfcfe; display: flex; align-items: center; justify-content: center; padding: 14px;
}
.ally span { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 19px; letter-spacing: .04em; color: #9aa5b6; }

/* Cifras */
.stat-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.stat-card {
  width: auto; background: #fff; border: 1px solid var(--borde);
  border-radius: 18px; padding: 26px 18px; text-align: center;
  box-shadow: 0 16px 34px -28px rgba(0,56,118,.5);
  transition: transform .25s, box-shadow .25s, border-color .25s, background .25s;
}
.stat-card:hover { transform: translateY(-4px); background: var(--azul); box-shadow: 0 26px 46px -26px rgba(0,56,118,.55); border-color: var(--azul); }
.stat-card .lucide { color: var(--azul); transition: color .25s; }
.stat-card .num { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 46px; line-height: 1; margin-top: 10px; color: var(--marino); transition: color .25s; }
.stat-card .lbl { margin-top: 6px; font-size: 13.5px; font-weight: 600; color: var(--gris); transition: color .25s; }
.stat-card:hover .lucide, .stat-card:hover .num, .stat-card:hover .lbl { color: #fff; }

/* Temáticas */
.tema-card {
  flex: 0 0 auto; width: 256px; display: block; background: #fff; border: 1px solid #e6ebf4;
  border-radius: 16px; padding: 24px 22px; box-shadow: 0 16px 34px -28px rgba(0,56,118,.5);
  text-align: center; color: inherit; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.tema-card:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -26px rgba(0,56,118,.55); border-color: #cdd7ea; color: inherit; }
.tema-card .dot { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--azul); margin: 0 auto 16px; }
.tema-card .year { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 32px; line-height: 1; }
.tema-card .theme { margin-top: 8px; font-weight: 800; font-size: 16.5px; color: var(--tinta); }
.tema-card .note { margin-top: 6px; font-size: 13.5px; color: #6b7688; line-height: 1.45; }
.tema-card .more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: var(--rojo); }
.tema-card .more .lucide { width: 16px; height: 16px; }

/* ---------- Secciones con fondo ---------- */
.section { padding-top: 88px; padding-bottom: 88px; }
.bg-soft { background: var(--gris-claro); border-top: 1px solid var(--borde); border-bottom: 1px solid var(--borde); }
.bg-marino { background: linear-gradient(160deg, #003876, #0a2a55); color: #fff; }

/* ---------- Tarjetas de edición ---------- */
.ed-grid { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ed-card {
  display: block; border-radius: 22px; overflow: hidden; background: #fff; border: 1px solid var(--borde);
  box-shadow: 0 20px 40px -28px rgba(0,56,118,.35); transition: transform .35s, box-shadow .35s; color: inherit;
}
.ed-card:hover { transform: translateY(-6px); box-shadow: 0 30px 55px -28px rgba(0,56,118,.5); color: inherit; }
.ed-media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: #e9edf5; }
.ed-media img { width: 100%; height: 100%; object-fit: cover; }
.ed-badge {
  position: absolute; top: 14px; left: 14px; color: #fff;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: .03em;
  padding: 6px 14px; border-radius: 999px;
}
.ed-body { padding: 24px; }
.ed-body h3 { font-weight: 800; font-size: 20px; color: var(--marino); }
.ed-body p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--gris); }
.ed-link { margin-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--rojo); }

/* ---------- Videos ---------- */
.vid-grid { margin-top: 44px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; }
.vid-main { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: #0e1726; cursor: pointer; }
.vid-main img { width: 100%; height: 100%; object-fit: cover; }
.vid-overlay {
  position: absolute; inset: 0; pointer-events: none; padding: 28px;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72));
  display: flex; flex-direction: column; justify-content: flex-end;
}
.play-btn { width: 70px; height: 70px; border-radius: 50%; background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.play-btn .lucide { color: var(--rojo); }
.vid-overlay .t { color: #fff; font-weight: 800; font-size: 24px; }
.vid-overlay .s { color: #d6ddec; font-size: 14px; margin-top: 4px; }
.vid-list { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.vid-item { flex: 1; display: flex; gap: 14px; align-items: center; background: var(--gris-claro); border: 1px solid var(--borde); border-radius: 16px; padding: 12px; cursor: pointer; }
.vid-thumb { position: relative; width: 118px; height: 74px; flex: 0 0 auto; border-radius: 11px; overflow: hidden; background: #e2e8f2; }
.vid-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vid-thumb .mini { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.vid-thumb .mini span { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: flex; align-items: center; justify-content: center; }
.vid-thumb .mini .lucide { width: 16px; height: 16px; color: var(--rojo); }
.vid-item .t { font-weight: 800; font-size: 15.5px; color: var(--tinta); line-height: 1.25; }
.vid-item .m { margin-top: 4px; font-size: 13px; color: #6b7688; }

/* ---------- Footer ---------- */
.site-footer { background: #0a2140; color: #c8d3e6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 30px; }
.footer-grid.slim { grid-template-columns: 1.6fr 1fr 1.2fr; padding-top: 60px; }
.site-footer img { height: 56px; width: auto; filter: brightness(0) invert(1); } /* logo en blanco sobre el fondo oscuro */
.footer-about { margin-top: 18px; font-size: 14.5px; line-height: 1.6; max-width: 340px; color: #93a3bd; }
.socials { margin-top: 20px; display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #c8d3e6; }
.socials a:hover { background: rgba(255,255,255,.16); color: #fff; }
.footer-col h4 { font-weight: 800; color: #fff; font-size: 15px; letter-spacing: .02em; }
.footer-col .links { margin-top: 16px; display: flex; flex-direction: column; gap: 11px; }
.footer-col .links a { color: #a9b7cf; font-size: 14.5px; }
.footer-col .links a:hover { color: #fff; }
.footer-contact { margin-top: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; color: #a9b7cf; }
.footer-contact div { display: flex; gap: 10px; }
.footer-contact .lucide { color: #7f97e8; flex: 0 0 auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; padding-bottom: 20px; font-size: 13px; color: #7f8ea8; }

/* ===========================================================
   Páginas internas (Congreso · Jueces · Edición 2026)
   =========================================================== */
.page-h1 { font-size: 60px; font-weight: 900; color: var(--marino); line-height: 1.02; letter-spacing: -.02em; margin-top: 22px; }
.hero.dark .page-h1 { color: #fff; }
.page-lead { margin-top: 20px; font-size: 19px; line-height: 1.55; color: #3a4557; max-width: 560px; text-wrap: pretty; }
.hero.dark .page-lead { color: #dfe6f5; }

/* Grids reutilizables */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-2.wide-left { grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Cajas de ejes / features */
.feature { background: var(--gris-claro); border: 1px solid var(--borde); border-radius: 14px; padding: 18px; }
.feature .lucide { color: var(--azul); }
.feature .t { margin-top: 12px; font-weight: 800; font-size: 16px; color: var(--tinta); line-height: 1.2; }

/* Objetivos sobre marino */
.obj-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 26px; backdrop-filter: blur(6px); }
.obj-card .lucide { color: #7f97e8; }
.obj-card h3 { margin-top: 14px; font-size: 19px; font-weight: 800; }
.obj-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: #c3cfe6; }

/* Programa */
.program { display: flex; flex-direction: column; gap: 14px; max-width: 920px; margin: 44px auto 0; }
.program-item { display: flex; gap: 22px; align-items: center; background: #fff; border: 1px solid var(--borde); border-radius: 16px; padding: 22px 26px; }
.program-time { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 74px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; color: var(--rojo); line-height: 1.1; padding: 0; }
.program-sep { width: 1px; align-self: stretch; background: var(--borde); }
.tag { display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .06em; font-size: 12px; color: var(--azul); background: rgba(65,88,208,.1); padding: 3px 9px; border-radius: 6px; }
.program-item h3 { margin-top: 8px; font-size: 19px; font-weight: 800; color: var(--tinta); line-height: 1.25; }
.program-item p { margin-top: 4px; font-size: 14.5px; color: #6b7688; }
.program-item h3:first-child { margin-top: 0; }
/* Hora de inicio grande y hora de fin debajo, más pequeña */
.program-time { flex-direction: column; width: 84px; }
.program-time small { display: block; margin-top: 4px; font-family: 'Barlow', sans-serif; font-weight: 600; font-size: 12.5px; color: #6b7688; white-space: nowrap; }
.program-item:hover .program-time small { color: rgba(255,255,255,.85); }
/* Encabezado de día dentro del programa */
.program-day { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--marino); }
.program-day:first-child { margin-top: 0; }
.program-day .lucide { color: var(--rojo); }

/* Panelistas */
.people { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.person { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--borde); border-radius: 18px; padding: 20px; box-shadow: 0 14px 30px -26px rgba(0,56,118,.4); }
.person .avatar { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #e9edf5; }
.person .avatar img { width: 100%; height: 100%; object-fit: cover; }
.person .role-tag { color: var(--azul); background: rgba(65,88,208,.12); display: inline-block; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .06em; font-size: 11.5px; padding: 3px 9px; border-radius: 6px; }
.person .name { margin-top: 8px; font-weight: 800; font-size: 16.5px; color: var(--tinta); line-height: 1.15; }
.person .role { margin-top: 3px; font-size: 13.5px; color: #6b7688; line-height: 1.35; }

/* Módulos numerados */
.modules { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.module { display: flex; gap: 22px; align-items: flex-start; background: #fff; border: 1px solid var(--borde); border-radius: 16px; padding: 24px 26px; }
.module .n { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; background: var(--marino); color: #fff; display: flex; align-items: center; justify-content: center; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 24px; }
.module h3 { font-size: 19px; font-weight: 800; color: var(--tinta); line-height: 1.25; }
.module p { margin-top: 6px; font-size: 14.5px; color: #6b7688; line-height: 1.5; }

/* Info chips (edición 2026) */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.info-grid.three { grid-template-columns: repeat(3, 1fr); }
.info-chip { display: flex; gap: 14px; align-items: center; background: var(--gris-claro); border: 1px solid var(--borde); border-radius: 16px; padding: 18px 20px; }
.info-chip .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 11px; background: rgba(65,88,208,.1); display: flex; align-items: center; justify-content: center; }
.info-chip .ic .lucide { color: var(--azul); }
.info-chip .k { font-size: 12px; color: #8892a3; font-weight: 700; letter-spacing: .04em; }
.info-chip .v { font-size: 16px; font-weight: 800; color: var(--tinta); }

/* Tarjetas de actividad grandes */
.act-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.act-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--borde); border-radius: 20px; padding: 38px; color: inherit; }
.act-card:hover { color: inherit; }
.act-top { display: flex; align-items: center; justify-content: space-between; }
.act-ic { width: 58px; height: 58px; border-radius: 15px; display: flex; align-items: center; justify-content: center; }
.act-pill { display: inline-flex; align-items: center; gap: 6px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .06em; font-size: 12.5px; padding: 5px 11px; border-radius: 999px; }
.act-pill .lucide { width: 16px; height: 16px; }
.act-card h3 { margin-top: 22px; font-size: 21px; font-weight: 800; color: var(--tinta); }
.act-card p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--gris); text-wrap: pretty; flex: 1; -webkit-hyphens: manual; hyphens: manual; }
/* Tarjeta con logo propio de la actividad */
.act-card.has-logo { padding: 0; }
.act-logo {
  height: 136px; padding: 22px 26px; display: flex; align-items: center; justify-content: center;
  background: var(--gris-claro); border-bottom: 1px solid var(--borde); border-radius: 19px 19px 0 0;
}
.act-logo.dark { background: linear-gradient(160deg, #0a2140, #04142b); border-bottom-color: #0a2140; }
.act-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.act-body { flex: 1; display: flex; flex-direction: column; padding: 24px 26px 28px; }
.act-body h3 { margin-top: 0; }
.act-more { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--rojo); }

/* Contador */
.countdown-box { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 24px; padding: 34px 30px; backdrop-filter: blur(6px); max-width: 460px; margin: 0 auto; }
.countdown-box.solid {
  position: relative; background: linear-gradient(150deg, #15589a, #003876); border-color: transparent;
  box-shadow: 0 30px 60px -32px rgba(0,56,118,.6);
}
.countdown-title { display: flex; align-items: center; justify-content: center; gap: 9px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .14em; font-size: 14px; color: #ffd0d0; }
.countdown-title .lucide { width: 18px; height: 18px; }
.countdown-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cd-cell { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 16px 6px; text-align: center; }
.cd-cell .cd-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 48px; line-height: 1; color: #fff; }
.cd-cell .cd-lbl { margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: #aebde0; text-transform: uppercase; }
.countdown-date { margin-top: 22px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 600; color: #dfe6f5; }
.countdown-date .lucide { color: #ffd0d0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Tarjetas con el mismo hover que las cifras del portal (.stat-card) ----------
   Mismos valores: sube 4px, se pone azul y crece la sombra, todo en .25s.
   El desplazamiento usa la propiedad `translate` (no `transform`) para no chocar con
   la aparición al hacer scroll (.reveal), y este bloque va después de .reveal para
   que su `transition` prevalezca sin perder la de la aparición. */
.feature, .program-item, .module, .info-chip, .person, .act-card {
  transition: opacity .7s ease, transform .7s ease,
    translate .25s, box-shadow .25s, border-color .25s, background .25s;
}
.feature *, .program-item *, .module *, .info-chip *, .person * { transition: color .25s, background .25s; }
.feature:hover, .program-item:hover, .module:hover, .info-chip:hover, .person:hover, .act-card:hover {
  translate: 0 -4px; box-shadow: 0 26px 46px -26px rgba(0,56,118,.55);
}
.feature:hover, .program-item:hover, .module:hover, .info-chip:hover, .person:hover {
  background: var(--azul); border-color: var(--azul);
}
.act-card:hover { border-color: #dfe6f5; }
.feature:hover .lucide, .feature:hover .t,
.program-item:hover .program-time, .program-item:hover h3, .program-item:hover p,
.module:hover h3, .module:hover p,
.info-chip:hover .k, .info-chip:hover .v, .info-chip:hover .ic .lucide,
.person:hover .name, .person:hover .role { color: #fff; }
.program-item:hover .program-sep { background: rgba(255,255,255,.25); }
.program-item:hover .tag, .person:hover .role-tag { color: #fff; background: rgba(255,255,255,.18); }
.module:hover .n { background: #fff; color: var(--azul); }
.info-chip:hover .ic { background: rgba(255,255,255,.16); }
.person:hover .avatar { background: rgba(255,255,255,.2); }
.person:hover .hex-placeholder { color: #fff; }

/* ---------- Menú desplegable "Ediciones" ---------- */
.dropdown { position: relative; }
.dropdown-toggle { cursor: pointer; }
.dropdown-toggle .lucide { width: 16px; height: 16px; transition: transform .2s; }
.dropdown.open .dropdown-toggle .lucide { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute; top: calc(100% + 10px); right: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--borde); border-radius: 14px;
  box-shadow: 0 22px 46px -18px rgba(0,56,118,.4); padding: 8px;
  display: none; flex-direction: column; gap: 2px; z-index: 60;
}
.dropdown.open .dropdown-menu { display: flex; }
.dropdown-menu a { padding: 11px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: #223; display: flex; align-items: center; gap: 10px; }
.dropdown-menu a:hover { background: var(--gris-claro); color: var(--marino); }
.dropdown-menu a .yr { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 18px; color: var(--rojo); min-width: 46px; }

/* ---------- Banner 2026 dentro del hero (portal) ---------- */
.hero-banner {
  position: relative; overflow: hidden; border-radius: 24px;
  background: #003876; color: #fff;
  padding: 34px 32px; box-shadow: 0 30px 60px -30px rgba(0,56,118,.5);
}
.hero-banner .script { font-family: 'Dancing Script', cursive; font-weight: 600; font-size: 26px; color: #ffd0d0; line-height: .9; }
.hero-banner h2 { font-size: 42px; font-weight: 800; line-height: 1; margin-top: 6px; letter-spacing: -.01em; }
.hero-banner p { margin-top: 12px; font-size: 15px; color: #dfe6f5; line-height: 1.5; text-wrap: pretty; }
.hero-banner .facts { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.hero-banner .btn { margin-top: 20px; }
.hero-banner .countdown-grid { margin-top: 22px; gap: 10px; }
.hero-banner .cd-cell { padding: 14px 4px 12px; }
.hero-banner .cd-cell .cd-num { font-size: 42px; font-variant-numeric: tabular-nums; }
.banner-when { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 600; color: #dfe6f5; }
.banner-when span { display: inline-flex; align-items: center; gap: 7px; }
.banner-when .lucide { width: 17px; height: 17px; color: #ffd0d0; }

/* ---------- Tarjeta de registro dentro del hero (actividades) ---------- */
.hero-grid.reg { grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 56px; }
.reg-card {
  position: relative; overflow: hidden; border-radius: 24px; scroll-margin-top: 110px;
  background: linear-gradient(150deg, #003876, #4158D0); color: #fff;
  padding: 30px 28px 26px; box-shadow: 0 30px 60px -30px rgba(0,56,118,.55);
}
.reg-card::before {
  content: ""; position: absolute; width: 260px; height: 260px; right: -110px; top: -110px; border-radius: 50%;
  border: 26px solid rgba(255,255,255,.06); pointer-events: none;
}
.reg-card > * { position: relative; }
.reg-card .script { font-weight: 600; font-size: 26px; color: #ffd0d0; line-height: .9; }
.reg-card h2 { font-size: 30px; font-weight: 800; line-height: 1.05; margin-top: 6px; letter-spacing: -.01em; }
.reg-facts { list-style: none; margin: 20px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.reg-facts li { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.reg-facts .ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.reg-facts .lucide { width: 17px; height: 17px; color: #ffd0d0; }
.reg-facts .k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.reg-facts .v { display: block; margin-top: 1px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.reg-card .btn { width: 100%; justify-content: center; margin-top: 22px; }
/* Variante más ancha con cuenta regresiva (edición 2026) */
.hero-grid.reg.wide { grid-template-columns: minmax(0, 1fr) minmax(360px, 470px); }
.reg-countdown { margin-top: 20px; }
.reg-countdown .countdown-title { justify-content: flex-start; font-size: 13px; }
.reg-countdown .countdown-grid { margin-top: 12px; gap: 10px; }
.reg-countdown .cd-cell { padding: 14px 4px 12px; }
.reg-countdown .cd-cell .cd-num { font-size: 42px; font-variant-numeric: tabular-nums; }
.reg-countdown .cd-cell .cd-lbl { color: rgba(255,255,255,.75); }
.reg-note { margin-top: 12px; text-align: center; font-size: 13px; color: rgba(255,255,255,.7); }
/* Sobre el hero oscuro del congreso: tarjeta de vidrio para que se funda con el fondo */
.hero.dark .reg-card {
  background: linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.theme-genero .reg-card { background: linear-gradient(150deg, #1d3567, #4a2160); box-shadow: 0 30px 60px -30px rgba(74,33,96,.6); }
.theme-genero .reg-card .script, .theme-genero .reg-facts .lucide { color: #ffc2d0; }

/* ---------- Aliados (estáticos con descripción dentro de la tarjeta) ---------- */
.ally-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ally-card {
  position: relative; overflow: hidden; height: 104px; border: 1px solid var(--borde); border-radius: 16px;
  background: #fbfcfe; display: flex; align-items: center; justify-content: center; padding: 16px;
  cursor: default; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.ally-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0,56,118,.4); border-color: #cdd7ea; }
.ally-card > span { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 20px; letter-spacing: .04em; color: #7c8aa0; text-align: center; transition: opacity .2s ease; }
.ally-tip {
  position: absolute; inset: 0; background: var(--marino); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 14px; text-align: center; font-size: 12.5px; line-height: 1.4;
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.ally-tip strong { display: block; font-family: 'Barlow Condensed', sans-serif; font-size: 17px; letter-spacing: .03em; margin-bottom: 5px; }
.ally-card:hover > span { opacity: 0; }
.ally-card:hover .ally-tip { opacity: 1; }

/* ===========================================================
   III Foro Internacional sobre Género y Competencia
   Acento rosa / ciruela tomado del logo del foro. Todo va bajo
   .theme-genero para no alterar el resto del sitio.
   =========================================================== */
.theme-genero {
  --rojo: #c73a5c;      /* rosa del logo, oscurecido para contraste AA sobre blanco */
  --azul: #5b2d6e;      /* ciruela del "3" */
  --rosa-claro: #fbeef2;
}
.theme-genero .btn-red { box-shadow: 0 14px 30px -12px rgba(199,58,92,.55); }
.theme-genero .tag,
.theme-genero .person .role-tag { color: var(--azul); background: rgba(91,45,110,.1); }
.theme-genero .feature:hover,
.theme-genero .module:hover,
.theme-genero .program-item:hover { box-shadow: 0 26px 46px -26px rgba(91,45,110,.6); }

.hero.genero { background: linear-gradient(180deg, #fdf6f8, #ffffff); }
.hero.genero::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -160px; border-radius: 50%;
  border: 46px solid rgba(220,79,108,.08); pointer-events: none;
}

/* Tres ejes temáticos */
.pillar { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--borde); border-radius: 14px; padding: 20px 22px; }
.pillar-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 12px; background: var(--rosa-claro); display: flex; align-items: center; justify-content: center; }
.pillar-ic .lucide { color: var(--rojo); }
.pillar .t { font-weight: 800; font-size: 18px; color: var(--tinta); }
.pillar p { margin-top: 5px; font-size: 14.5px; line-height: 1.5; color: var(--gris); text-wrap: pretty; }

/* Banda "¿Por qué importa?" */
.genero-band { background: linear-gradient(160deg, #1d3567, #3a1f4f); }
.genero-band .obj-card .lucide { color: #ffb3c4; }
.genero-band .obj-card p { color: #e3d9ea; }
.big-stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; padding: 34px; text-align: center; }
.big-stat .num { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 104px; line-height: 1; color: #fff; }
.big-stat .num span { color: #ffb3c4; }
.big-stat .lbl { margin-top: 10px; font-size: 19px; font-weight: 700; color: #fff; line-height: 1.3; }
.big-stat .src { margin-top: 14px; font-size: 13px; color: #d6cce0; line-height: 1.45; }

/* Hover de las tarjetas del foro: mismo gesto que .feature/.module (sube 4px,
   se rellena de color y crece la sombra). Sobre blanco se rellena de ciruela;
   sobre la banda oscura, de rosa. Usa `translate` para no chocar con .reveal. */
.pillar, .genero-band .obj-card, .big-stat {
  transition: opacity .7s ease, transform .7s ease,
    translate .25s, box-shadow .25s, border-color .25s, background .25s;
}
.pillar *, .genero-band .obj-card *, .big-stat * { transition: color .25s, background .25s; }
.pillar:hover { translate: 0 -4px; background: var(--azul); border-color: var(--azul); box-shadow: 0 26px 46px -26px rgba(91,45,110,.6); }
.pillar:hover .t, .pillar:hover p { color: #fff; }
.pillar:hover .pillar-ic { background: rgba(255,255,255,.16); }
.pillar:hover .pillar-ic .lucide { color: #fff; }
.genero-band .obj-card:hover, .big-stat:hover {
  translate: 0 -4px; background: var(--rojo); border-color: var(--rojo);
  box-shadow: 0 26px 46px -24px rgba(0,0,0,.55);
}
.genero-band .obj-card:hover .lucide, .genero-band .obj-card:hover p,
.big-stat:hover .num span, .big-stat:hover .src { color: #fff; }

/* Trayectoria */
.timeline-card { background: #fff; border: 1px solid var(--borde); border-radius: 18px; padding: 28px 30px; box-shadow: 0 14px 30px -26px rgba(0,56,118,.4); }
.tl-head { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 17px; color: var(--tinta); }
.tl-head .yr { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 26px; color: var(--rojo); }
.timeline-card ul { margin-top: 16px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.timeline-card li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: #3a4557; }
.timeline-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--rojo); }

/* Logística */
.logistics { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.logi { display: flex; gap: 16px; align-items: flex-start; }
.logi-ic { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 12px; background: var(--rosa-claro); display: flex; align-items: center; justify-content: center; }
.logi-ic .lucide { color: var(--rojo); }
.logi .k { font-weight: 800; font-size: 16px; color: var(--tinta); }
.logi .v { margin-top: 3px; font-size: 15px; color: var(--gris); }
.genero-flyer { background: linear-gradient(150deg, #1d3567, #4a2160); }

/* ===========================================================
   Páginas de actividad con tema propio (Foro Centroamericano, GTCC-ALC)
   Reutilizan .pillar y .reg-card; cada tema redefine los acentos.
   =========================================================== */
/* Tarjeta lateral del hero sin botón de registro: solo datos del evento */
.reg-card.info-only .btn { background: rgba(255,255,255,.14); border: 1.5px solid rgba(255,255,255,.35); box-shadow: none; color: #fff; }
.reg-card.info-only .btn:hover { background: rgba(255,255,255,.22); color: #fff; }

/* Banda oscura con tarjetas que se rellenan del acento al pasar el cursor */
.theme-band .obj-card {
  transition: opacity .7s ease, transform .7s ease, translate .25s, box-shadow .25s, border-color .25s, background .25s;
}
.theme-band .obj-card * { transition: color .25s; }
.theme-band .obj-card:hover { translate: 0 -4px; box-shadow: 0 26px 46px -24px rgba(0,0,0,.55); }
.theme-band .obj-card:hover .lucide, .theme-band .obj-card:hover p { color: #fff; }

/* ---------- XX Foro Centroamericano de Competencia ----------
   Azul petróleo y dorado del logo. El dorado del logo (#c3ad06) no da contraste
   sobre blanco, así que para textos y botones se usa una versión oscurecida. */
.theme-centro {
  --rojo: #7d6f00;
  --azul: #14455f;
  --rosa-claro: #f7f3d8;   /* fondo de iconos de .pillar */
  --dorado: #c3ad06;
}
.theme-centro .btn-red { box-shadow: 0 14px 30px -12px rgba(125,111,0,.5); }
.theme-centro .tag { color: var(--azul); background: rgba(20,69,95,.1); }
.theme-centro .feature:hover, .theme-centro .program-item:hover, .theme-centro .pillar:hover { box-shadow: 0 26px 46px -26px rgba(20,69,95,.6); }
.hero.centro { background: linear-gradient(180deg, #fbfaf1, #ffffff); }
.hero.centro::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -160px; border-radius: 50%;
  border: 46px solid rgba(195,173,6,.09); pointer-events: none;
}
.theme-centro .reg-card { background: linear-gradient(150deg, #14455f, #0b2a3c); box-shadow: 0 30px 60px -30px rgba(11,42,60,.6); }
.theme-centro .reg-card .script, .theme-centro .reg-facts .lucide { color: #e6d24a; }
.centro-band { background: linear-gradient(160deg, #14455f, #0b2a3c); }
.centro-band .eyebrow { color: #e6d24a; }
.centro-band .obj-card .lucide { color: #e6d24a; }
.centro-band .obj-card p { color: #d3e0e8; }
.centro-band .obj-card:hover { background: #8c7c00; border-color: #8c7c00; }

/* ---------- XIII Reunión Anual GTCC-ALC ----------
   Índigo y rojo del logo, con la franja de cuatro colores como detalle. */
.theme-gtcc {
  --rojo: #d71920;
  --azul: #21175e;
  --rosa-claro: #eeedf7;
}
.theme-gtcc .btn-red { box-shadow: 0 14px 30px -12px rgba(215,25,32,.5); }
.theme-gtcc .tag { color: var(--azul); background: rgba(33,23,94,.1); }
.theme-gtcc .feature:hover, .theme-gtcc .program-item:hover, .theme-gtcc .pillar:hover { box-shadow: 0 26px 46px -26px rgba(33,23,94,.6); }
.hero.gtcc { background: linear-gradient(180deg, #f6f6fb, #ffffff); }
.hero.gtcc::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -160px; border-radius: 50%;
  border: 46px solid rgba(33,23,94,.05); pointer-events: none;
}
.theme-gtcc .reg-card { background: linear-gradient(150deg, #21175e, #3b2f8f); box-shadow: 0 30px 60px -30px rgba(33,23,94,.6); }
.theme-gtcc .reg-card .script, .theme-gtcc .reg-facts .lucide { color: #ffb3b6; }
.gtcc-band { background: linear-gradient(160deg, #21175e, #140d3d); }
.gtcc-band .eyebrow { color: #ffb3b6; }
.gtcc-band .obj-card .lucide { color: #8fc6ec; }
.gtcc-band .obj-card p { color: #d9d6ee; }
.gtcc-band .obj-card:hover { background: var(--rojo); border-color: var(--rojo); }
/* Franja de cuatro colores del logo */
.color-stripe { display: flex; height: 6px; width: 100%; }
.color-stripe span { flex: 1; }
.color-stripe span:nth-child(1) { background: #5aaee0; }
.color-stripe span:nth-child(2) { background: #d71920; }
.color-stripe span:nth-child(3) { background: #dfa717; }
.color-stripe span:nth-child(4) { background: #6699c9; }
.color-stripe.short { width: 160px; height: 5px; border-radius: 3px; overflow: hidden; }

/* ---------- Alineación de columnas ----------
   En las filas de dos columnas (heroes y secciones "Sobre…") ambas columnas
   empiezan y terminan en la misma línea: la más baja se estira y reparte su
   contenido en vez de quedar centrada. */
.hero-grid:not(.solo), .grid-2.wide-left { align-items: stretch; }
.hero-grid:not(.solo) > :first-child { display: flex; flex-direction: column; justify-content: space-between; }
/* Tarjetas del hero: el botón baja hasta el borde inferior */
.reg-card { display: flex; flex-direction: column; }
.reg-facts { margin-bottom: 22px; }
.reg-card .btn { margin-top: auto; }
/* Si la tarjeta se estira, las filas de datos crecen por igual en vez de dejar un hueco */
.reg-facts { flex: 1 0 auto; display: flex; flex-direction: column; }
.reg-facts li { flex: 1 0 auto; }
.reg-facts .v { font-size: 16px; }
.hero-grid > .reveal:has(> .hero-banner) { display: flex; }
.hero-banner { flex: 1; display: flex; flex-direction: column; }
.hero-banner > div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.hero-banner > div > * { align-self: stretch; }
.hero-banner > div > .btn { align-self: flex-start; margin-top: auto; }
.hero-banner .banner-countdown { margin-bottom: 20px; }
/* Secciones: las tarjetas de la columna se estiran hasta el alto de la fila */
.grid-2.wide-left > div[style*="flex-direction:column"] > .pillar { flex: 1; }
.grid-2.wide-left > * > .timeline-card { height: 100%; display: flex; flex-direction: column; }
.grid-2.wide-left > * > .timeline-card ul { flex: 1; justify-content: space-evenly; }
.grid-2.wide-left > * > .timeline-card li { font-size: 16px; }
.grid-2.wide-left > * > .big-stat { height: 100%; display: flex; flex-direction: column; justify-content: center; }
/* Texto que cierra la columna (p. ej. "Pregunta central"): se apoya en el borde inferior */
.col-text { display: flex; flex-direction: column; }
.col-text > .col-end { margin-top: auto; padding-top: 12px; }

/* ---------- Ejes temáticos con descripción (congreso) ---------- */
.ejes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.eje {
  display: flex; flex-direction: column; background: var(--gris-claro); border: 1px solid var(--borde);
  border-radius: 16px; padding: 22px 22px 24px;
  transition: opacity .7s ease, transform .7s ease, translate .25s, box-shadow .25s, border-color .25s, background .25s;
}
.eje * { transition: color .25s, background .25s; }
.eje-top { display: flex; align-items: flex-start; justify-content: space-between; }
.eje-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(65,88,208,.1); display: flex; align-items: center; justify-content: center; }
.eje-ic .lucide { color: var(--azul); }
.eje-n { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 30px; line-height: 1; color: rgba(0,56,118,.16); }
.eje .t { margin-top: 18px; font-weight: 800; font-size: 17px; line-height: 1.22; color: var(--tinta); }
.eje p { margin-top: 8px; font-size: 14.5px; line-height: 1.5; color: var(--gris); text-align: left; -webkit-hyphens: manual; hyphens: manual; text-wrap: pretty; }
.eje:hover { translate: 0 -4px; background: var(--azul); border-color: var(--azul); box-shadow: 0 26px 46px -26px rgba(0,56,118,.55); }
.eje:hover .t, .eje:hover p, .eje:hover .eje-ic .lucide { color: #fff; }
.eje:hover .eje-ic { background: rgba(255,255,255,.16); }
.eje:hover .eje-n { color: rgba(255,255,255,.4); }

/* Pregunta central destacada al pie de la columna de texto */
.pregunta { background: rgba(0,56,118,.045); border: 1px solid rgba(0,56,118,.1); border-radius: 14px; padding: 18px 22px; }
.pregunta .k { display: inline-flex; align-items: center; gap: 8px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .08em; font-size: 13px; text-transform: uppercase; color: var(--rojo); }
.pregunta .k .lucide { width: 17px; height: 17px; }
.pregunta p { margin-top: 6px; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--marino); text-align: left; -webkit-hyphens: manual; hyphens: manual; text-wrap: pretty; }

/* ---------- Responsive ---------- */
/* El menú pasa a hamburguesa antes que el resto del diseño: con el logo grande
   y los botones, el encabezado no cabe por debajo de ~1080px. */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-back { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .dropdown { display: none; }
}
@media (max-width: 960px) {
  .hero-grid, .flyer-grid, .vid-grid, .grid-2, .grid-2.wide-left { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { padding-top: 44px; }
  .hero-grid.reg, .hero-grid.reg.wide { grid-template-columns: 1fr; }
  /* En una columna, el botón del hero pasa debajo de la tarjeta (.cta-last) */
  .hero-grid.cta-last { row-gap: 0; }
  .hero-grid.cta-last > :first-child { display: contents; }
  .hero-grid.cta-last > .reg-card { margin-top: 36px; }
  .hero-grid.cta-last .hero-cta { order: 1; margin-top: 28px; }
  .reg-card { max-width: 480px; }
  .hero h1.brand-title { font-size: 74px; }
  .page-h1 { font-size: 48px; }
  .ed-grid, .grid-3, .people, .info-grid, .grid-4 { grid-template-columns: 1fr 1fr; }
  .act-grid { grid-template-columns: 1fr; }
  .ally-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid, .footer-grid.slim { grid-template-columns: 1fr 1fr; gap: 32px; }
  .flyer h2 { font-size: 38px; }
}
@media (max-width: 600px) {
  .brand img { height: 44px; }
  .hero h1.brand-title { font-size: 56px; }
  .page-h1 { font-size: 38px; }
  .ed-grid, .grid-3, .people, .act-grid, .info-grid, .info-grid.three, .grid-4, .footer-grid, .footer-grid.slim { grid-template-columns: 1fr; }
  .ally-grid { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .section-title { font-size: 32px; }
  .flyer, .hero-grid { padding-left: 22px; padding-right: 22px; }
  .flyer { padding: 34px 24px; }
  .nav-actions > .btn { display: none; }
  .big-stat { padding: 26px 20px; }
  .big-stat .num { font-size: 80px; }
  .pillar { padding: 18px; gap: 14px; }
  .ejes-grid { grid-template-columns: 1fr; }
  .hero-banner .countdown-grid { gap: 8px; }
  .hero-banner .cd-cell .cd-num { font-size: 34px; }
  .reg-countdown .countdown-grid { gap: 8px; }
  .reg-countdown .cd-cell .cd-num { font-size: 34px; }
}
