/* LA NAVE · experiencia v2 — travesía cinematográfica, Muro de los 258,
   cuenta regresiva y barra de zarpe. Extiende styles.css; mismos tokens. */

/* ---------- utilidades ---------- */

.sr-solo {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* tarjetas de ficha sobre banda clara */
.stat-card-luz { border-color: var(--hairline-light); }
.stat-card-luz:hover { border-color: rgba(184, 134, 47, 0.5); background: rgba(184, 134, 47, 0.05); }
.stat-card-luz .stat-figure { color: var(--ink); }
.stat-card-luz .stat-figure.stat-accent { color: var(--naranja); }

/* ---------- hero cinematográfico: foto real + atmósfera + entrada ---------- */

.hero-foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 0;
  /* grado que unifica cualquier foto a la paleta: desatura, entinta cálido, oscurece */
  filter: grayscale(0.32) sepia(0.42) saturate(0.9) brightness(0.5) contrast(1.06);
  transform: scale(1.05);
  will-change: transform;
  animation: heroKen 32s var(--ease-out) infinite alternate;
}
@keyframes heroKen {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to   { transform: scale(1.16) translate3d(-1.5%, -2.4%, 0); }
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(125% 90% at 50% 12%, rgba(43, 42, 38, 0.24), rgba(34, 33, 30, 0.88) 76%),
    linear-gradient(180deg, rgba(34, 33, 30, 0.72), rgba(34, 33, 30, 0.48) 42%, rgba(34, 33, 30, 0.95));
}

/* resplandor bronce que respira — luz en la sala */
.hero-bloom {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  background: radial-gradient(46% 42% at 50% 28%, rgba(242, 145, 0, 0.17), rgba(184, 134, 47, 0.06) 45%, transparent 70%);
  animation: heroBloom 9s ease-in-out infinite alternate;
}
@keyframes heroBloom {
  from { opacity: 0.45; transform: scale(1); }
  to   { opacity: 0.9; transform: scale(1.08); }
}

/* chispas — el naranja de la marca, literal, subiendo lento */
.hero-embers {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.hero-embers i {
  position: absolute;
  bottom: -12px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 145, 0, 0.95), rgba(242, 145, 0, 0));
  opacity: 0;
  animation: heroEmber linear infinite;
}
@keyframes heroEmber {
  0%   { transform: translateY(0) scale(0.7); opacity: 0; }
  12%  { opacity: 0.75; }
  80%  { opacity: 0.45; }
  100% { transform: translateY(-72vh) scale(1.1); opacity: 0; }
}
.hero-embers i:nth-child(1) { left: 12%; animation-duration: 13s; animation-delay: 0s; }
.hero-embers i:nth-child(2) { left: 27%; animation-duration: 16s; animation-delay: 3.2s; }
.hero-embers i:nth-child(3) { left: 41%; animation-duration: 11s; animation-delay: 6.5s; }
.hero-embers i:nth-child(4) { left: 56%; animation-duration: 15s; animation-delay: 1.6s; }
.hero-embers i:nth-child(5) { left: 68%; animation-duration: 12.5s; animation-delay: 8.4s; }
.hero-embers i:nth-child(6) { left: 81%; animation-duration: 17s; animation-delay: 4.1s; }
.hero-embers i:nth-child(7) { left: 90%; animation-duration: 14s; animation-delay: 10.2s; }

/* ---------- hero como experiencia: profundidad, luz, apertura ---------- */

/* parálax: cada capa se desplaza con el cursor (hero.js setea --px/--py) */
.hero [data-parallax] { translate: var(--px, 0) var(--py, 0); will-change: translate; }

/* rayo de luz volumétrico que barre lento */
.hero-ray {
  position: absolute;
  inset: -8%;
  z-index: 2;
  pointer-events: none;
  mix-blend-mode: screen;
  background: linear-gradient(112deg, transparent 40%, rgba(242, 145, 0, 0.09) 47%, rgba(255, 214, 150, 0.16) 50%, rgba(242, 145, 0, 0.09) 53%, transparent 60%);
  animation: heroRay 15s ease-in-out infinite alternate;
}
@keyframes heroRay {
  from { transform: translateX(-7%) rotate(-1deg); opacity: 0.55; }
  to   { transform: translateX(7%) rotate(1.5deg); opacity: 1; }
}

/* constelación sutil (textura generativa, cero fotos) */
.hero-stars {
  position: absolute;
  inset: -6%;
  width: 112%;
  height: 112%;
  z-index: 2;
  pointer-events: none;
  opacity: 0.5;
}
.hero-stars circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: heroTwinkle 4.5s ease-in-out infinite;
}
.hero-stars circle:nth-child(3n)   { animation-duration: 6s;   animation-delay: 0.7s; }
.hero-stars circle:nth-child(3n+1) { animation-duration: 7s;   animation-delay: 1.6s; }
.hero-stars circle:nth-child(4n)   { animation-delay: 2.6s; }
@keyframes heroTwinkle { 0%, 100% { opacity: 0.22; } 50% { opacity: 0.9; } }

/* apertura cinematográfica: fundido desde negro */
.hero-dawn {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: var(--carbon-deep);
  animation: heroDawn 1.7s var(--ease-out) forwards;
}
@keyframes heroDawn { from { opacity: 1; } to { opacity: 0; } }

/* destello de luz que recorre "LA NAVE" — recortado al texto (sin caja) */
.hero-title-in {
  color: transparent;
  background-image: linear-gradient(100deg,
    var(--blanco) 0%, var(--blanco) 42%,
    #FFF6E4 50%,
    var(--blanco) 58%, var(--blanco) 100%);
  background-size: 250% 100%;
  background-position: 130% 0;
  -webkit-background-clip: text;
  background-clip: text;
  animation:
    heroTitle 1.05s var(--ease-out) 0.4s both,
    heroGlint 2.6s var(--ease-out) 1.3s 1 forwards;
}
@keyframes heroGlint {
  from { background-position: 130% 0; }
  to   { background-position: -30% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ray, .hero-stars circle { animation: none; }
  .hero-title-in { animation: none; background-position: 0 0; }
  .hero-dawn { display: none; }
  .hero [data-parallax] { translate: none; }
}

/* contenido por encima de toda la atmósfera */
.hero-inner { position: relative; z-index: 5; }

/* entrada coreografiada (cortina que sube) */
.hero-in {
  opacity: 0;
  animation: heroIn 0.9s var(--ease-out) both;
  animation-delay: var(--d, 0s);
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

.hero-title-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding: 0 0.06em 0.12em;
}
.hero-title-in {
  display: inline-block;
  transform: translateY(122%);
  animation: heroTitle 1.05s var(--ease-out) 0.4s both;
}
@keyframes heroTitle { to { transform: none; } }

.hero-rule {
  width: 96px;
  height: 2px;
  margin: 1.5rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--bronce) 30%, var(--naranja) 70%, transparent);
  transform: scaleX(0);
  opacity: 0;
  animation: heroRule 1s var(--ease-out) 1.05s forwards;
}
@keyframes heroRule { to { transform: scaleX(1); opacity: 1; } }

/* bloque "en vivo" — la bitácora de la causa, pulso incluido */
.hero-live { margin-top: 2.4rem; }
.chip-live::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: var(--naranja);
  vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(242, 145, 0, 0.55);
  animation: heroPulse 2.4s ease-out infinite;
}
@keyframes heroPulse {
  0%   { box-shadow: 0 0 0 0 rgba(242, 145, 0, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(242, 145, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 145, 0, 0); }
}
.hero-track {
  width: min(300px, 66vw);
  height: 2px;
  margin: 1.1rem auto 0;
  border-radius: 2px;
  background: rgba(244, 241, 234, 0.14);
  overflow: hidden;
}
.hero-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--bronce), var(--naranja));
  transition: width 1.5s var(--ease-out) 1.7s;
}

/* pista de scroll */
.hero-cue {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  z-index: 5;
  width: 26px;
  height: 42px;
  border: 1px solid var(--hairline-dark);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: heroIn 0.9s var(--ease-out) 1.95s both;
}
.hero-cue span {
  width: 3px;
  height: 8px;
  margin-top: 7px;
  border-radius: 2px;
  background: var(--naranja);
  animation: heroCue 1.9s ease-in-out infinite;
}
@keyframes heroCue {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50%      { transform: translateY(9px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-foto, .hero-bloom { animation: none; }
  .hero-embers, .hero-cue { display: none; }
  .hero-bloom { opacity: 0.6; }
  .hero-in { opacity: 1; animation: none; }
  .hero-title-in { transform: none; animation: none; }
  .hero-rule { transform: none; opacity: 1; animation: none; }
  .hero-track span { transition: none; }
}

/* ---------- por qué · fotos reales de la comunidad ---------- */

.porque-lede {
  max-width: 62ch;
  margin-inline: auto;
  text-align: center;
}
.porque-fotos {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1rem;
  margin-top: var(--space-block);
}
.foto-real {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--carbon);
  box-shadow: 0 1px 2px rgba(43, 42, 38, 0.08), 0 22px 46px -26px rgba(43, 42, 38, 0.45);
}
.foto-real-lg { min-height: 360px; }
.foto-real img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* grado cálido que hermana toda foto real con la paleta */
  filter: saturate(0.92) contrast(1.03) sepia(0.12);
  transition: transform 650ms var(--ease-out);
}
.foto-real:hover img { transform: scale(1.045); }
.foto-real::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(34, 33, 30, 0.84));
  pointer-events: none;
}
.foto-real figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.1rem 1.3rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--hueso);
}
.porque-stats-label { margin-top: var(--space-block); }

@media (max-width: 760px) {
  .porque-fotos { grid-template-columns: 1fr; }
  .foto-real, .foto-real-lg { min-height: 240px; }
}
@media (prefers-reduced-motion: reduce) {
  .foto-real img { transition: none; }
  .foto-real:hover img { transform: none; }
}

/* ---------- hero: plano de fondo + chips vivos ---------- */

.hero-plano {
  position: absolute;
  right: clamp(-6rem, -2vw, 0rem);
  bottom: -3rem;
  width: min(74vw, 54rem);
  height: auto;
  opacity: 0.055;
  pointer-events: none;
}
.hero-plano path {
  fill: none;
  stroke: var(--bronce);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 2.8rem;
}
.chip {
  padding: 0.55rem 1.15rem;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--piedra);
  background: color-mix(in srgb, var(--carbon-deep) 55%, transparent);
}
.chip strong {
  color: var(--naranja);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- travesía cinematográfica ---------- */

.travesia {
  position: relative;
  background:
    radial-gradient(80rem 46rem at 50% 0%, rgba(184, 134, 47, 0.08), transparent 62%),
    var(--carbon);
  color: var(--hueso);
  padding: var(--space-band) clamp(1.25rem, 4vw, 3rem);
}

.t-pin {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.t-linea {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(244, 241, 234, 0.07);
  display: none;
}
.t-linea i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--bronce), var(--naranja));
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.t-svg {
  width: min(100%, 58rem);
  height: auto;
}

.t-captions {
  width: min(100%, 46rem);
  text-align: center;
}
.t-caption { margin-top: 2.2rem; }
.t-acto {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bronce);
  margin-bottom: 0.75rem;
}
.t-caption p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.15rem + 1.8vw, 2.35rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--blanco);
}
.t-caption em {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 0.95rem + 0.7vw, 1.4rem);
  margin-top: 0.55rem;
  color: color-mix(in srgb, var(--hueso) 74%, transparent);
}
.t-caption .btn { margin-top: 1.5rem; }

/* — modo cine (lo activa JS cuando hay movimiento permitido) — */
.travesia.es-cine {
  height: 460vh;
  padding: 0;
}
.es-cine .t-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  /* fondo despejado: el CTA del acto final nunca queda bajo la barra de zarpe */
  padding: 4.6rem clamp(1.25rem, 4vw, 3rem) 6.75rem;
}
.es-cine .t-linea { display: block; }
.es-cine .t-svg { max-height: 56svh; }
.es-cine .t-captions {
  position: relative;
  min-height: 9.5rem;
  margin-top: 1.4rem;
}
.es-cine .t-caption {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
  pointer-events: none;
}
.es-cine .t-caption.es-activa {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* — trazos y materia de la escena — */
.e-suelo { stroke: #4A473F; stroke-width: 1; fill: none; }
.e-marco { stroke: var(--bronce); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.e-col { stroke: var(--bronce); stroke-width: 1.3; stroke-linecap: round; }
.e-fino { stroke: var(--piedra); stroke-width: 1; fill: none; }
.e-oculta { stroke: var(--bronce); stroke-width: 1; stroke-dasharray: 5 6; fill: none; }
.e-clima { stroke: #9DB4C0; stroke-width: 1.4; fill: none; stroke-linecap: round; }
.e-texto {
  fill: var(--piedra);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
}
.e-etiqueta {
  fill: var(--bronce);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
}
.e-estrella { fill: var(--hueso); opacity: 0.4; }
.t-persona circle { fill: var(--hueso); }
.t-persona path { stroke: var(--hueso); stroke-width: 5; stroke-linecap: round; fill: none; }

/* ---------- el Muro de los 258 ---------- */

.muro-figura {
  margin-top: var(--space-block);
  text-align: center;
}
.muro-svg {
  width: min(100%, 30rem);
  height: auto;
  margin-inline: auto;
  overflow: visible;
}

.celda {
  fill: rgba(244, 241, 234, 0.05);
  stroke: rgba(244, 241, 234, 0.14);
  stroke-width: 1;
}
.celda:not(.es-tomada) {
  cursor: pointer;
  transition: fill var(--dur) var(--ease-out), stroke var(--dur) var(--ease-out);
}
.celda:not(.es-tomada):hover {
  stroke: var(--naranja);
  fill: rgba(242, 145, 0, 0.14);
}
.celda.es-tomada {
  fill: url(#gradLugar);
  stroke: rgba(242, 145, 0, 0.4);
  opacity: 0.12;
  transition: opacity 620ms var(--ease-out);
}
.celda.es-tomada.es-viva { opacity: 1; }

.muro-puerta { stroke: var(--bronce); stroke-width: 1.4; opacity: 0.85; }
.muro-umbral { stroke: var(--naranja); stroke-width: 2; opacity: 0.5; }

.muro-leyenda {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem 1.6rem;
  margin-top: 1.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--piedra);
}
.muro-leyenda span { display: inline-flex; align-items: center; gap: 0.5rem; }
.muro-leyenda i {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.leyenda-tomado i { background: linear-gradient(180deg, var(--naranja), var(--bronce)); }
.leyenda-libre i { border: 1px solid rgba(244, 241, 234, 0.35); }
.leyenda-puerta i { border-bottom: 2px solid var(--naranja); border-radius: 0; height: 8px; }

.muro-nota {
  margin-top: 1.6rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  color: color-mix(in srgb, var(--hueso) 80%, transparent);
}
.muro-cta { text-align: center; margin-top: 2.2rem; }

/* — hitos sobre la barra de avance — */
.progress-track { position: relative; overflow: visible; }
.progress-track .progress-fill { position: relative; z-index: 1; }
.hito {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--carbon);
  border: 1px solid rgba(244, 241, 234, 0.3);
  z-index: 2;
}
.hito::after {
  content: attr(data-hito) "%";
  position: absolute;
  top: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--piedra) 75%, transparent);
}
.hito.es-logrado {
  background: var(--naranja);
  border-color: var(--naranja);
}
.hito.es-logrado::after { color: var(--naranja); }

/* ---------- barra de zarpe (cierre siempre a la vista) ---------- */

.zarpe {
  position: fixed;
  left: 50%;
  bottom: max(0.9rem, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.5rem 0.55rem 0.5rem 1.2rem;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--carbon-deep) 90%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.55);
  transform: translate(-50%, 160%);
  transition: transform 480ms var(--ease-out);
}
.zarpe.es-visible { transform: translate(-50%, 0); }

.zarpe .btn { white-space: nowrap; }
.zarpe-txt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--piedra);
  white-space: nowrap;
}
.zarpe-txt strong {
  color: var(--hueso);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
}
.zarpe-cerrar {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--piedra);
  font-size: 1rem;
  line-height: 1;
  padding: 0.45rem 0.55rem;
  cursor: pointer;
  border-radius: var(--radius-pill);
}
.zarpe-cerrar:hover { color: var(--hueso); }

/* ---------- botón fantasma (compartir) + banda con borde ---------- */

.btn-ghost {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}
.btn-ghost:hover {
  border-color: var(--bronce);
  color: var(--bronce);
  background: rgba(184, 134, 47, 0.06);
}

.band-borde { border-top: 1px solid var(--hairline-light); }

/* ---------- sección de video cinematográfico ---------- */

.video-marco {
  position: relative;
  max-width: 64rem;
  margin: var(--space-block) auto 0;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--carbon-deep);
  box-shadow: 0 30px 80px -34px rgba(0, 0, 0, 0.72), 0 0 0 1px var(--hairline-dark);
}
.nave-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-sonido {
  position: absolute;
  bottom: 0.9rem;
  right: 0.9rem;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--hairline-dark);
  background: color-mix(in srgb, var(--carbon-deep) 66%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--hueso);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.video-sonido:hover { color: var(--naranja); border-color: var(--naranja); }

.cta-fila {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 1.2rem;
}

/* ---------- responsive ---------- */

@media (max-width: 700px) {
  .es-cine .t-svg { max-height: 42svh; }
  .es-cine .t-captions { min-height: 11.5rem; }
  .hero-plano { width: 120vw; right: -20vw; opacity: 0.045; }
  .zarpe { width: calc(100% - 1.6rem); justify-content: space-between; gap: 0.55rem; padding: 0.4rem 0.4rem 0.4rem 0.85rem; }
  .zarpe-txt { font-size: 0.6rem; letter-spacing: 0.07em; }
  .zarpe .btn-sm { padding: 0.5rem 0.85rem; font-size: 0.64rem; }
  .zarpe-cerrar { padding: 0.35rem 0.4rem; }
  .hito::after { display: none; }
}

/* ---------- movimiento reducido ---------- */

@media (prefers-reduced-motion: reduce) {
  .t-caption, .celda, .celda.es-tomada, .zarpe { transition: none; }
  .zarpe { transform: translate(-50%, 0); }
  .zarpe:not(.es-visible) { display: none; }
}
