/* ===========================================================
   Inglés360 — landing de ventas
   Tokens → base → componentes → secciones → movimiento
   =========================================================== */

:root {
  --navy-950: #041a3e;
  --navy-900: #062453;
  --navy-800: #0d3470;
  --navy-700: #1a4488;
  --blue: #0659ff;
  --blue-600: #0447d6;
  --blue-700: #0638a6;
  --blue-100: #e2ebff;
  --blue-50: #f0f5ff;

  --ink: #0d1c3f;
  --muted: #475370;
  --bg: #f4f7fc;
  --paper: #ffffff;
  --surface: #e7edf7;         /* superficie para páginas blancas: nunca blanco sobre blanco */
  --line: #d9e1ef;
  --line-strong: #bccae3;

  --yellow: #ffc400;
  --yellow-600: #e6b000;
  --yellow-soft: #fff3c4;
  --green: #12a150;
  --green-ink: #0a6b34;

  --font-display: "Figtree", "Segoe UI", system-ui, sans-serif;
  --font-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 14px;
  --gutter: clamp(16px, 5vw, 32px);
  --section-y: clamp(56px, 8vw, 104px);
  --page-shadow: 0 1px 2px rgb(6 36 83 / 0.14), 0 10px 22px -12px rgb(6 36 83 / 0.4);
  --sticky-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
i[lang="en"] { font-style: italic; }

/* Partes del navegador que también llevan la identidad */
::selection { background: var(--yellow); color: var(--navy-950); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.section--navy :focus-visible, .sticky-cta :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible { outline-color: var(--yellow); }
html { scrollbar-color: var(--navy-700) var(--bg); }

.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(100% - var(--gutter) * 2, 1140px); margin-inline: auto; }
.wrap--narrow { width: min(100% - var(--gutter) * 2, 780px); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--navy-900); text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.3vw, 3.55rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 1.15rem + 2.4vw, 2.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.026em; }
h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.012em; }
p { text-wrap: pretty; }
.lead { font-size: clamp(1.03rem, 0.98rem + 0.3vw, 1.15rem); color: var(--muted); max-width: 60ch; }

/* Subrayador: la firma de la marca */
.mk { --mk-h: 0.3em; background: linear-gradient(var(--yellow), var(--yellow)) no-repeat 0 92% / 100% var(--mk-h); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: 0.04em; margin-inline: -0.04em; }
h1 .mk { white-space: nowrap; animation: mk-grow 0.8s 0.35s var(--ease) backwards; }
@keyframes mk-grow { from { background-size: 0% var(--mk-h); } }

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-bg-hover: var(--blue-600);
  --btn-ink: #fff;
  --btn-shadow: 0 2px 0 var(--blue-700), 0 10px 22px -10px rgb(6 89 255 / 0.7);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.35em;
  background: var(--btn-bg); color: var(--btn-ink);
  border: 2px solid transparent; border-radius: var(--radius);
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: 0.005em; line-height: 1.2; text-align: center; text-decoration: none;
  box-shadow: var(--btn-shadow);
  cursor: pointer;
  transition: transform 0.2s var(--ease), background-color 0.2s, border-color 0.2s, box-shadow 0.2s var(--ease), color 0.2s;
}
.btn .ico { transition: transform 0.25s var(--ease); }
.btn:hover { background: var(--btn-bg-hover); transform: translateY(-2px); }
.btn:hover .ico { transform: translateX(3px); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--sm { min-height: 40px; padding: 0.45em 1em; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 0.8em 1.6em; font-size: 1.0625rem; }
.btn--xl { min-height: 60px; padding: 0.85em 1.2em; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; }
.btn--quiet { --btn-bg: transparent; --btn-bg-hover: var(--paper); --btn-ink: var(--navy-900); --btn-shadow: none; border-color: var(--line-strong); }
.btn--quiet:hover { border-color: var(--navy-900); }
.btn--outline { --btn-bg: transparent; --btn-bg-hover: #fff; --btn-ink: #fff; --btn-shadow: none; border-color: rgb(255 255 255 / 0.75); }
.btn--outline:hover { color: var(--navy-900); border-color: #fff; }
.btn--sticky { --btn-bg: var(--yellow); --btn-bg-hover: #ffd23d; --btn-ink: var(--navy-950); --btn-shadow: 0 2px 0 #b38900; min-height: 46px; padding-inline: 1.3em; flex: none; }
.textlink { font-weight: 700; color: var(--blue-700); text-underline-offset: 4px; text-decoration-thickness: 1.5px; padding: 8px 4px; }
.textlink:hover { color: var(--navy-900); }

/* ---------- Cabecera ---------- */
.site-header { padding-block: 14px; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.site-header__end { display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand__logo { height: 34px; width: auto; }
.lang { display: inline-flex; padding: 3px; gap: 2px; background: var(--paper); border: 1px solid var(--line-strong); border-radius: 99px; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 11px 0 8px; border: 0; border-radius: 99px; background: transparent; color: var(--navy-800); font-weight: 700; font-size: 0.8rem; letter-spacing: 0.04em; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.lang__btn:hover { background: var(--blue-50); }
.lang__btn[aria-pressed="true"] { background: var(--navy-900); color: #fff; }
.flag { width: 20px; height: 14px; border-radius: 3px; box-shadow: 0 0 0 1px rgb(6 36 83 / 0.18); flex: none; }
@media (max-width: 520px) { .btn--header { display: none; } }
@media (max-width: 380px) { .brand__logo { height: 28px; } .lang__btn { padding: 0 8px 0 6px; gap: 4px; } }

/* ---------- Secciones ---------- */
.section { padding-block: var(--section-y); }
.section--white { background: var(--paper); }
.section--navy { background: var(--navy-900); color: #dfe7fa; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .lead { color: #c3d0ef; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 52px); }
.sec-head h2 { max-width: 22ch; }
.sec-head--center { text-align: center; justify-items: center; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 24px; margin-top: clamp(40px, 6vw, 60px); }
@media (max-width: 560px) { .cta-row { flex-direction: column; } .cta-row .btn { width: 100%; } }
.media-cap { margin-top: 12px; font-size: 0.9rem; color: var(--muted); text-align: center; }

/* ---------- Página (muestra de PDF) ----------
   Todas las muestras son páginas blancas: se apoyan en una superficie azul grisácea,
   con el mismo ancho relativo, una sola sombra y sin recortes (proporción real de la página). */
.sheet {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 12px;
  background: var(--surface); cursor: zoom-in; overflow: hidden;
}
.sheet img { width: 76%; height: auto; border-radius: 2px; background: #fff; box-shadow: var(--page-shadow); transition: transform 0.35s var(--ease); }
@media (hover: hover) { .sheet:hover img { transform: translateY(-3px); } }
.sheet__zoom { position: absolute; right: 8px; bottom: 8px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-900); color: #fff; }
.sheet__zoom .ico { width: 18px; height: 18px; }

/* ---------- 1. Primera pantalla ---------- */
.hero { padding-block: clamp(12px, 3vw, 32px) clamp(48px, 7vw, 88px); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero__copy .lede { margin-top: 18px; font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.22rem); color: var(--muted); max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.micro { margin-top: 16px; font-size: 0.93rem; font-weight: 600; color: var(--navy-800); }
@media (max-width: 560px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .micro { text-align: center; }
}
@media (min-width: 960px) { .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }

/* Portadas reales sobre navy: contraste claro entre producto y fondo */
.hero__media { min-width: 0; }
.stage { position: relative; aspect-ratio: 5 / 4; border-radius: 22px; background: var(--navy-900); overflow: hidden; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: auto -10% -45% -10%; height: 70%; border-radius: 50%; border: 2px solid rgb(255 196 0 / 0.55); transform: rotate(-8deg); z-index: -1; }
/* Cascada: todas las portadas tienen el texto alineado a la izquierda, así que cada una deja ver
   su lado izquierdo (logo, número y título) y la del plan queda completa al frente. */
.stage__cover { position: absolute; width: 42%; height: auto; border-radius: 3px; box-shadow: 0 2px 4px rgb(0 0 0 / 0.25), 0 18px 32px -14px rgb(0 0 0 / 0.55); }
.stage__cover--r { left: 6%; top: 17%; }
.stage__cover--l { left: 28%; top: 11%; z-index: 1; }
.stage__cover--c { left: 50%; top: 5%; z-index: 2; }

/* ---------- 2. Cómo funciona ---------- */
.band { background: var(--paper); border-block: 1px solid var(--line); padding-block: clamp(36px, 5vw, 56px); }
.h2-sm { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.85rem); margin-bottom: 24px; }
.steps { display: grid; gap: 20px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; counter-increment: step; }
.steps h3::before { content: counter(step) ". "; color: var(--blue); }
.steps p { color: var(--muted); font-size: 0.98rem; margin-top: 4px; max-width: 40ch; }
.steps__icon, .how__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy-900); color: #fff; }
.steps__icon .ico, .how__icon .ico { width: 24px; height: 24px; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ---------- 3. Contenido real ---------- */
.materials { display: grid; gap: 16px; }
/* Móvil: miniatura + título arriba, descripción a todo el ancho. Desde 560px: miniatura a la izquierda. */
.material { display: grid; grid-template-columns: 96px 1fr; gap: 14px 16px; align-items: start; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.material__desc { grid-column: 1 / -1; color: var(--muted); font-size: 0.98rem; }
.material .sheet__zoom { width: 28px; height: 28px; right: 5px; bottom: 5px; }
.material .sheet__zoom .ico { width: 15px; height: 15px; }
.material__text h3 { margin-top: 8px; }
.material__meta { margin-top: 2px; font-size: 0.9rem; font-weight: 600; color: var(--navy-700); }
@media (min-width: 560px) {
  .material { grid-template-columns: 150px 1fr; grid-template-rows: auto 1fr; gap: 8px 24px; padding: 20px; }
  .material .sheet { grid-row: 1 / span 2; }
  .material__desc { grid-column: 2; }
}
@media (min-width: 980px) { .materials { grid-template-columns: 1fr 1fr; gap: 20px; } }
.chip { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em; line-height: 1.2; padding: 0.35em 0.7em; border-radius: 6px; }
.chip--both { background: var(--blue-50); color: var(--blue-700); box-shadow: inset 0 0 0 1px var(--blue-100); }
.chip--full { background: var(--navy-900); color: #fff; }
.chip--bonus { background: var(--yellow); color: var(--navy-950); }
.credits { margin-top: 24px; font-size: 0.9rem; color: var(--muted); max-width: 80ch; }

/* ---------- 4. Cómo estudiar ---------- */
.study { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
.how { display: grid; gap: 22px; margin-top: 28px; }
.how li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.how p { color: var(--muted); margin-top: 4px; max-width: 52ch; }
.how__icon { background: var(--blue-50); color: var(--blue-700); }
.study__basic { margin-top: 26px; padding: 14px 18px; background: var(--bg); border-radius: 12px; font-size: 0.98rem; }
.study__basic b { color: var(--navy-900); }
.study__media { max-width: 420px; width: 100%; justify-self: center; }
.sheet--panel { width: 100%; }
@media (min-width: 900px) { .study { grid-template-columns: 1.15fr 1fr; } }

/* ---------- 5. Bonos ---------- */
.bonus-list { display: grid; gap: 20px; }
.bonus { display: grid; gap: 20px; padding: clamp(16px, 3vw, 28px); background: var(--paper); border: 1px solid var(--line); border-radius: 20px; align-items: center; }
.bonus__media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bonus__media .sheet img { width: 80%; }
.bonus__text h3 { margin-top: 10px; font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem); line-height: 1.15; }
.bonus__text > p:not(.chip):not(.material__meta):not(.example) { margin-top: 10px; color: var(--muted); max-width: 58ch; }
.example { margin-top: 16px; padding: 12px 16px; background: var(--yellow-soft); border-radius: 10px; font-size: 0.95rem; color: var(--ink); }
.example__label { display: inline-block; margin-right: 6px; font-weight: 800; color: var(--navy-900); }
.example [lang="en"] { font-weight: 700; color: var(--navy-900); }
@media (min-width: 820px) { .bonus { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px; } }

/* ---------- 6. Packs ---------- */
.plans { display: grid; gap: 24px; max-width: 1000px; margin-inline: auto; align-items: start; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: 22px; padding: clamp(22px, 4vw, 34px); }
.plan__name { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -0.025em; }
.plan__tag { margin-top: 8px; font-size: 0.98rem; }
.plan__price { display: flex; align-items: baseline; gap: 12px; margin-top: 18px; }
.plan__price strong { font-family: var(--font-display); font-size: clamp(2.6rem, 2.1rem + 2vw, 3.4rem); line-height: 1; font-weight: 800; letter-spacing: -0.035em; }
.plan__price span { font-weight: 700; font-size: 0.95rem; }
.plan__sub { margin-top: 22px; padding-top: 18px; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.plan__list { margin-top: 6px; }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; }
.plan__list .ico { margin-top: 0.15em; stroke-width: 2.4; }
.plan__list b { display: block; font-weight: 600; line-height: 1.35; }
.plan__list small { display: block; font-size: 0.86rem; margin-top: 1px; }
.plan__note { margin: 18px 0 22px; font-size: 0.93rem; }
.plan__delta { margin: 18px 0 20px; padding: 12px 16px; background: var(--yellow-soft); border-radius: 12px; color: var(--navy-900); font-weight: 600; font-size: 0.97rem; }
.plan__safe { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 0.93rem; color: var(--green-ink); }
.plan__badge { position: absolute; top: -15px; left: clamp(22px, 4vw, 34px); padding: 0.45em 1em; border-radius: 99px; background: var(--yellow); color: var(--navy-950); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; }

.plan--basic { background: rgb(255 255 255 / 0.05); border: 1px solid rgb(255 255 255 / 0.24); color: #dbe4fa; }
.plan--basic .plan__tag, .plan--basic .plan__list small, .plan--basic .plan__note { color: #b3c3e8; }
.plan--basic .plan__price span, .plan--basic .plan__sub { color: #c8d4f2; }
.plan--basic .plan__sub { border-top: 1px solid rgb(255 255 255 / 0.2); }
.plan--basic .plan__list .ico { color: #8fb0ff; }
.plan--basic .plan__list b { color: #fff; }
.plan--basic .plan__safe { color: #9fe3bd; }

.plan--complete { order: -1; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 3px var(--yellow), 0 40px 70px -34px rgb(0 0 0 / 0.7); }
.plan--complete .plan__name, .plan--complete .plan__price strong { color: var(--navy-900); }
.plan--complete .plan__tag { color: var(--navy-800); }
.plan--complete .plan__price span { color: var(--muted); }
.plan--complete .plan__sub { color: var(--muted); border-top: 1px solid var(--line); }
.plan--complete .plan__sub--plus { color: var(--blue-700); }
.plan--complete .plan__list .ico { color: var(--green); }
.plan--complete .plan__list small { color: var(--muted); }
.plan--complete .plan__list .is-bonus { background: var(--yellow-soft); margin-inline: -10px; padding-inline: 10px; border-radius: 8px; margin-block: 2px; }
@media (min-width: 880px) {
  .plans { grid-template-columns: 0.85fr 1.15fr; gap: 28px; }
  .plan--complete { order: 0; }
}
.price-note { max-width: 70ch; margin: 32px auto 0; text-align: center; font-size: 0.9rem; color: #b8c6e8; }

/* ---------- 7. Garantía ---------- */
.guarantee { display: grid; gap: 24px; align-items: center; max-width: 860px; }
.guarantee__seal { display: grid; place-items: center; align-content: center; width: 132px; aspect-ratio: 1; border-radius: 50%; background: var(--navy-900); color: #fff; box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px var(--yellow); }
.guarantee__num { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 0.9; }
.guarantee__days { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.guarantee__text p { margin-top: 12px; color: var(--muted); max-width: 58ch; }
@media (min-width: 720px) { .guarantee { grid-template-columns: auto 1fr; gap: 48px; } }

/* ---------- 8. Preguntas frecuentes ---------- */
.faq-title { margin-bottom: 28px; }
.faq { border-top: 1.5px solid var(--navy-900); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; padding: 16px 4px; cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy-900); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { transition: transform 0.35s var(--ease); color: var(--blue); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq summary:hover { color: var(--blue-600); }
.faq__a { padding: 0 4px 20px; color: var(--muted); max-width: 64ch; }
.faq__a p + p { margin-top: 10px; }
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-950); color: #b3c1e2; padding-block: 36px; font-size: 0.925rem; }
.site-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; align-items: flex-start; }
.site-footer__brand { display: grid; gap: 8px; }
.site-footer__brand img { height: 30px; width: auto; margin-bottom: 6px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer a { text-decoration: none; padding: 8px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer a[hidden] { display: none; }

/* ---------- Barra fija móvil ---------- */
.sticky-cta { position: fixed; inset: auto 0 0 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--sticky-h); padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: var(--navy-900); color: #dfe7fa; box-shadow: 0 -8px 24px -12px rgb(4 26 62 / 0.5); transition: transform 0.35s var(--ease), visibility 0s; }
.sticky-cta p { font-size: 0.93rem; }
.sticky-cta b { color: #fff; font-family: var(--font-display); font-size: 1.1rem; }
.sticky-cta[hidden] { display: flex; transform: translateY(110%); visibility: hidden; transition: transform 0.35s var(--ease), visibility 0s 0.35s; }
@media (min-width: 760px) { .sticky-cta, .sticky-cta[hidden] { display: none; } }
/* Reserva de espacio: el final de la página nunca queda debajo de la barra */
@media (max-width: 759px) { .site-footer { padding-bottom: calc(36px + var(--sticky-h) + env(safe-area-inset-bottom)); } }

/* ---------- Vista ampliada ---------- */
.lightbox { border: 0; padding: 0; background: transparent; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; overflow: visible; color: #fff; }
.lightbox[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; justify-items: center; gap: 12px; padding: 64px 12px 20px; }
.lightbox::backdrop { background: rgb(4 18 45 / 0.9); }
.lightbox__stage { grid-column: 2; grid-row: 1; display: grid; justify-items: center; gap: 10px; width: 100%; }
.lightbox__stage img { width: auto; max-width: min(100%, 760px); max-height: calc(100dvh - 130px); height: auto; background: #fff; border-radius: 4px; box-shadow: 0 30px 70px -20px rgb(0 0 0 / 0.7); animation: zoom-in 0.3s var(--ease); }
.lightbox__stage figcaption { font-size: 0.92rem; color: #cbd6f2; text-align: center; }
.lightbox__nav { grid-row: 1; width: 48px; height: 48px; display: grid; place-items: center; background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.3); color: #fff; border-radius: 50%; cursor: pointer; transition: background-color 0.2s; }
.lightbox__nav:hover { background: rgb(255 255 255 / 0.25); }
.lightbox__nav--prev { grid-column: 1; } .lightbox__nav--next { grid-column: 3; }
.lightbox__close { position: fixed; top: 12px; right: 12px; z-index: 3; width: 48px; height: 48px; display: grid; place-items: center; background: #fff; color: var(--navy-900); border: 0; border-radius: 50%; cursor: pointer; }
@keyframes zoom-in { from { opacity: 0; transform: scale(0.97); } }
@media (max-width: 560px) {
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; padding-inline: 10px; }
  .lightbox__stage { grid-column: 1 / -1; }
  .lightbox__nav { grid-row: 2; }
  .lightbox__nav--prev { grid-column: 1; justify-self: end; } .lightbox__nav--next { grid-column: 2; justify-self: start; }
  .lightbox__stage img { max-height: calc(100dvh - 190px); }
}

/* ---------- Movimiento: contenido visible por defecto ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.hero__copy > * { animation: rise 0.7s var(--ease) backwards; }
.hero__copy > :nth-child(2) { animation-delay: 0.06s; } .hero__copy > :nth-child(3) { animation-delay: 0.12s; } .hero__copy > :nth-child(4) { animation-delay: 0.18s; }
.stage__cover { animation: rise 0.9s 0.2s var(--ease) backwards; }
.stage__cover--l { animation-delay: 0.3s; }
.stage__cover--c { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
