/* =========================================================
   Método J.R. · Landing de venta
   Mobile first (390 px) → escritorio
   ========================================================= */

:root {
  --navy: #0F1B3D;
  --navy-2: #1D2D5C;
  --navy-deep: #0A1430;
  --amber: #F2A007;
  --amber-hover: #FFB224;
  --amber-ink: #8A5800;   /* ámbar oscuro para texto sobre fondos claros (contraste AA) */
  --cream: #FBF6EC;
  --gray: #5B6475;
  --white: #FFFFFF;
  --coral: #FF6F61;
  --teal: #0E7C7B;
  --violet: #8E7CF0;
  --on-dark: #D5DBEA;
  --on-dark-soft: #A9B3CC;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(15, 27, 61, .08);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .28);

  --font-title: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: 20px;
  --focus: var(--navy-2);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 {
  font-family: var(--font-title);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  color: var(--navy);
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 1.25rem + 2vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: inherit; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  background: var(--white); color: var(--navy);
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 780px; }
.center { text-align: center; }

.section { position: relative; padding-block: 72px; overflow: hidden; }
.section > .container { position: relative; z-index: 1; }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { margin-bottom: .3em; }

.bg-cream { background: var(--cream); }
.is-dark { --focus: var(--white); background: var(--navy); color: var(--on-dark); }
.is-dark h1, .is-dark h2, .is-dark h3 { color: var(--white); }

.eyebrow {
  font-family: var(--font-title); font-weight: 600; font-size: .85rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--amber-ink); margin-bottom: .8rem;
}
.is-dark .eyebrow { color: var(--amber); }
.lead { font-size: 1.125rem; color: var(--gray); }
.is-dark .lead { color: var(--on-dark); }
.hl { color: var(--amber); }
.hl-ink { color: var(--amber-ink); }

/* Círculos decorativos */
.deco {
  position: absolute; border-radius: 50%;
  background: var(--navy-2); pointer-events: none; z-index: 0;
}
.bg-cream .deco, .section:not(.is-dark) .deco { opacity: .07; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 14px 28px;
  border-radius: 999px; border: 0;
  background: var(--amber); color: var(--navy);
  font-family: var(--font-title); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  box-shadow: 0 10px 24px rgba(242, 160, 7, .32);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover { background: var(--amber-hover); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(242, 160, 7, .42); }
.btn:active { transform: translateY(0); }
.btn--lg { min-height: 58px; padding: 16px 34px; font-size: 1.1rem; }
.btn--block, .btn--block-mobile { width: 100%; }

/* ---------- Placeholders de imagen ---------- */
.ph { position: relative; display: block; }
.ph img { width: 100%; height: auto; }
.ph.is-missing {
  aspect-ratio: var(--ar, 4 / 3);
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  background: #DDE1E8; border: 2px dashed #8E97A8; border-radius: var(--radius-sm);
}
.ph.is-missing img { display: none; }
.ph.is-missing::after {
  content: "Imagen pendiente\A" attr(data-ph);
  white-space: pre-line; text-align: center; overflow-wrap: anywhere;
  font: 600 .8rem/1.4 var(--font-body); color: #3F4757;
}

/* ---------- Barra superior ---------- */
.topbar {
  background: var(--amber); color: var(--navy);
  text-align: center; padding: 9px var(--gutter);
  font-family: var(--font-title); font-weight: 600; font-size: .85rem; line-height: 1.35;
}
.topbar p { margin: 0; }

/* ---------- Encabezado ---------- */
.hero { position: relative; overflow: hidden; padding-block: 44px 64px; }
.hero > .container { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero__sub { font-size: 1.125rem; max-width: 34em; }
.pron-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.pron-list li {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  padding: 6px 14px; border-radius: 999px; font-size: .95rem;
}
.pron strong { color: var(--white); font-weight: 700; }
.pron em { color: var(--amber); font-style: italic; }
.microtrust {
  list-style: none; padding: 0; margin: 18px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; font-size: .92rem;
}
.microtrust li { display: flex; align-items: center; gap: 6px; }
.microtrust svg { width: 16px; height: 16px; color: var(--amber); flex: none; }
.hero__media { display: flex; justify-content: center; }
.hero__media .ph { width: min(100%, 560px); }
.hero__media img { border-radius: var(--radius); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }

/* ---------- Solución ---------- */
.chips { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chips li {
  background: var(--cream); border: 1px solid #EFE4CC;
  border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: .95rem;
}

.pilares__label {
  margin: 36px 0 12px; font-family: var(--font-title); font-weight: 600; font-size: .95rem; color: var(--navy);
}
.pilares {
  list-style: none; padding: 0; margin: 0; counter-reset: pilar;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.pilares li {
  counter-increment: pilar; display: flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--navy); color: var(--white); font-size: .9rem; font-weight: 500;
}
.pilares li::before {
  content: counter(pilar); width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--amber); color: var(--navy); font: 700 .8rem/1 var(--font-title);
}

/* ---------- Temario ---------- */
.temario { list-style: none; padding: 0; margin: 0 auto; max-width: 980px; display: grid; gap: 10px; }
.temario li {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border-radius: var(--radius-sm); padding: 12px 16px;
  box-shadow: var(--shadow); font-weight: 500; line-height: 1.4;
}
.temario__dia {
  flex: none; min-width: 64px; text-align: center; padding: 6px 8px; border-radius: 8px;
  background: var(--navy); color: var(--amber); font: 700 .82rem/1.2 var(--font-title);
}
.temario__tag {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px;
  background: var(--cream); color: var(--amber-ink); border: 1px solid #EFE4CC;
  font-style: normal; font-size: .75rem; font-weight: 700; white-space: nowrap;
}
.temario__extra { background: var(--navy) !important; color: var(--white); }
.temario__extra .temario__dia { background: var(--amber); color: var(--navy); }

/* ---------- Qué vas a lograr ---------- */
.cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: 1fr; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow); display: flex; gap: 16px; align-items: center;
}
.card__icon {
  flex: none; width: 52px; height: 52px; border-radius: 14px;
  background: var(--navy); color: var(--amber); display: grid; place-items: center;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0; font-size: 1.05rem; line-height: 1.35; }

/* ---------- Cómo funciona ---------- */
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.step { position: relative; padding: 22px 22px 22px 80px; background: var(--navy-2); border-radius: var(--radius); }
.step__num {
  position: absolute; left: 22px; top: 22px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--amber); color: var(--navy);
  font: 700 1.1rem/1 var(--font-title); display: grid; place-items: center;
}
.step:not(:last-child)::after {
  content: ""; position: absolute; left: 42px; top: 70px; bottom: -20px;
  width: 2px; background: rgba(242, 160, 7, .5);
}
.step h3 { margin-bottom: .2em; }
.step p { margin: 0; }

.dias__label {
  margin: 48px 0 16px; text-align: center;
  font-family: var(--font-title); font-weight: 600; color: var(--white);
}
.dias {
  list-style: none; padding: 0; margin: 0 auto;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; max-width: 400px;
}
.dias li {
  aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center;
  font: 700 1rem/1 var(--font-title);
  background: var(--navy-2); color: var(--on-dark-soft);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: background-color .35s ease, color .35s ease, transform .35s ease, box-shadow .35s ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}
.dias.is-lit li, html:not(.js) .dias li {
  background: var(--amber); color: var(--navy); border-color: var(--amber);
  box-shadow: 0 6px 18px rgba(242, 160, 7, .35);
}
.dias.is-lit li { transform: scale(1.04); }

/* ---------- Qué incluye ---------- */
.panel {
  max-width: 940px; margin-inline: auto;
  background: var(--white); border: 1px solid #ECEEF3; border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow);
}
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li, .fit li { display: flex; gap: 12px; align-items: flex-start; }
.check {
  flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 50%;
  background: var(--amber); color: var(--navy); display: grid; place-items: center;
}
.check svg { width: 14px; height: 14px; }
.check--no { background: var(--gray); color: var(--white); }

/* ---------- Vista previa ---------- */
.hint-swipe { color: var(--gray); font-size: .95rem; margin: 0; }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: 76%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: thin;
}
.gallery__item { margin: 0; scroll-snap-align: start; }
.gallery__btn {
  position: relative; display: block; width: 100%; padding: 0; border: 0;
  background: var(--white); border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow); cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery__btn:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 27, 61, .14); }
.gallery__btn .ph.is-missing { border-radius: var(--radius-sm); }
.zoom {
  position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--white); display: grid; place-items: center;
}
.gallery figcaption { margin-top: 12px; text-align: center; font-weight: 600; }

/* ---------- Carrusel de videos ---------- */
.reels { position: relative; }
.reels__track {
  list-style: none; margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 24px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.reels__track::-webkit-scrollbar { display: none; }
.reel { scroll-snap-align: start; }
.reel__frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius);
  overflow: hidden; background: var(--navy); box-shadow: 0 8px 18px rgba(15, 27, 61, .18);
}
.reel__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.reel__play {
  position: absolute; left: 50%; bottom: 12%; margin-left: -34px; width: 68px; height: 68px;
  border: 0; border-radius: 50%; cursor: pointer;
  background: var(--amber); color: var(--navy);
  display: grid; place-items: center; padding-left: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .2s ease;
}
.reel__play:hover { transform: scale(1.06); }
.reel.is-playing .reel__play { display: none; }
.reel__title { margin: 12px 0 0; text-align: center; font-weight: 600; }
.reels__arrow {
  display: none; position: absolute; top: calc(50% - 40px); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--white); color: var(--navy); box-shadow: var(--shadow);
  place-items: center;
}
.reels__arrow[disabled] { opacity: .35; cursor: default; }
.reels__arrow--prev { left: -8px; }
.reels__arrow--next { right: -8px; }
.reels__dots { display: flex; justify-content: center; gap: 8px; margin-top: 4px; }
.reels__dots[hidden] { display: none; }
.reels__dots span { width: 8px; height: 8px; border-radius: 50%; background: #CBD1DC; transition: background-color .2s, width .2s; }
.reels__dots span.is-active { width: 22px; border-radius: 999px; background: var(--amber); }

/* ---------- Bonos ---------- */
.bonos { display: grid; gap: 24px; }
.bono {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); color: var(--gray);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  --focus: var(--navy-2);
}
.bono--1 { --bono: var(--coral);  --bono-ink: var(--navy); }
.bono--2 { --bono: var(--teal);   --bono-ink: var(--white); }
.bono--3 { --bono: var(--violet); --bono-ink: var(--navy); }
.bono__ribbon {
  margin: 0; padding: 10px 22px;
  background: var(--bono); color: var(--bono-ink);
  font: 700 .85rem/1.3 var(--font-title); letter-spacing: .12em; text-transform: uppercase;
}
.bono__tag {
  position: absolute; top: 54px; right: 16px; z-index: 2;
  background: var(--amber); color: var(--navy);
  font: 700 .72rem/1 var(--font-title); letter-spacing: .14em;
  padding: 7px 12px; border-radius: 999px; box-shadow: 0 6px 14px rgba(0, 0, 0, .18);
}
.bono__cover { padding: 26px 26px 0; background: color-mix(in srgb, var(--bono) 14%, var(--white)); }
.bono__cover .ph { width: min(100%, 200px); margin-inline: auto; }
.bono__cover img { filter: drop-shadow(0 14px 18px rgba(15, 27, 61, .22)); }
.bono__body { padding: 22px 24px 26px; }
.is-dark .bono h3 { color: var(--navy); margin-bottom: .35em; }
.bono__pages {
  display: inline-block; margin-bottom: .9em; padding: 3px 10px; border-radius: 999px;
  background: #EEF0F4; color: var(--navy); font-size: .82rem; font-weight: 600;
}
.bono__body p:last-child { margin-bottom: 0; }
.bono__example { background: var(--cream); border-radius: 10px; padding: 10px 14px; font-size: .95rem; }
.bono__example strong { color: var(--navy); }
.bono__when {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed #DDE1E8;
  font-size: .85rem; font-weight: 600; color: var(--navy);
}

/* ---------- Para quién ---------- */
.fit { display: grid; gap: 20px; max-width: 980px; margin-inline: auto; }
.fit__col { border-radius: var(--radius); padding: 26px 22px; }
.fit__col--si { background: var(--cream); }
.fit__col--no { background: #F1F3F7; }
.fit ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }

/* ---------- Oferta ---------- */
.offer {
  max-width: 720px; margin-inline: auto; padding: 32px 20px;
  background: var(--white); color: var(--navy); text-align: center;
  border: 3px solid var(--amber); border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
  --focus: var(--navy-2);
}
.is-dark .offer h2 { color: var(--navy); font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.2rem); margin-top: 20px; }
.offer__visual { display: flex; flex-direction: column; align-items: center; }
.offer__book { width: 100%; }
.offer__book img { border-radius: 16px; box-shadow: 0 16px 36px rgba(15, 27, 61, .25); }
.offer__list {
  list-style: none; padding: 0; margin: 0 auto 24px; max-width: 460px;
  display: grid; gap: 8px; text-align: left; font-size: .97rem;
}
.offer__list li { display: flex; gap: 10px; align-items: flex-start; }
.offer__list svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--amber-ink); }
.price-label {
  display: inline-block; margin: 0 0 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--cream); color: var(--amber-ink);
  font: 700 .85rem/1.2 var(--font-title); letter-spacing: .06em; text-transform: uppercase;
}
.price { margin: 0 0 22px; font: 700 clamp(2.8rem, 2rem + 4vw, 4.2rem)/1 var(--font-title); letter-spacing: -.02em; }
.offer__micro {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px;
  margin: 16px 0 0; color: var(--gray); font-size: .9rem;
}
.offer__micro svg { width: 16px; height: 16px; color: var(--navy); }
.paymethods { margin-top: 20px; padding-top: 18px; border-top: 1px solid #ECEEF3; }
.paymethods ul { list-style: none; padding: 0; margin: 0 0 8px; display: flex; justify-content: center; gap: 10px; }
.paymethods li {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  min-width: 78px; padding: 8px 10px; border: 1px solid #DDE1E8; border-radius: 10px;
  color: var(--gray); font-size: .72rem; font-weight: 600;
}
.paymethods svg { width: 24px; height: 24px; color: var(--navy); }
.paymethods p { margin: 0; color: var(--gray); font-size: .85rem; }

/* ---------- Garantía ---------- */
.guarantee {
  display: grid; gap: 28px; justify-items: center; text-align: center;
  max-width: 920px; margin-inline: auto;
}
.sello { width: 180px; height: 180px; flex: none; filter: drop-shadow(0 16px 30px rgba(242, 160, 7, .35)); }
.sello__ring { transform-origin: 100px 100px; animation: sello-gira 40s linear infinite; }
.sello__ringtext { font: 700 17px var(--font-title); letter-spacing: 4.6px; fill: var(--navy); }
.sello__num { font: 700 54px var(--font-title); fill: var(--amber); }
.sello__dias { font: 700 17px var(--font-title); letter-spacing: 3px; fill: var(--white); }
@keyframes sello-gira { to { transform: rotate(360deg); } }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--cream); border-radius: 16px; padding: 0 20px; }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 18px 44px 18px 0;
  font: 600 1.02rem/1.4 var(--font-title);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--amber); font: 600 1.25rem/1 var(--font-body);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 0 20px; color: var(--gray); }
.faq a { color: var(--navy); font-weight: 600; }

/* ---------- Cierre ---------- */
#cierre h2 { margin-bottom: 1em; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-dark-soft); padding: 40px 0 44px; font-size: .9rem; text-align: center; --focus: var(--white); }
.site-footer a { color: var(--white); }
.site-footer__brand { margin-bottom: 12px; }
.site-footer__links { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.site-footer__note { margin: 0; font-size: .82rem; }

/* ---------- Barra fija móvil ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(15, 27, 61, .97); color: var(--white);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .25);
  --focus: var(--white);
  transform: translateY(110%); visibility: hidden;
  transition: transform .3s ease, visibility 0s linear .3s;
}
.sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .3s ease; }
.sticky-cta__price { margin: 0; line-height: 1.2; }
.sticky-cta__price small { display: block; font-size: .72rem; color: var(--on-dark-soft); }
.sticky-cta__price strong { font: 700 1.2rem var(--font-title); white-space: nowrap; }
.sticky-cta .btn { min-height: 46px; padding: 10px 26px; font-size: 1rem; box-shadow: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0;
  padding: 64px 16px 24px; border: 0; background: transparent; color: var(--white);
  --focus: var(--white);
}
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(8, 14, 32, .9); }
.lightbox__figure { margin: 0; max-width: min(100%, 760px); display: flex; flex-direction: column; align-items: center; }
.lightbox__img {
  width: auto; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px);
  border-radius: 12px; background: var(--white);
}
.lightbox__ph {
  width: min(80vw, 420px); aspect-ratio: 600 / 848; max-height: calc(100dvh - 150px);
  display: flex; align-items: center; justify-content: center; padding: 16px; text-align: center;
  background: #DDE1E8; border: 2px dashed #8E97A8; border-radius: 12px;
  color: #3F4757; font-weight: 600; overflow-wrap: anywhere;
}
.lightbox__ph[hidden], .lightbox__img[hidden] { display: none; }
.lightbox__cap { margin-top: 14px; text-align: center; font-weight: 600; }
.lightbox__close {
  position: fixed; top: 12px; right: 12px; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: var(--white); color: var(--navy);
  display: grid; place-items: center; cursor: pointer;
}
body:has(.lightbox[open]) { overflow: hidden; }

/* ---------- Animaciones de scroll ---------- */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Páginas legales ---------- */
.legal-header { background: var(--navy); padding: 18px 0; }
.legal-header a { color: var(--white); font-family: var(--font-title); font-weight: 600; text-decoration: none; --focus: var(--white); }
.legal { padding-block: 48px 80px; }
.legal h1 { font-size: clamp(1.8rem, 1.4rem + 2vw, 2.4rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal p, .legal li { color: #2E3648; }
.legal .updated { color: var(--gray); font-size: .92rem; }
.legal ul, .legal ol { padding-left: 1.3em; }
.legal li { margin-bottom: .4em; }
.legal a { color: var(--navy-2); font-weight: 600; }
.legal-toc {
  margin: 28px 0 8px; padding: 18px 22px;
  background: var(--cream); border: 1px solid #EFE4CC; border-radius: var(--radius-sm);
}
.legal-toc__title { margin: 0 0 8px; font-family: var(--font-title); font-weight: 600; color: var(--navy); }
.legal-toc ol { margin: 0; columns: 2 220px; column-gap: 24px; }
.legal-toc li { margin-bottom: .25em; break-inside: avoid; }
.legal h2[id] { scroll-margin-top: 16px; }
mark.revisar { background: #FFE6A8; color: var(--navy); padding: 0 4px; border-radius: 4px; font-weight: 600; }

/* =========================================================
   Breakpoints
   ========================================================= */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-auto-columns: 46%; }
  .reels__track { grid-auto-columns: 40%; }
  .btn--block-mobile { width: auto; }
  .microtrust { justify-content: flex-start; }
  .offer { padding: 44px 40px; }
}

@media (min-width: 768px) {
  .section { padding-block: 104px; }
  .checklist { grid-template-columns: 1fr 1fr; gap: 16px 32px; }
  .panel { padding: 36px 40px; }
  .fit { grid-template-columns: 1fr 1fr; }
  .fit__col { padding: 32px; }
  .guarantee { grid-template-columns: 220px 1fr; text-align: left; justify-items: start; gap: 48px; }
  .sello { width: 220px; height: 220px; }
  .sticky-cta { display: none; }
}

@media (max-width: 767px) {
  .site-footer { padding-bottom: 110px; }
}

@media (min-width: 900px) {
  .hero { padding-block: 88px 112px; }
  .hero__grid { grid-template-columns: 1fr 1.05fr; gap: 48px; }
  .temario { grid-template-columns: 1fr 1fr; }
  .temario__extra { grid-column: 1 / -1; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .step { padding: 28px; }
  .step__num { position: static; margin-bottom: 18px; }
  .step:not(:last-child)::after { left: 78px; right: -20px; top: 49px; bottom: auto; width: auto; height: 2px; }
  .dias { grid-template-columns: repeat(15, 1fr); max-width: none; }
  .gallery {
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr);
    overflow: visible; margin-inline: 0; padding: 0;
  }
  .hint-swipe { display: none; }
  .reels__track { grid-auto-columns: calc((100% - 48px) / 4); margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; }
  .reels.has-overflow .reels__arrow { display: grid; }
  .bonos { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .dias.is-lit li { transform: none; }
}
