/* ==========================================================================
   OUTBREAK · Circus Zombie · Entrega de campaña · Neohuman
   Escena fija (fondo estilo neohuman.art en rojo de función + logotipo)
   y un cuadro oscuro con todo el contenido.
   Tipografía: Archivo (variable: ancho 62–125 %, peso 100–900).
   ========================================================================== */

/* ---------- Fuente (SIL Open Font License, ver assets/fuentes) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fuentes/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  /* Campaña (muestreados de los flyers) */
  --noche: #070404;
  --carbon: #120A09;
  --sangre: #A8130C;
  --sangre-viva: #C81E10;
  --sangre-seca: #681817;
  --niebla: #E44031;
  --brasa: #D14817;
  --brasa-clara: #FF7A45;
  --foco: #FFE2BA;
  --hueso: #F4ECE6;

  --tinta: var(--hueso);
  --tinta-2: rgba(244, 236, 230, .76);
  --tinta-3: rgba(244, 236, 230, .58);
  --linea: rgba(255, 226, 214, .10);
  --linea-2: rgba(255, 226, 214, .18);

  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --sans: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --resorte: cubic-bezier(.34, 1.56, .64, 1);
  --suave: cubic-bezier(.65, 0, .35, 1);

  --sombra-1: 0 1px 2px rgba(0, 0, 0, .35), 0 10px 26px -14px rgba(0, 0, 0, .85);

  /* Geometría de la escena */
  --marco: 10px;
  --radio-escena: 30px;
  --radio-panel: 36px;
  --panel-pad: clamp(14px, 3vw, 40px);
  --logo-ancho: clamp(250px, min(44vw, 62vh), 663px);
  --logo-alto: calc(var(--logo-ancho) * 151 / 663);
  --titulo-arriba: clamp(16px, 3.6vh, 46px);
  --panel-arriba: calc(var(--titulo-arriba) + var(--logo-alto) + clamp(14px, 3vh, 34px));
  --panel-ancho: min(1180px, calc(100% - 2 * clamp(12px, 5.5vw, 110px)));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--tinta);
  background: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3 { font-weight: inherit; }
:focus-visible { outline: 2px solid var(--brasa-clara); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--sangre-viva); color: var(--hueso); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: translate .45s var(--resorte);
}
.nh { fill: currentColor; stroke: none; }

.saltar {
  position: fixed; z-index: 300; top: 14px; left: 14px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--hueso); color: var(--carbon); font-weight: 600; font-size: 14px;
  translate: 0 -200%; transition: translate .3s var(--ease);
}
.saltar:focus { translate: 0 0; }

/* ==========================================================================
   Escena fija
   ========================================================================== */
.escena {
  position: fixed;
  inset: var(--marco);
  border-radius: var(--radio-escena);
  overflow: clip;
  isolation: isolate;
  background: radial-gradient(120% 90% at 50% 0%, #1A0806 0%, var(--noche) 56%, #030101 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 226, 214, .06);
}

/* Fondo: la misma receta de neohuman.art (rejilla, haces, manchas, foco, grano y partículas),
   teñida de rojo de función y con niebla abajo, como en los flyers. */
.fondo { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.fondo__rejilla {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255, 214, 200, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 214, 200, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
  mask-image: radial-gradient(70% 60% at 50% 20%, #000 20%, transparent 75%);
  animation: rejilla 30s linear infinite;
}
.fondo__profundo { position: absolute; inset: 0; transition: transform 1.2s var(--ease); }
.fondo__haces {
  position: absolute; left: 50%; top: -10vh;
  width: 140vw; height: 92vh;
  translate: -50% 0;
  transform-origin: 50% 0;
  background: conic-gradient(from 180deg at 50% 0%, transparent 42%, rgba(255, 96, 62, .36) 46%, transparent 49%, transparent 51%, rgba(255, 96, 62, .36) 54%, transparent 58%);
  opacity: .55;
  filter: blur(24px);
  -webkit-mask-image: linear-gradient(#000, transparent 85%);
  mask-image: linear-gradient(#000, transparent 85%);
  animation: haces 14s ease-in-out infinite alternate;
}
.fondo__mancha { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.fondo__mancha--1 { width: 60vw; height: 60vw; left: -15vw; top: -30vw; background: radial-gradient(circle, rgba(200, 30, 16, .55), transparent 70%); animation: deriva1 22s ease-in-out infinite alternate; }
.fondo__mancha--2 { width: 45vw; height: 45vw; right: -12vw; top: 20vh; background: radial-gradient(circle, rgba(209, 72, 23, .4), transparent 70%); animation: deriva2 26s ease-in-out infinite alternate; }
.fondo__mancha--3 { width: 40vw; height: 40vw; left: 30vw; bottom: -25vw; background: radial-gradient(circle, rgba(228, 64, 49, .5), transparent 70%); animation: deriva3 30s ease-in-out infinite alternate; }
.fondo__foco {
  position: absolute; left: 0; top: 0;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 64, 49, .26), transparent 65%);
  opacity: 0;
  transition: opacity .8s var(--ease);
}
.fondo__foco.activo { opacity: 1; }
.fondo__niebla {
  position: absolute; left: -10%; right: -10%; bottom: -10%; height: 58%;
  background:
    radial-gradient(48% 62% at 28% 100%, rgba(228, 64, 49, .30), transparent 70%),
    radial-gradient(44% 58% at 74% 100%, rgba(209, 72, 23, .24), transparent 70%);
  filter: blur(22px);
  animation: niebla 18s ease-in-out infinite alternate;
}
/* Medio tono de los flyers, apenas visible sobre la niebla */
.fondo__puntos {
  position: absolute; inset: 0;
  background: radial-gradient(circle, rgba(255, 214, 200, .12) 1px, transparent 1.6px) 0 0 / 7px 7px;
  -webkit-mask-image: radial-gradient(80% 50% at 50% 100%, #000, transparent 75%);
  mask-image: radial-gradient(80% 50% at 50% 100%, #000, transparent 75%);
  opacity: .7;
}
.fondo__ruido {
  position: absolute; inset: -50%;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grano 1.2s steps(6) infinite;
}
.fondo__brasas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Titular: el logotipo de la campaña */
.escena__titulo {
  position: absolute; z-index: 1;
  top: var(--titulo-arriba); left: 0; right: 0;
  display: flex; justify-content: center;
  pointer-events: none;
  transition: transform 1.1s var(--ease);
}
.titulo { position: relative; line-height: 0; }
.titulo::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 50%;
  width: calc(var(--logo-ancho) * 1.25); height: calc(var(--logo-alto) * 2.4);
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(228, 64, 49, .34), transparent);
  filter: blur(12px);
}
.titulo img {
  width: var(--logo-ancho);
  filter: drop-shadow(0 8px 26px rgba(0, 0, 0, .65));
  user-select: none;
  -webkit-user-drag: none;
}

/* Pista para deslizar */
.pista {
  position: absolute; z-index: 4;
  left: 50%;
  bottom: clamp(16px, 3.4vh, 30px);
  translate: -50% 0;
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px 9px 11px;
  border-radius: 999px;
  background: rgba(14, 8, 7, .78);
  color: var(--hueso);
  font: 500 13px/1 var(--sans);
  white-space: nowrap;
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(255, 226, 214, .16);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .9);
  pointer-events: none;
  transition: opacity .6s var(--ease), translate .6s var(--ease);
}
.pista .i { width: 16px; height: 16px; }
.pista .rueda { animation: rueda 1.8s var(--suave) infinite; }
.pista.oculta { opacity: 0; translate: -50% 12px; }

/* ==========================================================================
   El cuadro (vidrio oscuro)
   ========================================================================== */
.panel {
  position: absolute; z-index: 2;
  top: var(--panel-arriba);
  bottom: calc(var(--radio-panel) * -1);
  left: 50%;
  width: var(--panel-ancho);
  translate: -50% 0;
  border-radius: var(--radio-panel);
  background:
    linear-gradient(180deg, rgba(255, 240, 232, .06), rgba(255, 240, 232, 0) 200px),
    linear-gradient(100deg, rgba(62, 14, 10, .64) 0%, rgba(13, 8, 7, .76) 28%, rgba(13, 8, 7, .76) 72%, rgba(62, 14, 10, .64) 100%);
  border: 1px solid rgba(255, 226, 214, .12);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 240, 232, .10);
  -webkit-backdrop-filter: blur(26px) saturate(1.35);
  backdrop-filter: blur(26px) saturate(1.35);
  overflow: hidden;
  transition: translate 1.4s var(--ease) .4s, opacity 1s var(--ease) .4s;
}
.panel__scroll {
  position: absolute; inset: 0;
  isolation: isolate;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 84px var(--panel-pad) 0;
  scrollbar-width: none;
  outline: none;
  /* El contenido se desvanece al pasar por debajo de la barra. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, transparent 50px, #000 98px);
  mask-image: linear-gradient(to bottom, transparent 0, transparent 50px, #000 98px);
}
.panel__scroll::-webkit-scrollbar { display: none; }

/* Riel de desplazamiento propio */
.riel {
  position: absolute; z-index: 6;
  right: 9px; top: 92px;
  bottom: calc(var(--radio-panel) + 18px);
  width: 6px;
  border-radius: 6px;
  background: rgba(255, 226, 214, .07);
  opacity: 0;
  transition: opacity .5s var(--ease), width .3s var(--ease);
}
.panel:hover .riel, .riel.activo { opacity: 1; }
.riel:hover, .riel.arrastrando { width: 9px; }
.riel__pulgar {
  position: absolute; left: 0; right: 0; top: 0;
  height: var(--alto, 48px);
  translate: 0 var(--y, 0px);
  border-radius: 6px;
  background: linear-gradient(180deg, var(--brasa-clara), var(--sangre-viva));
  opacity: .6;
  cursor: grab;
  transition: opacity .3s var(--ease);
}
.riel:hover .riel__pulgar, .riel.arrastrando .riel__pulgar { opacity: .95; }
.riel.arrastrando .riel__pulgar { cursor: grabbing; }

/* ==========================================================================
   Barra superior (fija dentro del cuadro)
   ========================================================================== */
.barra {
  position: absolute; top: 12px; left: 50%; z-index: 8;
  translate: -50% 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: min(calc(100% - 2 * var(--panel-pad)), 1100px);
  padding: 7px 7px 7px 20px;
  border-radius: 999px;
  background: rgba(18, 10, 9, .74);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 226, 214, .12);
  box-shadow: 0 14px 34px -18px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 240, 232, .07);
}
.barra__marca { display: flex; align-items: center; color: var(--hueso); padding: 8px 0; flex: none; }
.barra .nh--logo { height: 16px; width: 100px; }
.barra__acciones { display: flex; align-items: center; }
.barra__respaldo { position: relative; flex: none; }
.solo-angosto { display: none; }
.tip {
  position: absolute; top: calc(100% + 12px); right: 4px;
  width: max-content; max-width: 250px;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--hueso);
  color: var(--carbon);
  font-size: 12.5px; line-height: 1.4;
  opacity: 0; translate: 0 -4px;
  pointer-events: none;
  box-shadow: var(--sombra-1);
  transition: opacity .3s var(--ease), translate .4s var(--ease);
}
.tip::before { content: ""; position: absolute; top: -5px; right: 26px; width: 10px; height: 10px; background: inherit; rotate: 45deg; border-radius: 2px; }
.barra__respaldo:hover .tip, .barra__respaldo:focus-within .tip { opacity: 1; translate: 0 0; }

/* "Descargar todo" compacto: aparece cuando el botón grande sale de vista */
.barra__todo {
  max-width: 0;
  margin-left: 0;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: max-width .55s var(--ease), margin .55s var(--ease), padding .55s var(--ease), opacity .4s var(--ease), background .35s var(--ease), transform .45s var(--resorte);
}
.barra.con-todo .barra__todo { max-width: 220px; margin-left: 8px; padding: 0 16px; opacity: 1; pointer-events: auto; }

.barra__progreso {
  position: absolute; left: 28px; right: 28px; bottom: 2px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--brasa-clara), var(--sangre-viva) 60%, var(--niebla));
  transform-origin: left center;
  transform: scaleX(var(--progreso, 0));
  opacity: .9;
}

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px;
  border-radius: 999px;
  font: 600 15px/1 var(--sans);
  letter-spacing: -.005em;
  white-space: nowrap;
  transition: transform .45s var(--resorte), background .35s var(--ease), box-shadow .35s var(--ease), color .3s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--primario { background: var(--hueso); color: var(--carbon); box-shadow: inset 0 1px 0 #fff, 0 14px 28px -14px rgba(228, 64, 49, .6); }
.btn--primario:hover { background: #fff; transform: translateY(-2px); box-shadow: inset 0 1px 0 #fff, 0 18px 34px -14px rgba(228, 64, 49, .8); }
.btn--cristal {
  background: rgba(255, 240, 232, .06);
  color: var(--tinta);
  border: 1px solid rgba(255, 226, 214, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--cristal:hover { background: rgba(255, 240, 232, .13); transform: translateY(-2px); }
.btn--chico { height: 42px; padding: 0 16px; gap: 8px; font-size: 14px; }
.btn:hover .i--derecha { translate: 4px 0; }
.btn:hover .i--flecha { translate: 2px -2px; }

.redondo {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 240, 232, .06);
  color: var(--tinta);
  border: 1px solid var(--linea-2);
  box-shadow: var(--sombra-1);
  transition: transform .4s var(--resorte), background .3s, color .3s, opacity .3s, border-color .3s;
}
.redondo:hover:not(:disabled) { transform: translateY(-2px); background: var(--hueso); color: var(--carbon); border-color: transparent; }
.redondo:disabled { opacity: .3; cursor: default; }
.redondo--claro { background: rgba(255, 240, 232, .1); color: var(--hueso); border-color: rgba(255, 226, 214, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }

/* Enlaces que aún no tienen su dirección (ver assets/js/enlaces.js) */
.pendiente { cursor: help; }

/* ==========================================================================
   Textos de sección
   ========================================================================== */
.ceja {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brasa-clara);
}
.ceja::before { content: ""; width: 20px; height: 1px; background: currentColor; }
.ceja--clara { color: var(--foco); }
.seccion__titulo {
  margin-top: 14px;
  font: 900 clamp(1.7rem, 3.1vw, 2.65rem)/1.02 var(--display);
  font-stretch: 125%;
  letter-spacing: -.012em;
  text-transform: uppercase;
  color: var(--tinta);
  text-wrap: balance;
}
.seccion__titulo em { font-style: normal; color: var(--brasa-clara); }
.seccion__cabecera { margin-bottom: 28px; }
.seccion__cabecera--doble { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.seccion__cabecera--doble > p { max-width: 34ch; color: var(--tinta-2); font-size: 15.5px; }

/* ==========================================================================
   Introducción: la foto del fondo de la campaña detrás del titular
   ========================================================================== */
.intro {
  --heroe-alto: clamp(440px, 62vh, 600px);
  display: grid;
  align-items: center;
  max-width: 1100px;
  min-height: calc(var(--heroe-alto) - 84px - 56px);
  margin: 0 auto;
  padding: clamp(2px, 1.2vh, 16px) clamp(2px, 1vw, 12px) 0;
}
/* La foto se ancla al cuadro (la sección no está posicionada) para ir de borde a borde y llegar hasta arriba. */
.intro__foto {
  position: absolute; z-index: -1;
  top: 0; left: 0; right: 0;
  height: var(--heroe-alto);
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 64%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 64%, transparent 100%);
}
.intro__foto img { width: 100%; height: 100%; object-fit: cover; object-position: 80% 6%; transform-origin: 72% 40%; }
.intro__texto-bloque { position: relative; z-index: 1; max-width: 620px; }
.intro .ceja::before { display: none; }
.punto { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--niebla); animation: latido 2.4s var(--ease) infinite; }
.intro__titulo {
  margin-top: 14px;
  font: 900 clamp(1.9rem, min(4.2vw, 7.2vh), 3.7rem)/1 var(--display);
  font-stretch: 125%;
  letter-spacing: -.014em;
  text-transform: uppercase;
  color: var(--hueso);
}
.intro__linea {
  display: block;
  background: linear-gradient(180deg, #FFFFFF 20%, #B3A39C 125%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, .55));
}
.intro__titulo .rotador { margin: .1em 0 0 .02em; }
.rotador {
  display: inline-block;
  vertical-align: baseline;
  margin-left: .12em;
  padding: .04em .2em .07em;
  border-radius: .08em;
  background: var(--sangre-viva);
  color: var(--hueso);
  rotate: -2deg;
  box-shadow: .07em .08em 0 #000, 0 0 0 2px rgba(0, 0, 0, .55), 0 0 44px -8px rgba(228, 64, 49, .75);
  overflow: hidden;
  white-space: nowrap;
  transition: width .7s var(--ease);
}
.rotador__palabra { display: inline-block; }
.rotador--claro { background: var(--hueso); color: var(--carbon); box-shadow: .07em .08em 0 var(--sangre-viva), 0 0 0 2px rgba(0, 0, 0, .4); }
.intro__texto { margin-top: 14px; font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.55; color: var(--tinta-2); }
.intro__texto strong { color: var(--tinta); font-weight: 650; }

/* Datos del evento, como las cintas de los flyers */
.etiquetas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.etiqueta {
  padding: 8px 11px 7px;
  border-radius: 3px;
  background: #000;
  color: var(--hueso);
  font: 800 12px/1 var(--display);
  font-stretch: 118%;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(255, 226, 214, .16);
}
.etiqueta--clara { background: var(--hueso); color: #000; box-shadow: none; }

.intro__descarga { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 26px; }

/* Botón protagonista: Descargar todo */
.descargar-todo {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  min-width: 330px;
  padding: 10px 12px 10px 10px;
  border-radius: 24px;
  background: var(--hueso);
  color: var(--carbon);
  box-shadow: inset 0 1px 0 #fff, 0 24px 48px -20px rgba(228, 64, 49, .7);
  overflow: hidden;
  isolation: isolate;
  transition: transform .5s var(--resorte), background .4s var(--ease), box-shadow .4s var(--ease);
}
.descargar-todo::after {
  content: ""; position: absolute; z-index: -1; inset: -40% -30%;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .85) 50%, transparent 58%);
  transform: translateX(-70%);
  animation: brillo 4.8s var(--suave) 2.2s infinite;
}
.descargar-todo:hover { background: #fff; transform: translateY(-3px); box-shadow: inset 0 1px 0 #fff, 0 30px 56px -20px rgba(228, 64, 49, .9); }
.descargar-todo:active { transform: scale(.98); }
.descargar-todo__icono {
  width: 56px; height: 56px; flex: none;
  display: grid; place-items: center;
  border-radius: 17px;
  background: var(--sangre-viva);
  color: var(--hueso);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 18px -8px rgba(168, 19, 12, .9);
}
.descargar-todo__icono .i { width: 26px; height: 26px; stroke-width: 2; }
.descargar-todo:hover .descargar-todo__icono .i { animation: bajar .9s var(--resorte); }
.descargar-todo__texto { display: flex; flex-direction: column; gap: 6px; }
.descargar-todo__texto b { font: 900 1.2rem/1 var(--display); font-stretch: 118%; letter-spacing: -.005em; text-transform: uppercase; color: var(--carbon); }
.descargar-todo__texto small { font: 500 12.5px/1.2 var(--sans); font-stretch: 92%; letter-spacing: .02em; color: rgba(18, 10, 9, .64); }
.descargar-todo__flecha {
  width: 42px; height: 42px; flex: none;
  margin-left: auto;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(18, 10, 9, .18);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.descargar-todo:hover .descargar-todo__flecha { background: var(--carbon); color: var(--hueso); border-color: transparent; }
.descargar-todo:hover .descargar-todo__flecha .i { translate: 2px -2px; }

.respaldo-nota { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--tinta-3); }
.respaldo-nota .i { width: 15px; height: 15px; }
.respaldo-nota a { color: var(--brasa-clara); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* En pantallas angostas la foto va arriba (versión vertical) y el texto entra sobre su parte que se desvanece. */
@media (max-width: 1000px) {
  .intro {
    --heroe-alto: clamp(330px, 86vw, 600px);
    min-height: 0;
    padding-top: calc(var(--heroe-alto) - 84px - 64px);
    text-align: center;
    justify-items: center;
  }
  .intro__foto {
    top: 34px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 58%, transparent 97%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 58%, transparent 97%);
  }
  .intro__foto img { object-position: 50% 0%; transform-origin: 50% 30%; }
  .intro__texto-bloque { max-width: none; }
  .intro__descarga { align-items: center; width: 100%; }
  .etiquetas { justify-content: center; }
}

/* ==========================================================================
   Entregables: carrusel horizontal
   ========================================================================== */
.entregables { margin-top: clamp(16px, 3.4vh, 38px); outline: none; }
.entregables__cabecera {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 8px;
  padding: 0 clamp(2px, 1vw, 12px);
}
.entregables__titulo { display: flex; align-items: center; gap: 12px; font: 900 1.35rem/1 var(--display); font-stretch: 122%; text-transform: uppercase; letter-spacing: -.005em; }
.entregables__total {
  padding: 6px 10px 5px;
  border-radius: 999px;
  background: rgba(255, 240, 232, .07);
  font: 600 11px/1 var(--sans);
  font-stretch: 100%;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tinta-3);
}
.carrusel__controles { display: flex; align-items: center; gap: 10px; }
.carrusel__contador { margin-right: 4px; font: 500 13px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--tinta-3); }
.carrusel__contador b { color: var(--tinta); font-weight: 700; }

.carrusel {
  --tarjeta-ancho: clamp(218px, 21.6%, 272px);
  display: flex; gap: 16px;
  margin: 0 calc(var(--panel-pad) * -1);
  padding: 8px var(--panel-pad) 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--panel-pad);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--panel-pad), #000 calc(100% - var(--panel-pad)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--panel-pad), #000 calc(100% - var(--panel-pad)), transparent 100%);
}
.carrusel::-webkit-scrollbar { display: none; }
.carrusel.arrastrando { cursor: grabbing; scroll-snap-type: none; }
.carrusel.arrastrando .tarjeta__caja { pointer-events: none; }
.carrusel > li { flex: 0 0 var(--tarjeta-ancho); scroll-snap-align: start; }

.tarjeta__caja {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  isolation: isolate;
  border-radius: 22px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 226, 214, .08), 0 22px 40px -24px rgba(0, 0, 0, .9);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.tarjeta__caja::after {
  content: ""; position: absolute; z-index: 1; inset: 0;
  background: linear-gradient(180deg, rgba(5, 2, 2, .3) 0%, rgba(5, 2, 2, 0) 22%, rgba(5, 2, 2, 0) 36%, rgba(5, 2, 2, .62) 54%, rgba(5, 2, 2, .9) 70%, rgba(5, 2, 2, .97) 100%);
  pointer-events: none;
}
.tarjeta__foto { position: absolute; inset: 0; display: block; width: 100%; cursor: zoom-in; }
.tarjeta__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.tarjeta__num {
  position: absolute; z-index: 2; top: 12px; left: 12px;
  padding: 6px 9px 5px;
  border-radius: 3px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 226, 214, .22);
  font: 800 11px/1 var(--display);
  font-stretch: 118%;
  letter-spacing: .06em;
  color: var(--hueso);
  pointer-events: none;
}
.tarjeta__ver {
  position: absolute; z-index: 2; top: 10px; right: 10px;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--hueso);
  color: var(--carbon);
  opacity: 0; scale: .8;
  pointer-events: none;
  transition: opacity .4s var(--ease), scale .5s var(--resorte);
}
.tarjeta__ver .i { width: 16px; height: 16px; }
.tarjeta__info {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 16px;
  color: var(--hueso);
  pointer-events: none;
}
.tarjeta__nombre { font: 900 1.12rem/1.05 var(--display); font-stretch: 120%; letter-spacing: -.005em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .5); }
.tarjeta__dato { margin-top: 7px; font-size: 12.5px; font-stretch: 92%; letter-spacing: .01em; color: rgba(255, 236, 228, .82); }
.tarjeta__descargar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 46px;
  margin-top: 12px;
  border-radius: 14px;
  background: var(--hueso);
  color: var(--carbon);
  font: 600 14.5px/1 var(--sans);
  box-shadow: 0 12px 24px -14px rgba(0, 0, 0, .8);
  transition: background .3s var(--ease), transform .45s var(--resorte), box-shadow .3s var(--ease);
}
.tarjeta__descargar:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(228, 64, 49, .7); }
.tarjeta__descargar:hover .i { animation: bajar .9s var(--resorte); }
.tarjeta__descargar:active { transform: scale(.97); }
.tarjeta__descargar.hecho { background: #fff; }

.tarjeta:hover .tarjeta__caja, .tarjeta:focus-within .tarjeta__caja { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(255, 122, 69, .35), 0 34px 56px -26px rgba(228, 64, 49, .55); }
.tarjeta:hover .tarjeta__foto img { transform: scale(1.06); }
.tarjeta:hover .tarjeta__ver, .tarjeta__foto:focus-visible ~ .tarjeta__ver { opacity: 1; scale: 1; }
.tarjeta__foto:focus-visible { outline: 3px solid var(--brasa-clara); outline-offset: -6px; border-radius: 20px; }

.carrusel__barra { position: relative; width: min(320px, 60%); height: 3px; margin: 2px auto 0; border-radius: 3px; background: rgba(255, 240, 232, .09); overflow: hidden; }
.carrusel__barra span {
  position: absolute; top: 0; bottom: 0; left: 0;
  width: var(--ancho, 30%);
  translate: var(--x, 0px) 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--brasa-clara), var(--sangre-viva));
}

/* ==========================================================================
   Calendario: marquesina con cuenta regresiva + línea de publicación
   ========================================================================== */
.calendario { container: calendario / inline-size; padding-top: clamp(64px, 10vh, 120px); outline: none; }

.marquesina {
  position: relative;
  isolation: isolate;
  display: grid; justify-items: center; gap: 12px;
  max-width: 780px;
  margin: 0 auto 40px;
  padding: clamp(26px, 4vw, 38px) clamp(18px, 4vw, 40px) clamp(24px, 3.6vw, 34px);
  border-radius: 22px;
  background: radial-gradient(120% 150% at 50% 0%, #3E0E09 0%, #170807 58%, #0C0605 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 226, 214, .10), 0 34px 70px -34px rgba(228, 64, 49, .55);
  text-align: center;
}
/* Focos de marquesina: dos filas de puntos que se encienden por turnos */
.marquesina__focos {
  position: absolute; z-index: -1;
  inset: 10px;
  width: calc(100% - 20px); height: calc(100% - 20px);
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 3px rgba(255, 150, 80, .95)) drop-shadow(0 0 8px rgba(228, 64, 49, .6));
}
.marquesina__focos rect {
  fill: none;
  stroke: var(--foco);
  stroke-width: 4.4;
  stroke-linecap: round;
  stroke-dasharray: 0 16;
}
.marquesina__focos .focos-b { stroke-dashoffset: 8; }
.marquesina__focos .focos-a { animation: focos 1.6s steps(1) infinite; }
.marquesina__focos .focos-b { animation: focos 1.6s steps(1) -.8s infinite; }
.marquesina__ceja { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--foco); }
.marquesina__pie { font: 700 12px/1.3 var(--display); font-stretch: 112%; letter-spacing: .05em; text-transform: uppercase; color: var(--tinta-2); }
.marquesina__fin { font: 900 clamp(1.4rem, 3.4vw, 2.2rem)/1.05 var(--display); font-stretch: 120%; text-transform: uppercase; color: #FFF3E6; text-shadow: 0 0 22px rgba(255, 120, 60, .6); text-wrap: balance; }

.reloj { display: flex; align-items: flex-start; justify-content: center; gap: clamp(4px, 1.4vw, 14px); }
.reloj__bloque { display: grid; justify-items: center; gap: 8px; min-width: 2.1em; }
.reloj__bloque b {
  font: 900 clamp(2.1rem, 6.4vw, 4rem)/1 var(--display);
  font-stretch: 110%;
  font-variant-numeric: tabular-nums;
  color: #FFF3E6;
  text-shadow: 0 0 2px #fff, 0 0 18px rgba(255, 120, 60, .65), 0 0 42px rgba(228, 64, 49, .45);
}
.reloj__bloque small { font: 700 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--tinta-3); }
.reloj__sep { font: 900 clamp(1.6rem, 4.6vw, 3rem)/1 var(--display); color: rgba(255, 226, 214, .3); padding-top: .12em; }

.linea { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.linea::before, .linea::after {
  content: ""; position: absolute;
  left: 6px; top: 6px;
  height: 2px; border-radius: 2px;
}
.linea::before { right: 6px; background: rgba(255, 226, 214, .12); }
.linea::after { width: var(--avance, 0px); background: linear-gradient(90deg, var(--brasa-clara), var(--sangre-viva)); box-shadow: 0 0 12px rgba(228, 64, 49, .6); transition: width 1.2s var(--ease); }
.linea__paso { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 28px; }
.linea__nodo {
  position: absolute; z-index: 1; top: 0; left: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--carbon);
  border: 2px solid rgba(255, 226, 214, .38);
}
.linea__fecha { font: 800 12.5px/1 var(--display); font-stretch: 118%; letter-spacing: .04em; text-transform: uppercase; color: var(--tinta); }
.linea__foto {
  position: relative;
  display: block; width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 14px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 226, 214, .08), 0 18px 32px -20px rgba(0, 0, 0, .9);
  cursor: zoom-in;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.linea__foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.linea__foto:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(255, 122, 69, .35), 0 24px 40px -20px rgba(228, 64, 49, .55); }
.linea__foto:hover img { transform: scale(1.05); }
.linea__nombre { font-size: 14.5px; font-weight: 600; line-height: 1.25; color: var(--tinta); }
.linea__estado {
  padding: 6px 9px 5px;
  border-radius: 999px;
  background: rgba(255, 240, 232, .07);
  font: 700 10.5px/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--tinta-3);
}
.linea__paso.pasado .linea__nodo { background: var(--brasa); border-color: var(--brasa); }
.linea__paso.pasado .linea__foto, .linea__paso.pasado .linea__nombre { opacity: .6; }
.linea__paso.hoy .linea__nodo { background: var(--sangre-viva); border-color: #FFB08A; animation: latido-rojo 1.8s var(--ease) infinite; }
.linea__paso.hoy .linea__estado { background: var(--sangre-viva); color: var(--hueso); }
.linea__paso.hoy .linea__foto { box-shadow: 0 0 0 2px var(--sangre-viva), 0 24px 40px -18px rgba(228, 64, 49, .7); }

@container calendario (max-width: 640px) {
  .linea { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-left: 28px; }
  .linea::before, .linea::after { left: 6px; top: 8px; width: 2px; height: auto; }
  .linea::before { right: auto; bottom: 8px; }
  .linea::after { height: var(--avance, 0px); transition: height 1.2s var(--ease); }
  .linea__paso {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 16px; row-gap: 6px;
    align-items: start;
    padding-top: 0;
  }
  .linea__nodo { left: -28px; top: 2px; }
  .linea__foto { grid-column: 1; grid-row: 1 / span 3; }
  .linea__fecha, .linea__nombre, .linea__estado { grid-column: 2; justify-self: start; }
  .linea__fecha { padding-top: 3px; }
}

/* ==========================================================================
   Cierre · Neohuman
   ========================================================================== */
.cierre {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: clamp(64px, 10vh, 120px) calc(var(--panel-pad) * -1) 0;
  padding: clamp(52px, 7vw, 92px) clamp(22px, 5.5vw, 80px) calc(var(--radio-panel) + 36px);
  border-radius: var(--radio-panel) var(--radio-panel) 0 0;
  background: radial-gradient(120% 80% at 50% 0%, #2C0B08 0%, #130807 52%, #080404 100%);
  box-shadow: inset 0 1px 0 rgba(255, 226, 214, .08);
  color: var(--hueso);
}
.cierre__imagen {
  position: absolute; z-index: -1;
  right: -8%; bottom: 0;
  width: min(1100px, 125%); max-width: none;
  opacity: .32;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 50% 70% at 66% 62%, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 50% 70% at 66% 62%, #000 30%, transparent 78%);
}
.cierre__contenido { position: relative; max-width: 1040px; margin: 0 auto; }
.cierre__titulo {
  margin-top: 16px;
  font: 900 clamp(2rem, 5vw, 4.2rem)/1.04 var(--display);
  font-stretch: 125%;
  letter-spacing: -.015em;
  text-transform: uppercase;
  color: var(--hueso);
}
.cierre__firma {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px 32px;
  margin-top: 44px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 226, 214, .14);
  border-bottom: 1px solid rgba(255, 226, 214, .14);
}
.cierre__estudio p { margin-top: 12px; max-width: 52ch; font-size: 15px; line-height: 1.6; color: var(--tinta-2); }
.cierre__logo { height: 20px; width: 125px; color: var(--hueso); }
.insignia { position: relative; width: 118px; height: 118px; flex: none; }
.insignia__texto { width: 100%; height: 100%; animation: girar 26s linear infinite; }
.insignia__texto text { fill: var(--foco); font: 600 9.2px var(--sans); letter-spacing: .12em; }
.insignia__simbolo { position: absolute; left: 35%; top: 35%; width: 30%; height: 30%; color: var(--brasa-clara); }

.cierre__columnas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 34px; }
.cierre__columnas h3 { margin-bottom: 12px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tinta-3); }
.cierre__columnas a, .cierre__columnas button, .cierre__columnas span {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 0;
  font-size: 15px;
  color: var(--hueso);
  text-align: left;
}
.cierre__columnas a, .cierre__columnas button { transition: color .3s var(--ease), translate .4s var(--resorte); }
.cierre__columnas a:hover, .cierre__columnas button:hover { color: var(--brasa-clara); translate: 3px 0; }
.cierre__columnas .i { width: 17px; height: 17px; opacity: .8; }
.cierre__columnas .sin-icono { padding-left: 26px; color: var(--tinta-2); }
.cierre__legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  margin-top: 40px;
  font-size: 12.5px;
  color: var(--tinta-3);
}

/* ==========================================================================
   Bienvenida
   ========================================================================== */
.bienvenida {
  width: min(1020px, calc(100vw - 24px));
  max-width: none;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--tinta);
  overflow: visible;
}
.bienvenida::backdrop {
  background: linear-gradient(180deg, rgba(40, 6, 4, .5), rgba(0, 0, 0, .72));
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
}
.bienvenida[open]::backdrop { animation: fundido .8s var(--ease) both; }
.bienvenida[open] .bienvenida__tarjeta { animation: emerger 1.1s var(--ease) both .1s; }
.bienvenida.cerrando::backdrop { animation: fundido-sale .5s var(--ease) both; }
.bienvenida.cerrando .bienvenida__tarjeta, .bienvenida.cerrando .bienvenida__nota { animation: hundir .5s var(--suave) both; }

.bienvenida__tarjeta {
  position: relative;
  aspect-ratio: 16 / 9.6;
  max-height: calc(100dvh - 70px);
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  border-radius: 32px;
  background: var(--noche);
  border: 1px solid rgba(255, 226, 214, .16);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .95), 0 0 80px -30px rgba(228, 64, 49, .5);
}
.bienvenida__foto { position: absolute; inset: 0; }
.bienvenida__foto img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 100% 50%;
  transform: scale(1.08);
  transform-origin: 70% 55%;
}
.bienvenida[open] .bienvenida__foto img { animation: acercar 9s var(--ease) both; }

/* Sello: el ojo de la campaña con texto que gira */
.sello {
  position: absolute; z-index: 2;
  top: clamp(14px, 2.4vw, 26px); right: clamp(14px, 2.4vw, 26px);
  width: clamp(88px, 11vw, 128px); aspect-ratio: 1;
}
.sello__texto { width: 100%; height: 100%; animation: girar 22s linear infinite; }
.sello__texto text { fill: var(--hueso); font: 700 8.6px var(--sans); letter-spacing: .14em; }
.sello__ojo {
  position: absolute; left: 21%; top: 21%;
  width: 58%; height: 58%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, .6), 0 0 26px rgba(228, 64, 49, .7);
}
.bienvenida[open] .sello { animation: estampar .9s var(--resorte) both .9s; }

.bienvenida__vidrio {
  position: absolute; z-index: 2;
  left: clamp(14px, 2.4vw, 28px);
  bottom: clamp(14px, 2.4vw, 28px);
  width: min(440px, 46%);
  padding: clamp(20px, 2.6vw, 32px);
  border-radius: 24px;
  background: rgba(14, 8, 7, .72);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  border: 1px solid rgba(255, 226, 214, .14);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 240, 232, .08);
}
.bienvenida[open] .bienvenida__vidrio { animation: subir-vidrio 1.1s var(--ease) both .45s; }
.bienvenida__firmas { display: flex; align-items: center; gap: 12px; color: var(--hueso); }
.bienvenida__firmas .nh--logo { height: 14px; width: 88px; }
.bienvenida__firmas img { height: 30px; width: auto; }
.bienvenida__por { font-size: 14px; color: var(--tinta-3); }
.bienvenida__titulo { margin: 18px 0 10px; font: 900 clamp(1.7rem, 3.1vw, 2.5rem)/1 var(--display); font-stretch: 125%; letter-spacing: -.015em; text-transform: uppercase; }
.bienvenida__titulo em { font-style: normal; color: var(--brasa-clara); }
.bienvenida__texto { font-size: 15.5px; line-height: 1.55; color: var(--tinta-2); text-wrap: pretty; }
.bienvenida__acciones { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-top: 20px; }
.bienvenida__firma { font: 500 14px/1.2 var(--sans); color: var(--tinta-3); }
.bienvenida__nota { margin-top: 12px; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, .86); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.bienvenida[open] .bienvenida__nota { animation: fundido 1s var(--ease) both .9s; }

/* ==========================================================================
   Visor de piezas
   ========================================================================== */
.visor { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; overflow: hidden; }
.visor::backdrop { background: rgba(6, 3, 3, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.visor[open]::backdrop { animation: fundido .4s var(--ease) both; }
.visor__figura { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 64px 86px 30px; }
.visor__img {
  max-width: min(1600px, 100%);
  max-height: calc(100dvh - 170px);
  width: auto; height: auto;
  border-radius: 16px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 226, 214, .08);
  transition: opacity .3s var(--ease), filter .3s var(--ease);
  animation: emerger-img .6s var(--ease) both;
}
.visor.cargando .visor__img { opacity: .35; filter: blur(6px); }
.visor__pie { display: flex; align-items: center; gap: 12px; max-width: min(640px, 100%); color: var(--hueso); }
.visor__contador { flex: none; font: 700 11px/1 var(--sans); letter-spacing: .08em; padding: 6px 9px 5px; border-radius: 999px; background: rgba(255, 240, 232, .12); font-variant-numeric: tabular-nums; }
.visor__textos { display: grid; gap: 4px; }
.visor__titulo { font: 800 1rem/1.1 var(--display); font-stretch: 116%; text-transform: uppercase; letter-spacing: .01em; }
.visor__detalle { font-size: 12.5px; color: var(--tinta-3); }
.visor__descargar {
  flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px 0 14px;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--hueso);
  color: var(--carbon);
  font: 600 13.5px/1 var(--sans);
  white-space: nowrap;
  box-shadow: 0 12px 26px -14px rgba(228, 64, 49, .75);
  transition: background .3s var(--ease), transform .45s var(--resorte);
}
.visor__descargar[hidden] { display: none; }
.visor__descargar .i { width: 16px; height: 16px; }
.visor__descargar:hover { background: #fff; transform: translateY(-2px); }
.visor__descargar:hover .i { animation: bajar .9s var(--resorte); }
.visor__descargar:active { transform: scale(.97); }
.visor__btn { position: fixed; top: 50%; margin-top: -22px; }
.visor__btn--anterior { left: 22px; }
.visor__btn--siguiente { right: 22px; }
.visor__cerrar { position: fixed; top: 18px; right: 18px; }
.visor.unico .visor__btn, .visor.unico .visor__contador { display: none; }

/* ==========================================================================
   Avisos flotantes
   ========================================================================== */
.avisos {
  position: fixed; z-index: 400;
  left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  translate: -50% 0;
  display: grid; gap: 10px;
  width: min(520px, calc(100vw - 24px));
  pointer-events: none;
}
.aviso-flotante {
  pointer-events: auto;
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 14px 14px 16px;
  border-radius: 18px;
  background: rgba(20, 11, 10, .94);
  color: var(--hueso);
  border: 1px solid rgba(255, 226, 214, .14);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -22px rgba(0, 0, 0, .95), 0 0 40px -20px rgba(228, 64, 49, .5);
  font-size: 14.5px; line-height: 1.45;
  animation: aviso-entra .7s var(--resorte) both;
}
.aviso-flotante.sale { animation: aviso-sale .35s var(--ease) both; }
.aviso-flotante > .i { margin-top: 1px; color: var(--brasa-clara); }
.aviso-flotante b { color: #fff; font-weight: 650; }
.aviso-flotante__cerrar { margin-left: auto; width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 9px; color: var(--tinta-3); }
.aviso-flotante__cerrar:hover { background: rgba(255, 240, 232, .1); color: #fff; }
.aviso-flotante__cerrar .i { width: 16px; height: 16px; }

/* ==========================================================================
   Entrada y revelado
   ========================================================================== */
.js .fondo { opacity: 0; transition: opacity 1.8s var(--ease); }
.js.listo .fondo { opacity: 1; }

/* La foto del héroe aparece con un acercamiento lento */
.js .intro__foto { opacity: 0; transition: opacity 1.6s var(--ease) .6s; }
.js.listo .intro__foto { opacity: 1; }
.js.listo .intro__foto img { animation: acercar-heroe 10s var(--ease) .4s both; }

/* El logotipo se enciende como una marquesina que parpadea */
.js .titulo { opacity: 0; }
.js.listo .titulo { animation: encender 1.5s steps(1, end) .2s both, falla 11s steps(1, end) 6s infinite; }

.js .panel { translate: -50% 110px; opacity: 0; }
.js.listo .panel { translate: -50% 0; opacity: 1; }

.js .pista { opacity: 0; translate: -50% 12px; }
.js.listo .pista:not(.oculta) { opacity: 1; translate: -50% 0; transition-delay: 2s; }

.js [data-revelar] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity .9s var(--ease) calc(var(--i, 0) * 80ms),
    transform 1s var(--ease) calc(var(--i, 0) * 80ms),
    filter .9s var(--ease) calc(var(--i, 0) * 80ms);
}
.js [data-revelar].es-visible { opacity: 1; transform: none; filter: none; }

/* Las tarjetas entran en cascada cuando el carrusel se revela.
   Se anima la caja interior: mover el <li> alteraría el anclaje del carrusel. */
.js .carrusel > li > .tarjeta__caja { opacity: 0; translate: 40px 0; }
.js .carrusel.es-visible > li > .tarjeta__caja {
  opacity: 1; translate: 0 0;
  transition: opacity .9s var(--ease) calc(var(--n, 0) * 70ms + 150ms), translate 1s var(--ease) calc(var(--n, 0) * 70ms + 150ms), transform .6s var(--ease), box-shadow .6s var(--ease);
}

/* ==========================================================================
   Animaciones
   ========================================================================== */
@keyframes rejilla { to { background-position: 72px 72px, 72px 72px; } }
@keyframes haces { from { rotate: -6deg; } to { rotate: 6deg; } }
@keyframes deriva1 { to { transform: translate(18vw, 12vh) scale(1.15); } }
@keyframes deriva2 { to { transform: translate(-20vw, -8vh) scale(.85); } }
@keyframes deriva3 { to { transform: translate(-12vw, -20vh) scale(1.2); } }
@keyframes niebla { from { transform: translateX(-3%) scaleY(.92); opacity: .85; } to { transform: translateX(3%) scaleY(1.06); opacity: 1; } }
@keyframes grano {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}
@keyframes encender {
  0% { opacity: 0; }
  10% { opacity: .85; }
  14% { opacity: .08; }
  22% { opacity: 1; }
  26% { opacity: .3; }
  34% { opacity: 1; }
  100% { opacity: 1; }
}
@keyframes falla {
  0%, 100% { opacity: 1; }
  91% { opacity: .45; }
  92% { opacity: 1; }
  94% { opacity: .2; }
  95% { opacity: 1; }
}
@keyframes focos { 0% { opacity: 1; } 50% { opacity: .16; } }
@keyframes latido { 0% { box-shadow: 0 0 0 0 rgba(228, 64, 49, .6); } 70%, 100% { box-shadow: 0 0 0 9px rgba(228, 64, 49, 0); } }
@keyframes latido-rojo { 0% { box-shadow: 0 0 0 0 rgba(228, 64, 49, .7); } 70%, 100% { box-shadow: 0 0 0 10px rgba(228, 64, 49, 0); } }
@keyframes bajar { 0% { translate: 0 0; } 35% { translate: 0 4px; } 60% { translate: 0 -2px; } 100% { translate: 0 0; } }
@keyframes rueda { 0% { translate: 0 -1px; opacity: 1; } 70% { translate: 0 3px; opacity: 0; } 100% { translate: 0 -1px; opacity: 0; } }
@keyframes brillo { 0% { transform: translateX(-70%); } 45%, 100% { transform: translateX(70%); } }
@keyframes girar { to { rotate: 360deg; } }
@keyframes fundido { from { opacity: 0; } }
@keyframes fundido-sale { to { opacity: 0; } }
@keyframes emerger { from { opacity: 0; transform: translateY(40px) scale(.96); filter: blur(8px); } }
@keyframes hundir { to { opacity: 0; transform: translateY(24px) scale(.97); filter: blur(6px); } }
@keyframes acercar { from { transform: scale(1.18); } to { transform: scale(1.08); } }
@keyframes acercar-heroe { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes subir-vidrio { from { opacity: 0; transform: translateY(30px); } }
@keyframes estampar { from { opacity: 0; scale: 1.6; rotate: -30deg; } }
@keyframes emerger-img { from { opacity: 0; transform: scale(.97); } }
@keyframes aviso-entra { from { opacity: 0; transform: translateY(24px) scale(.96); } }
@keyframes aviso-sale { to { opacity: 0; transform: translateY(12px) scale(.98); } }

/* ==========================================================================
   Adaptación
   ========================================================================== */
@media (max-width: 1180px) {
  .solo-ancho { display: none; }
  .solo-angosto { display: inline; }
}
@media (max-width: 900px) {
  .cierre__firma { grid-template-columns: auto minmax(0, 1fr); }
  .cierre__firma .btn { grid-column: 1 / -1; justify-self: start; }
  .cierre__columnas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .bienvenida__tarjeta { display: flex; flex-direction: column; aspect-ratio: auto; height: min(calc(100dvh - 64px), 780px); }
  .bienvenida__foto { position: relative; inset: auto; flex: 1 1 auto; min-height: 0; }
  .bienvenida__foto img { object-position: 50% 40%; transform: none; }
  .bienvenida[open] .bienvenida__foto img { animation: none; }
  .bienvenida__vidrio { position: relative; left: auto; bottom: auto; width: auto; margin: -34px 10px 10px; padding: 20px; }
  .bienvenida__titulo { margin: 14px 0 8px; }
  .bienvenida__acciones .btn { flex: 1; }
  .visor__figura { padding: 64px 12px 96px; }
  .visor__img { max-height: calc(100dvh - 250px); }
  .visor__pie { flex-wrap: wrap; justify-content: center; row-gap: 12px; text-align: center; }
  .visor__descargar { margin-left: 0; }
  .visor__btn { top: auto; bottom: 24px; margin-top: 0; }
  .visor__btn--anterior { left: calc(50% - 56px); }
  .visor__btn--siguiente { right: calc(50% - 56px); }
}
@media (max-width: 640px) {
  :root {
    --marco: 0px;
    --radio-escena: 0px;
    --radio-panel: 26px;
    --panel-pad: 16px;
    --logo-ancho: min(78vw, 300px);
    --titulo-arriba: max(18px, env(safe-area-inset-top, 0px));
    --panel-arriba: calc(var(--titulo-arriba) + var(--logo-alto) + 16px);
    --panel-ancho: calc(100% - 16px);
  }
  /* En teléfonos el cuadro tapa casi todo: sin desenfoque de fondo, más fluido. */
  .panel { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(40, 12, 9, .94), rgba(12, 8, 7, .96) 220px); }
  .barra { gap: 8px; padding-left: 16px; }
  .barra .nh--logo { height: 14px; width: 86px; }
  .barra .btn--chico { height: 38px; padding: 0 12px; font-size: 13px; }
  .barra.con-todo .barra__todo { margin-left: 6px; padding: 0 12px; }
  .barra.con-todo .barra__respaldo .solo-angosto { display: none; }
  .intro .ceja { font-size: 11px; letter-spacing: .1em; }
  .descargar-todo { min-width: 0; width: 100%; gap: 12px; padding: 8px 10px 8px 8px; text-align: left; }
  .descargar-todo__icono { width: 48px; height: 48px; border-radius: 15px; }
  .descargar-todo__icono .i { width: 23px; height: 23px; }
  .descargar-todo__texto b { font-size: 1.02rem; font-stretch: 108%; }
  .descargar-todo__texto small { font-size: 11.5px; letter-spacing: 0; }
  .descargar-todo__flecha { width: 38px; height: 38px; }
  .entregables__titulo { font-size: 1.12rem; font-stretch: 112%; }
  .carrusel__contador { display: none; }
  .carrusel { --tarjeta-ancho: 76%; }
  .entregables__total { display: none; }
  .reloj { gap: 12px; }
  .reloj__bloque { min-width: 1.5em; }
  .reloj__bloque b { font-size: 2.05rem; }
  .reloj__sep { display: none; }
  .cierre__firma { grid-template-columns: minmax(0, 1fr); }
  .cierre__columnas { grid-template-columns: minmax(0, 1fr); }
  .avisos { bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); }
}
@media (max-height: 560px) and (orientation: landscape) {
  :root { --logo-ancho: clamp(200px, 40vh, 320px); }
}

/* Sin movimiento */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .fondo__rejilla, .fondo__haces, .fondo__mancha, .fondo__niebla, .fondo__ruido,
  .insignia__texto, .sello__texto, .punto, .pista .rueda, .descargar-todo::after,
  .marquesina__focos rect, .linea__nodo, .intro__foto img { animation: none !important; }
  .js.listo .titulo { animation: none; opacity: 1; }
  .escena__titulo, .fondo__profundo { transform: none !important; }
  .js [data-revelar] { transform: none; filter: none; }
  .js .carrusel > li > .tarjeta__caja { translate: none; }
}
