/* ═══ éxodo bpo — Video privado para un cliente (/v/<video>/) ═══
 * La estética de la web (manual · Web): tinta y hueso, sin acento de sección,
 * titulares en Outfit 750 con el cierre en Exodo Cursiva, rótulos en JetBrains
 * Mono de 11px. La página no tiene menú ni chat: es un mensaje para una persona.
 */
:root {
  --tinta: #0a0a0b; --tinta-suave: #131316; --hueso: #f3f1ec;
  --gris: #8a8782; --gris-medio: #6e6b65;
  --linea: rgba(243, 241, 236, 0.10); --linea-campo: rgba(243, 241, 236, 0.16);
  --rojo: #e31610; --rojo-texto: #fb7070;
  --curva: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(24px, 6vw, 110px);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: var(--tinta); -webkit-text-size-adjust: 100%; }
body {
  min-height: 100svh; display: flex; flex-direction: column;
  background: var(--tinta); color: var(--hueso);
  font-family: 'Outfit', system-ui, sans-serif; font-weight: 300;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
[hidden] { display: none !important; }

/* ─ capas de la web: red neuronal, viñeta, grano y cursor (home-cine.css) ─ */
.vp main, .vp .vp-top, .vp .vp-pie { position: relative; z-index: 2; }
#vp-red { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.vp-vineta {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 120% 90% at 50% 110%, rgba(10, 10, 11, .55), transparent 55%),
    radial-gradient(ellipse 140% 110% at 50% 50%, transparent 40%, rgba(10, 10, 11, .82) 100%);
}
#grain {
  position: fixed; inset: -100px; z-index: 12000; pointer-events: none; opacity: .05;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 250px;
}
#cursor {
  position: fixed; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; z-index: 13000; pointer-events: none; opacity: 0;
  transform: translate(-50%, -50%);
  transition: width .35s var(--curva), height .35s var(--curva), opacity .3s;
}
#cursor.on { opacity: 1; }
#cursor.big { width: 56px; height: 56px; }
@media (hover: none), (max-width: 768px) { #cursor { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  #grain { animation: grano .9s steps(3) infinite; }
}
@keyframes grano { 0% { transform: translate(0, 0); } 33% { transform: translate(-40px, 25px); } 66% { transform: translate(30px, -35px); } 100% { transform: translate(0, 0); } }

/* ─ carga: «éxodo» como al abrir la web (home-cine.js · loader) ─ */
#vp-carga {
  display: none; position: fixed; inset: 0; z-index: 20000; background: var(--tinta);
  align-items: center; justify-content: center;
}
.js #vp-carga { display: flex; animation: carga-seguro .4s 7s forwards; }
.js.sin-carga #vp-carga { display: none; }
#vp-carga .ld-name {
  font-size: clamp(56px, 11vw, 150px); font-weight: 800; letter-spacing: -0.04em; line-height: 1;
  overflow: hidden; padding: .14em .08em .12em .04em;
}
#vp-carga .ld-name span { display: inline-block; opacity: 0; transform: translateY(118%); will-change: transform, filter, opacity; }
#vp-carga .ld-name span:nth-child(2) { --i: 1; } #vp-carga .ld-name span:nth-child(3) { --i: 2; }
#vp-carga .ld-name span:nth-child(4) { --i: 3; } #vp-carga .ld-name span:nth-child(5) { --i: 4; }
#vp-carga.entra-l .ld-name span { animation: ld-in 1.15s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(.15s + var(--i, 0) * .075s); }
#vp-carga.sale .ld-name span { animation: ld-out .55s cubic-bezier(.5, 0, .75, 0) both; animation-delay: calc(var(--i, 0) * .045s); }
#vp-carga.sale { animation: ld-cortina .8s cubic-bezier(.83, 0, .17, 1) .5s both; }
@keyframes ld-in { from { opacity: 0; transform: translateY(118%) scale(1.12); filter: blur(14px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes ld-out { from { opacity: 1; transform: none; filter: blur(0); } to { opacity: 0; transform: translateY(-118%); filter: blur(8px); } }
@keyframes ld-cortina { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes carga-seguro { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .js #vp-carga { display: none; } }

/* ─ el punto que late (rótulo del hero) ─ */
.punto { width: 6px; height: 6px; border-radius: 50%; background: var(--hueso); flex: none; }
@media (prefers-reduced-motion: no-preference) { .punto { animation: late 2.2s ease-in-out infinite; } }
@keyframes late { 0%, 100% { opacity: .25; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.rotulo {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 400; font-size: 11px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gris);
  display: flex; align-items: center; gap: 14px;
}
.rotulo.linea::before { content: ''; width: 36px; height: 1px; background: currentColor; opacity: .5; flex: none; }
em { font-family: 'Exodo Cursiva', 'Outfit', sans-serif; font-style: normal; font-weight: 200; font-size: 1.04em; letter-spacing: -0.02em; }

/* ─ cabecera y pie ─ */
.vp-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px var(--pad); border-bottom: 1px solid var(--linea);
}
.vp-top-d { display: flex; align-items: center; gap: clamp(18px, 3vw, 36px); }
.vp-ir {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--hueso); box-shadow: inset 0 0 0 1px var(--linea-campo);
  transition: background .4s var(--curva), color .4s var(--curva), box-shadow .4s var(--curva);
}
.vp-ir:hover, .vp-ir:focus-visible { background: var(--hueso); color: var(--tinta); box-shadow: inset 0 0 0 1px var(--hueso); }
.vp-ir svg, .boton svg { transition: transform .4s var(--curva); }
.vp-ir:hover svg, .boton:hover svg { transform: translate(2px, -2px); }
.logo { font-size: 19px; font-weight: 800; letter-spacing: -0.04em; text-decoration: none; }
.logo span { font-weight: 300; opacity: .5; }
.vp-pie {
  margin-top: auto; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center;
  padding: 28px var(--pad); border-top: 1px solid var(--linea);
}
.vp-pie .rotulo { display: block; line-height: 1.9; }
.vp-pie .rotulo a { text-decoration: none; }
.vp-pie .rotulo a:hover, .vp-pie .rotulo a:focus-visible { color: var(--hueso); }

main { flex: 1; }
.bloque { padding: clamp(64px, 11vh, 140px) var(--pad); max-width: 1440px; margin: 0 auto; width: 100%; }

/* ─ titulares (tamaños del capítulo Web) ─ */
.h-portada {
  font-weight: 750; letter-spacing: -0.045em; line-height: 0.96;
  font-size: clamp(44px, min(9vw, 14svh), 148px); margin-top: 28px; text-wrap: balance;
}
.h-video {
  font-weight: 750; letter-spacing: -0.045em; line-height: 0.98;
  font-size: clamp(40px, min(6.4vw, 10svh), 104px); margin-top: 24px; text-wrap: balance; max-width: 15ch;
}
/* Cada palabra sube desde su máscara; el relleno deja lugar a descendentes y a la cursiva. */
.revela .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .14em .24em .03em; margin: -.08em -.14em -.24em -.03em; }
.revela .wi { display: inline-block; }
.bajada { margin-top: 28px; max-width: 560px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.7; color: var(--gris); }

/* ─ acceso con código ─ */
.vp-acceso { display: flex; flex-direction: column; justify-content: center; min-height: calc(100svh - 160px); }
.campo { margin-top: clamp(40px, 7vh, 72px); max-width: 560px; }
.campo label { margin-bottom: 14px; }
.campo input {
  width: 100%; background: none; border: 0; border-bottom: 1px solid var(--linea-campo); border-radius: 0;
  padding: 8px 0 14px; color: var(--hueso); outline: none;
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 400;
  font-size: clamp(26px, 3vw, 44px); letter-spacing: .14em; text-transform: uppercase;
  transition: border-color .3s var(--curva);
}
.campo input::placeholder { color: var(--gris-medio); opacity: 1; }
.campo .progreso { display: block; height: 2px; margin-top: -2px; background: var(--hueso); transform: scaleX(var(--lleno, 0)); transform-origin: left; transition: transform .5s var(--curva); pointer-events: none; }
.campo input:focus { border-bottom: 2px solid var(--hueso); padding-bottom: 13px; }
.vp .campo input:focus { border-bottom: 1px solid rgba(243, 241, 236, .4); padding-bottom: 14px; } /* en la página, la línea se llena con el código */
.campo input[aria-invalid="true"] { border-bottom: 2px solid var(--rojo); padding-bottom: 13px; }
.error { margin-top: 8px; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--rojo-texto); }
.acciones { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--hueso); color: var(--tinta); text-decoration: none;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: .01em;
  transition: transform .4s var(--curva), box-shadow .4s var(--curva), opacity .2s;
}
.boton:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(10, 10, 11, .25); }
.boton:focus-visible, a:focus-visible, .play:focus-visible { outline: 2px solid #6fc1e0; outline-offset: 4px; }
.campo input:focus-visible { outline: none; }
.boton[aria-disabled="true"] { opacity: .38; pointer-events: none; }
.boton-borde { background: transparent; color: var(--hueso); box-shadow: inset 0 0 0 1px rgba(243, 241, 236, .35); }
.boton-borde:hover { background: var(--hueso); color: var(--tinta); box-shadow: 0 14px 34px rgba(10, 10, 11, .25); }
.boton svg { flex: none; }
.legal { margin-top: clamp(40px, 7vh, 64px); max-width: 520px; font-size: 13px; line-height: 1.6; color: var(--gris); }
.legal a { text-underline-offset: 3px; text-decoration-color: rgba(243, 241, 236, .3); }

/* ─ el video ─ */
.vp-cabeza .rotulo b { font-weight: 400; color: var(--hueso); }
.reproductor {
  position: relative; margin-top: clamp(32px, 5vh, 56px); aspect-ratio: 16 / 9; width: 100%;
  background: var(--tinta-suave); border: 1px solid var(--linea); border-radius: 14px; overflow: hidden;
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(243, 241, 236, .04);
  container-type: inline-size;
}
.reproductor::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(243, 241, 236, .35), transparent);
}
.reproductor video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #000; }
.play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  border: 0; cursor: pointer; color: var(--hueso);
  background: radial-gradient(ellipse at center, rgba(10, 10, 11, .18), rgba(10, 10, 11, .66));
  transition: opacity .5s var(--curva);
}
.play-c {
  position: relative;
  width: clamp(68px, 8vw, 96px); height: clamp(68px, 8vw, 96px); border-radius: 50%;
  background: var(--hueso); color: var(--tinta); display: grid; place-items: center;
  transition: transform .5s var(--curva);
}
.play:hover .play-c, .play:focus-visible .play-c { transform: scale(1.06); }
.play .rotulo { color: var(--hueso); }
.play.fuera { opacity: 0; pointer-events: none; }
.play-c::before, .play-c::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(243, 241, 236, .5);
}
@media (prefers-reduced-motion: no-preference) {
  .play-c::before { animation: anillo 2.6s cubic-bezier(.16, 1, .3, 1) infinite; }
  .play-c::after { animation: anillo 2.6s cubic-bezier(.16, 1, .3, 1) 1.3s infinite; }
}
@keyframes anillo { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }

/* ─ al terminar el video ─ */
.fin {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  padding: clamp(20px, 7cqw, 88px);
  background: radial-gradient(ellipse at 25% 50%, rgba(10, 10, 11, .78), rgba(10, 10, 11, .94));
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.fin-t { font-weight: 750; letter-spacing: -0.045em; line-height: 1; font-size: clamp(28px, 7cqw, 84px); margin-top: 18px; }
.fin .acciones { margin-top: clamp(18px, 4cqw, 40px); gap: 12px 14px; }
.fin .boton-texto { margin-top: clamp(14px, 3cqw, 28px); }
@media (prefers-reduced-motion: no-preference) {
  .fin:not([hidden]) { animation: entra-fin .8s var(--curva) both; }
  .fin:not([hidden]) > * { animation: entra .9s var(--curva) both; }
  .fin:not([hidden]) > :nth-child(2) { animation-delay: .08s; }
  .fin:not([hidden]) > :nth-child(3) { animation-delay: .16s; }
  .fin:not([hidden]) > :nth-child(4) { animation-delay: .24s; }
}
@keyframes entra-fin { from { opacity: 0; } to { opacity: 1; } }
@container (max-width: 560px) {
  .fin .rotulo { display: none; }
  .fin-t { margin-top: 0; }
  .fin .boton { min-height: 40px; padding: 10px 18px; font-size: 13px; }
}

.cuerpo {
  margin-top: clamp(48px, 8vh, 88px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(40px, 6vw, 110px); align-items: start;
}
.mensaje p { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.75; color: var(--hueso); max-width: 640px; }
.mensaje p + p { margin-top: 1.1em; }
.firma { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--linea); }
.firma img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.firma-n { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; }
.firma-c { margin-top: 4px; }
.llamado { margin-top: 28px; }
.llamado p { font-size: 14px; line-height: 1.6; color: var(--gris); margin-bottom: 16px; }
.llamado .llamado-mail { margin: 14px 0 0; font-size: 12px; letter-spacing: .04em; color: var(--gris); user-select: all; }

/* ─ estados: no existe, vencido, no se pudo cargar ─ */
.vp-estado { min-height: calc(100svh - 160px); display: flex; flex-direction: column; justify-content: center; }

/* ─ panel ─ */
.panel-video { margin-top: clamp(48px, 7vh, 80px); }
.panel-video h2 { font-weight: 750; letter-spacing: -0.03em; font-size: clamp(24px, 2.7vw, 38px); line-height: 1.1; margin-top: 14px; }
.panel-video > .rotulo { display: block; line-height: 1.9; }
.panel-video .rotulo a { color: var(--hueso); text-underline-offset: 3px; word-break: break-all; }
.tabla { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: 15px; }
.tabla th { text-align: left; font-family: 'JetBrains Mono', monospace; font-weight: 400; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); padding: 0 16px 12px 0; border-bottom: 1px solid var(--linea); }
.tabla td { padding: 14px 16px 14px 0; border-bottom: 1px solid var(--linea); vertical-align: top; }
.tabla td.n { font-family: 'JetBrains Mono', monospace; font-weight: 400; }
.tabla .sub { display: block; color: var(--gris); font-size: 13px; margin-top: 2px; }
.etq { display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; border-radius: 5px; }
.etq.si { background: rgba(243, 241, 236, .16); color: var(--hueso); }
.etq.no { background: rgba(243, 241, 236, .08); color: var(--gris); }
.actividad { margin-top: 20px; list-style: none; }
.actividad li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 10px 0; border-bottom: 1px solid var(--linea); font-size: 14px; color: var(--gris); }
.actividad li b { color: var(--hueso); font-weight: 400; }
.panel-tabla { overflow-x: auto; }
.tabla tr.apagada td { color: var(--gris); }
.tabla td.td-acciones { white-space: nowrap; padding-right: 0; }
.accion {
  display: block; background: none; border: 0; padding: 3px 0; cursor: pointer; text-align: left;
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--gris);
}
.accion:hover, .accion:focus-visible { color: var(--hueso); }
.accion.confirmar { color: var(--rojo-texto); }
.accion:disabled { opacity: .5; cursor: default; }
.alerta { display: block; margin-top: 4px; font-size: 13px; color: var(--rojo-texto); }

/* ─ sumar persona y el código recién creado ─ */
.alta { margin-top: 28px; padding: 24px; border: 1px solid var(--linea); border-radius: 12px; max-width: 980px; }
.alta-campos { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 18px 28px; margin-top: 18px; }
.campo-chico { flex: 1 1 220px; }
.campo-chico label { margin-bottom: 8px; }
.campo-chico input {
  width: 100%; background: none; border: 0; border-bottom: 1px solid var(--linea-campo); border-radius: 0;
  padding: 8px 0 10px; color: var(--hueso); outline: none; font-family: 'Outfit', sans-serif; font-weight: 300; font-size: 16px;
}
.campo-chico input::placeholder { color: var(--gris-medio); opacity: 1; }
.campo-chico input:focus { border-bottom: 2px solid var(--hueso); padding-bottom: 9px; }
.campo-chico input[aria-invalid="true"] { border-bottom: 2px solid var(--rojo); padding-bottom: 9px; }
.codigo-nuevo { margin-top: 16px; padding: 24px; max-width: 980px; background: var(--tinta-suave); border: 1px solid var(--linea-campo); border-radius: 12px; }
.codigo-grande { margin-top: 10px; font-family: 'JetBrains Mono', monospace; font-weight: 400; font-size: clamp(28px, 3vw, 40px); letter-spacing: .14em; }
.mensaje-listo {
  display: block; width: 100%; margin-top: 18px; padding: 14px 16px; resize: vertical;
  background: var(--tinta); color: var(--hueso); border: 1px solid var(--linea); border-radius: 8px;
  font-family: 'Outfit', sans-serif; font-weight: 300; font-size: 14px; line-height: 1.6;
}
.codigo-nuevo .acciones { margin-top: 18px; }
.codigo-nuevo .legal { margin-top: 16px; }
.boton-texto {
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--gris);
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px;
}
.boton-texto:hover, .boton-texto:focus-visible { color: var(--hueso); }

/* ─ con el mouse: botones magnéticos (como los de la home) y titulares con profundidad.
     El reproductor no se mueve y no hay luces que sigan al mouse (pedido de Nicolás).
     Sólo con mouse y sin movimiento reducido. ─ */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .magnetico { transition: translate .55s cubic-bezier(.16, 1, .3, 1), transform .4s var(--curva), box-shadow .4s var(--curva), background-color .4s var(--curva), color .4s var(--curva), opacity .2s; }
  .magnetico.suelta { transition: translate 1s cubic-bezier(.34, 1.9, .5, 1), transform .4s var(--curva), box-shadow .4s var(--curva), background-color .4s var(--curva), color .4s var(--curva), opacity .2s; }
  .vp .h-portada, .vp .h-video, .vp .vp-cabeza .rotulo, .vp #acceso > .rotulo { transition: translate 1.2s cubic-bezier(.16, 1, .3, 1); }
}

/* ─ entrada suave; con movimiento reducido no se mueve nada ─ */
@media (prefers-reduced-motion: no-preference) {
  body:not(.vp) .entra, .vp.vp-listo .entra { animation: entra .9s var(--curva) both; }
  .vp:not(.vp-listo) .entra { opacity: 0; }
  .entra.d1 { animation-delay: .08s; } .entra.d2 { animation-delay: .16s; } .entra.d3 { animation-delay: .24s; }
  .vp .revela .wi { transform: translateY(118%); }
  .vp .revela.en-vista .wi { animation: sube 1.3s cubic-bezier(.22, 1, .36, 1) both; animation-delay: calc(.05s + var(--i, 0) * .07s); }
  /* cabecera: baja apenas */
  .vp:not(.vp-listo) .vp-top > * { opacity: 0; }
  .vp.vp-listo .vp-top > * { animation: baja .9s var(--curva) both; }
  .vp.vp-listo .vp-top > :nth-child(2) { animation-delay: .1s; }
  /* rótulos con raya: primero la raya, después el texto */
  .vp.vp-listo .rotulo.linea.entra::before { animation: raya .9s var(--curva) .05s both; transform-origin: left; }
  /* el reproductor se abre desde abajo y la imagen se asienta */
  .vp:not(.vp-listo) .caja { opacity: 0; }
  .vp.vp-listo #video:not([hidden]) .caja { animation: abre-caja 1.25s var(--curva) .2s backwards; }
  .vp.vp-listo #video:not([hidden]) .caja video { animation: asienta 2s var(--curva) .2s backwards; }
  .vp.vp-listo #video:not([hidden]) .play-c { animation: aparece-play .9s cubic-bezier(.34, 1.56, .64, 1) .85s backwards; }
  .vp.vp-listo #video:not([hidden]) .play .rotulo { animation: entra .9s var(--curva) 1s backwards; }
  /* el mensaje, párrafo por párrafo; la firma con su raya; el botón al final */
  .vp.vp-listo #video:not([hidden]) .mensaje p { animation: entra 1s var(--curva) backwards; animation-delay: calc(.45s + var(--i, 0) * .12s); }
  .vp.vp-listo #video:not([hidden]) .firma { animation: raya-arriba 1.1s var(--curva) .55s backwards; }
  .vp.vp-listo #video:not([hidden]) .firma img { animation: foto 1s var(--curva) .7s backwards; }
  .vp.vp-listo #video:not([hidden]) .firma > div { animation: entra .9s var(--curva) .8s backwards; }
  .vp.vp-listo #video:not([hidden]) .llamado { animation: entra .9s var(--curva) .95s backwards; }
  /* el campo del código se dibuja */
  .vp.vp-listo #acceso:not([hidden]) .campo input { animation: subraya 1.1s var(--curva) .45s backwards; }
  .vp.vp-listo #acceso:not([hidden]) .legal { animation: entra .9s var(--curva) .6s backwards; }
}
@keyframes sube { from { transform: translateY(118%) rotate(2deg); filter: blur(6px); } to { transform: none; filter: blur(0); } }
@keyframes baja { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes raya { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes abre-caja { from { opacity: 0; clip-path: inset(22% 0 0 0 round 14px); translate: 0 48px; } to { opacity: 1; clip-path: inset(0 0 0 0 round 14px); translate: 0 0; } }
@keyframes asienta { from { transform: scale(1.1); filter: blur(6px); } to { transform: none; filter: blur(0); } }
@keyframes aparece-play { from { opacity: 0; scale: .4; } to { opacity: 1; scale: 1; } }
@keyframes raya-arriba { from { border-top-color: transparent; clip-path: inset(0 100% 0 0); } to { border-top-color: var(--linea); clip-path: inset(0 0 0 0); } }
@keyframes foto { from { opacity: 0; scale: .7; filter: blur(8px) grayscale(1); } to { opacity: 1; scale: 1; filter: none; } }
@keyframes subraya { from { clip-path: inset(-20px 100% -20px 0); } to { clip-path: inset(-20px 0 -20px 0); } }
@keyframes entra { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .cuerpo { grid-template-columns: minmax(0, 1fr); }
  .tabla { font-size: 14px; }
}
@media (max-width: 600px) {
  :root { --pad: 20px; }
  .vp-top { padding: 18px var(--pad); }
  .vp-top .rotulo { display: none; }
  .vp-ir { padding: 8px 12px; letter-spacing: .1em; }
  .reproductor { border-radius: 0; margin-left: calc(var(--pad) * -1); margin-right: calc(var(--pad) * -1); width: calc(100% + var(--pad) * 2); border-left: 0; border-right: 0; }
}
