/* Reproductor de vídeo de Lynx (landing y gracias). Va en hoja aparte para
   no tocar el minificado de styles.css. Usa los tokens de cada página. */
.vsl { position: relative; width: 100%; }
.vsl-frame {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius, 18px); overflow: hidden;
  background: #0b0b0a center / cover no-repeat;
  border: 1px solid rgba(228, 181, 99, .35);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 0 6px rgba(228, 181, 99, .05), 0 30px 80px -50px rgba(228, 181, 99, .55);
  isolation: isolate;
}
.vsl-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: transparent; }
.vsl[data-mode="watching"] .vsl-frame video { object-fit: contain; background: #000; }

/* Botón de play (sin arranque automático) */
.vsl-start {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  /* Abajo a la izquierda, sobre el pecho: nunca encima de la cara. */
  display: flex; align-items: flex-end; justify-content: flex-start; gap: .8rem;
  padding: 0 0 clamp(.8rem, 4%, 1.6rem) clamp(.8rem, 4%, 1.6rem);
  border: 0; cursor: pointer; color: #fff8e7; font: inherit;
  background: linear-gradient(180deg, rgba(11, 11, 10, 0) 55%, rgba(11, 11, 10, .6));
}
.vsl-play {
  width: clamp(56px, 7vw, 80px); height: clamp(56px, 7vw, 80px); flex: 0 0 auto; border-radius: 50%;
  display: grid; place-items: center; color: #1a1407;
  background: var(--gold-grad, linear-gradient(135deg, #ffe9ae, #e4b563 50%, #b9873e));
  box-shadow: 0 18px 44px -12px rgba(228, 181, 99, .8);
  transition: transform .35s var(--ease-out, ease);
}
.vsl-play svg { width: 40%; height: 40%; margin-left: 6%; }
.vsl-start:hover .vsl-play, .vsl-start:focus-visible .vsl-play { transform: scale(1.07); }
.vsl-start-label {
  font-family: var(--mono, monospace); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  padding: .45rem .9rem; border-radius: 999px; background: rgba(11, 11, 10, .72);
}

/* «Activar el sonido» sobre la vista previa silenciosa */
.vsl-sound {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%;
  /* Arriba a la izquierda: abajo están los subtítulos quemados y en el
     centro la cara. Todo el vídeo es pulsable, la píldora solo lo anuncia. */
  display: flex; align-items: flex-start; justify-content: flex-start;
  padding: clamp(.6rem, 3.5%, 1.3rem) 0 0 clamp(.6rem, 3.5%, 1.3rem);
  border: 0; cursor: pointer; font: inherit; background: transparent;
}
.vsl-sound-pill {
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .85rem 1.3rem .85rem 1rem; border-radius: 999px;
  background: var(--gold-grad, linear-gradient(135deg, #ffe9ae, #e4b563 50%, #b9873e));
  color: #1a1407; font-weight: 700; font-size: clamp(.9rem, 1.6vw, 1.05rem); line-height: 1.15; text-align: left;
  box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .8), 0 0 0 0 rgba(228, 181, 99, .55);
  animation: vslPulse 2.2s var(--ease-soft, ease) infinite;
}
.vsl-sound-pill small { display: block; font-weight: 500; font-size: .78em; opacity: .8; }
.vsl-sound-pill svg { width: 28px; height: 28px; flex: 0 0 auto; }
@keyframes vslPulse {
  0% { box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .8), 0 0 0 0 rgba(228, 181, 99, .55); }
  70% { box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .8), 0 0 0 18px rgba(228, 181, 99, 0); }
  100% { box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .8), 0 0 0 0 rgba(228, 181, 99, 0); }
}

/* Pantalla final */
.vsl-end {
  position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; align-content: center; gap: 1rem;
  padding: 1.2rem; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(228, 181, 99, .14), transparent 60%), rgba(11, 11, 10, .9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.vsl-end[hidden], .vsl-start[hidden], .vsl-sound[hidden] { display: none; }
.vsl-end-title { font-family: var(--serif, serif); font-size: clamp(1.25rem, 2.6vw, 1.9rem); line-height: 1.15; color: var(--text, #ede9dd); max-width: 24ch; }
.vsl-end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.vsl-replay {
  border: 0; background: none; color: var(--text-mute, #8c8779); font: inherit; font-size: .9rem; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding: 0 .6rem;
}
.vsl.is-broken .vsl-start, .vsl.is-broken .vsl-sound { display: none; }

.vsl-caption { margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  .vsl-sound-pill { animation: none; }
}
@media (max-width: 640px) {
  .vsl-frame { border-radius: 14px; }
  .vsl-sound-pill { padding: .6rem .95rem .6rem .7rem; font-size: .88rem; }
  .vsl-sound-pill small { display: none; }
  .vsl-start-label { font-size: .64rem; letter-spacing: .12em; }
  .vsl-sound-pill svg { width: 24px; height: 24px; }
  .vsl-end { gap: .45rem; padding: .6rem .8rem; }
  .vsl-end-title { font-size: 1rem; max-width: 30ch; }
  .vsl-end-actions .btn { padding: .7rem 1.1rem; font-size: .88rem; min-height: 44px; }
  .vsl-replay { min-height: 36px; font-size: .82rem; }
}

/* ---------------- Landing: héroe con el vídeo ---------------- */
.hero-inner.hero-vsl { display: flex; flex-direction: column; }
.hero-vsl .hero-video-col { order: 3; margin-top: clamp(1.4rem, 5vw, 2rem); }
.hero-vsl .hero-actions { order: 4; margin-top: 1.4rem; }
.hero-vsl .hero-sub { order: 5; }
.hero-vsl .hero-trust { order: 6; }
.hero-vsl .hero-title { order: 2; }
.hero-vsl .kicker { order: 1; }

@media (min-width: 1024px) {
  .hero-inner.hero-vsl {
    display: grid; max-width: var(--maxw, 1240px);
    grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
    grid-template-areas:
      "kicker  video"
      "title   video"
      "sub     video"
      "trust   actions";
    column-gap: clamp(2rem, 4vw, 3.6rem); align-items: start;
  }
  .hero-vsl .kicker { grid-area: kicker; }
  .hero-vsl .hero-title { grid-area: title; font-size: clamp(2.4rem, 3.4vw, 3.5rem); max-width: 14ch; }
  .hero-vsl .hero-sub { grid-area: sub; margin-top: 1.3rem; max-width: 46ch; font-size: clamp(1rem, 1.25vw, 1.12rem); }
  .hero-vsl .hero-trust { grid-area: trust; margin-top: 1.6rem; flex-direction: column; gap: .7rem; }
  .hero-vsl .hero-video-col { grid-area: video; margin-top: 0; align-self: center; }
  .hero-vsl .hero-actions { grid-area: actions; margin-top: 1.4rem; justify-content: flex-start; }
}

/* ---------------- Landing: transcripción ---------------- */
button.vs-time {
  border: 0; background: none; cursor: pointer; text-align: left; font: inherit;
  font-family: var(--mono, monospace); font-size: .72rem; letter-spacing: .1em; color: var(--gold, #e4b563);
  min-height: 44px; display: inline-flex; align-items: flex-start; gap: .35rem; padding: .3rem 0 0;
}
button.vs-time:hover, button.vs-time:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
button.vs-time svg { width: 10px; height: 10px; margin-top: .15rem; flex: 0 0 auto; }

/* ---------------- Gracias ---------------- */
.ty-video { max-width: 880px; margin: clamp(1.6rem, 5vw, 2.4rem) auto clamp(1.4rem, 4vw, 2rem); }
.ty-video-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: .55rem; margin-bottom: .9rem;
  font-family: var(--mono, monospace); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold, #e4b563);
}

/* ---------------- Landing: Blindaje Fiscal (2026-10-03) ---------------- */
.blindaje-reglas { display: grid; gap: .7rem; margin: 1.4rem 0 1.6rem; max-width: 54ch; }
.blindaje-reglas span {
  display: block; padding: .8rem 1rem; border-radius: 12px; font-size: .95rem; color: var(--text-soft, #c7c2b2);
  border: 1px dashed var(--line, rgba(228,181,99,.16)); background: rgba(228, 181, 99, .05);
}
.blindaje-reglas strong { color: var(--text, #ede9dd); font-weight: 600; }
.ya-llc {
  margin: clamp(2.2rem, 5vw, 3rem) auto 0; max-width: 880px;
  padding: clamp(1.4rem, 3.5vw, 2rem); border-radius: var(--radius, 18px);
  border: 1px solid var(--line, rgba(228,181,99,.16));
  background: radial-gradient(circle at 0% 0%, rgba(228,181,99,.10), transparent 55%), var(--bg-2, #141310);
}
.ya-llc h3 { font-family: var(--serif, serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.2; margin: .5rem 0 .7rem; color: var(--text, #ede9dd); }
.ya-llc p:not(.kicker) { color: var(--text-soft, #c7c2b2); max-width: 64ch; margin-bottom: 1.2rem; }
