/* ==========================================================================
   365 PLANES EN FAMILIA — Hoja de estilos principal
   Editorial familiar · Mobile-first · Sin dependencias
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Marca */
  --sage: #6F8F7B;
  --sage-700: #4E6A59;
  --sage-800: #3C5346;
  --sage-900: #2B3D34;
  --sage-300: #9DB8A6;
  --sage-200: #C4D6CA;
  --sage-100: #E6EDE7;
  --sage-50: #F1F5F1;

  --cream: #FFF8EE;
  --cream-300: #F6E7D2;
  --cream-200: #F3DEC3;

  --coral: #E9826E;
  --coral-700: #C25A46;
  --coral-600: #D96E5A;
  --coral-100: #FBE5E0;
  --coral-50: #FDF2EF;

  --yellow: #F4D58D;
  --yellow-300: #F9E5B6;
  --yellow-100: #FBEBC9;
  --yellow-50: #FEF8EC;

  --navy: #24343B;
  --navy-700: #3A4E57;
  --navy-500: #5E727B;
  --muted: #60727A;
  --line: #E7E3DB;
  --line-soft: #F0EDE6;

  --white: #fff;

  /* Tipografía */
  --font-head: "Nunito", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;

  --fs-eyebrow: 0.75rem;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
  --fs-xl: clamp(1.1875rem, 1.06rem + 0.5vw, 1.375rem);
  --fs-h4: clamp(1.125rem, 1.03rem + 0.45vw, 1.375rem);
  --fs-h3: clamp(1.3125rem, 1.13rem + 0.85vw, 1.75rem);
  --fs-h2: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2rem, 1.45rem + 2.6vw, 3.5rem);
  --fs-display: clamp(2.25rem, 1.5rem + 3.4vw, 4.25rem);

  /* Espaciado */
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --maxw: 1180px;
  --maxw-narrow: 760px;
  --section-y: clamp(3.75rem, 3rem + 4vw, 7rem);
  --block-y: clamp(2rem, 1.6rem + 2vw, 3.25rem);

  /* Formas */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-2xl: 40px;
  --r-pill: 999px;

  /* Sombras (tintadas de navy, nunca gris puro) */
  --sh-1: 0 1px 2px rgba(36, 52, 59, .04), 0 2px 8px rgba(36, 52, 59, .05);
  --sh-2: 0 2px 6px rgba(36, 52, 59, .05), 0 14px 30px -10px rgba(36, 52, 59, .14);
  --sh-3: 0 4px 12px rgba(36, 52, 59, .07), 0 28px 56px -20px rgba(36, 52, 59, .26);
  --sh-coral: 0 8px 20px -6px rgba(201, 110, 90, .48), 0 2px 6px rgba(201, 110, 90, .18);
  --sh-sage: 0 10px 26px -12px rgba(78, 106, 89, .5);
  --sh-inset-line: inset 0 0 0 1px rgba(36, 52, 59, .07);

  --ease: cubic-bezier(.22, .68, .35, 1);
  --header-h: 64px;
}

/* --------------------------------------------------------------------------
   2. RESET Y BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.018em;
  color: var(--navy);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--sage-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sage-900); }

img, svg, picture { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .4em; }
strong { font-weight: 700; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

::selection { background: var(--yellow-300); color: var(--navy); }

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

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: .8rem 1.4rem;
  border-radius: 0 0 var(--r-md) var(--r-md);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   3. LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--maxw-narrow); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.section--cream { background: var(--cream); }
.section--sage-soft { background: var(--sage-50); }
.section--sage {
  background: linear-gradient(165deg, #6F8F7B 0%, #5E7D6A 100%);
  color: #fff;
}
.section--sage h2, .section--sage h3, .section--sage h4 { color: #fff; }
.section--navy { background: var(--navy); color: var(--cream-200); }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

/* Textura de papel muy sutil (solo decorativa) */
.section--paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

.grid { display: grid; gap: clamp(1rem, .8rem + 1vw, 1.75rem); }
.mt { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }

.stack-sm > * + * { margin-top: .75rem; }
.stack > * + * { margin-top: 1.5rem; }
.text-center { text-align: center; }
.measure { max-width: 62ch; }
.measure-tight { max-width: 52ch; }
.mx-auto { margin-inline: auto; }

/* --------------------------------------------------------------------------
   4. COMPONENTES DE TEXTO
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sage-700);
  margin-bottom: 1rem;
}
.eyebrow--coral { color: var(--coral-700); }
.eyebrow--onDark { color: var(--yellow); }
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  opacity: .5;
}
.eyebrow--center { justify-content: center; }

.lead {
  font-size: var(--fs-xl);
  line-height: 1.55;
  color: var(--navy-700);
  font-weight: 400;
}
.text-muted { color: var(--muted); }
.fs-sm { font-size: var(--fs-sm); }
.fs-xs { font-size: var(--fs-xs); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1.6rem + 1.6vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: var(--fs-lg); margin-bottom: 0; }
.section--sage .section-head p,
.section--navy .section-head p { color: rgba(255, 255, 255, .82); }

/* --------------------------------------------------------------------------
   5. BOTONES
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--coral);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  padding: .95em 1.7em;
  min-height: 52px;
  cursor: pointer;
  box-shadow: var(--sh-coral);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -6px rgba(201, 110, 90, .55); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--lg { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); padding: 1.05em 2em; min-height: 60px; }
.btn--xl { font-size: clamp(1.0625rem, 1rem + .45vw, 1.25rem); padding: 1.15em 2.2em; min-height: 66px; }
.btn--block { width: 100%; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: var(--sage-300);
  box-shadow: none;
}
.btn--ghost:hover { --btn-bg: var(--sage-50); border-color: var(--sage); box-shadow: var(--sh-1); }

.btn--onDark {
  --btn-bg: #fff;
  --btn-fg: var(--sage-900);
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .3);
}
.btn--onDark:hover { box-shadow: 0 14px 30px -8px rgba(0, 0, 0, .36); }

.btn--coral-solid { --btn-bg: var(--coral); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  align-items: center;
}
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--sage-800);
  text-decoration: none;
  border-bottom: 2px solid var(--sage-200);
  padding-bottom: 3px;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}
.link-arrow:hover { color: var(--coral-700); border-color: var(--coral); }

/* Nota bajo CTA */
.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45em;
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-top: 1rem;
}

/* --------------------------------------------------------------------------
   6. BADGES Y CHIPS
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: .04em;
  padding: .5em 1em;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--sage-800);
  border: 1px solid var(--sage-200);
  box-shadow: var(--sh-1);
}
.badge--coral { background: var(--coral-50); color: var(--coral-700); border-color: var(--coral-100); }
.badge--yellow { background: var(--yellow-50); color: #7A5A17; border-color: var(--yellow-100); }
.badge--sage { background: var(--sage-100); color: var(--sage-800); border-color: var(--sage-200); }
.badge--lg { font-size: var(--fs-sm); padding: .6em 1.15em; }
.badge--plain { box-shadow: none; border-color: var(--line); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--sage-800);
  background: var(--sage-50);
  border-radius: var(--r-pill);
  padding: .3em .8em;
}

/* --------------------------------------------------------------------------
   7. TARJETAS
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 1.1rem + .8vw, 2rem);
  box-shadow: var(--sh-2);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.card--flat { box-shadow: var(--sh-inset-line), 0 1px 2px rgba(36, 52, 59, .04); }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.card--cream { background: var(--cream); box-shadow: none; border: 1px solid var(--cream-300); }
.card--sage { background: var(--sage-50); box-shadow: none; border: 1px solid var(--sage-100); }

.card__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 1.1rem;
  background: var(--sage-100);
  box-shadow: inset 0 0 0 1px rgba(78, 106, 89, .08);
}
.card__icon--coral { background: var(--coral-100); }
.card__icon--yellow { background: var(--yellow-100); }
.card__icon--cream { background: var(--cream-200); }

.card h3 { font-size: var(--fs-h4); margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: var(--fs-sm); margin-bottom: 0; }
.card--onDark { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.card--onDark p { color: rgba(255, 255, 255, .85); }
.card--onDark h3, .card--onDark h4 { color: #fff; }

/* Tarjeta "declaración" (problema) */
.quote-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem 1.4rem;
  box-shadow: var(--sh-2);
  font-family: var(--font-head);
  font-size: var(--fs-lg);
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.quote-card::before {
  content: "\201C";
  position: absolute;
  top: -.35em;
  left: .35em;
  font-family: var(--font-head);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--yellow-300);
  pointer-events: none;
}
.quote-card span { position: relative; }
.quote-card--wide { grid-column: 1 / -1; }

/* --------------------------------------------------------------------------
   8. LISTAS DE COMPROBACIÓN
   -------------------------------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  font-size: var(--fs-base);
  color: var(--navy-700);
  margin-bottom: .8rem;
}
.checklist li:last-child { margin-bottom: 0; }
.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 1.45em;
  height: 1.45em;
  margin-top: .12em;
  border-radius: 50%;
  background: var(--sage-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E6A59' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.checklist--sm li { font-size: var(--fs-sm); }
.checklist--onDark li { color: rgba(255, 255, 255, .92); }
.checklist--onDark li::before {
  background-color: rgba(255, 255, 255, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.checklist--coral li::before { background-color: var(--coral-100); }

/* --------------------------------------------------------------------------
   9. PRECIO
   -------------------------------------------------------------------------- */
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .6rem .9rem;
  font-family: var(--font-head);
}
.price__old {
  font-size: clamp(1.05rem, 1rem + .3vw, 1.3rem);
  font-weight: 600;
  color: var(--navy-500);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--coral);
}
.price__now {
  font-size: clamp(2.25rem, 1.7rem + 2.4vw, 3.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--sage-800);
}
.price__note {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--coral-700);
  background: var(--coral-50);
  border: 1px solid var(--coral-100);
  border-radius: var(--r-pill);
  padding: .3em .85em;
  align-self: center;
}

/* Bloque de precio del hero */
.price-box {
  display: inline-flex;
  flex-direction: column;
  gap: .15rem;
  padding: 1rem 1.35rem;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
  border: 1px solid var(--cream-300);
}

/* Tarjeta de compra */
.buy-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1.1rem + 2vw, 3rem);
  box-shadow: var(--sh-3);
  border: 1px solid var(--cream-300);
  max-width: 40rem;
  margin-inline: auto;
  text-align: center;
  overflow: hidden;
}
.buy-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--sage) 0%, var(--sage-300) 40%, var(--yellow) 70%, var(--coral) 100%);
}
.buy-card__ribbon {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  background: var(--coral);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .55em 1.15em;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-coral);
  margin-bottom: 1.25rem;
}
.buy-card .price { justify-content: center; margin-bottom: .5rem; }
.buy-card__meta {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.buy-card__incluye {
  text-align: left;
  max-width: 26rem;
  margin-inline: auto;
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.35rem;
  background: var(--sage-50);
  border-radius: var(--r-md);
  border: 1px solid var(--sage-100);
}

/* --------------------------------------------------------------------------
   10. BARRA DE CONFIANZA
   -------------------------------------------------------------------------- */
.trustbar {
  background: var(--white);
  border-block: 1px solid var(--line-soft);
  padding-block: 1.15rem;
}
.trustbar__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .55rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trustbar__list li {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--navy-700);
  margin: 0;
  white-space: nowrap;
}
.trustbar__list li span[aria-hidden] { font-size: 1rem; line-height: 1; }

/* --------------------------------------------------------------------------
   11. HEADER
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 248, 238, .82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -14px rgba(36, 52, 59, .4);
}
.header__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: .6rem;
}
.header__brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  margin-right: auto;
  color: var(--navy);
}
.header__brand:hover { color: var(--navy); }
.brandmark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: linear-gradient(160deg, var(--sage) 0%, var(--sage-800) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
  text-align: center;
  box-shadow: var(--sh-sage);
  padding-top: 2px;
}
.brandmark span { display: block; font-size: .42em; letter-spacing: .08em; font-weight: 800; opacity: .92; }
.brandtext { display: flex; flex-direction: column; line-height: 1.05; }
.brandtext b { font-family: var(--font-head); font-size: 1rem; font-weight: 900; letter-spacing: -.02em; }
.brandtext small { font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-700); }

.header__nav { display: none; }
.header__nav ul { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.header__nav a {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-700);
  text-decoration: none;
  position: relative;
  padding-block: .3rem;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s var(--ease);
}
.header__nav a:hover { color: var(--navy); }
.header__nav a:hover::after { transform: scaleX(1); }

.header__actions { display: flex; align-items: center; gap: .6rem; }
.header__cta { display: none; }

.burger {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .22s var(--ease), opacity .18s var(--ease);
}
.burger span + span { margin-top: 4.5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Menú móvil */
.mobilenav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 55;
  background: var(--cream);
  padding: 1.5rem var(--gutter) 2.5rem;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mobilenav.is-open { opacity: 1; transform: none; visibility: visible; }
.mobilenav ul { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.mobilenav a.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  padding: .95rem .25rem;
  border-bottom: 1px solid var(--line);
}
.mobilenav a.m-link::after { content: "\203A"; color: var(--sage-300); font-size: 1.3rem; }
.mobilenav .m-foot { font-size: var(--fs-xs); color: var(--muted); text-align: center; margin-top: 1.25rem; }

/* --------------------------------------------------------------------------
   12. HERO
   -------------------------------------------------------------------------- */.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 88% 6%, rgba(244, 213, 141, .38) 0%, rgba(244, 213, 141, 0) 55%),
    radial-gradient(90% 80% at 4% 92%, rgba(111, 143, 123, .16) 0%, rgba(111, 143, 123, 0) 60%),
    var(--cream);
  padding-block: clamp(2.25rem, 1.6rem + 3vw, 5rem) clamp(3rem, 2.2rem + 4vw, 6rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: clamp(2.25rem, 1.6rem + 3vw, 4rem);
  align-items: center;
}
.hero__badge { margin-bottom: 1.25rem; }
.hero__sub {
  font-size: var(--fs-lg);
  color: var(--navy-700);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}
.hero__list {
  margin-bottom: 2rem;
  padding: 0;
  list-style: none;
  max-width: 30rem;
}
.hero__price { margin-bottom: 1.5rem; }
.hero__cta { margin-bottom: 1.25rem; }
.hero__micro { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.5rem; }
.hero__micro li { list-style: none; display: flex; align-items: center; gap: .4em; font-size: var(--fs-xs); color: var(--muted); font-weight: 600; }
.hero__micro li::before { content: "\2713"; color: var(--sage); font-weight: 800; }

.hero__claim {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-head);
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  font-weight: 800;
  color: var(--sage-800);
  background: var(--white);
  border: 1px solid var(--sage-200);
  border-radius: var(--r-pill);
  padding: .55em 1.15em;
  box-shadow: var(--sh-1);
  margin-top: 1.75rem;
}

/* Escena del libro */
.bookscene {
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2vw, 2.5rem) 0 clamp(1.5rem, 1rem + 2vw, 3rem);
  isolation: isolate;
}
.bookscene__stack {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  padding-bottom: clamp(1.5rem, 1rem + 2vw, 3rem);
}
.bookscene__spread {
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0;
  width: 108%;
  max-width: none;
  transform: translateX(-50%) rotate(-3.5deg);
  border-radius: 10px;
  box-shadow: var(--sh-3);
  filter: drop-shadow(0 30px 34px rgba(36, 52, 59, .16));
}
.bookscene::before {
  content: "";
  position: absolute;
  width: min(100%, 30rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(111, 143, 123, .3) 0%, rgba(111, 143, 123, 0) 68%);
  z-index: -1;
  filter: blur(4px);
}
.bookscene__caption {
  position: absolute;
  bottom: -.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  color: var(--muted);
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .35em 1em;
  white-space: nowrap;
  box-shadow: var(--sh-1);
}

/* Libro 3D en CSS */
.book3d {
  position: relative;
  width: min(74%, 17rem);
  aspect-ratio: 620 / 877;
  transform-style: preserve-3d;
  transform: rotateY(-16deg) rotateX(5deg) rotateZ(-1.5deg);
  transition: transform .5s var(--ease);
}
.bookscene:hover .book3d { transform: rotateY(-9deg) rotateX(3deg) rotateZ(-1deg); }
.book3d__block,
.book3d__cover,
.book3d__spine { position: absolute; inset: 0; border-radius: 6px 14px 14px 6px; }
.book3d__block {
  background:
    repeating-linear-gradient(90deg, #EFE7DA 0 2px, #F7F1E7 2px 4px),
    #F7F1E7;
  transform: translateZ(-14px);
  box-shadow: 0 24px 46px -18px rgba(36, 52, 59, .5);
}
.book3d__cover { transform: translateZ(0); box-shadow: 0 30px 56px -20px rgba(36, 52, 59, .55); }
.book3d__cover img { width: 100%; height: 100%; object-fit: cover; border-radius: 6px 14px 14px 6px; }
.book3d__spine {
  left: -9px;
  right: auto;
  width: 14px;
  transform-origin: right center;
  transform: rotateY(-32deg) translateZ(0);
  background: linear-gradient(90deg, var(--sage-800), var(--sage) 55%, var(--sage-700));
  border-radius: 6px 0 0 6px;
}
.book3d__shadow {
  position: absolute;
  left: 6%;
  right: 2%;
  bottom: -7%;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(36, 52, 59, .3) 0%, rgba(36, 52, 59, 0) 72%);
  filter: blur(5px);
  z-index: -1;
  transform: translateZ(-30px);
}

/* Chips flotantes sobre la escena */
.floatchip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-size: var(--fs-xs);
  font-weight: 700;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .45em .9em;
  box-shadow: var(--sh-2);
  white-space: nowrap;
}
.floatchip--a { top: 4%; left: -2%; animation: floaty 6s var(--ease) infinite; }
.floatchip--b { bottom: 16%; right: -3%; animation: floaty 7.5s var(--ease) .6s infinite; }
.floatchip--c { bottom: 2%; left: 4%; animation: floaty 8.5s var(--ease) 1.2s infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* --------------------------------------------------------------------------
   13. TIMELINE DE 12 MESES
   -------------------------------------------------------------------------- */
.months {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(.75rem, .6rem + .5vw, 1.1rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
  counter-reset: month;
}
.month {
  position: relative;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.15rem 1.1rem 1.05rem;
  box-shadow: var(--sh-1);
  border: 1px solid var(--line-soft);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  overflow: hidden;
}
.month::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--yellow));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.month:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--sage-200); }
.month:hover::after { transform: scaleX(1); }
.month__emoji { font-size: 1.5rem; line-height: 1; display: block; margin-bottom: .6rem; }
.month__name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.month__theme { font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; margin-top: .1rem; }
.month__days { display: block; margin-top: .6rem; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-700); }

/* --------------------------------------------------------------------------
   14. GALERÍA / PREVIEW
   -------------------------------------------------------------------------- */
.gallery {
  display: grid;
  gap: clamp(1rem, .8rem + 1vw, 1.6rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}
.shot {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1rem 1rem 1.25rem;
  box-shadow: var(--sh-2);
  border: 1px solid var(--line-soft);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.shot:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.shot__frame {
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--sage-50);
  border: 1px solid var(--line-soft);
  aspect-ratio: 4 / 5;
}
.shot__frame img { width: 100%; height: 100%; object-fit: cover; }
.shot__cap { display: flex; align-items: baseline; gap: .5rem; margin-top: .9rem; }
.shot__cap b { font-family: var(--font-head); font-size: 1rem; font-weight: 800; }
.shot__cap span { font-size: var(--fs-xs); color: var(--muted); }
.shot__tag {
  position: absolute;
  top: 1.6rem;
  left: 1.6rem;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sage-800);
  background: var(--yellow-50);
  border: 1px solid var(--yellow-100);
  border-radius: var(--r-pill);
  padding: .3em .7em;
}

.previewnote {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: var(--fs-xs);
  color: var(--muted);
  background: var(--cream);
  border: 1px dashed var(--cream-300);
  border-radius: var(--r-md);
  padding: .85rem 1rem;
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   15. BONOS
   -------------------------------------------------------------------------- */
.bonus {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: var(--sh-2);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.bonus:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.bonus::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--coral), var(--yellow));
}
.bonus__n {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--cream-300);
}
.bonus__icon { font-size: 1.6rem; line-height: 1; display: block; margin-bottom: .8rem; }
.bonus h3 { font-size: 1.0625rem; margin-bottom: .35rem; }
.bonus p { font-size: var(--fs-sm); color: var(--muted); margin-bottom: 0; }
.bonus__mini {
  margin-top: 1.1rem;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--sage-50);
  aspect-ratio: 16 / 10;
}
.bonus__mini img { width: 100%; height: 100%; object-fit: cover; }

/* Pack de bonos */
.bonuspack {
  position: relative;
  margin-top: clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  padding: clamp(1.5rem, 1.1rem + 2vw, 2.75rem);
  background: linear-gradient(150deg, var(--sage-50) 0%, var(--cream) 100%);
  border: 1px solid var(--sage-100);
  border-radius: var(--r-xl);
  display: grid;
  gap: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  align-items: center;
  box-shadow: var(--sh-2);
}
.bonuspack__copy h3 { font-size: var(--fs-h3); }
.bonuspack__art { max-width: 26rem; margin-inline: auto; width: 100%; }

/* --------------------------------------------------------------------------
   16. EDADES
   -------------------------------------------------------------------------- */
.age {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.4rem;
  box-shadow: var(--sh-2);
  border: 1px solid var(--line-soft);
  text-align: center;
}
.age::after {
  content: "";
  position: absolute;
  inset: auto 1.4rem 0 1.4rem;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--sage);
}
.age--2::after { background: var(--yellow); }
.age--3::after { background: var(--coral); }
.age__emoji { font-size: 2.5rem; line-height: 1; }
.age__range { font-family: var(--font-head); font-size: 1.2rem; font-weight: 900; margin: .5rem 0 .15rem; }
.age__list { list-style: none; margin: .9rem 0 0; padding: 0; text-align: left; }
.age__list li { display: flex; gap: .55rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--navy-700); }
.age__list li::before { content: "\25CF"; color: var(--sage-300); font-size: .55em; margin-top: .55em; }

/* --------------------------------------------------------------------------
   17. VALOR (stack de inclusiones)
   -------------------------------------------------------------------------- */
.value {
  display: grid;
  gap: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  align-items: center;
}
.value__list { list-style: none; margin: 0; padding: 0; }
.value__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .95rem 0;
  border-bottom: 1px dashed var(--line);
}
.value__list li:last-child { border-bottom: 0; }
.value__num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--sage-700);
  min-width: 5.5rem;
  letter-spacing: -.02em;
  line-height: 1.1;
}
.value__num small { display: block; font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.value__plus { color: var(--coral); font-weight: 800; font-size: 1.2rem; }
.value__art { max-width: 24rem; margin-inline: auto; width: 100%; }

.stackbox {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: clamp(1.25rem, 1rem + 1vw, 1.9rem);
  box-shadow: var(--sh-1);
}

/* --------------------------------------------------------------------------
   18. TESTIMONIOS
   -------------------------------------------------------------------------- */
.earlybirds {
  background: var(--white);
  border: 1.5px dashed var(--sage-300);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 1.3rem + 2vw, 3rem);
  text-align: center;
  max-width: 46rem;
  margin-inline: auto;
}
.earlybirds__avatars { display: flex; justify-content: center; margin-bottom: 1.5rem; }
.earlybirds__avatars span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sage-100);
  border: 3px solid var(--white);
  font-size: 1.2rem;
  margin-left: -14px;
  box-shadow: var(--sh-1);
}
.earlybirds__avatars span:first-child { margin-left: 0; }
.earlybirds__avatars span:nth-child(2) { background: var(--yellow-100); }
.earlybirds__avatars span:nth-child(3) { background: var(--coral-100); }
.earlybirds__avatars span:nth-child(4) { background: var(--cream-200); }

/* Bloque preparado para insertar testimonios reales (oculto por defecto) */
.testimonials { display: none; }
.testimonials.is-live { display: block; }
.testimonial {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--sh-2);
  border: 1px solid var(--line-soft);
}
.testimonial__head { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.testimonial__img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial__ini {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-800);
  font-family: var(--font-head);
  font-weight: 900;
  flex: 0 0 auto;
}
.testimonial__name { font-weight: 700; font-size: var(--fs-sm); }
.testimonial__meta { font-size: var(--fs-xs); color: var(--muted); }
.testimonial__text { font-size: var(--fs-sm); color: var(--navy-700); margin: 0; }

/* --------------------------------------------------------------------------
   19. FAQ (acordeón)
   -------------------------------------------------------------------------- */
.faq { max-width: 48rem; margin-inline: auto; }
.faq__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  margin-bottom: .75rem;
  overflow: hidden;
  transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.faq__item[open] { box-shadow: var(--sh-2); border-color: var(--sage-200); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--navy);
  background: none;
  border: 0;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sage-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234E6A59' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 55% no-repeat;
  transition: transform .25s var(--ease), background-color .2s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(135deg); background-color: var(--coral-50); }
.faq__a { padding: 0 1.25rem 1.25rem; }
.faq__a p { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.faq__a ul { font-size: var(--fs-sm); color: var(--muted); margin: .6rem 0 0; }

/* --------------------------------------------------------------------------
   19b. SECCIÓN EMOCIONAL
   -------------------------------------------------------------------------- */
.emotional__grid {
  display: grid;
  gap: clamp(2rem, 1.5rem + 2.5vw, 4rem);
  align-items: center;
}
.emotional__art {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-3);
  border: 1px solid var(--cream-300);
  background: var(--cream-300);
}
.emotional__art img { width: 100%; display: block; }
.emotional__quote {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.1rem + 1.9vw, 2.4rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -.02em;
  color: var(--navy);
  margin: 0 0 .6em;
  text-wrap: balance;
}
@media (min-width: 900px) {
  .emotional__grid { grid-template-columns: 1fr 1.05fr; }
  .emotional__art { order: 2; }
}

/* --------------------------------------------------------------------------
   20. CTA FINAL
   -------------------------------------------------------------------------- */
.finalcta { position: relative; overflow: hidden; }
.finalcta::before,
.finalcta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.finalcta::before {
  width: 26rem; height: 26rem;
  top: -12rem; right: -8rem;
  background: radial-gradient(circle, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, 0) 70%);
}
.finalcta::after {
  width: 20rem; height: 20rem;
  bottom: -10rem; left: -6rem;
  background: radial-gradient(circle, rgba(244, 213, 141, .3) 0%, rgba(244, 213, 141, 0) 70%);
}
.finalcta__inner { position: relative; z-index: 1; max-width: 44rem; margin-inline: auto; text-align: center; }
.finalcta h2 { font-size: var(--fs-h2); }
.finalcta__sub { font-size: var(--fs-lg); color: rgba(255, 255, 255, .88); margin-bottom: 2rem; }

/* --------------------------------------------------------------------------
   21. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .72);
  padding-block: clamp(2.75rem, 2.2rem + 2vw, 4.5rem) 2rem;
  font-size: var(--fs-sm);
}
.footer a { color: rgba(255, 255, 255, .78); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__top {
  display: grid;
  gap: clamp(1.75rem, 1.4rem + 1.5vw, 3rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__brand .brandmark { background: rgba(255, 255, 255, .12); box-shadow: none; }
.footer__claim {
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
  margin: .9rem 0 .5rem;
}
.footer__tagline { color: rgba(255, 255, 255, .68); max-width: 30ch; }
.footer h4 {
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .6rem; }
.footer__bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, .6);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.footer__badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.25rem; }
.footer__badges span {
  font-size: .7rem;
  font-weight: 600;
  padding: .35em .75em;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .12);
}

/* --------------------------------------------------------------------------
   22. BARRA DE COMPRA MÓVIL
   -------------------------------------------------------------------------- */
.mobilebar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px -16px rgba(36, 52, 59, .5);
  transform: translateY(110%);
  transition: transform .3s var(--ease);
}
.mobilebar.is-visible { transform: none; }
.mobilebar__info { display: flex; flex-direction: column; line-height: 1.15; margin-right: auto; min-width: 0; }
.mobilebar__name {
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobilebar__price { font-family: var(--font-head); font-size: 1.1rem; font-weight: 900; color: var(--coral-700); }
.mobilebar__price s { font-size: .78rem; font-weight: 600; color: var(--muted); margin-right: .35rem; }
.mobilebar .btn { flex: 0 0 auto; padding-inline: 1.4em; min-height: 48px; }

/* --------------------------------------------------------------------------
   23. CONSENTIMIENTO DE COOKIES
   -------------------------------------------------------------------------- */
.cookiebar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  background: var(--navy);
  color: rgba(255, 255, 255, .9);
  padding: 1.1rem var(--gutter) calc(1.1rem + env(safe-area-inset-bottom, 0px));
  font-size: var(--fs-xs);
  box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .6);
  transform: translateY(110%);
  transition: transform .35s var(--ease);
}
.cookiebar.is-open { transform: none; }
.cookiebar__inner { max-width: var(--maxw); margin-inline: auto; display: grid; gap: .9rem; }
.cookiebar p { margin: 0 0 .35rem; }
.cookiebar a { color: var(--yellow); }
.cookiebar__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookiebar .btn { min-height: 42px; padding: .6em 1.2em; font-size: var(--fs-xs); box-shadow: none; }
.cookiebar .btn--ghost { --btn-fg: #fff; border-color: rgba(255, 255, 255, .35); }
.cookiebar .btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .1); }

/* --------------------------------------------------------------------------
   24. PÁGINAS LEGALES / GRACIAS
   -------------------------------------------------------------------------- */
.page-head {
  background: var(--cream);
  padding-block: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
  border-bottom: 1px solid var(--cream-300);
}
.legal { max-width: 46rem; }
.legal h2 { font-size: var(--fs-h3); margin-top: 2.25rem; }
.legal h3 { font-size: var(--fs-h4); margin-top: 1.5rem; }
.legal p, .legal li { color: var(--navy-700); font-size: var(--fs-sm); }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal__updated {
  display: inline-block;
  font-size: var(--fs-xs);
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: .35em .9em;
  margin-bottom: 1.5rem;
}
.notice {
  border-left: 3px solid var(--coral);
  background: var(--coral-50);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 1.1rem 1.25rem;
  margin: 1.75rem 0;
  font-size: var(--fs-sm);
  color: var(--navy-700);
}
.notice--sage { border-left-color: var(--sage); background: var(--sage-50); }

.thanks {
  text-align: center;
  padding-block: clamp(3rem, 2.5rem + 3vw, 6rem);
}
.thanks__icon {
  width: 88px; height: 88px;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--coral-50);
  border: 1px solid var(--coral-100);
  font-size: 2.4rem;
  box-shadow: var(--sh-2);
}
.thanks__box {
  max-width: 38rem;
  margin-inline: auto;
  text-align: left;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: clamp(1.5rem, 1.2rem + 1.5vw, 2.25rem);
  box-shadow: var(--sh-2);
  border: 1px solid var(--line-soft);
}
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.25rem;
  font-size: var(--fs-sm);
  color: var(--navy-700);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -.15rem;
  width: 2.1rem; height: 2.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-100);
  color: var(--sage-800);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: .9rem;
}

/* --------------------------------------------------------------------------
   25. ANIMACIONES DE ENTRADA
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
/* Si el JS no se ejecuta, nada queda invisible */
html:not(.js) .reveal { opacity: 1; transform: none; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }
.reveal[data-delay="6"] { transition-delay: .48s; }

/* --------------------------------------------------------------------------
   26. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (min-width: 600px) {
  .cookiebar__inner { grid-template-columns: 1fr auto; align-items: center; }
  .cookiebar__actions { justify-content: flex-end; }
  .hero__cta { max-width: 30rem; }
  .btn-row { gap: 1rem; }
}

@media (min-width: 860px) {
  :root { --header-h: 76px; }
  .header__nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
  .mobilenav { display: none; }
  .mobilebar { display: none; }
  body { padding-bottom: 0; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; }
  .hero__inner { max-width: 34rem; }
  .value { grid-template-columns: 1.1fr .9fr; }
  .footer__top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .finalcta { padding-block: clamp(4.5rem, 3.5rem + 4vw, 7.5rem); }
}

@media (min-width: 1024px) {
  .book3d { width: min(78%, 20rem); }
  .hero__inner { max-width: 36rem; }
}

/* Reserva de espacio para la barra fija de compra en móvil */
@media (max-width: 859px) {
  body { padding-bottom: 78px; }
  body.no-bar { padding-bottom: 0; }
  /* La barra de cookies (z-index 80) se superpone a la de compra (z-index 70).
     No se puede usar el combinador `~` porque .mobilebar precede a .cookiebar
     en el DOM, así que se usa :has() sobre body. */
  body:has(.cookiebar.is-open) { padding-bottom: 0; }
  body:has(.cookiebar.is-open) .mobilebar { display: none; }
}

/* --------------------------------------------------------------------------
   27. MOVIMIENTO REDUCIDO / IMPRESIÓN
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .mobilenav, .mobilebar, .cookiebar, .btn, .floatchip { display: none !important; }
  body { padding-bottom: 0; }
  .section { padding-block: 1.5rem; page-break-inside: avoid; }
  .card, .shot, .bonus, .age { box-shadow: none; border: 1px solid #ccc; }
}
