/* Dont Stop — "Estreno": la agencia como estudio que estrena su cartelera.
   Cuadros graduados en las dos tintas del logo; las marcas y "Cómo trabajamos" se ven a color real.
   Duotonos de assets/p y assets/v: ver assets/duotono.sh. */

:root {
  --ink: #06121f;          /* noche de sala, derivado del azul del logo */
  --ink-2: #0b1d31;
  --navy: #113658;         /* azul del logo */
  --navy-2: #1b4c7a;
  --magenta: #ce2252;      /* magenta del logo */
  --magenta-d: #a8173f;
  --magenta-lt: #ff5c87;   /* magenta para texto chico sobre oscuro */
  --blush: #ffdde6;        /* luces del gradado */
  --paper: #f5eef1;        /* texto principal sobre oscuro */
  --paper-2: #efe4e9;
  --mute: #d2c6d1;         /* texto secundario sobre oscuro (tinte magenta) */
  --mute-navy: #b9c7d8;    /* texto secundario sobre azul */
  --line: rgba(245, 238, 241, .16);
  --grad: linear-gradient(90deg, var(--navy), var(--magenta));

  --f-cond: "Sofia Sans Extra Condensed", "Arial Narrow", sans-serif;
  --f-wide: "Archivo", "Sofia Sans", system-ui, sans-serif;
  --f-text: "Sofia Sans", system-ui, sans-serif;

  --gut: clamp(16px, 3.4vw, 48px);
  --sec: clamp(88px, 11vw, 176px);
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }

::selection { background: var(--magenta); color: #fff; }
html { scrollbar-color: var(--magenta) var(--ink); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--magenta); border-radius: 0; border: 2px solid var(--ink); }

:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; }
.faq :focus-visible { outline-color: var(--magenta); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--paper); color: var(--ink); padding: 12px 16px; font-weight: 600;
}
.skip:focus { top: 12px; }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--magenta);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.4em;
  background: var(--bg); color: #fff;
  font-family: var(--f-text); font-weight: 700; font-size: 16px; letter-spacing: .01em;
  text-decoration: none; border: 0; border-radius: 999px;
  transition: background-color .2s ease, transform .16s var(--ease);
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) { .btn:hover { --bg: #e02b5e; } }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 44px; padding: 0 1.1em; font-size: 15px; }
.btn-main { min-height: 56px; font-size: 17px; padding: 0 1.6em; }
.btn-huge { min-height: 68px; padding: 0 1.8em; font-size: clamp(18px, 1.8vw, 21px); }
.link-arrow {
  display: inline-flex; align-items: center; gap: .4em; min-height: 48px;
  font-weight: 600; text-decoration: none; color: var(--paper);
}
.link-arrow .ico { transition: transform .25s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover { color: var(--blush); }
  .link-arrow:hover .ico { transform: translateY(3px); }
}

/* ---------- Barra ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gut);
  transition: background-color .25s ease, box-shadow .25s ease;
}
.bar.is-solid { background: rgba(6, 18, 31, .94); box-shadow: 0 1px 0 var(--line); }
.mark {
  font-family: var(--f-cond); font-weight: 900; text-transform: uppercase;
  font-size: 28px; letter-spacing: .01em; line-height: 1; text-decoration: none;
  display: inline-flex; align-items: center; min-height: 44px;
}
.mark i, .foot-mark i { font-style: normal; color: var(--magenta); padding: 0 .06em; }
.bar-nav { display: none; gap: 4px; margin-left: auto; }
.bar-nav a {
  font-size: 15px; font-weight: 500; text-decoration: none; color: var(--paper);
  padding: 12px 14px; min-height: 44px; display: inline-flex; align-items: center;
  position: relative;
}
.bar-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 8px; height: 1px;
  background: var(--magenta); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.bar-nav a.is-here::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .bar-nav a:hover::after { transform: scaleX(1); } }
.bar-wa { display: none; }
@media (min-width: 900px) { .bar-nav, .bar-wa { display: flex; } }

/* ---------- Portada ---------- */
.sheet {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--bar-h) + 8px) var(--gut) clamp(24px, 3vw, 36px);
  overflow: hidden; isolation: isolate;
}
.sheet-frame {
  position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background: var(--ink);
}
.sheet-video { width: 100%; height: 100%; object-fit: cover; }
.sheet-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,18,31,.55) 0%, rgba(6,18,31,0) 22%, rgba(6,18,31,0) 40%, rgba(6,18,31,.78) 72%, var(--ink) 100%);
}
.sheet-top { display: flex; justify-content: space-between; gap: 16px; }
.tagline { font-size: 16px; font-weight: 600; color: var(--paper); max-width: 24ch; line-height: 1.3; }
.tagline-r { text-align: right; white-space: nowrap; }
.sheet-body { display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 28px); }
.title {
  font-family: var(--f-cond); font-weight: 900; text-transform: uppercase;
  line-height: .8; letter-spacing: -.02em;
  font-size: clamp(110px, 53vw, 300px);
  display: flex; flex-direction: column;
  color: var(--paper);
}
.title-w { display: block; white-space: nowrap; will-change: transform; }
.title b { font-weight: inherit; display: inline-block; }
.title-w + .title-w { color: var(--magenta); }
@media (min-width: 760px) {
  .title { flex-direction: row; gap: .14em; font-size: clamp(120px, 26.4vw, 460px); line-height: .78; }
  .tagline { max-width: none; }
}
.sheet-foot { display: grid; gap: 20px; align-items: end; }
.lede { max-width: 34ch; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.4; color: var(--paper); }
.sheet-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
@media (min-width: 900px) { .sheet-foot { grid-template-columns: 1fr auto; } }
/* Bloque de créditos: solo en pantallas anchas, nunca menor a 13px */
.billing { display: none; }
@media (min-width: 900px) {
  .billing {
    display: block;
    font-family: var(--f-cond); font-weight: 300; text-transform: uppercase;
    font-size: clamp(20px, 1.9vw, 27px); line-height: 1.3; letter-spacing: .04em;
    color: rgba(255, 221, 230, .86);
    text-align: center; text-wrap: balance;
    padding-top: 6px;
  }
  .billing i {
    display: inline-block; width: .32em; height: .32em; background: var(--magenta);
    transform: rotate(45deg) translateY(-.12em); margin: 0 .55em;
  }
}

/* ---------- Marquesina de marcas ---------- */
.names {
  position: relative; background: var(--ink); overflow: hidden;
  padding: clamp(28px, 4vw, 56px) 0 clamp(36px, 5vw, 72px);
}
.names-k { padding: 0 var(--gut); font-size: 15px; font-weight: 600; color: var(--mute); margin-top: 10px; }
.names-row { overflow: hidden; }
.names-track {
  display: flex; align-items: center; width: max-content;
  animation: names 38s linear infinite;
}
.names-track span {
  font-family: var(--f-cond); font-weight: 900; text-transform: uppercase;
  font-size: clamp(76px, 15vw, 220px); line-height: .9; letter-spacing: -.01em;
  white-space: nowrap; color: var(--paper);
  padding: 0 .12em;
}
.names-track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.5px rgba(245, 238, 241, .7); }
.names-track i {
  flex: none; width: clamp(14px, 2vw, 26px); aspect-ratio: 1; background: var(--magenta);
  margin: 0 clamp(14px, 2vw, 30px); transform: rotate(45deg);
}
@keyframes names { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Títulos de sección: expandida (Archivo) contra la extra condensada ---------- */
.h2 {
  font-family: var(--f-wide); font-weight: 800; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(38px, 6.4vw, 96px); line-height: .92; letter-spacing: -.025em;
  text-wrap: balance;
}
.sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); max-width: 40ch; margin-top: 18px; }
.note { font-size: 14px; color: var(--mute); margin-top: 8px; letter-spacing: .02em; }

/* ---------- Cartelera ---------- */
.marquee { position: relative; padding: var(--sec) 0; background: var(--ink); overflow: hidden; }
.marquee-head { padding: 0 var(--gut); margin-bottom: clamp(32px, 4vw, 56px); }
.track {
  display: flex; gap: 14px;
  padding: 0 var(--gut) 8px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gut);
  scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.poster {
  --w: min(72vw, 340px);
  position: relative; flex: none; width: var(--w); aspect-ratio: 2 / 3;
  overflow: hidden; scroll-snap-align: center; background: var(--ink-2);
  border-radius: 6px;
  transition: opacity .35s ease;
}
.poster img, .poster-v {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.poster-v { overflow: hidden; opacity: 0; filter: blur(6px); transition: opacity .4s ease, filter .4s ease; }
.poster-v video { width: 100%; height: 100%; object-fit: cover; }
.poster.is-on .poster-v.is-ready { opacity: 1; filter: blur(0); }
.poster img { transition: transform 1.2s var(--ease); }
.poster::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(6,18,31,0) 45%, rgba(6,18,31,.92) 100%);
}
.poster-hit {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%;
  background: none; border: 0; padding: 0; cursor: pointer;
}
.poster-hit:focus-visible { outline-offset: -4px; }
.poster-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 18px 18px 20px; pointer-events: none;
}
.poster-kind { display: block; font-size: 15px; font-weight: 500; color: var(--blush); margin-top: 8px; }
.poster-name {
  font-family: var(--f-cond); font-weight: 900; text-transform: uppercase;
  font-size: clamp(48px, 5vw, 76px); line-height: .86; letter-spacing: -.01em;
}
.poster-last .poster-name { font-size: clamp(40px, 4vw, 60px); }
.track.has-on .poster:not(.is-on):not(.poster-you) { opacity: .42; }
.poster.is-on img { transform: scale(1.04); }
.poster-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-weight: 700; font-size: 14px; line-height: 1;
  background: var(--magenta); color: #fff; padding: 6px 10px; border-radius: 4px; opacity: 0;
  transition: opacity .2s ease;
}
.poster.is-on .poster-tag { opacity: 1; }
/* Último afiche: la marca del visitante */
.poster-you { background: linear-gradient(160deg, var(--navy) 0%, #4a2552 55%, var(--magenta) 100%); }
.poster-you::after { display: none; }
.poster-you-a {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px 20px 24px; text-decoration: none; color: #fff;
}
.poster-you-t {
  font-family: var(--f-cond); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 6.4vw, 104px); line-height: .84; letter-spacing: -.01em;
}
.poster-you-c {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: 17px;
  transition: transform .16s var(--ease);
}
.poster-you-c .ico { transition: transform .25s var(--ease); }
.poster-you-a:active .poster-you-c { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .poster-you-a:hover .poster-you-c .ico { transform: translateX(4px); } }
.poster-you-a:focus-visible { outline-offset: -6px; outline-color: #fff; }

.count { display: none; }
.swipe { display: flex; align-items: center; gap: 14px; padding: 22px var(--gut) 0; }
.swipe-bar { position: relative; flex: 1; height: 2px; background: var(--line); overflow: hidden; }
.swipe-bar span { position: absolute; inset: 0; background: var(--magenta); transform-origin: left; transform: scaleX(var(--s, .15)); }
.swipe-t { font-size: 14px; color: var(--mute); }
@media (min-width: 900px) {
  .swipe { display: none; }
  .marquee { height: 100vh; min-height: 640px; padding: var(--bar-h) 0 0; display: flex; align-items: center; }
  .rail { display: flex; align-items: flex-end; width: max-content; padding: 0 var(--gut); gap: clamp(40px, 5vw, 88px); }
  .marquee-head { width: clamp(340px, 32vw, 500px); padding: 0; margin: 0 0 8px; flex: none; }
  .marquee-head .h2 { font-size: clamp(44px, 4.1vw, 64px); }
  .count {
    display: block; margin-top: 28px;
    font-family: var(--f-wide); font-weight: 700; font-stretch: 125%; text-transform: uppercase;
    font-size: 14px; letter-spacing: .12em; color: var(--mute); font-variant-numeric: tabular-nums;
  }
  .count span { color: var(--paper); }
  .track { overflow: visible; scroll-snap-type: none; padding: 0; gap: 22px; }
  .poster { --w: min(28vw, calc((100vh - 180px) * .6667), 440px); }
}

/* ---------- Servicios: hoja de llamado ----------
   Índice tipográfico siempre legible. Una sola fila "al aire" (tally magenta).
   Computadora: el monitor viaja a la fila al aire (solo transform) y cambia de forma con clip-path.
   Celular: cada fila lleva su propio cuadro. */
.credits { background: var(--navy); padding: var(--sec) var(--gut); position: relative; overflow: clip; }
.credits .sub { color: var(--mute-navy); }
.credits-head { margin-bottom: clamp(36px, 5vw, 72px); }
.credits-head, .plan-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 48px; }
.credits-head .sub, .plan-head .sub { margin-top: 0; max-width: 32ch; }

.sheet-idx { position: relative; }
.idx { position: relative; display: grid; }
.idx-row {
  --k-fs: clamp(2.6rem, 13vw, 4rem);
  position: relative; display: grid; align-content: start;
  padding: 28px 0 32px;
  transition: opacity .24s var(--ease);
}
.rule {
  position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgba(255, 255, 255, .18); transform-origin: left;
}
.idx-name { font: inherit; }
.idx-b {
  position: relative; width: 100%; min-height: 44px;
  display: grid; grid-template-columns: 10px minmax(0, 1fr); column-gap: 14px;
  padding: 0; background: none; border: 0; cursor: pointer; text-align: left;
  color: #c9d6e4;
  transition: transform .16s var(--ease);
}
.idx-b:active { transform: scale(.985); }
.idx-b:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.idx-esc {
  grid-column: 2; display: block; margin-bottom: 8px;
  font-family: var(--f-wide); font-weight: 700; font-stretch: 125%; text-transform: uppercase;
  font-size: .78rem; letter-spacing: .12em; line-height: 1.2; color: var(--mute-navy);
  transition: color .24s var(--ease), opacity .24s var(--ease);
}
.tally {
  grid-column: 1; grid-row: 2; align-self: start;
  width: 10px; height: 10px; border-radius: 50%; background: var(--magenta);
  margin-top: calc(var(--k-fs) * .43 - 5px);
  opacity: 0; transform: scale(.4);
  transition: opacity .18s ease-out, transform .18s ease-out;
}
/* la máscara deja aire arriba para las tildes (Ó, Í) */
.mask { grid-column: 2; grid-row: 2; display: block; overflow: clip; padding: .14em 0 .04em; margin-top: -.14em; font-size: var(--k-fs); }
.idx-k {
  display: block;
  font-family: var(--f-cond); font-weight: 800; text-transform: uppercase;
  font-size: var(--k-fs); line-height: .86; letter-spacing: -.005em;
  transition: color .24s var(--ease), opacity .24s var(--ease);
}
.idx-v { margin-top: 16px; font-size: 1.1rem; font-weight: 600; color: var(--blush); padding-left: 24px; transition: opacity .24s var(--ease); }
.idx-v i { font-style: normal; color: var(--magenta-lt); padding: 0 .2em; }
.idx-d { margin-top: 4px; font-size: 1rem; color: #dbe4ee; max-width: 46ch; padding-left: 24px; transition: opacity .24s var(--ease); }
.idx-cta {
  justify-self: start; display: inline-flex; align-items: center; min-height: 44px;
  margin: 6px 0 0 24px; font-weight: 700; color: #fff;
  text-decoration: underline; text-decoration-color: var(--magenta-lt); text-decoration-thickness: 2px;
  transition: transform .16s var(--ease), color .2s ease;
}
.idx-cta:active { transform: scale(.97); }
.idx-cta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
  .idx-b:hover .idx-k { color: #fff; }
  .idx-cta:hover { color: var(--blush); }
}
/* Fila al aire */
.idx-row.is-air .idx-k { color: #fff; }
.idx-row.is-air .idx-esc { color: var(--magenta-lt); }
.idx-row.is-air .tally { opacity: 1; transform: scale(1); }

/* Celular: cuadro propio por fila */
.idx-media {
  position: relative; margin: 0 0 22px; overflow: hidden; border-radius: 6px;
  background: var(--ink); aspect-ratio: 16 / 9; width: 100%;
}
/* presupuesto en 390x844: la sección no pasa de 4,5 pantallas */
.idx-row[data-shape="v"] .idx-media { aspect-ratio: 9 / 16; width: min(70%, 52svh * 9 / 16); justify-self: center; }
.idx-media > img, .idx-media > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.idx-media > video { z-index: 2; opacity: 0; transition: opacity .4s ease; }
.idx-media > video.is-ready { opacity: 1; }
.idx-media > .idx-top { z-index: 2; opacity: 0; }
.monitor-col { display: none; }

@media (min-width: 900px) {
  .sheet-idx { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 4vw; }
  .idx-row { --k-fs: clamp(3.4rem, 8.6vw, 9.5rem); min-height: 46vh; padding-block: 3.2vh; }
  .idx-media { display: none; }
  .idx-v { font-size: 1.15rem; }
  .idx-d { font-size: 1.05rem; }
  /* el resto se atenúa; el texto descriptivo nunca baja de .7 */
  .idx-row.is-dim .idx-k, .idx-row.is-dim .idx-esc { opacity: .4; }
  .idx-row.is-dim .idx-v, .idx-row.is-dim .idx-d { opacity: .7; }

  .monitor-col { display: block; position: relative; align-self: stretch; }
  .monitor {
    position: absolute; top: 0; left: 0; margin: 0;
    width: 100%; height: min(72vh, 46vw);
  }
  .monitor-win { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
  .monitor-win > img, .monitor-win > video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  }
  .monitor-poster { z-index: 1; }
  .monitor-photo { z-index: 2; opacity: 0; }
  .monitor-v { z-index: 3; opacity: 0; }
  .monitor-v.is-front { opacity: 1; }
  .monitor-cap {
    position: absolute; left: 12px; bottom: 12px; z-index: 6;
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--f-wide); font-weight: 700; font-stretch: 125%; text-transform: uppercase;
    font-size: .72rem; letter-spacing: .1em; line-height: 1; color: #fff;
    background: rgba(6, 18, 31, .72); padding: 7px 10px 6px; border-radius: 3px;
  }
  .monitor-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--magenta); }
}

/* ---------- Cómo trabajamos: línea de tiempo de edición ----------
   Sin JS (o en celular) los pasos se apilan. En computadora, .is-pinned los superpone
   en una sola pantalla: el scroll mueve el cabezal y corta de un paso al siguiente. */
.plan { padding: var(--sec) var(--gut); background: var(--ink); overflow-x: clip; }
.plan-head { margin-bottom: clamp(40px, 6vw, 80px); }
.steps { display: grid; gap: clamp(56px, 8vw, 96px); counter-reset: step; }
.step { display: grid; gap: 20px; }
.step-media {
  position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden;
  border-radius: 8px; background: var(--ink-2);
}
.step-media video { width: 100%; height: 100%; object-fit: cover; }
.step-cap {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  font: 700 12px/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase;
  background: var(--magenta); color: #fff; padding: 7px 9px; border-radius: 3px;
}
.step-n {
  display: block; font-family: var(--f-cond); font-weight: 900; line-height: .8;
  font-size: clamp(64px, 16vw, 96px); color: var(--magenta);
}
.step-t {
  margin-top: 6px; font-family: var(--f-cond); font-weight: 900; text-transform: uppercase;
  font-size: clamp(44px, 11vw, 64px); line-height: .9;
}
.step-d { margin-top: 12px; color: var(--mute); max-width: 36ch; font-size: 18px; }
/* entrada en celular: el cuadro se descubre de abajo hacia arriba */
.js .plan:not(.is-pinned) .step-media { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-io); }
.js .plan:not(.is-pinned) .step.is-in .step-media { clip-path: inset(0 0 0 0); }
.tl { display: none; }
@media (min-width: 900px) {
  .step { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
  .step-media { order: 2; aspect-ratio: 16 / 10; }
}

/* Computadora: una sola pantalla fija */
.plan.is-pinned { padding: 0; }
.plan.is-pinned .plan-pin {
  height: 100vh; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: calc(var(--bar-h) + 3vh) var(--gut) 4vh; gap: 3vh;
}
.plan.is-pinned .plan-head { margin: 0; }
.plan.is-pinned .steps { display: grid; min-height: 0; gap: 0; }
.plan.is-pinned .step { grid-area: 1 / 1; min-height: 0; pointer-events: none; }
.plan.is-pinned .step.is-on { pointer-events: auto; }
.plan.is-pinned .step-media {
  width: 100%; max-height: 100%; justify-self: end;
  max-width: calc((100svh - var(--bar-h) - 260px) * 1.6);
  clip-path: inset(0 0 0 100%); will-change: clip-path;
}
.plan.is-pinned .step-media video { transform: scale(1.12); will-change: transform; }
.plan.is-pinned .step-copy > * { opacity: 0; }
.plan.is-pinned .step-n { font-size: clamp(120px, 15vw, 240px); }
.plan.is-pinned .step-t { font-size: clamp(56px, 5.4vw, 96px); }
.plan.is-pinned .tl { display: flex; position: relative; gap: 6px; padding-top: 30px; }
.tl-seg {
  flex: 1; display: grid; gap: 10px; text-align: left; background: none; border: 0;
  padding: 0; cursor: pointer; color: rgba(245, 238, 241, .55);
  transition: color .2s ease;
}
.tl-seg.is-on { color: var(--paper); }
.tl-seg:active .tl-bar { transform: scaleY(.8); }
@media (hover: hover) and (pointer: fine) { .tl-seg:hover { color: var(--paper); } }
.tl-k { font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.tl-k b { color: var(--magenta-lt); margin-right: 6px; font-variant-numeric: tabular-nums; }
.tl-bar { position: relative; height: 34px; border-radius: 4px; overflow: hidden; background: rgba(245, 238, 241, .07); transition: transform .16s var(--ease); }
.tl-fill { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--f, 0)); }
.tl-head {
  position: absolute; top: 0; bottom: -6px; left: 0; width: 2px; background: var(--paper);
  transform: translateX(var(--x, 0px)); pointer-events: none;
}
.tl-head::before {
  content: ""; position: absolute; left: -6px; top: 22px; width: 14px; height: 14px;
  background: var(--paper); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
}
.tl-tc {
  position: absolute; left: 10px; top: 0; white-space: nowrap;
  font: 600 13px/1 var(--f-text); font-variant-numeric: tabular-nums; letter-spacing: .06em; color: var(--blush);
}

/* Cualquier foto o video del cliente: si su forma choca con el cuadro (un reel vertical
   en un cuadro horizontal), se muestra completo sobre su propia versión desenfocada. */
video.is-contain, img.is-contain { object-fit: contain !important; }
:where(.fit.is-contain) > video, :where(.fit.is-contain) > img { position: relative; z-index: 1; }
.fit.is-contain::before {
  content: ""; position: absolute; inset: -40px; z-index: 0;
  background: var(--fit-bg) center / cover no-repeat; filter: blur(28px) brightness(.55);
}

/* ---------- Preguntas: claro, para cortar la noche ---------- */
.faq { background: var(--paper); color: var(--ink); padding: var(--sec) var(--gut); }
.faq .sub { color: #4a3d47; }
.faq .h2 { color: var(--navy); }
.faq-head { margin-bottom: clamp(32px, 5vw, 56px); }
.faq-list { display: grid; border-top: 1px solid rgba(17, 54, 88, .22); }
.q { border-bottom: 1px solid rgba(17, 54, 88, .22); }
.q summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 72px; padding: 18px 0;
  font-family: var(--f-cond); font-weight: 800; text-transform: uppercase;
  font-size: clamp(28px, 3.2vw, 44px); line-height: .98; color: var(--navy);
  transition: color .2s ease;
}
.q summary::-webkit-details-marker { display: none; }
.q summary i {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid currentColor; transition: background-color .2s ease, transform .3s var(--ease);
}
.q summary i::before, .q summary i::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor;
  transform: translate(-50%, -50%);
}
.q summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.q[open] summary { color: var(--magenta-d); }
.q[open] summary i { background: var(--magenta-d); border-color: var(--magenta-d); color: #fff; }
.q[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
@media (hover: hover) and (pointer: fine) { .q summary:hover { color: var(--magenta-d); } }
.a { padding: 0 0 26px; max-width: 62ch; font-size: 18px; color: #2a2230; }
.q[open] .a { animation: aIn .35s var(--ease); }
@keyframes aIn { from { opacity: 0; transform: translateY(-6px); } }
@media (min-width: 900px) {
  .faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .faq-head { position: sticky; top: calc(var(--bar-h) + 40px); }
  .faq .h2 { font-size: clamp(38px, 3.9vw, 64px); }
}

/* ---------- Próximamente ---------- */
.soon {
  position: relative; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end;
  padding: var(--sec) var(--gut) clamp(48px, 7vw, 96px);
}
.soon-bg { position: absolute; inset: 0; z-index: -1; }
.soon-bg img { width: 100%; height: 110%; object-fit: cover; object-position: 50% 30%; }
.soon-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,18,31,.35) 0%, rgba(6,18,31,.2) 25%, rgba(6,18,31,.7) 55%, var(--ink) 92%);
}
.soon-body { display: grid; gap: 24px; justify-items: start; width: 100%; }
.soon-title {
  font-family: var(--f-cond); font-weight: 900; text-transform: uppercase;
  font-size: clamp(64px, 15.2vw, 240px); line-height: .88; letter-spacing: -.02em;
  display: flex; flex-direction: column;
}
.soon-title span + span { color: var(--magenta-lt); }
.soon-title span { display: block; }
.soon-lede { font-size: clamp(18px, 1.8vw, 22px); max-width: 38ch; }
.pick[tabindex="-1"]:focus { outline: none; }
.pick legend { font-weight: 700; font-size: 17px; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .45em; min-height: 46px; padding: 0 18px;
  border-radius: 999px; border: 1.5px solid rgba(245, 238, 241, .55);
  background: rgba(6, 18, 31, .45);
  font-weight: 600; font-size: 16px; color: var(--paper);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .14s var(--ease);
  user-select: none;
}
.chip span::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor;
  transition: background-color .2s ease;
}
.chip input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip input:checked + span::before { background: var(--magenta); border-color: var(--magenta); }
.chip:active span { transform: scale(.97); }
.chip input:focus-visible + span { outline: 2px solid var(--blush); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .chip:hover span { border-color: var(--paper); } }
.send { display: grid; gap: 16px; width: 100%; max-width: 760px; }
.msg {
  display: grid; gap: 4px; padding: 14px 18px; border-radius: 14px 14px 14px 4px;
  background: rgba(245, 238, 241, .1); border: 1px solid rgba(245, 238, 241, .2);
  font-size: 16px; line-height: 1.45; max-width: 52ch;
}
.msg-k { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blush); }
.wa-new { background: none; color: var(--magenta-lt); transition: color .6s ease .15s; }
.wa-new.is-settled { color: inherit; }
.magnet { will-change: transform; }
.soon-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; }
.ig { display: inline-flex; align-items: center; gap: .5em; min-height: 48px; font-weight: 600; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .ig:hover span { text-decoration: underline; } }
.place { font-size: 17px; font-weight: 600; color: var(--blush); }
@media (min-width: 900px) {
  .soon-title { font-size: clamp(64px, 10.4vw, 176px); }
  .soon-body { gap: 20px; }
  .send { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
}

/* ---------- Pie: cartel en bloques ---------- */
.foot { padding: clamp(56px, 8vw, 112px) var(--gut) 40px; color: var(--mute); font-size: 14px; }
.blocks {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: clamp(3px, .5vw, 6px);
  height: clamp(150px, 30vw, 380px); align-items: end; margin-bottom: 40px; overflow: hidden;
}
.blk {
  height: calc(var(--h) * 100%); background: var(--navy-2); border-radius: 6px;
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
  transform-origin: 50% 100%;
}
.blk-m { background: var(--magenta); }
.blk b {
  font-family: var(--f-cond); font-weight: 900; text-transform: uppercase; color: var(--paper);
  font-size: clamp(56px, 15vw, 230px); line-height: .78; transform: translateY(.06em);
}
.foot-row { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 28px; }
.foot-mark { font-family: var(--f-cond); font-weight: 900; text-transform: uppercase; font-size: 24px; color: var(--paper); }
.foot-mark span { font-family: var(--f-text); font-weight: 500; text-transform: none; font-size: 14px; color: var(--mute); margin-left: 10px; }
.foot-credits { display: flex; flex-wrap: wrap; gap: 0 20px; }
.foot-credits a, .foot-credits span { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 900px) {
  .foot-row { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
  .foot-credits { justify-content: center; }
}

/* ---------- Botón fijo de WhatsApp (solo móvil, tras la portada) ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 45;
  display: flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 54px; border-radius: 999px; background: var(--magenta); color: #fff;
  font-weight: 700; font-size: 17px; text-decoration: none;
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6);
  transform: translateY(calc(100% + 24px)); opacity: 0;
  transition: transform .35s var(--ease), opacity .2s ease;
}
.dock.is-on { transform: none; opacity: 1; }
.dock:active { transform: scale(.97); }
@media (max-width: 899px) { .foot { padding-bottom: 96px; } }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- Estado inicial de la intro (solo con JS) ---------- */
.js.intro .title b,
.js.intro [data-line] { visibility: hidden; }
.js.intro .sheet-frame { clip-path: inset(50% 0 50% 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .names-track { animation: none; }
  .js.intro .title b, .js.intro [data-line] { visibility: visible; }
  .js.intro .sheet-frame { clip-path: none; }
  .poster.is-on img { transform: none; }
  .js .plan:not(.is-pinned) .step-media { clip-path: none; }
  .poster-v { filter: none; }
}
