/* =========================================================
   AURA CREATIVE FILMS - VERSION 5 "Dentro del video"
   La portada roja abre un portal; después todo es negro de cine
   y el rojo solo es acento. Lo que se mueve usa transform y opacity.
   ========================================================= */

:root {
  --rojo: #e10d0d;
  --rojo-vivo: #ff2b1c;
  --negro: #070506;
  --carbon: #110c0d;
  --blanco: #ffffff;
  --hueso: #efe8e6;
  --gris: #9a9092;
  --linea: rgba(255, 255, 255, 0.16);
  --display: "Unbounded", "Space Grotesk", sans-serif;
  --sans: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --lateral: clamp(20px, 5vw, 72px);
  --suave: cubic-bezier(0.2, 0.8, 0.2, 1);
  --abajo: env(safe-area-inset-bottom, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { font-family: var(--sans); color: var(--hueso); line-height: 1.55; background: var(--negro); overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
body.is-loading, body.modal-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--rojo); color: var(--blanco); }
:focus-visible { outline: 2px solid var(--rojo); outline-offset: 4px; }

/* Cursor personalizado (solo computadora) */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 500; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%;
  background: var(--blanco); mix-blend-mode: difference; opacity: 0;
  display: grid; place-items: center; will-change: transform;
  transition: width 0.4s var(--suave), height 0.4s var(--suave), margin 0.4s var(--suave), opacity 0.3s, background 0.3s;
}
.cursor span { font: 500 0.58rem var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--blanco); opacity: 0; transition: opacity 0.2s; }
.cursor.is-on { opacity: 1; }
.cursor.has-label { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--rojo); mix-blend-mode: normal; }
.cursor.has-label span { opacity: 1; }
body.cursor-on, body.cursor-on * { cursor: none !important; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Pantalla de carga ---------- */
.loader {
  position: fixed; inset: 0; z-index: 600; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px;
  background: radial-gradient(ellipse 110% 90% at 50% 40%, #ff2a1a 0%, #d40c0c 45%, #7a0000 100%);
  color: #1a0000; transition: opacity 0.8s, visibility 0.8s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__mark { font: 900 clamp(2.2rem, 7vw, 4.5rem) var(--display); letter-spacing: -0.03em; transition: transform 0.8s var(--suave); }
.loader.is-done .loader__mark { transform: scale(1.3); }
.loader__mark sup { font-size: 0.3em; margin-left: 4px; vertical-align: super; }
.loader__ring { position: relative; width: 118px; height: 118px; display: grid; place-items: center; }
.loader__ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.loader__track { fill: none; stroke: rgba(26, 0, 0, 0.25); stroke-width: 2; }
.loader__arc { fill: none; stroke: #1a0000; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; }
.loader__ring span { font: 500 1.1rem var(--mono); }
.loader__text { font: 400 0.72rem var(--mono); letter-spacing: 0.3em; text-transform: uppercase; opacity: 0.75; }

/* ---------- Ambiente ---------- */
.particles { position: fixed; inset: 0; z-index: 28; width: 100%; height: 100%; pointer-events: none; transition: opacity 0.6s; }
.particles.is-off { opacity: 0; }
.grain { position: fixed; inset: -120px; z-index: 29; pointer-events: none; opacity: 0.45; background-repeat: repeat; will-change: transform; animation: grano 0.9s steps(5) infinite; }
@keyframes grano {
  0% { transform: translate3d(0, 0, 0); } 20% { transform: translate3d(-47px, 31px, 0); } 40% { transform: translate3d(38px, -52px, 0); }
  60% { transform: translate3d(-29px, -17px, 0); } 80% { transform: translate3d(55px, 44px, 0); } 100% { transform: translate3d(0, 0, 0); }
}

/* ---------- Barra superior, menú y contador ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--lateral); pointer-events: none; }
.top > * { pointer-events: auto; }
.top__logo { font: 900 1.25rem var(--display); letter-spacing: -0.03em; color: var(--blanco); }
.top__logo sup { font-size: 0.45em; margin-left: 2px; vertical-align: super; }
.top__right { display: flex; align-items: center; gap: 18px; }
.top__time { font: 400 0.75rem var(--mono); letter-spacing: 0.18em; opacity: 0.85; }
.top__reel {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 999px;
  background: rgba(7, 5, 6, 0.3); font: 500 0.72rem var(--mono); letter-spacing: 0.18em; text-transform: uppercase; transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.top__reel i, .play { display: inline-block; width: 0; height: 0; border-left: 8px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.top__reel:hover { background: var(--rojo); border-color: var(--rojo); color: var(--blanco); }
.magnet { will-change: transform; }

.top__sound { display: inline-flex; align-items: center; gap: 10px; padding: 8px 6px; font: 500 0.66rem var(--mono); letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.8; transition: opacity 0.3s; }
.top__sound:hover, .top__sound[aria-pressed="true"] { opacity: 1; }
.top__sound em { font-style: normal; }
.eq { position: relative; display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.eq i { width: 2px; height: 5px; background: currentColor; border-radius: 1px; transition: height 0.3s; }
.eq i:nth-child(2) { height: 9px; } .eq i:nth-child(3) { height: 12px; } .eq i:nth-child(4) { height: 7px; }
.eq::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; height: 1.5px; background: currentColor; transform: rotate(-40deg); transition: opacity 0.3s; }
.top__sound[aria-pressed="true"] .eq::after { opacity: 0; }
.top__sound[aria-pressed="true"] .eq i { animation: eq 0.9s ease-in-out infinite alternate; }
.top__sound[aria-pressed="true"] .eq i:nth-child(2) { animation-delay: -0.3s; }
.top__sound[aria-pressed="true"] .eq i:nth-child(3) { animation-delay: -0.6s; }
.top__sound[aria-pressed="true"] .eq i:nth-child(4) { animation-delay: -0.15s; }
@keyframes eq { from { height: 3px; } to { height: 12px; } }

.dock {
  position: fixed; left: 50%; bottom: calc(22px + var(--abajo)); z-index: 50; transform: translateX(-50%); display: flex; gap: 4px; padding: 6px; max-width: calc(100vw - 24px);
  background: rgba(10, 7, 8, 0.82); border: 1px solid var(--linea); border-radius: 999px;
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform 0.6s var(--suave), opacity 0.4s;
}
.dock.is-hidden { transform: translate(-50%, 140%); opacity: 0; }
.dock a { display: flex; align-items: baseline; gap: 8px; padding: 11px 18px; border-radius: 999px; font: 500 0.7rem var(--mono); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; transition: background 0.3s, color 0.3s; }
.dock b { font-weight: 400; color: var(--rojo); }
.dock a:hover { background: rgba(255, 255, 255, 0.1); }
.dock a.is-active { background: rgba(255, 255, 255, 0.14); }
.dock .dock__cta { background: var(--rojo); color: var(--blanco); }
.dock .dock__cta:hover { background: var(--blanco); color: var(--rojo); }

.hud { position: fixed; left: var(--lateral); bottom: calc(30px + var(--abajo)); z-index: 45; display: flex; align-items: center; gap: 16px; font: 500 0.7rem var(--mono); letter-spacing: 0.2em; text-transform: uppercase; opacity: 0; transform: translateY(12px); transition: opacity 0.4s, transform 0.5s var(--suave); pointer-events: none; }
.hud.is-on { opacity: 1; transform: none; }
.hud__rec { display: inline-flex; align-items: center; gap: 8px; }
.hud__rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--rojo); animation: parpadeo 1.2s steps(2) infinite; }
@keyframes parpadeo { 50% { opacity: 0.2; } }
.hud__num b { color: var(--blanco); font-weight: 500; }
.hud__barra { position: relative; width: 90px; height: 2px; background: rgba(255, 255, 255, 0.2); overflow: hidden; }
.hud__barra i { position: absolute; inset: 0; background: var(--rojo); transform-origin: left; transform: scaleX(0); transition: transform 0.5s var(--suave); }

/* ---------- Portada (igual que antes: el portal) ---------- */
.scene { position: relative; height: 320vh; }
.scene__sticky {
  position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden;
  background: radial-gradient(ellipse 130% 100% at 50% 18%, #ff2a1a 0%, #d40c0c 36%, #8a0000 76%, #3a0000 100%);
}
.hero__type {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  pointer-events: none; will-change: transform, opacity; opacity: 0; color: var(--blanco);
}
.hero__type h1, .hero__copy { display: flex; flex-direction: column; align-items: center; }
.hero__aura { font: 900 clamp(5.4rem, 25vw, 30rem) var(--display); line-height: 0.82; letter-spacing: -0.015em; margin-right: -0.015em; }
.hero__sub { margin-top: clamp(14px, 2.6vw, 34px); font: 500 clamp(0.8rem, 2.1vw, 1.9rem) var(--display); letter-spacing: 0.5em; margin-right: -0.5em; text-transform: uppercase; }
.hero__sub em { font-style: normal; opacity: 0.8; }
.hero__type--front { z-index: 4; }
.hero__type--front .hero__aura { color: transparent; -webkit-text-stroke: 2px var(--blanco); }
.hero__type--back .hero__sub { visibility: hidden; }
.hero__portal { position: absolute; inset: 0; z-index: 3; clip-path: inset(50% 38% 50% 38% round 40px); will-change: clip-path, transform; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 5, 6, 0.45), rgba(7, 5, 6, 0.85)); opacity: 0; }
.hero__bars { position: absolute; inset: 0; z-index: 5; pointer-events: none; will-change: transform, opacity; }
.hero__bars i { position: absolute; height: 7px; border-radius: 4px; background: var(--blanco); box-shadow: 0 0 18px rgba(255, 255, 255, 0.65); will-change: transform; }
.hero__bars i:nth-child(1) { width: 34vw; left: -6vw; top: 26%; transform: rotate(-14deg); }
.hero__bars i:nth-child(2) { width: 16vw; right: 10vw; top: 22%; transform: rotate(38deg); }
.hero__bars i:nth-child(3) { width: 12vw; right: -2vw; bottom: 38%; transform: rotate(-52deg); }
.hero__label { position: absolute; z-index: 5; bottom: 96px; font: 400 0.72rem/1.9 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; opacity: 0; color: var(--blanco); }
.hero__label--l { left: var(--lateral); }
.hero__label--r { right: var(--lateral); text-align: right; }
.statement { position: absolute; inset: 0; z-index: 6; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 var(--lateral); pointer-events: none; opacity: 0; will-change: transform, opacity; color: var(--blanco); }
.statement__kicker { font: 400 0.75rem var(--mono); letter-spacing: 0.4em; text-transform: uppercase; margin-bottom: 26px; opacity: 0.85; }
.statement__text { font: 800 clamp(1.7rem, 5.4vw, 5rem)/1.08 var(--display); letter-spacing: -0.02em; max-width: 16em; text-wrap: balance; }
.statement__text em { font-style: normal; color: var(--rojo-vivo); }
.statement__btn { margin-top: 44px; display: inline-flex; align-items: center; gap: 12px; }
.hero__scroll { position: absolute; z-index: 7; left: var(--lateral); bottom: 30px; display: flex; align-items: center; gap: 14px; font: 400 0.7rem var(--mono); letter-spacing: 0.3em; text-transform: uppercase; opacity: 0; color: var(--blanco); }
.hero__scroll i { width: 1px; height: 46px; background: var(--blanco); transform-origin: top; animation: bajar 1.8s ease-in-out infinite; }
@keyframes bajar { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Cinta ---------- */
.ribbon { position: relative; z-index: 2; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--linea); background: var(--negro); will-change: transform; }
.ribbon__track { display: flex; align-items: center; gap: 44px; width: max-content; animation: cinta 40s linear infinite; will-change: transform; }
.ribbon span { font: 800 clamp(1.6rem, 4.4vw, 3.8rem) var(--display); letter-spacing: 0.01em; text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.55); }
.ribbon i { flex: none; width: 12px; height: 12px; background: var(--rojo); transform: rotate(45deg); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* ---------- Capítulos (tarjetas de título, como en el cine) ---------- */
.capitulo { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--lateral); background: var(--negro); overflow: hidden; }
.capitulo__num { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 28px; font: 500 0.76rem var(--mono); letter-spacing: 0.32em; text-transform: uppercase; color: var(--rojo); }
.capitulo__num i { width: 46px; height: 1px; background: var(--rojo); }
.capitulo__titulo { font: 900 clamp(2.4rem, 7.4vw, 9.5rem)/0.95 var(--display); letter-spacing: -0.02em; text-transform: uppercase; color: var(--blanco); }
.capitulo__nota { margin-top: 34px; max-width: 440px; font: 400 0.86rem/1.8 var(--mono); color: var(--gris); }
/* Líneas para que SplitText enmascare cada línea */
.split .linea { overflow: hidden; padding-bottom: 0.04em; }

/* ---------- Escenas: cada proyecto a pantalla completa ---------- */
.escenas { position: relative; z-index: 2; background: var(--negro); }
.escena { position: relative; height: 100vh; overflow: hidden; background: var(--negro); }
.escena__marco { position: absolute; inset: 0; overflow: hidden; transform-origin: 50% 0%; will-change: transform; }
.escena__fondo { position: absolute; inset: -6% 0; will-change: transform; }
.escena__blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(40px) brightness(0.55) saturate(1.2); transform: scale(1.2); opacity: 0; transition: opacity 0.6s; }
.escena__poster, .escena__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.escena__video { opacity: 0; transition: opacity 0.8s; }
.escena.is-playing .escena__video { opacity: 1; }
/* Videos con otra forma que la pantalla (vertical en compu, horizontal en celular): completos al centro con fondo difuminado */
.escena.is-ajustada .escena__blur { opacity: 1; }
.escena.is-ajustada .escena__poster, .escena.is-ajustada .escena__video { object-fit: contain; }
.escena__sombra { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 5, 6, 0.92) 0%, rgba(7, 5, 6, 0.25) 42%, rgba(7, 5, 6, 0.05) 65%, rgba(7, 5, 6, 0.45) 100%); }
.escena__oscuro { position: absolute; inset: 0; background: var(--negro); opacity: 0; pointer-events: none; will-change: opacity; }
.escena__info { position: absolute; left: var(--lateral); right: var(--lateral); bottom: clamp(110px, 16vh, 170px); display: grid; gap: 18px; justify-items: start; color: var(--blanco); }
.escena__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font: 500 0.72rem var(--mono); letter-spacing: 0.22em; text-transform: uppercase; }
.escena__meta b { color: var(--rojo); font-weight: 500; }
.escena__meta span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 18px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); vertical-align: middle; }
.escena__titulo { font: 800 clamp(2.3rem, 7.4vw, 8.4rem)/0.95 var(--display); letter-spacing: -0.03em; text-transform: uppercase; max-width: 13ch; text-wrap: balance; }
.escena__titulo.is-largo { font-size: clamp(1.8rem, 5vw, 5.6rem); max-width: 18ch; }
.escena__desc { max-width: 520px; color: rgba(255, 255, 255, 0.78); }
.escena__ver { display: inline-flex; align-items: center; gap: 14px; padding: 16px 28px 16px 22px; border-radius: 999px; background: var(--blanco); color: var(--negro); font: 500 0.8rem var(--display); letter-spacing: 0.02em; transition: background 0.3s, color 0.3s; }
.escena__ver .play { border-left-color: var(--rojo); border-left-width: 10px; border-top-width: 6px; border-bottom-width: 6px; transition: border-color 0.3s; }
.escena__ver:hover { background: var(--rojo); color: var(--blanco); }
.escena__ver:hover .play { border-left-color: var(--blanco); }
.escena__esquina { position: absolute; top: clamp(90px, 13vh, 130px); right: var(--lateral); font: 800 clamp(3rem, 9vw, 9rem)/0.8 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.35); }

/* ---------- Tira de película (fotos) ---------- */
.tira { position: relative; z-index: 2; height: 100vh; overflow: hidden; background: var(--negro); display: flex; align-items: center; }
.tira__pista {
  position: relative; display: flex; gap: 0; padding: 34px 0; will-change: transform;
  background: #050304;
  /* perforaciones de la película arriba y abajo */
  background-image:
    radial-gradient(circle at 50% 50%, #241a1c 0 5px, transparent 5.5px),
    radial-gradient(circle at 50% 50%, #241a1c 0 5px, transparent 5.5px);
  background-size: 28px 34px, 28px 34px;
  background-position: 0 0, 0 100%;
  background-repeat: repeat-x;
  padding-inline: 12vw;
}
.foto { position: relative; flex: none; height: min(64vh, 620px); margin-inline: 10px; overflow: hidden; background: #000; cursor: pointer; }
.foto img { height: 100%; width: auto; max-width: none; transform: scale(1.12); will-change: transform; transition: filter 0.5s; filter: grayscale(0.35) brightness(0.8); }
.foto:hover img, .foto.is-centro img { filter: none; }
.foto__n { position: absolute; left: 10px; bottom: 8px; font: 500 0.62rem var(--mono); letter-spacing: 0.18em; color: var(--rojo); text-shadow: 0 1px 2px #000; }
.tira__cuenta { position: absolute; right: var(--lateral); bottom: calc(34px + var(--abajo)); font: 500 0.72rem var(--mono); letter-spacing: 0.22em; color: var(--gris); }
.tira__cuenta b { color: var(--blanco); font-weight: 500; }

/* ---------- Contacto ---------- */
.contacto { position: relative; z-index: 2; padding: 140px var(--lateral) 120px; background: radial-gradient(ellipse 90% 60% at 80% 0%, rgba(225, 13, 13, 0.22), transparent 60%), var(--negro); }
.contacto__titulo { font: 900 clamp(2.4rem, 8.6vw, 9.5rem)/0.92 var(--display); letter-spacing: -0.03em; text-transform: uppercase; color: var(--blanco); max-width: 11ch; margin-bottom: clamp(50px, 9vh, 100px); }
.contact { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: clamp(30px, 7vw, 110px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.form label { display: flex; flex-direction: column; gap: 6px; font: 400 0.7rem var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gris); }
.form__full, .form .btn, .form__estado { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 0; background: transparent; color: var(--blanco); border: 0; border-bottom: 1px solid var(--linea); border-radius: 0;
  font: 400 1.15rem var(--sans); letter-spacing: 0; text-transform: none; outline: none; transition: border-color 0.3s;
}
.form input::placeholder { color: rgba(255, 255, 255, 0.35); }
.form select option { color: var(--negro); }
.form input:focus, .form select:focus, .form textarea:focus { border-bottom-color: var(--rojo); }
.form textarea { resize: vertical; }
.form__trampa { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.btn { justify-self: start; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 40px; border-radius: 999px; background: var(--rojo); color: var(--blanco); font: 500 0.82rem var(--display); letter-spacing: 0.04em; transition: background 0.3s, color 0.3s; }
.btn:hover { background: var(--blanco); color: var(--rojo); }
.btn .play { border-left-color: currentColor; }
.btn:disabled { opacity: 0.6; pointer-events: none; }
.form__estado { min-height: 1.4em; font: 400 0.85rem var(--mono); }
.contact__info { display: flex; flex-direction: column; gap: 18px; }
.contact__lema { font: 500 1.1rem/1.4 var(--display); letter-spacing: -0.02em; margin-bottom: 14px; color: var(--blanco); }
.contact__lema em { font-style: normal; color: var(--rojo); }
.contact__info a { display: inline-block; align-self: flex-start; padding-bottom: 6px; border-bottom: 1px solid var(--linea); font: 400 1.05rem var(--sans); word-break: break-all; transition: border-color 0.3s, color 0.3s; }
.contact__info a:hover { border-color: var(--rojo); color: var(--blanco); }

/* ---------- Pie ---------- */
.footer { position: relative; z-index: 2; overflow: hidden; padding-top: 40px; background: var(--negro); border-top: 1px solid var(--linea); }
.footer__big { display: flex; justify-content: center; font: 900 clamp(6rem, 29vw, 40rem)/0.8 var(--display); letter-spacing: -0.01em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.28); margin-bottom: -0.06em; user-select: none; overflow: hidden; }
.footer__big span { display: inline-block; transition: color 0.5s, -webkit-text-stroke-color 0.5s; }
.footer__big span:hover { color: var(--rojo); -webkit-text-stroke-color: var(--rojo); }
.footer__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 26px var(--lateral) calc(100px + var(--abajo)); font: 400 0.75rem var(--mono); letter-spacing: 0.1em; color: var(--gris); }
.footer__row a:hover { color: var(--blanco); }

/* ---------- Ventana de video y fotos ---------- */
.modal { position: fixed; inset: 0; z-index: 450; display: grid; place-items: center; padding: 5vw 4vw; background: rgba(5, 3, 4, 0.97); opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: 100%; max-width: 1400px; display: grid; place-items: center; gap: 18px; transform: translate3d(0, 24px, 0) scale(0.97); transition: transform 0.6s var(--suave); }
.modal.is-open .modal__box { transform: none; }
.modal__frame { width: 100%; display: grid; place-items: center; }
.modal__frame video, .modal__frame img { max-width: 100%; max-height: 80vh; max-height: 80svh; width: auto; height: auto; object-fit: contain; background: #000; opacity: 0; transition: opacity 0.5s; }
.modal__frame iframe { width: min(100%, 142vh); aspect-ratio: 16 / 9; border: 0; background: #000; opacity: 0; transition: opacity 0.5s; }
.modal__frame .is-ready { opacity: 1; }
.modal__spin { position: absolute; top: calc(50% - 30px); left: 50%; width: 44px; height: 44px; margin-left: -22px; border: 2px solid rgba(255, 255, 255, 0.2); border-top-color: var(--rojo); border-radius: 50%; animation: gira 0.9s linear infinite; opacity: 0; transition: opacity 0.3s; }
.modal.is-loading .modal__spin { opacity: 1; }
@keyframes gira { to { transform: rotate(360deg); } }
.modal__title { font: 400 0.75rem var(--mono); letter-spacing: 0.25em; text-transform: uppercase; text-align: center; color: var(--gris); min-height: 1em; }
.modal__close { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: 22px; z-index: 2; width: 52px; height: 52px; font-size: 2.6rem; line-height: 1; color: var(--blanco); transition: transform 0.4s var(--suave), color 0.3s; }
.modal__close:hover { transform: rotate(90deg); color: var(--rojo); }
.modal__nav { display: none; position: absolute; z-index: 2; top: 50%; width: 56px; height: 56px; margin-top: -28px; border: 1px solid var(--linea); border-radius: 50%; font-size: 1.3rem; color: var(--blanco); transition: background 0.3s, border-color 0.3s; }
.modal__nav:hover { background: var(--rojo); border-color: var(--rojo); }
.modal__nav--prev { left: 22px; }
.modal__nav--next { right: 22px; }
.modal.modal--foto .modal__nav { display: block; }

/* =========================================================
   CELULAR
   ========================================================= */
@media (max-width: 760px) {
  .top__time { display: none; }
  .top { padding: calc(14px + env(safe-area-inset-top, 0px)) var(--lateral) 14px; }
  .top__right { gap: 10px; }
  .top__sound em { display: none; }
  .top__sound { padding: 10px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; width: 38px; height: 38px; justify-content: center; }
  .top__reel { padding: 9px 16px; }
  .dock { bottom: calc(12px + var(--abajo)); }
  .dock a { padding: 11px 13px; font-size: 0.64rem; letter-spacing: 0.06em; }
  .dock b { display: none; }
  .hud { top: calc(70px + env(safe-area-inset-top, 0px)); bottom: auto; gap: 10px; font-size: 0.6rem; }
  .hud__barra { width: 50px; }
  .hero__label { display: none; }
  .hero__scroll span { display: none; }
  .hero__aura { font-size: 23vw; }
  .hero__sub { letter-spacing: 0.34em; margin-right: -0.34em; font-size: 0.78rem; }
  .hero__bars i { height: 5px; }
  .statement__text { font-size: clamp(1.6rem, 8.4vw, 2.4rem); }
  .statement__btn { margin-top: 32px; padding: 17px 28px; }
  .ribbon { padding: 14px 0; }

  .capitulo { min-height: 86svh; padding: 110px var(--lateral) 90px; }
  .capitulo__titulo { font-size: clamp(1.5rem, 6.9vw, 3.4rem); }
  .capitulo__nota { font-size: 0.76rem; }

  .escena__info { bottom: calc(92px + var(--abajo)); gap: 14px; }
  .escena__titulo { font-size: clamp(1.9rem, 10vw, 3rem); }
  .escena__titulo.is-largo { font-size: clamp(1.4rem, 7vw, 2.2rem); }
  .escena__meta { font-size: 0.6rem; letter-spacing: 0.16em; gap: 6px 12px; }
  .escena__meta span + span::before { margin-right: 12px; }
  .escena__desc { font-size: 0.9rem; }
  .escena__ver { padding: 14px 22px 14px 18px; }
  .escena__esquina { top: calc(110px + env(safe-area-inset-top, 0px)); font-size: 3.6rem; }

  .foto { height: 52svh; margin-inline: 6px; }
  .tira__pista { padding-inline: 8vw; }

  .contacto { padding: 110px var(--lateral) 90px; }
  .contacto__titulo { font-size: clamp(1.6rem, 8.6vw, 3.4rem); }
  .contact { grid-template-columns: 1fr; gap: 50px; }
  .form { grid-template-columns: 1fr; gap: 22px; }
  .form input, .form select, .form textarea { font-size: 16px; }
  .form .btn { width: 100%; justify-self: stretch; }
  .modal { padding: 0; }
  .modal__frame video, .modal__frame img { max-height: 78svh; }
  .modal__frame iframe { width: 100%; }
  .modal__nav { width: 48px; height: 48px; margin-top: 0; top: auto; bottom: calc(24px + var(--abajo)); }
  .grain { opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  html:not(.lenis) { scroll-behavior: auto; }
  .ribbon__track, .grain, .hero__scroll i, .eq i, .hud__rec i { animation: none !important; }
  .particles { display: none; }
}
