/* =============================================================
   HERNIA SEGURA — Editorial Light Cream
   1. Tokens
   ============================================================= */
:root {
  --cream:      #F6F1E8;
  --cream-2:    #EFE7DA;
  --paper:      #FFFCF7;
  --ink:        #1B1815;
  --ink-soft:   #423B33;
  --ink-mute:   #6E655A;
  --line:       rgba(27, 24, 21, 0.13);
  --line-soft:  rgba(27, 24, 21, 0.07);

  --accent:      #B0553A;
  --accent-deep: #8C3F27;
  --accent-tint: rgba(176, 85, 58, 0.10);
  --sage:        #566B4C;
  --sage-tint:   rgba(86, 107, 76, 0.10);

  --dark:       #221E1A;
  --dark-2:     #2C2721;
  --on-dark:    #F2EADC;
  --on-dark-mute: rgba(242, 234, 220, 0.66);

  --sem-green: #4E7A49;
  --sem-amber: #BC8724;
  --sem-red:   #B23E2D;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 68px;
  --promo-h: 0px;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 14px;
  --radius-lg: 22px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--promo-h) + 12px);
  background: var(--cream);
}
html.has-promo { --promo-h: 40px; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink-soft);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.018em;
  text-wrap: balance;
  font-variation-settings: "SOFT" 20, "WONK" 0;
}

::selection { background: var(--accent); color: var(--paper); }

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

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--cream);
  border-radius: 8px; font-weight: 500; font-size: .9rem;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap.narrow { max-width: 760px; }

.kicker {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.kicker-light { color: #D98F6F; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--dark); color: var(--on-dark-mute); }
.section-dark h2, .section-dark h3 { color: var(--on-dark); }

.section-head { max-width: 48ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-title {
  font-size: clamp(1.95rem, 4.4vw, 3.15rem);
  margin-bottom: 1.1rem;
}
.section-lead {
  font-size: clamp(1rem, 1.7vw, 1.14rem);
  color: var(--ink-mute);
  max-width: 54ch;
}
.section-dark .section-lead { color: var(--on-dark-mute); }

/* =============================================================
   4. Reveal (effect 2)
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
html:not(.js-ready) [data-reveal] { opacity: 1; transform: none; }

/* =============================================================
   5. Botones
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  background: var(--accent);
  color: #FFF8F2;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .005em;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(140, 63, 39, 0.16), 0 1px 3px rgba(0,0,0,.06);
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background-color .3s var(--ease-out);
}
.btn:hover {
  background: var(--accent-deep);
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(140, 63, 39, 0.24), 0 8px 18px rgba(27,24,21,.10);
}
.btn:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-lg { padding: 1.12rem 2.05rem; font-size: 1.02rem; }
.btn-sm { padding: .62rem 1.1rem; font-size: .84rem; }
.btn-block { width: 100%; }
.btn-light {
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(0,0,0,.28);
}
.btn-light:hover { background: #FFF; box-shadow: 0 20px 44px rgba(0,0,0,.34); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .95rem; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: border-color .35s var(--ease-out), color .35s var(--ease-out);
}
.btn-ghost::after { content: "↓"; font-size: .85em; transition: transform .35s var(--ease-out); }
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover::after { transform: translateY(2px); }

/* =============================================================
   6. Nav
   ============================================================= */
.nav {
  position: fixed; top: var(--promo-h); inset-inline: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(246, 241, 232, 0.88);
  box-shadow: 0 1px 0 var(--line-soft), 0 10px 30px -22px rgba(27,24,21,.4);
}
@supports (backdrop-filter: blur(14px)) {
  .nav.is-scrolled { background: rgba(246, 241, 232, 0.74); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); }
}
.nav-inner {
  width: 100%; max-width: 1180px; margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.nav-brand { display: flex; align-items: center; gap: .55rem; margin-right: auto; }
.nav-brand-mark {
  width: 9px; height: 22px; border-radius: 4px;
  background: linear-gradient(180deg, var(--accent) 0 42%, var(--sage) 42% 100%);
  flex: none;
}
.nav-brand-text {
  font-family: var(--serif); font-size: 1.06rem; font-weight: 600;
  color: var(--ink); letter-spacing: -0.01em;
}
.nav-links { display: none; gap: 1.6rem; }
.nav-link {
  position: relative; font-size: .9rem; color: var(--ink-soft); padding: .25rem 0;
  transition: color .3s var(--ease-out);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-soft);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; }

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
}

/* =============================================================
   7. Hero
   ============================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + var(--promo-h) + clamp(2.2rem, 7vw, 4.5rem));
  padding-bottom: clamp(3rem, 8vw, 6rem);
  isolation: isolate;
}
.hero-wash {
  position: absolute; inset: -30% -12% 20% -12%; z-index: -2;
  background:
    radial-gradient(52% 44% at 22% 30%, rgba(176, 85, 58, 0.15), transparent 68%),
    radial-gradient(46% 40% at 82% 22%, rgba(86, 107, 76, 0.13), transparent 70%);
  filter: blur(46px);
  pointer-events: none;
  will-change: transform;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .34; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.42 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

.hero-grid { display: grid; gap: clamp(2.5rem, 6vw, 4rem); align-items: center; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 4.5rem; }
}

.hero-title {
  font-size: clamp(2.35rem, 6.2vw, 4.3rem);
  line-height: 1.02;
  max-width: 16ch;
  margin-bottom: 1.4rem;
}
.hero-title em {
  font-style: italic; color: var(--accent);
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.hero-sub {
  font-size: clamp(1.03rem, 1.9vw, 1.2rem);
  color: var(--ink-mute);
  max-width: 50ch;
  margin-bottom: 2rem;
}
.hero-sub strong { color: var(--ink); font-weight: 500; }

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem 1.8rem; margin-bottom: 1.3rem;
}

.hero-notes { display: grid; gap: .55rem; margin-bottom: 2rem; }
.hero-promo {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .9rem; color: var(--ink-soft);
}
.hero-promo strong { color: var(--accent-deep); font-weight: 600; }
.hero-promo-plus {
  flex: none; width: 20px; height: 20px; margin-top: .05rem;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: #FFF8F2;
  font-weight: 600; font-size: .9rem; line-height: 1;
}

.hero-badges {
  display: flex; flex-wrap: wrap; gap: .5rem .55rem;
  margin-bottom: 2.2rem;
}
.hero-badges li {
  font-size: .8rem; font-weight: 500; color: var(--ink-soft);
  padding: .42rem .85rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.hero-authority {
  font-size: .88rem; color: var(--ink-mute); line-height: 2.1;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.hero-authority strong { color: var(--ink); font-weight: 500; }
.ig-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--ink); font-weight: 500;
  border-bottom: 1px solid var(--line);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.ig-link:hover { color: var(--accent); border-color: var(--accent); }
.ig-glyph {
  width: 15px; height: 15px; flex: none;
  border: 1.6px solid currentColor; border-radius: 5px;
  position: relative;
  display: inline-block; vertical-align: middle;
}
.ig-glyph::before {
  content: ""; position: absolute; inset: 3px;
  border: 1.6px solid currentColor; border-radius: 50%;
}
.ig-glyph::after {
  content: ""; position: absolute; top: 1.6px; right: 1.6px;
  width: 2.2px; height: 2.2px; border-radius: 50%; background: currentColor;
}
.ig-count {
  display: inline-block;
  font-family: var(--mono); font-size: .74rem;
  color: var(--sage);
  padding: .12rem .5rem; margin-left: .3rem;
  background: var(--sage-tint); border-radius: 5px;
  vertical-align: middle;
}

/* --- Ilustración de columna --- */
.hero-figure { margin: 0; }
.spine-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem) 1rem 1.6rem;
  box-shadow: 0 30px 70px -40px rgba(27,24,21,.42), 0 2px 8px rgba(27,24,21,.04);
}
.spine-card-label {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-mute);
  text-align: center; margin-bottom: .6rem;
}
.spine { width: 100%; max-width: 300px; margin-inline: auto; height: auto; }
.spine-bones     { fill: #E7DECF; stroke: rgba(27,24,21,.16); stroke-width: 1; }
.spine-disc      { fill: #C4B69E; }
.spine-disc-target { fill: var(--accent); }
.spine-labels line { stroke: var(--accent); stroke-width: 1.2; }
.spine-labels text {
  font-family: var(--mono); font-size: 15px; font-weight: 500;
  fill: var(--accent-deep);
}
.spine-caption {
  font-size: .85rem; color: var(--ink-mute);
  text-align: center; margin-top: 1rem; max-width: 34ch; margin-inline: auto;
}

/* =============================================================
   8. Problema
   ============================================================= */
.problem-list { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.problem-list li {
  display: flex; gap: 1.1rem; align-items: baseline;
  background: var(--cream-2);
  padding: 1.5rem .2rem;
}
.problem-num {
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  color: var(--accent); flex: none; padding-top: .15rem;
}
.problem-list p { font-size: 1.02rem; color: var(--ink-soft); max-width: 62ch; }

@media (min-width: 960px) {
  .problem-list { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   9. El programa — rail (efecto firma)
   ============================================================= */
.rail { margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.rail-line {
  position: relative; height: 3px; border-radius: 2px;
  background: var(--line);
  margin-bottom: 1rem;
}
.rail-fill {
  position: absolute; inset: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--sage), var(--accent));
  transform-origin: 0 50%;
  transform: scaleX(1);
}
html.gsap-ready .rail-fill { transform: scaleX(0); }

.rail-weeks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; }
.rail-weeks li { text-align: center; }
.rail-weeks span {
  font-family: var(--mono); font-size: .68rem; color: var(--ink-mute);
}
.rail-weeks li:nth-child(4n) span { color: var(--accent); font-weight: 500; }

/* Bloques */
.blocks { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .blocks { grid-template-columns: repeat(3, 1fr); } }

.block {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  overflow: hidden;
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft), border-color .5s var(--ease-out);
}
.block::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 3px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: 0 0;
  transition: transform .7s var(--ease-soft);
}
.block.is-active::before, .block:hover::before { transform: scaleY(1); }
.block:hover {
  transform: translateY(-4px);
  border-color: rgba(176, 85, 58, .3);
  box-shadow: 0 26px 50px -34px rgba(27,24,21,.5);
}
.block-weeks {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: .7rem;
}
.block-title { font-size: 1.35rem; margin-bottom: .7rem; }
.block-text { font-size: .96rem; color: var(--ink-mute); }

/* --- CTA intermedio (reutilizable) --- */
.cta-inline {
  display: grid; justify-items: center; gap: .75rem;
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
  text-align: center;
}
.cta-inline .btn { min-width: min(100%, 300px); }
.cta-inline-lead {
  font-family: var(--serif); font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  color: var(--ink);
}
.cta-inline-note {
  display: flex; align-items: center; gap: .45rem;
  font-size: .84rem; color: var(--ink-mute);
}
.cta-inline-note .shield { width: 17px; height: 17px; }
.cta-inline-dark .cta-inline-note { color: var(--on-dark-mute); }
.cta-inline-dark .shield { stroke: #A9C09C; }
.cta-inline-sage { justify-items: start; margin-top: 1.8rem; }
.cta-inline-sage .cta-inline-note { color: rgba(247, 246, 238, .78); }

/* --- Aviso de consentimiento de salud bajo los botones de compra --- */
.consent-note {
  max-width: 58ch; margin-inline: auto;
  font-size: .74rem; line-height: 1.5; text-align: center;
  color: var(--ink-mute);
}
.consent-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hero-notes .consent-note, .cta-inline-sage .consent-note { text-align: left; margin-inline: 0; }
.cta-inline-dark .consent-note, .final .consent-note { color: rgba(242, 234, 220, .55); }
.cta-inline-sage .consent-note { color: rgba(247, 246, 238, .72); }
.stack .consent-note, .final .consent-note { margin-top: .2rem; }
.final .consent-note { margin-top: .9rem; }

/* --- Vídeo explicativo bajo el hero --- */
.video-section { padding-block: clamp(1rem, 3vw, 2rem) clamp(4rem, 8vw, 6rem); }
.video-wrap { max-width: 980px; }
.video-head { text-align: center; margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.video-frame {
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px -50px rgba(27,24,21,.5);
}
.video-frame video, .video-frame iframe {
  display: block; width: 100%; aspect-ratio: 16 / 9; border: 0;
  border-radius: var(--radius-lg); background: var(--dark);
}

/* Portada clicable: el reproductor de YouTube solo se carga al pulsar */
.video-facade {
  position: relative; display: block;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--dark);
}
.video-facade img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  transition: transform .8s var(--ease-soft), filter .5s var(--ease-out);
}
.video-facade:hover img { transform: scale(1.03); filter: brightness(.9); }
.video-play {
  position: absolute; left: 50%; top: 50%;
  width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(255, 248, 242, .35), 0 16px 40px rgba(140, 63, 39, .45);
  transition: transform .45s var(--ease-soft), background-color .3s var(--ease-out);
}
.video-play::after {
  content: ""; width: 0; height: 0; margin-left: 5px;
  border-left: 19px solid #FFF8F2;
  border-block: 12px solid transparent;
}
.video-facade:hover .video-play { transform: scale(1.08); background: var(--accent-deep); }
.video-note {
  margin-top: .8rem; text-align: center;
  font-size: .8rem; color: var(--ink-mute);
}
.video-note a { color: var(--accent-deep); border-bottom: 1px solid rgba(176, 85, 58, .35); }
.video-facade.is-local-file::after {
  content: "Vista previa desde archivo: YouTube solo reproduce el vídeo en la web publicada.";
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  padding: .7rem 1rem; border-radius: 10px;
  background: rgba(27, 24, 21, .82); color: #FBFAF4;
  font-size: .85rem; text-align: center;
}
@media (min-width: 720px) {
  .video-play { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
  .video-play::after { border-left-width: 25px; border-block-width: 15px; margin-left: 7px; }
}

/* --- Testimonios en carrusel continuo --- */
.testimonials { padding-bottom: clamp(3rem, 7vw, 5rem); }
.testimonials-head { margin-inline: auto; text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Sin JS: fila con scroll horizontal. Con JS (.is-running): cinta que se mueve sola. */
.marquee {
  overflow-x: auto; overflow-y: visible;
  padding: .4rem var(--gutter) 1rem;
  scrollbar-width: none;
}
.marquee::-webkit-scrollbar { display: none; }
.marquee.is-running {
  overflow: hidden;
  padding-inline: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.marquee-track { display: flex; align-items: stretch; width: max-content; }
.marquee.is-running .marquee-track {
  animation: marqueeScroll var(--marquee-duration, 150s) linear infinite;
  will-change: transform;
}
.marquee.is-running:hover .marquee-track,
.marquee.is-running:focus-within .marquee-track,
.marquee.is-paused .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }

.t-card {
  flex: 0 0 clamp(272px, 78vw, 360px);
  margin-right: 1.1rem;
  display: flex; flex-direction: column; gap: .85rem;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.45rem 1.55rem;
  box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .55);
}
.t-head { display: flex; align-items: center; gap: .8rem; }
.t-avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-tint);
  border: 1.5px solid rgba(176, 85, 58, .35);
  font-family: var(--serif); font-size: 2rem; line-height: 1;
  color: var(--accent); padding-top: .55rem;
}
.t-name { font-size: 1rem; font-weight: 600; color: var(--accent-deep); line-height: 1.3; }
.t-role { font-size: .8rem; color: var(--ink-mute); line-height: 1.3; }
.t-title {
  font-family: var(--serif); font-size: 1.14rem; font-weight: 600;
  color: var(--ink); line-height: 1.25;
}
.t-quote { margin: 0; }
.t-quote p { font-size: .95rem; color: var(--ink-soft); line-height: 1.6; }

.testimonials-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: .6rem 1.2rem; margin-top: 1.3rem; text-align: center;
}
.testimonials-note { font-size: .82rem; color: var(--on-dark-mute); }
.marquee-toggle {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--on-dark);
  border: 1px solid rgba(242, 234, 220, .3);
  border-radius: 999px;
  padding: .35rem .9rem;
  transition: background-color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.marquee-toggle:hover { background: rgba(242, 234, 220, .08); border-color: rgba(242, 234, 220, .55); }

/* =============================================================
   11. Seguridad
   ============================================================= */
.safety-grid { display: grid; gap: 1px; background: rgba(242,234,220,.12); border: 1px solid rgba(242,234,220,.12); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 720px) { .safety-grid { grid-template-columns: 1fr 1fr; } }

.safety-card {
  background: var(--dark);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  transition: background-color .5s var(--ease-out);
}
.safety-card:hover { background: var(--dark-2); }
.safety-num {
  font-family: var(--mono); font-size: .72rem; color: #D98F6F;
  display: block; margin-bottom: .9rem;
}
.safety-card h3 { font-size: 1.17rem; margin-bottom: .6rem; }
.safety-card p { font-size: .94rem; color: var(--on-dark-mute); }

.semaforo {
  margin-top: 2.2rem;
  border: 1px solid rgba(242,234,220,.14);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 3vw, 1.9rem);
}
.semaforo-label {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-dark-mute); margin-bottom: 1.1rem;
}
.semaforo-list { display: grid; gap: .8rem; }
@media (min-width: 720px) { .semaforo-list { grid-template-columns: repeat(3, 1fr); } }
.sem {
  display: flex; align-items: center; gap: .65rem;
  font-size: .93rem; color: var(--on-dark);
}
.sem-dot { width: 11px; height: 11px; border-radius: 50%; flex: none; }
.sem-green .sem-dot { background: var(--sem-green); box-shadow: 0 0 0 4px rgba(78,122,73,.18); }
.sem-amber .sem-dot { background: var(--sem-amber); box-shadow: 0 0 0 4px rgba(188,135,36,.18); }
.sem-red   .sem-dot { background: var(--sem-red);   box-shadow: 0 0 0 4px rgba(178,62,45,.18); }
.semaforo-foot { font-size: .82rem; color: var(--on-dark-mute); margin-top: 1.1rem; }

/* =============================================================
   12. Incluye / requisitos
   ============================================================= */
.two-col { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; } }

.col-title { font-size: clamp(1.6rem, 3vw, 2.15rem); margin-bottom: 1.5rem; }

.check-list { display: grid; gap: .95rem; }
.check-list li {
  position: relative; padding-left: 1.9rem;
  font-size: 1rem; color: var(--ink-soft);
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .45rem;
  width: 9px; height: 15px;
  border-right: 2px solid var(--sage); border-bottom: 2px solid var(--sage);
  transform: rotate(42deg);
}
.check-list strong { color: var(--ink); font-weight: 500; }

.req-list { display: grid; gap: 0; }
.req-list > div {
  display: grid; gap: .2rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.req-list > div:first-child { border-top: 1px solid var(--line); }
@media (min-width: 540px) {
  .req-list > div { grid-template-columns: 8.5rem 1fr; gap: 1.2rem; align-items: baseline; }
}
.req-list dt {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent);
}
.req-list dd { margin: 0; font-size: .96rem; color: var(--ink-mute); }

/* =============================================================
   13. Beneficios
   ============================================================= */
.benefits { display: grid; gap: 1.1rem; }
@media (min-width: 720px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .benefits { grid-template-columns: repeat(3, 1fr); } }

.benefit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 1.8rem);
  transition: transform .5s var(--ease-soft), box-shadow .5s var(--ease-soft);
}
.benefit:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 50px -34px rgba(27,24,21,.45);
}
.benefit h3 { font-size: 1.12rem; margin-bottom: .55rem; }
.benefit p { font-size: .93rem; color: var(--ink-mute); }
@media (min-width: 960px) {
  .benefit-wide { grid-column: span 3; }
  .benefit-wide p { max-width: 62ch; }
}

/* =============================================================
   14. Urgencia, oferta completa y garantía
   ============================================================= */

/* --- Marcador inline de "pendiente" --- */
.ph-inline {
  display: inline-block;
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px dashed rgba(176, 85, 58, .5);
  background: var(--accent-tint);
  padding: .12rem .5rem; border-radius: 5px;
  vertical-align: middle;
}

/* --- Barra superior con cuenta atrás --- */
.promo-bar {
  position: fixed; top: 0; inset-inline: 0; z-index: 101;
  height: var(--promo-h);
  display: flex; align-items: center; justify-content: center;
  gap: .45rem;
  padding-inline: var(--gutter);
  background: var(--accent-deep);
  color: #FBEFE6;
  font-size: .8rem; font-weight: 500;
  white-space: nowrap; overflow: hidden;
  transition: background-color .3s var(--ease-out);
}
.promo-bar:hover { background: var(--accent); }
.promo-bar-label { color: #FFF; font-weight: 600; }
.promo-bar-extra { display: none; opacity: .8; }
.promo-bar-sep { opacity: .5; }
.promo-bar-clock {
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  color: #FFF;
  background: rgba(0, 0, 0, .18);
  padding: .12rem .45rem; border-radius: 5px;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 720px) { .promo-bar-extra { display: inline; } }

/* --- Línea de garantía (reutilizable) --- */
.guarantee-line {
  display: flex; align-items: flex-start; gap: .55rem;
  font-size: .9rem; color: var(--ink-soft);
}
.guarantee-line strong { color: var(--sage); font-weight: 600; }
.shield {
  flex: none; width: 20px; height: 20px; margin-top: .02rem;
  fill: none; stroke: var(--sage); stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
}
.guarantee-line-center { justify-content: center; text-align: left; }
.guarantee-line-light { color: var(--on-dark-mute); justify-content: center; margin-top: 1.3rem; }
.guarantee-line-light strong { color: #A9C09C; }
.guarantee-line-light .shield { stroke: #A9C09C; }

/* --- La oferta completa --- */
.offer { max-width: 860px; }
.offer-head { margin-inline: auto; text-align: center; }
.offer-head .section-lead { margin-inline: auto; }

.stack {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.1rem, 3vw, 2.2rem);
  box-shadow: 0 40px 80px -50px rgba(27,24,21,.45);
  display: grid; gap: 1rem;
}

.stack-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.15rem, 2.6vw, 1.6rem);
  background: var(--cream);
}
.stack-item-bonus {
  background: linear-gradient(135deg, rgba(176,85,58,.06), rgba(176,85,58,.02)), var(--paper);
  border: 1.5px dashed rgba(176, 85, 58, .42);
}
.stack-item-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: .55rem;
}
.stack-tag {
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase; color: var(--sage);
}
.stack-tag-bonus {
  color: #FFF8F2; background: var(--accent);
  padding: .22rem .55rem; border-radius: 5px;
}
.stack-value {
  font-family: var(--mono); font-size: .74rem; color: var(--ink-mute);
  white-space: nowrap;
}
.stack-value span { font-size: .98rem; font-weight: 500; color: var(--ink); margin-left: .25rem; }
.stack-title { font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin-bottom: .35rem; }
.stack-sub { font-size: .95rem; color: var(--ink-mute); }
.stack-objection {
  margin-top: .8rem; padding-top: .8rem;
  border-top: 1px solid var(--line-soft);
  font-size: .92rem; color: var(--ink-mute);
}
.stack-objection strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: .2rem; }

.stack-includes {
  display: grid; gap: .45rem 1.4rem;
  margin-top: 1.05rem; padding-top: 1rem;
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 720px) { .stack-includes { grid-template-columns: 1fr 1fr; } }
.stack-includes li {
  position: relative; padding-left: 1.5rem;
  font-size: .92rem; color: var(--ink-soft);
}
.stack-includes li::before {
  content: ""; position: absolute; left: .15rem; top: .38rem;
  width: 6px; height: 11px;
  border-right: 2px solid var(--sage); border-bottom: 2px solid var(--sage);
  transform: rotate(42deg);
}

.stack-summary {
  display: grid; gap: .3rem;
  padding: .4rem .2rem;
}
.stack-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-block: .55rem;
  font-size: .98rem; color: var(--ink-soft);
}
.stack-row + .stack-row { border-top: 1px solid var(--line); }
.stack-row-num { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--ink); }
.stack-row-price > span:first-child { font-weight: 600; color: var(--ink); }
.stack-price { font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--accent); font-weight: 600; }
.stack-price .ph-inline { font-size: .72rem; }

/* --- Fecha límite + cuenta atrás --- */
.deadline {
  background: var(--dark);
  color: var(--on-dark-mute);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem 1.2rem;
  text-align: center;
}
.deadline-text { font-size: .92rem; max-width: 52ch; margin-inline: auto; }
.deadline-text strong { color: var(--on-dark); font-weight: 600; }
.deadline-text .ph-inline {
  margin-top: .4rem;
  color: #F0B79C; border-color: rgba(240,183,156,.5); background: rgba(240,183,156,.08);
}
.countdown {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem;
  max-width: 360px; margin: .95rem auto 0;
}
.countdown-unit {
  display: grid; justify-items: center; gap: .15rem;
  background: rgba(242, 234, 220, .07);
  border: 1px solid rgba(242, 234, 220, .12);
  border-radius: 10px;
  padding: .55rem .2rem .5rem;
}
.countdown-unit span {
  font-family: var(--mono); font-size: clamp(1.35rem, 4vw, 1.7rem); font-weight: 500;
  color: var(--on-dark); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.countdown-unit small {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-dark-mute);
}

/* --- Sección de garantía --- */
.guarantee {
  background: var(--sage);
  color: rgba(247, 246, 238, .82);
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.guarantee-inner {
  display: grid; gap: clamp(1.8rem, 5vw, 3.5rem);
  align-items: center; justify-items: center;
}
@media (min-width: 960px) {
  .guarantee-inner { grid-template-columns: auto 1fr; justify-items: start; }
}
.guarantee-seal { width: clamp(150px, 26vw, 210px); }
.seal { width: 100%; height: auto; overflow: visible; }
.seal-ring { fill: #F7F3EA; }
.seal-ring-inner { fill: none; stroke: rgba(86,107,76,.35); stroke-width: .8; }
.seal-arc-text {
  font-family: var(--mono); font-size: 8.4px; font-weight: 500;
  fill: var(--sage);
}
.seal-core { fill: var(--sage); }
.seal-num {
  font-family: var(--serif); font-size: 30px; font-weight: 600;
  fill: #FBFAF4;
}
.seal-unit {
  font-family: var(--mono); font-size: 8px; letter-spacing: 2px;
  fill: rgba(251, 250, 244, .85);
}

.kicker-onsage { color: #E5EBD9; }
.guarantee-title {
  font-size: clamp(1.75rem, 3.8vw, 2.6rem);
  color: #FBFAF4;
  margin-bottom: 1.1rem; max-width: 22ch;
}
.guarantee-body { font-size: 1.03rem; max-width: 58ch; margin-bottom: 1.6rem; }
.guarantee-body strong { color: #FFF; font-weight: 600; }

.cases { display: grid; gap: .8rem; margin-bottom: 1.4rem; }
@media (min-width: 720px) { .cases { grid-template-columns: 1fr 1fr; } }
.case {
  background: rgba(0, 0, 0, .1);
  border: 1px solid rgba(247, 246, 238, .16);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  font-size: .94rem;
}
.case-tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .13em;
  text-transform: uppercase; color: #E5EBD9; margin-bottom: .35rem;
}
.guarantee-close {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: #FBFAF4;
}
.guarantee-how { margin-top: 1.1rem; font-size: .9rem; max-width: 58ch; }
.guarantee-how a {
  color: #FFF; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.4);
  overflow-wrap: anywhere;
}
.guarantee-how a:hover { border-color: #FFF; }
.faq-body a { color: var(--accent-deep); border-bottom: 1px solid rgba(176,85,58,.35); overflow-wrap: anywhere; }

/* =============================================================
   15. Para quién sí / no
   ============================================================= */
.fit-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .fit-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }

.fit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.fit-yes { border-top: 3px solid var(--sage); }
.fit-no  { border-top: 3px solid var(--sem-red); }

.fit-title {
  display: flex; align-items: center; gap: .65rem;
  font-size: 1.22rem; margin-bottom: 1.4rem;
}
.fit-tag {
  font-family: var(--mono); font-size: .7rem; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .22rem .58rem; border-radius: 6px; flex: none;
}
.fit-tag-yes { background: var(--sage-tint); color: var(--sage); }
.fit-tag-no  { background: rgba(178,62,45,.11); color: var(--sem-red); }

.fit ul { display: grid; gap: 1rem; }
.fit > ul > li {
  position: relative; padding-left: 1.4rem;
  font-size: .96rem; color: var(--ink-soft);
}
.fit > ul > li::before {
  content: ""; position: absolute; left: 0; top: .62rem;
  width: 6px; height: 6px; border-radius: 50%;
}
.fit-yes > ul > li::before { background: var(--sage); }
.fit-no  > ul > li::before { background: var(--sem-red); }
.fit strong { color: var(--ink); font-weight: 500; }

/* Bloque de señales de alarma */
.alarm {
  background: rgba(178, 62, 45, .065);
  border: 1px solid rgba(178, 62, 45, .28);
  border-radius: var(--radius);
  padding: 1.2rem 1.35rem;
  margin-bottom: 1.5rem;
}
.alarm-head {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--mono); font-size: .76rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--sem-red); margin-bottom: .7rem;
}
.alarm-icon {
  width: 19px; height: 19px; border-radius: 50%; flex: none;
  background: var(--sem-red); color: #FFF;
  display: grid; place-items: center;
  font-family: var(--sans); font-size: .76rem; font-weight: 600; line-height: 1;
}
.alarm-intro { font-size: .91rem; color: var(--ink-soft); margin-bottom: .85rem; }
.alarm-intro strong { color: var(--sem-red); font-weight: 600; }
.alarm-list { display: grid; gap: .45rem; }
.alarm-list li {
  position: relative; padding-left: 1.25rem;
  font-size: .91rem; color: var(--ink-soft);
}
.alarm-list li::before {
  content: ""; position: absolute; left: .3rem; top: .62rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--sem-red);
}

/* =============================================================
   16. Expectativas
   ============================================================= */
.expect { display: grid; gap: 1.2rem; font-size: 1.04rem; }
.expect strong { color: var(--ink); font-weight: 500; }

.disclaimer {
  margin-top: 2rem;
  border-left: 3px solid var(--accent);
  background: var(--accent-tint);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  color: var(--ink-soft);
}
.disclaimer strong { color: var(--ink); font-weight: 600; }

/* =============================================================
   17. Autoridad
   ============================================================= */
.author { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 960px) { .author { grid-template-columns: 0.72fr 1fr; } }
.author-figure { margin: 0; max-width: 440px; width: 100%; justify-self: center; }
.author-photo {
  width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 35%;
  border-radius: var(--radius-lg);
  box-shadow: 0 34px 70px -44px rgba(27,24,21,.55);
  background: var(--cream);
}
.author-copy > p { color: var(--ink-mute); margin-bottom: 1.6rem; max-width: 52ch; }
.author-copy strong { color: var(--ink); font-weight: 500; }

.ig-card {
  display: flex; align-items: center; gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), border-color .35s var(--ease-out);
}
.ig-card:hover {
  transform: translateY(-3px);
  border-color: rgba(176,85,58,.32);
  box-shadow: 0 22px 44px -32px rgba(27,24,21,.5);
}
.ig-glyph-lg { width: 26px; height: 26px; border-radius: 8px; border-width: 2px; color: var(--accent); }
.ig-glyph-lg::before { inset: 5px; border-width: 2px; }
.ig-glyph-lg::after { top: 3px; right: 3px; width: 3px; height: 3px; }
.ig-card-body { display: grid; gap: .1rem; margin-right: auto; }
.ig-card-body strong { font-size: 1rem; color: var(--ink); font-weight: 600; }
.ig-card-body span { font-size: .85rem; color: var(--ink-mute); }
.ig-card-go { color: var(--accent); font-size: 1.1rem; }

/* =============================================================
   18. FAQ
   ============================================================= */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: center; gap: 1rem;
  list-style: none; cursor: pointer;
  padding: 1.25rem 0;
  font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 500; color: var(--ink);
  transition: color .3s var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; margin-left: auto;
  width: 13px; height: 13px;
  border-right: 1.8px solid var(--accent); border-bottom: 1.8px solid var(--accent);
  transform: rotate(45deg) translate(-3px, -3px);
  transition: transform .4s var(--ease-soft);
}
.faq-item[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq-item summary:hover { color: var(--accent); }
.faq-body { padding-bottom: 1.4rem; max-width: 62ch; }
.faq-body p { font-size: .99rem; color: var(--ink-mute); }
.faq-body strong { color: var(--ink); font-weight: 500; }

/* =============================================================
   19. CTA final
   ============================================================= */
.final {
  background: var(--dark);
  color: var(--on-dark-mute);
  padding-block: clamp(4rem, 9vw, 7rem);
  text-align: center;
}
.final-inner { display: grid; justify-items: center; gap: 0; }
.final .btn-light { min-width: min(100%, 320px); }
.final-title {
  font-size: clamp(2rem, 4.8vw, 3.3rem);
  color: var(--on-dark);
  margin-bottom: 1.2rem;
}
.final-title em {
  font-style: italic; color: #D98F6F;
  font-variation-settings: "SOFT" 40, "WONK" 1;
}
.final-sub { max-width: 46ch; margin-bottom: 2.2rem; font-size: 1.04rem; }

.final-promo { margin-top: .7rem; font-size: .9rem; color: var(--on-dark-mute); }
.final-price { margin-bottom: 1rem; font-size: 1rem; color: var(--on-dark-mute); }
.final-price .price-now { color: var(--on-dark); font-size: 1.25rem; }

/* Precio: valor de referencia sin tachar + lo que se paga */
.price-now { font-weight: 700; color: var(--ink); }
.cta-inline-dark .price-now, .cta-inline-sage .price-now { color: #FFF; }
.sticky-cta-note .price-now { color: var(--accent-deep); }
.final-clock {
  font-family: var(--mono); font-weight: 500; color: #F0B79C;
  font-variant-numeric: tabular-nums;
}

.final-legal {
  margin-top: 2rem; font-size: .82rem; max-width: 52ch;
  color: rgba(242, 234, 220, .48);
}

/* =============================================================
   20. Footer
   ============================================================= */
.footer {
  background: #1A1714;
  color: rgba(242, 234, 220, .58);
  padding-block: clamp(2.8rem, 6vw, 4rem) 6.5rem;
  font-size: .88rem;
}
.footer-inner { display: grid; gap: 2rem; }
@media (min-width: 960px) {
  .footer-inner { grid-template-columns: 1.1fr 1fr; column-gap: 4rem; }
  .footer-legal { grid-column: 1 / -1; }
}
.footer-name {
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600;
  color: var(--on-dark); margin-bottom: .35rem;
}
.footer-tag { max-width: 34ch; }
.footer-contact { margin-top: .8rem; }
.footer-contact a { color: var(--on-dark); border-bottom: 1px solid rgba(242,234,220,.25); overflow-wrap: anywhere; }
.footer-contact a:hover { border-color: var(--on-dark); }

.footer-links { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-content: start; }
.footer-links a { transition: color .3s var(--ease-out); }
.footer-links a:hover { color: var(--on-dark); }

.footer-legal {
  border-top: 1px solid rgba(242,234,220,.11);
  padding-top: 1.6rem;
  display: grid; gap: .9rem;
}
.footer-legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.footer-legal-links a { color: rgba(242, 234, 220, .72); border-bottom: 1px solid rgba(242, 234, 220, .3); }
.footer-legal-links a:hover { color: var(--on-dark); border-color: var(--on-dark); }
.pending-link {
  border-bottom: 1px dashed rgba(242,234,220,.28);
  color: rgba(242, 234, 220, .48);
}
.footer-pending {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .12em;
  text-transform: uppercase; color: #D98F6F;
  border: 1px dashed rgba(217,143,111,.45);
  padding: .1rem .45rem; border-radius: 5px;
}
.footer-disclaimer { max-width: 78ch; font-size: .82rem; color: rgba(242,234,220,.44); }
.footer-copy { font-size: .8rem; color: rgba(242,234,220,.38); }

@media (min-width: 720px) {
  .footer { padding-bottom: clamp(2.8rem, 6vw, 4rem); }
}

/* =============================================================
   21. Sticky CTA (móvil)
   ============================================================= */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: .7rem var(--gutter) calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(246, 241, 232, .93);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform .5s var(--ease-soft);
}
@supports (backdrop-filter: blur(14px)) {
  .sticky-cta { background: rgba(246, 241, 232, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta-note {
  text-align: center; font-size: .74rem; font-weight: 500;
  color: var(--sage); margin-bottom: .45rem;
}
@media (min-width: 720px) { .sticky-cta { display: none; } }

/* =============================================================
   22. Páginas legales
   ============================================================= */
.legal-header { background: var(--cream); border-bottom: 1px solid var(--line); }
.legal-header-inner {
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.legal-back {
  font-size: .9rem; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.legal-back:hover { color: var(--accent); border-color: var(--accent); }

.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3.5rem, 8vw, 6rem); }
.legal-title { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: .6rem; }
.legal-updated { font-size: .85rem; color: var(--ink-mute); margin-bottom: 2.5rem; }
.legal section + section { margin-top: 2.4rem; }
.legal h2 { font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin-bottom: .8rem; }
.legal p, .legal li { font-size: 1rem; color: var(--ink-soft); }
.legal p + p { margin-top: .8rem; }
.legal ul { list-style: disc; padding-left: 1.3rem; display: grid; gap: .4rem; margin-top: .6rem; }
.legal a { color: var(--accent-deep); border-bottom: 1px solid rgba(176, 85, 58, .35); overflow-wrap: anywhere; }
.legal a:hover { border-color: var(--accent-deep); }
.legal a.btn { color: #FFF8F2; border-bottom: 0; margin-bottom: 1.4rem; }
.legal ol.legal-steps { list-style: decimal; padding-left: 1.4rem; display: grid; gap: .45rem; margin-block: .6rem .9rem; }
.legal-form {
  margin-top: .8rem;
  padding: 1.1rem 1.25rem;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.legal-form p { font-size: .95rem; }
.legal-form p + p { margin-top: .45rem; }

.legal-data { margin: 1rem 0; border-top: 1px solid var(--line); }
.legal-data > div {
  display: grid; gap: .15rem;
  padding-block: .75rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 540px) {
  .legal-data > div { grid-template-columns: 11.5rem 1fr; gap: 1rem; align-items: baseline; }
}
.legal-data dt {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
}
.legal-data dd { margin: 0; color: var(--ink); }

.legal-footer { padding-bottom: clamp(2.8rem, 6vw, 4rem); }

.legal-lead { font-size: 1.05rem; margin-bottom: 2.4rem; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal-purpose {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-top: .9rem;
}
.legal-purpose h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.legal-purpose p { font-size: .95rem; }
.legal-purpose p + p { margin-top: .3rem; }
.legal-purpose + p { margin-top: 1.2rem; }

/* =============================================================
   23. Página de gracias
   ============================================================= */
.thanks { padding-block: clamp(2.8rem, 7vw, 5rem) clamp(3.5rem, 8vw, 6rem); }
.thanks-hero { text-align: center; margin-bottom: clamp(2.2rem, 5vw, 3.2rem); }
.thanks-check {
  width: 64px; height: 64px; margin: 0 auto 1.2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 8px var(--sage-tint);
}
.thanks-check::after {
  content: ""; width: 14px; height: 26px; margin-top: -5px;
  border-right: 3px solid #FBFAF4; border-bottom: 3px solid #FBFAF4;
  transform: rotate(42deg);
}
.thanks-title { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
.thanks-lead { font-size: 1.05rem; color: var(--ink-mute); max-width: 48ch; margin-inline: auto; }
.thanks-bonus {
  display: inline-block; margin-top: 1.2rem;
  padding: .45rem .9rem; border-radius: 999px;
  background: var(--accent-tint); color: var(--accent-deep);
  font-size: .9rem; font-weight: 500;
}

.thanks-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 1.8rem);
  margin-top: 1rem;
}
.thanks-block h2 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); margin-bottom: .9rem; }
.thanks-block p { color: var(--ink-soft); }
.thanks-block p + p { margin-top: .7rem; }
.thanks-block a { color: var(--accent-deep); border-bottom: 1px solid rgba(176, 85, 58, .35); overflow-wrap: anywhere; }
.thanks-block strong { color: var(--ink); font-weight: 600; }

.thanks-steps { list-style: none; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
.thanks-steps li {
  position: relative; padding-left: 2.6rem;
  color: var(--ink-soft); counter-increment: step;
}
.thanks-steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -.05rem;
  width: 1.8rem; height: 1.8rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: #FFF8F2;
  font-family: var(--mono); font-size: .8rem; font-weight: 500;
}
.thanks-steps strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: .1rem; }
.thanks-ig { margin-top: 1rem; }

/* =============================================================
   24. Banner de cookies
   ============================================================= */
.cc {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
  padding: .8rem;
  pointer-events: none;
}
.cc-box {
  pointer-events: auto;
  max-width: 540px; margin-left: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px -28px rgba(27, 24, 21, .5);
  padding: 1.15rem 1.25rem 1.2rem;
}
.cc-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.cc-desc { font-size: .88rem; color: var(--ink-soft); }
.cc-desc a { color: var(--accent-deep); border-bottom: 1px solid rgba(176, 85, 58, .35); }
.cc-prefs { display: grid; gap: .6rem; margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line-soft); }
.cc-opt { display: flex; align-items: flex-start; gap: .6rem; font-size: .86rem; color: var(--ink-soft); cursor: pointer; }
.cc-opt input { flex: none; width: 17px; height: 17px; margin-top: .15rem; accent-color: var(--accent); }
.cc-opt strong { color: var(--ink); font-weight: 600; }
.cc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1rem; }
.cc-btn {
  flex: 1 1 120px;
  padding: .72rem 1rem;
  border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-size: .9rem; font-weight: 600;
  transition: background-color .3s var(--ease-out);
}
.cc-btn:hover { background: #000; }
.cc-link {
  flex: 1 1 100%;
  font-size: .85rem; color: var(--ink-soft);
  text-decoration: underline; text-underline-offset: 3px;
  padding: .2rem;
}
.cc-link:hover { color: var(--accent); }
@media (min-width: 720px) {
  .cc { padding: 1.2rem; }
}

/* =============================================================
   25. Reduced motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-wash { animation: none; }
}
