/* ─────────────────────────────────────────────────────────────────────────────
   EL CIELO EN MI CIUDAD · sistema Amanecer v1.0 (Cielo Design System, 260801).
   Port estático 1:1 de la landing editorial aprobada (Ship #3 del motor):
   mismos tokens, misma composición, cero dependencias.
   noche #0B1033 · soporte #1A2158 · ámbar #F2A93B · realce #FFD59E ·
   ámbar-texto-sobre-claro #8A5A12 (AA) · hueso #F7F4EE.
   ───────────────────────────────────────────────────────────────────────────── */
:root {
  --lx-night: #0B1033;
  --lx-mid: #1A2158;
  --lx-amber: #F2A93B;
  --lx-amber-light: #FFD59E;
  --lx-amber-dark: #8A5A12;
  --lx-bone: #F7F4EE;
  --grad-hero: linear-gradient(180deg, #0B1033 0%, #1A2158 42%, #7B3E52 74%, #F2A93B 100%);

  --lx-border-dark: color-mix(in srgb, var(--lx-bone) 15%, transparent);
  --lx-border-dark-soft: color-mix(in srgb, var(--lx-bone) 8%, transparent);
  --lx-border-light: color-mix(in srgb, var(--lx-night) 15%, transparent);

  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-marker: "IBM Plex Mono", monospace;

  --r: 12px; --r-lg: 20px; --r-pill: 999px;
  --lx-ease: cubic-bezier(.22, 1, .36, 1);
  --lx-container: 1220px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--lx-night);
  color: var(--lx-bone);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* la cifra fantasma se sale a propósito */
}
a { color: inherit; text-underline-offset: 3px; }
p { max-width: 60ch; margin: 0; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--lx-amber-light); outline-offset: 3px; border-radius: 6px; }
.tabular { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.lx-container { max-width: var(--lx-container); margin-inline: auto; padding-inline: 40px; }
@media (max-width: 720px) { .lx-container { padding-inline: 22px; } }

section { position: relative; padding-block: 110px; }
@media (max-width: 720px) { section { padding-block: 72px; } }
.lx-on-night { background: var(--lx-night); }
.lx-on-mid { background: var(--lx-mid); }
.lx-on-bone { background: var(--lx-bone); color: var(--lx-night); }
.lx-on-grad { background: var(--grad-hero); color: var(--lx-bone); }
.lx-seam { height: 1px; background: var(--lx-border-dark); }

/* ── voz señal (kicker mono) — 3 niveles tipográficos por pieza, máximo ── */
.lx-kicker {
  display: inline-block; margin: 0 0 22px;
  font-family: var(--font-marker); font-size: 12px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--lx-amber);
}
.lx-on-bone .lx-kicker { color: var(--lx-amber-dark); }

.lx-h1 {
  margin: 0 0 26px; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(48px, 10vw, 108px); line-height: .95; letter-spacing: -.03em; text-wrap: balance;
}
.lx-h2 {
  margin: 0 0 20px; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(30px, 4.6vw, 50px); line-height: 1.03; letter-spacing: -.022em; text-wrap: balance;
}
.lx-h3 {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(19px, 2.2vw, 24px); line-height: 1.2; letter-spacing: -.01em;
}
.lx-lead { font-size: clamp(16.5px, 1.8vw, 19px); color: color-mix(in srgb, var(--lx-bone) 80%, transparent); max-width: 50ch; }
.lx-on-bone .lx-lead { color: color-mix(in srgb, var(--lx-night) 72%, transparent); }

/* ── llamados a la acción: link editorial, nunca botón-caja de plantilla ── */
.lx-btn {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 2px 0; background: none; border: none; border-radius: 0;
  color: var(--lx-amber);
  font-family: var(--font-display); font-weight: 800; font-size: 16.5px; letter-spacing: -.005em;
  text-decoration: none; cursor: pointer;
  background-image: linear-gradient(var(--lx-amber), var(--lx-amber));
  background-position: 0 100%; background-repeat: no-repeat; background-size: 0% 1px;
  transition: background-size .3s var(--lx-ease), color .3s var(--lx-ease), gap .3s var(--lx-ease);
}
.lx-btn::after { content: "→"; font-weight: 400; transition: transform .3s var(--lx-ease); }
.lx-btn:hover { background-size: 100% 1px; gap: 12px; }
.lx-btn:hover::after { transform: translateX(2px); }
.lx-btn:active { opacity: .8; }
.lx-btn-ghost {
  color: color-mix(in srgb, var(--lx-bone) 82%, transparent);
  background-image: linear-gradient(var(--lx-bone), var(--lx-bone));
}
.lx-btn-ghost::after { content: none; }
.lx-btn-ghost:hover { color: var(--lx-bone); gap: 8px; }
.lx-on-bone .lx-btn-ghost { color: color-mix(in srgb, var(--lx-night) 78%, transparent); background-image: linear-gradient(var(--lx-night), var(--lx-night)); }
.lx-on-bone .lx-btn-ghost:hover { color: var(--lx-night); }

.lx-maplink {
  display: inline-flex; align-items: baseline; gap: 6px; margin-left: 4px;
  font-family: var(--font-marker); font-weight: 500; font-size: 12.5px; letter-spacing: .06em;
  color: var(--lx-amber-dark); text-decoration: none;
  background-image: linear-gradient(var(--lx-amber-dark), var(--lx-amber-dark));
  background-position: 0 100%; background-repeat: no-repeat; background-size: 0% 1px;
  transition: background-size .3s var(--lx-ease);
}
.lx-maplink:hover { background-size: 100% 1px; }

/* ── header de navegación (sitio multipágina estático) ── */
.top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  max-width: var(--lx-container); margin-inline: auto;
  padding: 22px 40px 0;
}
@media (max-width: 720px) { .top { padding: 18px 22px 0; } }
.top-logo img { height: 40px; width: auto; display: block; }
.top-nav { display: flex; align-items: center; gap: 26px; }
.top-nav a {
  font-family: var(--font-marker); font-size: 11.5px; letter-spacing: .18em;
  text-transform: uppercase; text-decoration: none;
  color: color-mix(in srgb, var(--lx-bone) 78%, transparent);
}
.top-nav a:hover, .top-nav a[aria-current="page"] { color: var(--lx-bone); }
.top-nav .lx-btn { font-size: 13px; }
.top-solid { position: static; padding-top: 22px; padding-bottom: 22px; background: var(--lx-night); }

/* ── menú móvil — hamburguesa + cajón a pantalla completa.
   Antes los links (Agenda/Momentos/Info) simplemente se ocultaban bajo
   720px y solo quedaba el botón de CTA — Ed reportó que no podía
   navegar el sitio desde el celular. ── */
.top-burger {
  display: none; flex: 0 0 auto; width: 34px; height: 34px; border: 0; background: none;
  cursor: pointer; padding: 0; position: relative; z-index: 91;
}
.top-burger span {
  position: absolute; left: 6px; right: 6px; height: 2px; background: var(--lx-bone);
  border-radius: 2px; transition: transform .3s var(--lx-ease), opacity .2s var(--lx-ease), top .3s var(--lx-ease);
}
.top-burger span:nth-child(1) { top: 12px; }
.top-burger span:nth-child(2) { top: 20px; }
.top-burger span:nth-child(3) { top: 28px; }
.top-burger.abierto span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.top-burger.abierto span:nth-child(2) { opacity: 0; }
.top-burger.abierto span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

@media (max-width: 720px) {
  .top-burger { display: block; }
  .top-nav {
    position: fixed; inset: 0; z-index: 90;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 30px;
    padding: 32px 40px; background: var(--lx-night);
    transform: translateX(100%); opacity: 0;
    transition: transform .38s var(--lx-ease), opacity .3s var(--lx-ease);
  }
  .top-nav.abierto { transform: translateX(0); opacity: 1; }
  .top-nav a:not(.lx-btn) {
    font-family: var(--font-display); font-size: 34px; font-weight: 800;
    letter-spacing: -.01em; text-transform: none; color: var(--lx-bone);
  }
  .top-nav .lx-btn { margin-top: 8px; }
  html.lx-nav-lock, html.lx-nav-lock body { overflow: hidden; }
}

/* ── HERO: cine sobre el gradiente Amanecer — el video entra cuando está listo,
   el gradiente es el primer fotograma. Cifra fantasma + horizonte con los datos. ── */
.lx-hero { padding-top: 150px; padding-bottom: 0; overflow: hidden; }
/* La comunidad reunida es el fondo REAL del hero: se ve siempre,
   con o sin movimiento reducido. El video es una capa de más encima —
   quien pidió menos movimiento pierde el adorno, nunca la imagen. */
.lx-hero-media {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* Velo propio: el orador y la audiencia entran como atmósfera y el
     titular conserva la jerarquía. */
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--lx-night) 74%, transparent) 0%,
      color-mix(in srgb, var(--lx-night) 60%, transparent) 42%,
      color-mix(in srgb, var(--lx-night) 68%, transparent) 72%,
      color-mix(in srgb, var(--lx-night) 88%, transparent) 100%),
    url("fotos/CMA_Auditorio-Comunidad-Mas-Alto-orador-frente-audiencia_260802_v1.0.webp") 62% 44% / cover no-repeat;
}
.lx-hero-media video { opacity: 0; transition: opacity 1.8s var(--lx-ease); }
.lx-hero-media.lx-listo video { opacity: 1; }

/* Reutilizable: la participación de la comunidad como textura de fondo.
   Usa una toma distinta al hero para evitar repetición. El velo es más
   fuerte porque aquí vive texto de conversión y la foto nunca compite. */
.lx-fondo-comunidad { position: relative; isolation: isolate; }
.lx-fondo-comunidad::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--lx-night) 88%, transparent) 0%,
      color-mix(in srgb, var(--lx-night) 80%, transparent) 45%,
      color-mix(in srgb, var(--lx-night) 90%, transparent) 100%),
    url("fotos/CMA_Auditorio-Comunidad-Mas-Alto-audiencia-participando_260802_v1.0.webp") 50% 32% / cover no-repeat;
}
.lx-hero-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lx-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      color-mix(in srgb, var(--lx-night) 58%, transparent) 0%,
      color-mix(in srgb, var(--lx-night) 22%, transparent) 34%,
      color-mix(in srgb, var(--lx-night) 30%, transparent) 62%,
      color-mix(in srgb, var(--lx-night) 78%, transparent) 100%),
    linear-gradient(100deg, color-mix(in srgb, var(--lx-night) 42%, transparent), transparent 58%);
}
.lx-hero-inner { position: relative; z-index: 1; }
.lx-hero .lx-horizon { z-index: 1; }

/* la entrada — un amanecer: cada elemento aclara en su turno (CSS puro, sin JS) */
@keyframes lx-alba {
  from { opacity: 0; transform: translateY(16px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
.lx-hero .lx-kicker { animation: lx-alba .9s var(--lx-ease) .15s both; }
.lx-hero .lx-t1 { animation: lx-alba 1s var(--lx-ease) .3s both; }
.lx-hero .lx-t2 { animation: lx-alba 1s var(--lx-ease) .46s both; }
.lx-hero .lx-lead { animation: lx-alba 1s var(--lx-ease) .64s both; }
.lx-hero .lx-cta-row { animation: lx-alba 1s var(--lx-ease) .8s both; }
@keyframes lx-ghost-alba { from { opacity: 0; } to { opacity: .055; } }
@keyframes lx-ghost-deriva { from { transform: translateY(0); } to { transform: translateY(-16px); } }
.lx-hero .lx-ghost {
  animation:
    lx-ghost-alba 2.4s var(--lx-ease) .5s both,
    lx-ghost-deriva 26s ease-in-out 3s infinite alternate;
}
@keyframes lx-linea { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lx-hero .lx-line { transform-origin: left; animation: lx-linea 1.5s var(--lx-ease) .95s both; }
.lx-hero .lx-pt { animation: lx-alba .9s var(--lx-ease) both; }
.lx-hero .lx-pt:nth-child(1) { animation-delay: 1.2s; }
.lx-hero .lx-pt:nth-child(2) { animation-delay: 1.36s; }
.lx-hero .lx-pt:nth-child(3) { animation-delay: 1.52s; }
.lx-hero .lx-pt::before { animation-delay: 1.5s; }
.lx-hero .lx-pt:nth-child(2)::before { animation-delay: 1.66s; }
.lx-hero .lx-pt:nth-child(3)::before { animation-delay: 1.82s; }
.lx-ghost {
  position: absolute; right: -2vw; top: -4vw; z-index: 0;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(180px, 32vw, 460px); line-height: 1; letter-spacing: -.04em;
  color: var(--lx-bone); opacity: .055; pointer-events: none; user-select: none;
}
.lx-hero .lx-h1, .lx-hero .lx-lead, .lx-hero .lx-cta-row, .lx-hero .lx-kicker { position: relative; z-index: 1; }
.lx-t1 { display: block; color: var(--lx-bone); }
.lx-t2 { display: block; color: var(--lx-amber-light); }
.lx-hero .lx-lead { margin-bottom: 64px; }
.lx-cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.lx-horizon { position: relative; padding-bottom: 64px; }
.lx-horizon .lx-line { height: 1px; background: var(--lx-border-dark); }
.lx-horizon .lx-pts { display: grid; grid-template-columns: repeat(3, 1fr); position: relative; top: -1px; margin: 0; }
.lx-horizon .lx-pt { position: relative; padding-top: 22px; }
.lx-horizon .lx-pt::before {
  content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--lx-amber);
  animation: lx-nodo 3800ms var(--lx-ease) 1;
}
.lx-horizon .lx-pt:nth-child(2)::before { animation-delay: 160ms; }
.lx-horizon .lx-pt:nth-child(3)::before { animation-delay: 320ms; }
@keyframes lx-nodo {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lx-amber) 45%, transparent); }
  50% { box-shadow: 0 0 0 14px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.lx-horizon .lx-l {
  display: block; margin-bottom: 6px;
  font-family: var(--font-marker); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: color-mix(in srgb, var(--lx-bone) 62%, transparent);
}
.lx-horizon .lx-v {
  margin: 0; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(17px, 2vw, 22px); letter-spacing: -.01em; color: var(--lx-bone);
}
@media (max-width: 640px) { .lx-horizon .lx-pts { grid-template-columns: 1fr; gap: 26px; } }

/* ── clima actual: insignia chica bajo el horizonte del hero — solo
   aparece si Open-Meteo responde, nunca un dato inventado en su lugar ── */
.lx-clima-actual {
  display: flex; align-items: baseline; gap: 10px; margin-top: 22px;
  font-family: var(--font-body); color: color-mix(in srgb, var(--lx-bone) 78%, transparent);
}
.lx-clima-ico { font-size: 20px; line-height: 1; }
.lx-clima-temp { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--lx-bone); }
.lx-clima-detalle {
  font-family: var(--font-marker); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: color-mix(in srgb, var(--lx-bone) 58%, transparent);
}

/* ── EJES: un horizonte, tres nodos — trayectoria, no tarjetas ── */
.lx-ejes-rail { position: relative; margin-top: 64px; }
.lx-ejes-rail .lx-spine { position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--lx-border-dark); }
.lx-ejes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; }
.lx-eje { position: relative; padding-top: 30px; }
.lx-eje::before { content: ""; position: absolute; top: -4px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--lx-amber); }
.lx-eje .lx-n {
  display: block; margin-bottom: 16px;
  font-family: var(--font-marker); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--lx-amber);
}
.lx-eje .lx-h3 { margin-bottom: 12px; }
@media (max-width: 860px) {
  .lx-ejes-grid { grid-template-columns: 1fr; gap: 0; }
  .lx-ejes-rail .lx-spine { top: 0; bottom: 0; left: 0; width: 1px; height: auto; right: auto; }
  .lx-eje { padding: 0 0 40px 28px; }
  .lx-eje::before { top: 6px; left: -4px; }
}

/* ── VOCES: spread editorial — una foto real, dos voces ── */
.lx-voces {
  display: grid; grid-template-columns: .86fr 1.14fr; align-items: stretch;
  margin-top: 56px; border: 1px solid var(--lx-border-dark-soft); border-radius: var(--r-lg); overflow: hidden;
}
.lx-voces-photo { position: relative; min-height: 460px; background: var(--lx-mid); }
.lx-voces-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%; }
.lx-voces-photo .lx-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--lx-night) 5%, transparent) 0%, color-mix(in srgb, var(--lx-night) 55%, transparent) 100%),
    linear-gradient(100deg, color-mix(in srgb, var(--lx-night) 35%, transparent), transparent 45%);
}
.lx-voces-copy { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; gap: 34px; }
.lx-voz { border-top: 1px solid var(--lx-border-dark); padding-top: 30px; }
.lx-voz:first-child { border-top: none; padding-top: 0; }
.lx-voz .lx-h3 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 6px; }
.lx-voz .lx-rol {
  display: block; margin-bottom: 14px;
  font-family: var(--font-marker); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lx-amber-light);
}
@media (max-width: 860px) {
  .lx-voces { grid-template-columns: 1fr; }
  .lx-voces-photo { min-height: 340px; }
  .lx-voces-copy { padding: 36px 28px; }
}

/* ── PROGRAMA sobre hueso, cifra fantasma de textura ── */
/* La cifra fantasma sobresale 14px a la derecha a propósito; sin recorte
   eso abre scroll lateral en el teléfono. `clip` la corta sin crear
   contenedor de scroll (a diferencia de `hidden`). */
.lx-programa-wrap { position: relative; overflow-x: clip; }
.lx-programa-wrap .lx-ghost { top: -30px; right: -14px; font-size: clamp(140px, 26vw, 320px); color: var(--lx-night); opacity: .05; }
.lx-programa-wrap > *:not(.lx-ghost) { position: relative; z-index: 1; }
.lx-bloques { margin-top: 44px; }
.lx-bloque {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; align-items: baseline;
  padding: 24px 0; border-top: 1px solid var(--lx-border-light);
}
.lx-bloque:last-child { border-bottom: 1px solid var(--lx-border-light); }
.lx-bloque .lx-dia { font-family: var(--font-marker); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lx-amber-dark); }
.lx-bloque .lx-titulo { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.lx-bloque .lx-pend {
  margin-left: 10px; vertical-align: 2px;
  font-family: var(--font-marker); font-size: 10px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lx-amber-dark); border: 1px solid color-mix(in srgb, var(--lx-amber-dark) 50%, transparent);
  border-radius: 4px; padding: 2px 7px; white-space: nowrap;
}
.lx-bloque .lx-hora { font-family: var(--font-marker); font-size: 12.5px; color: color-mix(in srgb, var(--lx-night) 64%, transparent); text-align: right; white-space: nowrap; }
.lx-bloque .lx-hora .lx-cierra { display: block; margin-top: 4px; color: color-mix(in srgb, var(--lx-night) 45%, transparent); }
/* Qué pasa dentro del bloque — sin minutaje: el guion de cabina no es público */
.lx-bloque .lx-detalle {
  margin-top: 7px; font-size: 14.5px; line-height: 1.5;
  color: color-mix(in srgb, var(--lx-night) 68%, transparent); max-width: 46ch;
}
@media (max-width: 640px) {
  .lx-bloque { grid-template-columns: 1fr; gap: 6px; }
  .lx-bloque .lx-hora { text-align: left; white-space: normal; }
  .lx-bloque .lx-hora .lx-cierra { display: inline; margin-top: 0; }
  .lx-bloque .lx-hora .lx-cierra::before { content: " · "; }
}

/* ── Itinerario público por día — mismo detalle del volante oficial,
   nunca el minutaje de cabina (eso vive solo en guion.html) ── */
.lx-bloque-dia { padding: 24px 0; border-top: 1px solid var(--lx-border-light); }
.lx-bloque-dia:last-child { border-bottom: 1px solid var(--lx-border-light); }
.lx-bloque-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.lx-clima {
  display: inline-flex; align-items: baseline; gap: 5px;
  font-family: var(--font-marker); font-size: 12.5px;
  color: color-mix(in srgb, var(--lx-night) 58%, transparent);
}
.lx-clima[hidden] { display: none; }
.lx-clima b { font-weight: 600; color: var(--lx-night); font-variant-numeric: tabular-nums; }
.lx-bloque-head .lx-dia { font-family: var(--font-marker); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lx-amber-dark); }
.lx-bloque-head .lx-titulo { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.lx-itin { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lx-itin li { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: baseline; }
.lx-itin-hora { font-family: var(--font-marker); font-size: 12.5px; color: color-mix(in srgb, var(--lx-night) 55%, transparent); white-space: nowrap; }
.lx-itin-act { font-size: 14.5px; color: color-mix(in srgb, var(--lx-night) 80%, transparent); }
.lx-itin li.is-conf .lx-itin-act { font-weight: 700; color: var(--lx-night); }
.lx-itin li.is-conf .lx-itin-hora { color: var(--lx-amber-dark); }
@media (max-width: 640px) {
  .lx-itin li { grid-template-columns: 68px 1fr; }
  .lx-en-vivo { grid-column: 1 / -1; margin: 4px 0 0; }
}

/* ── Reloj de Mérida en vivo — el punto pulsa siempre, no solo "en vivo" ── */
.lx-reloj-yuc {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px;
  font-family: var(--font-marker); font-size: 12px; letter-spacing: .07em; text-transform: uppercase;
  color: color-mix(in srgb, var(--lx-night) 58%, transparent);
}
.lx-reloj-yuc b { font-variant-numeric: tabular-nums; color: var(--lx-night); font-weight: 600; }
.lx-reloj-punto, .lx-en-vivo::before, .lx-tab-vivo {
  background: #E23D3D; border-radius: 50%; flex: none;
}
.lx-reloj-punto { width: 7px; height: 7px; animation: lx-pulso 2s infinite; }
@keyframes lx-pulso {
  0% { box-shadow: 0 0 0 0 rgba(226, 61, 61, .45); }
  70% { box-shadow: 0 0 0 7px rgba(226, 61, 61, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 61, 61, 0); }
}

/* ── Tabs de día — segmented control, como un selector nativo de app ── */
.lx-dias-tabs {
  display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 30px;
  background: color-mix(in srgb, var(--lx-night) 6%, transparent); border-radius: var(--r-pill);
  max-width: 100%; overflow-x: auto;
}
.lx-dia-tab {
  border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: var(--r-pill);
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  color: color-mix(in srgb, var(--lx-night) 55%, transparent);
  transition: background .2s ease, color .2s ease;
}
.lx-dia-tab[aria-selected="true"] { background: var(--lx-night); color: var(--lx-bone); }
.lx-tab-vivo { width: 7px; height: 7px; animation: lx-pulso 2s infinite; }
@media (max-width: 520px) { .lx-dia-tab { padding: 9px 14px; font-size: 13.5px; } }

/* ── Panel del día — fade suave al cambiar de tab ── */
.lx-dia-panel { animation: lx-panel-in .28s ease; }
@keyframes lx-panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* ── Fila "en vivo" — se nota sin gritar: filo rojo + insignia con punto pulsando ── */
.lx-itin li.is-vivo { position: relative; padding-left: 14px; margin-left: -14px; }
.lx-itin li.is-vivo::before {
  content: ""; position: absolute; left: -14px; top: 1px; bottom: 1px; width: 3px;
  background: #E23D3D; border-radius: 2px;
}
.lx-en-vivo {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-marker); font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #C22E2E; background: color-mix(in srgb, #E23D3D 13%, transparent);
  border-radius: 5px; padding: 3px 8px;
}
.lx-en-vivo[hidden] { display: none; }
.lx-en-vivo::before { content: ""; width: 5px; height: 5px; animation: lx-pulso 2s infinite; }

/* ── Cómo llegar — pastillas neutras, un solo ícono, sin colores de marca ajena ── */
.lx-mapas { display: flex; flex-wrap: wrap; gap: 10px; }
.lx-mapa-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px;
  border: 1px solid color-mix(in srgb, var(--lx-amber) 40%, transparent); border-radius: var(--r-pill);
  font-family: var(--font-marker); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--lx-amber-light); text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}
.lx-mapa-btn:hover { background: color-mix(in srgb, var(--lx-amber) 12%, transparent); border-color: var(--lx-amber); }
.lx-mapa-ico { width: 15px; height: 15px; flex: none; }

/* ── Marca real de Comunidad Más Alto (naranja + gris) — un solo lugar,
   el footer, y ahí que se vea bien: placa hueso propia (su naranja
   choca con el ámbar del congreso puesto directo sobre índigo), tamaño
   generoso, nada apretado contra el texto. ── */
.lx-credit-cma { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 2px; }
.lx-cma-chip {
  display: inline-flex; align-items: center;
  padding: 10px 20px; border-radius: 11px; background: var(--lx-bone);
}
.lx-cma-chip img { display: block; height: 42px; width: auto; }

/* variante chica del isologo/logo de CMA, para usarla donde mejor corresponda
   (kicker de sección, crédito inline junto a un CTA) — no solo el footer. */
.lx-kicker-cma { display: inline-flex; align-items: center; gap: 9px; }
.lx-kicker-logo { display: block; height: 20px; width: auto; }
.lx-cma-chip-inline { padding: 5px 11px; border-radius: 8px; }
.lx-cma-chip-inline img { height: 18px; }

/* ── CONVOCA / LÍMITES: listas tipográficas puras, sin chips ── */
.lx-convoca-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.lx-convoca-grid .lx-h2 { font-size: clamp(25px, 3.4vw, 34px); }
.lx-lista { margin-top: 8px; }
.lx-item { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--lx-border-dark); }
.lx-item:last-child { border-bottom: 1px solid var(--lx-border-dark); }
.lx-item .lx-num { font-family: var(--font-marker); font-size: 12px; color: var(--lx-amber); padding-top: 2px; }
.lx-item .lx-no { font-family: var(--font-marker); font-size: 12px; letter-spacing: .06em; color: var(--lx-amber-light); padding-top: 2px; }
.lx-item .lx-lead { max-width: none; }
@media (max-width: 860px) { .lx-convoca-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ── COMUNIDAD: fotografía documental real, velo índigo (nunca negro) ── */
.lx-comunidad-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 48px; }
.lx-foto { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--lx-mid); margin: 0; }
.lx-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lx-foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--lx-night) 55%, transparent) 100%); }
@media (max-width: 720px) {
  .lx-comunidad-grid { grid-template-columns: 1fr; }
  .lx-foto { aspect-ratio: 4 / 3; }
  /* el recorte 4:3 deja caras arriba de la ventana visible — ancla hacia arriba */
  .lx-foto img { object-position: 50% 10%; }
}
.lx-comunidad-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 34px;
  font-family: var(--font-marker); font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--lx-amber-light); text-decoration: none; border-bottom: 1px solid var(--lx-border-dark); padding-bottom: 6px;
}
.lx-comunidad-cta:hover { color: var(--lx-amber-light); border-color: var(--lx-amber); }

/* ── PASTORES: la familia que pastorea CMA — dos retratos, sin genérico de tarjeta ── */
.lx-pastores-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; max-width: 620px; margin-top: 48px; }
.lx-pastor-card { display: flex; flex-direction: column; gap: 16px; }
.lx-pastor-foto { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--lx-mid); }
.lx-pastor-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.lx-pastor-foto::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px var(--lx-border-dark-soft); border-radius: inherit; }
@media (max-width: 560px) { .lx-pastores-grid { grid-template-columns: 1fr 1fr; gap: 18px; } }

/* ── REGISTRO: sin backend — un solo canal, WhatsApp, silencio alrededor ── */
.lx-registro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .lx-registro-grid { grid-template-columns: 1fr; gap: 40px; } }
.lx-registro-canal { border-top: 1px solid var(--lx-border-dark); padding-top: 26px; }
.lx-registro-canal .lx-h3 { color: var(--lx-amber-light); margin-bottom: 10px; }
.lx-registro-canal .lx-btn { margin-top: 22px; }
.lx-registro-nota { margin-top: 18px; font-size: 13px; color: color-mix(in srgb, var(--lx-bone) 56%, transparent); }

/* ── FORMULARIO DE REGISTRO ──────────────────────────────────────────
   Nueve de cada diez lo llenan del teléfono, y mucha de esta comunidad
   pasa de los sesenta. De ahí las tres reglas que mandan aquí:
   · 17px en los campos — por debajo de 16 iOS hace zoom al enfocar y
     descoloca la página, que es donde se abandona un formulario;
   · etiqueta siempre visible, nunca solo placeholder, que desaparece
     al escribir y deja a la persona sin saber qué iba en el campo;
   · área de toque de 56px, muy por encima del mínimo de 44.          */
.lx-form { margin-top: 26px; }
.lx-campo { margin-bottom: 18px; }
.lx-campo label {
  display: block; margin-bottom: 7px;
  font-size: 15px; font-weight: 600; color: var(--lx-bone);
}
.lx-campo .lx-ayuda {
  display: block; margin-top: 6px; font-size: 14px;
  color: color-mix(in srgb, var(--lx-bone) 58%, transparent);
}
.lx-form input[type="text"],
.lx-form input[type="email"],
.lx-form input[type="tel"] {
  width: 100%; min-height: 56px; padding: 15px 16px;
  font-family: var(--font-body); font-size: 17px; line-height: 1.4;
  color: var(--lx-bone); background: color-mix(in srgb, var(--lx-night) 55%, transparent);
  border: 1px solid var(--lx-border-dark); border-radius: var(--r);
  transition: border-color .2s var(--lx-ease), background .2s var(--lx-ease);
}
.lx-form input::placeholder { color: color-mix(in srgb, var(--lx-bone) 34%, transparent); }
.lx-form input:hover { border-color: color-mix(in srgb, var(--lx-bone) 28%, transparent); }
.lx-form input:focus {
  outline: 2px solid var(--lx-amber); outline-offset: 2px;
  border-color: transparent; background: color-mix(in srgb, var(--lx-night) 75%, transparent);
}
/* El error se anuncia con texto, no solo con color: quien no distingue
   el rojo tiene que enterarse igual. */
.lx-campo.lx-mal input { border-color: #FF9A8E; }
.lx-error {
  display: none; margin-top: 7px; font-size: 14.5px; color: #FF9A8E; font-weight: 500;
}
.lx-campo.lx-mal .lx-error { display: block; }

/* ── ¿Qué día(s) vienes? — chips, no un select: se ven las 3 opciones
   de un vistazo y se tocan directo, sin abrir nada. ── */
.lx-dias-label {
  display: block; margin-bottom: 10px;
  font-size: 15px; font-weight: 600; color: var(--lx-bone);
}
.lx-dias-check { display: flex; flex-wrap: wrap; gap: 10px; }
.lx-dia-opt {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 18px; border-radius: var(--r-pill);
  border: 1px solid var(--lx-border-dark); cursor: pointer;
  font-size: 15px; color: color-mix(in srgb, var(--lx-bone) 78%, transparent);
  transition: border-color .2s var(--lx-ease), background .2s var(--lx-ease), color .2s var(--lx-ease);
}
.lx-dia-opt:has(input:checked) {
  border-color: var(--lx-amber);
  background: color-mix(in srgb, var(--lx-amber) 16%, transparent);
  color: var(--lx-bone);
}
.lx-dia-opt input { width: 18px; height: 18px; accent-color: var(--lx-amber); }
.lx-campo.lx-mal .lx-dias-check { outline: 1px solid #FF9A8E; border-radius: var(--r-pill); }

/* Trampa para robots: fuera de pantalla pero no display:none, porque
   los que rellenan solos ignoran lo que está oculto del todo. */
.lx-trampa {
  position: absolute; left: -9999px; width: 1px; height: 1px;
  overflow: hidden; opacity: 0;
}

.lx-form-envia {
  width: 100%; min-height: 60px; margin-top: 6px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-size: 18px; font-weight: 700;
  color: #3A2408; background: var(--lx-amber);
  border: 0; border-radius: var(--r-pill); cursor: pointer;
  transition: transform .2s var(--lx-ease), background .2s var(--lx-ease);
}
.lx-form-envia:hover { background: var(--lx-amber-light); transform: translateY(-2px); }
.lx-form-envia:active { transform: scale(.99); }
.lx-form-envia[disabled] { opacity: .6; cursor: default; transform: none; }

/* El premio se nombra antes de pedir un solo dato: la razón para dar
   el teléfono tiene que llegar primero que la casilla. */
.lx-premio {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 22px 0 4px; padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--lx-amber) 38%, transparent);
  border-radius: var(--r); background: color-mix(in srgb, var(--lx-amber) 9%, transparent);
}
.lx-premio-ico { flex: 0 0 auto; font-size: 20px; line-height: 1.3 }
.lx-premio p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--lx-bone); }
.lx-premio strong { color: var(--lx-amber-light); }

/* Confirmación: el folio es la prueba de que quedó, y lo primero que
   pedirán en la puerta. Por eso es lo más grande de la pantalla. */
.lx-listo { text-align: center; padding: 8px 0 4px; }
.lx-listo-ico {
  width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center; font-size: 32px;
  background: color-mix(in srgb, var(--lx-amber) 16%, transparent);
  border: 2px solid var(--lx-amber);
}
.lx-listo h3 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(23px, 5vw, 30px); letter-spacing: -.02em; margin: 0 0 10px;
}
.lx-listo p { margin: 0 auto 18px; font-size: 16.5px; max-width: 42ch; }
.lx-folio-caja {
  display: inline-block; padding: 14px 26px; border-radius: var(--r);
  background: color-mix(in srgb, var(--lx-night) 70%, transparent);
  border: 1px dashed color-mix(in srgb, var(--lx-amber) 55%, transparent);
}
.lx-folio-caja span {
  display: block; font-family: var(--font-marker); font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--lx-amber);
  margin-bottom: 5px;
}
.lx-folio-caja b {
  font-family: var(--font-display); font-weight: 800; font-size: 30px;
  letter-spacing: .01em; font-variant-numeric: tabular-nums;
}

/* ── El nombre, en grande — el momento es de la persona, no del folio ── */
.lx-listo-nombre {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(26px, 6.5vw, 40px); letter-spacing: -.01em; line-height: 1.05;
  margin: 4px 0 16px; color: var(--lx-amber);
}
.lx-listo-copy { margin: 0 auto 18px; font-size: 16px; max-width: 40ch; }
.lx-listo-captura {
  margin: 18px auto 0; font-size: 13.5px; max-width: 38ch;
  color: color-mix(in srgb, var(--lx-bone) 62%, transparent);
}

/* ── Cómo llegar, ya en la confirmación — el siguiente paso natural ── */
.lx-listo-mapas { margin-top: 26px; }
.lx-listo-mapas-t {
  display: block; margin-bottom: 10px;
  font-family: var(--font-marker); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: color-mix(in srgb, var(--lx-bone) 55%, transparent);
}
.lx-listo-mapas .lx-mapas { justify-content: center; }

/* ── Generando el folio — efecto "labor illusion": ver el trabajo pasar
   aumenta el valor percibido del resultado (Kayak, TurboTax). El texto
   avanza en pasos aunque la respuesta real ya haya llegado antes. ── */
.lx-generando { text-align: center; padding: 20px 0 4px; }
.lx-generando-spinner { display: flex; justify-content: center; gap: 9px; margin-bottom: 22px; }
.lx-generando-spinner span {
  width: 10px; height: 10px; border-radius: 50%; background: var(--lx-amber);
  animation: lx-generando-bounce 1.1s ease-in-out infinite;
}
.lx-generando-spinner span:nth-child(2) { animation-delay: .15s; }
.lx-generando-spinner span:nth-child(3) { animation-delay: .3s; }
@keyframes lx-generando-bounce {
  0%, 80%, 100% { transform: scale(.6); opacity: .45; }
  40% { transform: scale(1); opacity: 1; }
}
.lx-generando-texto {
  font-family: var(--font-marker); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--lx-bone); margin: 0 0 18px; min-height: 16px;
}
.lx-generando-barra {
  height: 4px; border-radius: 2px; max-width: 280px; margin: 0 auto;
  background: color-mix(in srgb, var(--lx-bone) 18%, transparent); overflow: hidden;
}
.lx-generando-fill { height: 100%; width: 0%; background: var(--lx-amber); border-radius: 2px; transition: width .5s ease; }
@media (max-width: 640px) {
  .lx-form input[type="text"],
  .lx-form input[type="email"],
  .lx-form input[type="tel"] { font-size: 17px; }   /* nunca bajar de 16 */
}

/* ── cuenta regresiva en vivo (compacta, dentro de Registro) ── */
.lx-cuenta-mini { display: flex; gap: 28px; margin-top: 30px; }
.lx-cuenta-item { display: flex; flex-direction: column; gap: 4px; }
.lx-cuenta-n { font-family: var(--font-display); font-weight: 900; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.01em; color: var(--lx-amber-light); line-height: 1; }
.lx-cuenta-l { font-family: var(--font-marker); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: color-mix(in srgb, var(--lx-bone) 55%, transparent); }
@media (max-width: 400px) { .lx-cuenta-mini { gap: 18px; } }

/* ── WhatsApp: la única acción que SÍ debe verse como botón — es la conversión real ── */
.lx-btn-wa {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 22px;
  padding: 16px 26px; border-radius: var(--r-pill);
  background: #25D366; color: #06210F;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; text-decoration: none;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  animation: lx-wa-pulso 2.6s ease-out infinite;
  transition: transform .25s var(--lx-ease), background .25s var(--lx-ease);
}
.lx-btn-wa svg { flex: 0 0 auto; }
.lx-btn-wa:hover { transform: translateY(-2px) scale(1.02); background: #2be878; }
.lx-btn-wa:active { transform: scale(.98); }
@keyframes lx-wa-pulso {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) { .lx-btn-wa { animation: none; } }
.lx-registro-alt { margin-top: 22px; font-size: 15px; color: color-mix(in srgb, var(--lx-bone) 72%, transparent); }
.lx-registro-alt a { color: var(--lx-amber-light); }

/* ── footer ── */
/* ── footer — colofón editorial: masthead, regla, fila legal+social,
   créditos en una sola línea discreta. Antes era una pila de párrafos
   grises de tamaño parecido + una tarjeta de CTA — se sentía a plantilla,
   no a cierre de revista. ── */
.footer { background: var(--lx-night); border-top: 1px solid var(--lx-border-dark); padding: 64px 0 40px; }
.footer-masthead { margin-bottom: 32px; }
.footer-brand {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(21px, 2.6vw, 27px);
  letter-spacing: -.01em; margin: 0 0 10px; color: var(--lx-bone);
}
.footer .ministry { margin: 0; font-size: 15px; color: color-mix(in srgb, var(--lx-bone) 66%, transparent); }
.footer .ministry a {
  color: color-mix(in srgb, var(--lx-bone) 88%, transparent); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--lx-bone) 28%, transparent);
}
.footer-rule { height: 1px; background: var(--lx-border-dark); margin: 28px 0; }
.footer-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .privacy {
  flex: 1 1 380px; margin: 0; font-size: 13px; line-height: 1.65;
  color: color-mix(in srgb, var(--lx-bone) 50%, transparent);
}
.footer .privacy a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.footer-social-links { flex: 0 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.footer-social {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-marker); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: color-mix(in srgb, var(--lx-bone) 68%, transparent); text-decoration: none;
  transition: color .2s var(--lx-ease);
}
.footer-social:hover { color: var(--lx-amber-light); }
.footer-social svg { width: 16px; height: 16px; flex: none; }
.footer-ministerios {
  margin: 18px 0 0; font-size: 12.5px; color: color-mix(in srgb, var(--lx-bone) 50%, transparent);
}
.footer-ministerios a {
  color: color-mix(in srgb, var(--lx-bone) 80%, transparent); text-decoration: underline;
  text-underline-offset: 2px; text-decoration-color: color-mix(in srgb, var(--lx-bone) 28%, transparent);
}
.footer .credits {
  display: flex; flex-wrap: wrap; align-items: center; gap: 7px 20px;
  font-size: 12px; color: color-mix(in srgb, var(--lx-bone) 55%, transparent);
}
.footer .credits a { color: color-mix(in srgb, var(--lx-bone) 80%, transparent); }
.footer .credits .design-label {
  font-family: var(--font-marker); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lx-amber); margin-right: 5px;
}
.footer .credits .footer-team { margin-left: auto; opacity: .4; font-size: 10.5px; transition: opacity .2s var(--lx-ease); }
.footer .credits .footer-team:hover { opacity: .75; }
@media (max-width: 640px) {
  .footer-row { flex-direction: column; align-items: flex-start; gap: 18px; }
  .footer .credits { flex-direction: column; align-items: flex-start; gap: 9px; }
  .footer .credits .footer-team { margin-left: 0; }
}

/* ── revelado al hacer scroll (compositor; sin JS todo es visible) ── */
.lx-rv { opacity: 1; transform: none; }
body.lx-anim .lx-rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--lx-ease), transform .7s var(--lx-ease); }
body.lx-anim .lx-rv.lx-in { opacity: 1; transform: none; }

/* ── páginas interiores (agenda · momentos · info): cabecera compacta ── */
.page-head { padding-top: 64px; padding-bottom: 0; }
.page-head .lx-h1 { font-size: clamp(40px, 7vw, 76px); }

/* momentos: grid de los 22 videos de la comunidad — miniaturas, cero
   YouTube embebido hasta que se abre uno en el modal (teatro, abajo).
   grid-auto-flow: dense rellena los huecos que deja un "big" a media fila;
   la tipografía es discreta en las 19 tarjetas normales (la foto manda) y
   solo sube de peso en las 3 destacadas — para que no "griten" las 22 igual. */
.mom-grid-full {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px;
  grid-auto-flow: dense;
}
.mom-grid-full .mom-card-wrap.mom-big { grid-column: span 2; }
@media (max-width: 640px) { .mom-grid-full .mom-card-wrap.mom-big { grid-column: span 1; } }
.mom-card {
  position: relative; display: block; border-radius: var(--r-lg); overflow: hidden;
  background: var(--lx-mid); text-decoration: none; color: var(--lx-bone);
  border: 1px solid var(--lx-border-dark-soft); aspect-ratio: 16 / 9;
}
.mom-grid-full button.mom-card { width: 100%; padding: 0; text-align: left; font: inherit; cursor: pointer; appearance: none; }
.mom-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mom-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 58%, color-mix(in srgb, var(--lx-night) 80%, transparent) 100%); }
.mom-card .mom-copy { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; }
.mom-card .mom-t {
  font-family: var(--font-body); font-weight: 600; font-size: clamp(12.5px, 1.15vw, 14.5px);
  line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mom-card .mom-n { font-family: var(--font-marker); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--lx-amber-light); }
.mom-card-wrap.mom-big .mom-card::after { background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, var(--lx-night) 78%, transparent) 100%); }
.mom-card-wrap.mom-big .mom-copy { left: 20px; right: 20px; bottom: 18px; }
.mom-card-wrap.mom-big .mom-t {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(17px, 2vw, 22px);
  line-height: 1.1; -webkit-line-clamp: 3;
}
.mom-card .mom-play {
  position: absolute; left: 50%; top: 42%; transform: translate(-50%, -50%); z-index: 1;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--lx-night) 55%, transparent);
  border: 1px solid color-mix(in srgb, var(--lx-bone) 40%, transparent);
  transition: transform .28s var(--lx-ease), background .28s var(--lx-ease);
}
.mom-card-wrap.mom-big .mom-play {
  width: 62px; height: 62px;
}
.mom-card:hover .mom-play { transform: translate(-50%, -50%) scale(1.08); background: var(--lx-amber); }
.mom-card .mom-play svg { margin-left: 4px; }

/* momentos: teatro — reproductor en modal, YouTube-nocookie solo al abrir */
.mom-theater {
  position: fixed; inset: 0; z-index: 80; display: none; place-items: center; padding: 20px;
  background: color-mix(in srgb, var(--lx-night) 90%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.mom-theater.abierto { display: grid; }
.mom-th-stage { width: min(94vw, 1200px); text-align: center; }
.mom-th-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--r-lg); overflow: hidden; background: #000;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), 0 0 80px -20px color-mix(in srgb, var(--lx-amber) 30%, transparent);
}
.mom-th-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mom-th-cap { margin: 16px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 2.4vw, 28px); }
.mom-th-count { margin: 4px 0 0; font-family: var(--font-marker); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--lx-amber-light); }
.mom-th-cerrar, .mom-th-nav {
  border-radius: 50%; border: 1px solid var(--lx-border-dark);
  background: color-mix(in srgb, var(--lx-night) 58%, transparent); color: var(--lx-bone); cursor: pointer;
  display: grid; place-items: center; transition: background .25s var(--lx-ease), border-color .25s var(--lx-ease);
}
.mom-th-cerrar:hover, .mom-th-nav:hover { background: var(--lx-amber); border-color: var(--lx-amber); color: var(--lx-night); }
.mom-th-cerrar { position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; font-size: 20px; line-height: 1; }
.mom-th-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; font-size: 22px; }
.mom-th-prev { left: clamp(6px, 2vw, 24px); }
.mom-th-next { right: clamp(6px, 2vw, 24px); }
html.mom-lock { overflow: hidden; }
@media (max-width: 640px) { .mom-th-nav { width: 40px; height: 40px; font-size: 18px; } }

/* info: acordeones semánticos */
.info-list { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.info-list details { border: 1px solid var(--lx-border-dark); border-radius: var(--r-lg); background: color-mix(in srgb, var(--lx-mid) 45%, transparent); }
.info-list summary {
  padding: 20px 24px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 800; font-size: 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.info-list summary::-webkit-details-marker { display: none; }
.info-list summary::after { content: "+"; font-family: var(--font-marker); color: var(--lx-amber); font-size: 18px; }
.info-list details[open] summary::after { content: "–"; }
.info-list .info-body { padding: 0 24px 22px; }
.info-list .info-body a { color: var(--lx-amber-light); }

/* ─────────────────────────────────────────────────────────────────────────────
   PANTALLAS DE KIOSKO (.lxp): avance (cuenta regresiva) y escanea (QR).
   Legibilidad a distancia: pocos elementos, enormes, bien colocados.
   ───────────────────────────────────────────────────────────────────────────── */
.lxp { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(32px, 5vh, 72px); }
.lxp section { padding-block: 0; }
.lxp-head { margin-bottom: clamp(20px, 3.5vh, 40px); }

/* el número que respira — ahora cuenta hacia el 14 de agosto */
.lxp-numero {
  margin: 0; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(96px, 22vh, 280px); line-height: .9; letter-spacing: -.04em;
  color: var(--lx-bone); font-variant-numeric: tabular-nums;
}
.lxp-de {
  display: block; margin-top: clamp(10px, 1.6vh, 18px);
  font-family: var(--font-marker); font-size: clamp(14px, 2.2vh, 22px);
  letter-spacing: .26em; text-transform: uppercase; color: var(--lx-amber);
}
.lxp-nota { margin-top: 14px; font-size: clamp(14px, 2vh, 18px); color: color-mix(in srgb, var(--lx-bone) 62%, transparent); }

/* el horizonte que se llena — el tiempo transcurrido hacia el congreso */
.lxp-progreso { position: relative; height: 2px; background: var(--lx-border-dark); margin: clamp(24px, 5vh, 52px) 0 clamp(26px, 5.5vh, 56px); }
.lxp-progreso .lxp-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--lx-amber); transition: width 1.2s var(--lx-ease); }
.lxp-progreso .lxp-nodo {
  position: absolute; top: 50%; left: var(--p, 0%); transform: translate(-50%, -50%);
  width: 14px; height: 14px; border-radius: 50%; background: var(--lx-amber);
  transition: left 1.2s var(--lx-ease);
  animation: lxp-respira 3800ms var(--lx-ease) infinite;
}
@keyframes lxp-respira {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--lx-amber) 45%, transparent); }
  50% { box-shadow: 0 0 0 22px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.lxp-stats .lx-pts { grid-template-columns: repeat(4, 1fr); }
.lxp-stats .lx-pt .lx-v { font-size: clamp(26px, 4.6vh, 46px); }
.lxp-stats .lx-pt .lx-l { font-size: clamp(10px, 1.5vh, 13px); }
@media (max-width: 720px) { .lxp-stats .lx-pts { grid-template-columns: 1fr 1fr; gap: 26px; } }

.lxp-foot { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: clamp(24px, 5vh, 56px); flex-wrap: wrap; }
.lxp-foot .lxp-cta-copy { max-width: 46ch; }
.lxp-qr-card {
  background: #fff; border-radius: var(--r-lg); padding: clamp(14px, 2vh, 22px);
  width: clamp(160px, 22vh, 240px); flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.lxp-qr-card svg, .lxp-qr-card img { width: 100%; height: auto; display: block; border-radius: 6px; }
.lxp-qr-label { font-family: var(--font-marker); font-size: clamp(11px, 1.6vh, 14px); letter-spacing: .26em; text-transform: uppercase; color: var(--lx-amber-dark); }
.lxp-qr-dom { font-family: var(--font-marker); font-size: clamp(10px, 1.4vh, 12px); color: color-mix(in srgb, var(--lx-night) 64%, transparent); text-align: center; }

/* escanea: pantalla de reposo sobre el gradiente */
.lxp-escanea { background: var(--grad-hero); text-align: center; }
.lxp-escanea .lx-h1 { font-size: clamp(56px, 12vh, 140px); }
.lxp-escanea .lx-kicker { letter-spacing: .34em; }
.lxp-escanea .lxp-qr-wrap { display: flex; justify-content: center; margin-top: clamp(28px, 6vh, 64px); }
.lxp-flota { animation: lxp-flota 6s ease-in-out infinite; }
@keyframes lxp-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.lxp-halo { animation: lxp-flota 6s ease-in-out infinite, lxp-halo 3800ms var(--lx-ease) infinite; }
@keyframes lxp-halo {
  0% { box-shadow: 0 24px 70px rgba(0, 0, 0, .35), 0 0 0 0 color-mix(in srgb, var(--lx-amber) 40%, transparent); }
  50% { box-shadow: 0 24px 70px rgba(0, 0, 0, .35), 0 0 0 26px transparent; }
  100% { box-shadow: 0 24px 70px rgba(0, 0, 0, .35), 0 0 0 0 transparent; }
}

/* ─────────────────────────────────────────────────────────────────────────────
   INVITACIÓN (.lxi): loop de 14s, 1920×1080 auto-escala, para proyectar.
   Fondo de video cinematográfico con el gradiente Amanecer de respaldo.
   ───────────────────────────────────────────────────────────────────────────── */
.lxi { position: relative; height: 100dvh; overflow: hidden; background: var(--lx-night); }
.lxi-stage {
  width: 1920px; height: 1080px;
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  overflow: hidden;
  font-family: var(--font-body);
}
.lxi-fondo { position: absolute; inset: -6%; background: var(--grad-hero); animation: lxi-deriva 14s ease-in-out infinite; }
@keyframes lxi-deriva {
  0% { transform: scale(1.05) translateY(0); }
  50% { transform: scale(1.09) translateY(-1.2%); }
  100% { transform: scale(1.05) translateY(0); }
}
.lxi-fondo-video { inset: 0; animation: none; }
.lxi-fondo-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.lxi-fondo-video::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--lx-night) 32%, transparent) 0%,
    color-mix(in srgb, var(--lx-night) 8%, transparent) 30%,
    color-mix(in srgb, var(--lx-night) 5%, transparent) 60%,
    color-mix(in srgb, var(--lx-night) 35%, transparent) 100%);
}
.lxi-horizonte {
  position: absolute; left: 10%; right: 10%; top: 50%;
  height: 1px; background: var(--lx-bone);
  transform: scaleX(0); transform-origin: center;
  animation: lxi-horizonte 14s cubic-bezier(.16, 1, .3, 1) infinite;
}
.lxi-horizonte::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--lx-amber); transform: translate(-50%, -50%);
  box-shadow: 0 0 28px 8px color-mix(in srgb, var(--lx-amber) 50%, transparent);
  opacity: 0; animation: lxi-nodo 14s cubic-bezier(.16, 1, .3, 1) infinite;
}
@keyframes lxi-horizonte {
  0% { transform: scaleX(0); opacity: .55; }
  16% { transform: scaleX(1); opacity: .4; }
  90% { transform: scaleX(1); opacity: .4; }
  100% { transform: scaleX(0); opacity: .55; }
}
@keyframes lxi-nodo {
  0% { opacity: 0; } 14% { opacity: 1; } 90% { opacity: 1; } 100% { opacity: 0; }
}
.lxi-logo {
  position: absolute; left: 50%; top: 40%;
  transform: translate(-50%, -50%) scale(.94);
  filter: blur(10px); opacity: 0;
  animation: lxi-logo 14s cubic-bezier(.16, 1, .3, 1) infinite;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
@keyframes lxi-logo {
  0% { opacity: 0; filter: blur(10px); transform: translate(-50%, -50%) scale(.94); top: 40%; }
  10% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) scale(1); top: 40%; }
  32% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) scale(1); top: 40%; }
  46% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) scale(.58); top: 19%; }
  88% { opacity: 1; filter: blur(0); transform: translate(-50%, -50%) scale(.58); top: 19%; }
  97% { opacity: 0; filter: blur(8px); transform: translate(-50%, -50%) scale(.7); top: 30%; }
  100% { opacity: 0; filter: blur(10px); transform: translate(-50%, -50%) scale(.94); top: 40%; }
}
.lxi-logo .lxi-top { font-family: var(--font-body); font-weight: 500; font-size: 40px; letter-spacing: .52em; text-indent: .52em; color: var(--lx-bone); }
.lxi-logo .lxi-rule { display: flex; align-items: center; gap: 19px; width: 700px; }
.lxi-logo .lxi-rule i { flex: 1; height: 2px; background: color-mix(in srgb, var(--lx-bone) 55%, transparent); }
.lxi-logo .lxi-rule b { width: 12px; height: 12px; border-radius: 50%; background: var(--lx-amber); }
.lxi-logo .lxi-main { font-family: var(--font-display); font-weight: 800; font-size: 136px; line-height: .98; letter-spacing: -.022em; color: var(--lx-bone); white-space: nowrap; }
.lxi-logo .lxi-desc { font-family: var(--font-marker); font-weight: 400; font-size: 23px; letter-spacing: .38em; text-indent: .38em; color: var(--lx-amber); white-space: nowrap; }
.lxi-mensaje { position: absolute; left: 0; right: 0; bottom: 15%; text-align: center; }
.lxi-mensaje .lxi-clip { display: inline-block; clip-path: inset(0 100% 0 0); animation: lxi-wipe 14s cubic-bezier(.16, 1, .3, 1) infinite; }
@keyframes lxi-wipe {
  0% { clip-path: inset(0 100% 0 0); }
  40% { clip-path: inset(0 100% 0 0); }
  54% { clip-path: inset(0 0% 0 0); }
  84% { clip-path: inset(0 0% 0 0); }
  92% { clip-path: inset(0 0 0 100%); }
  100% { clip-path: inset(0 100% 0 0); }
}
.lxi-cta { font-family: var(--font-display); font-weight: 900; color: var(--lx-bone); font-size: 100px; letter-spacing: -2px; line-height: 1; white-space: nowrap; }
.lxi-fecha { margin-top: 24px; font-family: var(--font-marker); font-weight: 500; color: var(--lx-bone); font-size: 27px; letter-spacing: 6.5px; text-transform: uppercase; white-space: nowrap; }
.lxi-fecha b { color: var(--lx-amber); font-weight: 500; }

/* ── movimiento reducido: todo visible, nada animado ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0ms !important; animation-delay: 0ms !important; transition-duration: 0ms !important; }
  .lx-hero-media { display: none; }
  html { scroll-behavior: auto; }
  body.lx-anim .lx-rv { opacity: 1; transform: none; transition: none; }
  .lxi-fondo, .lxi-horizonte, .lxi-horizonte::after, .lxi-logo, .lxi-mensaje .lxi-clip { animation: none; }
  .lxi-fondo-video video { display: none; }
  .lxi-horizonte { transform: scaleX(1); opacity: .4; }
  .lxi-horizonte::after { opacity: 1; }
  .lxi-logo { opacity: 1; filter: none; transform: translate(-50%, -50%) scale(.58); top: 19%; }
  .lxi-mensaje .lxi-clip { clip-path: none; }
}
