/* =========================================================================
   Niddo Kids — Landing
   Sistema de diseño. Registro: brand. Voz: cálido, protector, confiable.
   Paleta committed: teal (marca) + coral (acción) + crema (lienzo)
   Tipografías: Baloo 2 (titulares, redondeada) · Hanken Grotesk (texto)
   Color en OKLCH, neutros templados hacia el calor de marca.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Marca */
  --teal:        oklch(0.72 0.088 213);
  --teal-dk:     oklch(0.60 0.090 211);
  --teal-deep:   oklch(0.46 0.062 213);
  --teal-lt:     oklch(0.85 0.055 209);
  --teal-wash:   oklch(0.95 0.028 205);

  --coral:       oklch(0.72 0.150 52);
  --coral-dk:    oklch(0.62 0.155 45);
  --coral-lt:    oklch(0.80 0.110 60);

  --yellow:      oklch(0.82 0.135 78);
  --green:       oklch(0.75 0.140 150);
  --pink:        oklch(0.76 0.110 8);
  --grape:       oklch(0.68 0.120 290);

  /* Lienzo cálido */
  --bg:          oklch(0.985 0.014 85);
  --bg-2:        oklch(0.965 0.030 82);
  --bg-3:        oklch(0.945 0.040 80);
  --cream:       oklch(0.975 0.022 85);
  --surface:     oklch(0.995 0.004 85);
  --surface-2:   oklch(0.980 0.010 85);

  /* Tinta */
  --ink:         oklch(0.34 0.035 212);
  --ink-2:       oklch(0.46 0.030 210);
  --ink-soft:    oklch(0.585 0.024 205);
  --ink-faint:   oklch(0.70 0.018 205);
  --line:        oklch(0.90 0.014 205);
  --line-soft:   oklch(0.93 0.012 90);

  /* Elevación (sombras cálidas, no grises puros) */
  --sh-sm:  0 1px 2px oklch(0.45 0.04 210 / 0.06), 0 2px 6px oklch(0.45 0.04 210 / 0.05);
  --sh-md:  0 6px 18px oklch(0.45 0.05 210 / 0.09), 0 2px 6px oklch(0.45 0.05 210 / 0.06);
  --sh-lg:  0 20px 45px oklch(0.42 0.06 210 / 0.14), 0 8px 18px oklch(0.42 0.06 210 / 0.08);
  --sh-teal: 0 16px 34px oklch(0.60 0.09 211 / 0.28);
  --sh-coral: 0 14px 30px oklch(0.66 0.15 50 / 0.32);

  /* Radios */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  /* Ritmo */
  --pad-x: clamp(1rem, 2.5vw, 2.25rem);
  --maxw: 1240px;          /* contenido centrado (buenas prácticas de lectura) */
  --maxw-header: 1840px;   /* navbar casi a pantalla completa */
  --maxw-narrow: 760px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);

  --font-head: "Baloo 2", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { max-width: 100%; display: block; }
img, picture { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; color: var(--ink); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.15rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); }
h4 { font-size: 1.12rem; font-weight: 600; }
p  { text-wrap: pretty; }
strong { font-weight: 700; color: var(--ink); }
.text-teal { color: var(--teal-dk); }
.text-coral { color: var(--coral-dk); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: clamp(3.75rem, 2.5rem + 6vw, 7rem); position: relative; }
.section--tight { padding-block: clamp(2.75rem, 2rem + 3.5vw, 5rem); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.02em;
  color: var(--teal-dk);
  background: var(--teal-wash);
  padding: 0.4rem 0.9rem; border-radius: var(--r-pill);
}
.eyebrow--coral { color: var(--coral-dk); background: oklch(0.93 0.045 62); }

.section-head { max-width: 42rem; }
.section-head--center { max-width: 46rem; margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem); margin-top: 1rem; }
.lead { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.32rem); color: var(--ink-2); line-height: 1.55; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  padding: 0.92rem 1.6rem; border-radius: var(--r-pill);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), background 0.25s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--coral); color: oklch(0.995 0.004 85); box-shadow: var(--sh-coral); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 38px oklch(0.66 0.15 50 / 0.42); background: var(--coral-dk); }
.btn--teal { background: var(--teal-dk); color: oklch(0.995 0.004 85); box-shadow: var(--sh-teal); }
.btn--teal:hover { transform: translateY(-3px); box-shadow: 0 22px 40px oklch(0.60 0.09 211 / 0.4); }
.btn--ghost { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); border: 1.5px solid var(--line); }
.btn--ghost:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--teal-lt); }
.btn--lg { padding: 1.06rem 2rem; font-size: 1.1rem; }
.btn--block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 60;
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.header.is-stuck {
  background: oklch(0.985 0.014 85 / 0.85);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--line-soft), var(--sh-sm);
}
/* El header ocupa casi toda la pantalla; el contenido va contenido y centrado */
.header .wrap { max-width: var(--maxw-header); padding-inline: clamp(1.1rem, 2.5vw, 2.75rem); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: none; align-items: center; gap: 0.35rem; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: 0.98rem;
  color: var(--ink-2); padding: 0.5rem 0.85rem; border-radius: var(--r-pill);
  transition: color 0.2s, background 0.2s;
}
.nav__links a:hover { color: var(--teal-dk); background: var(--teal-wash); }
.nav__cta { display: none; align-items: center; gap: 0.6rem; }

.nav__toggle {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 10px;
  border-radius: 12px; background: var(--surface); box-shadow: var(--sh-sm);
}
.nav__toggle span { width: 22px; height: 2.4px; border-radius: 2px; background: var(--ink); transition: transform 0.3s var(--ease-out), opacity 0.2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* Menú móvil */
.mobile-menu {
  position: fixed; inset: 74px 0 auto 0; z-index: 55;
  background: var(--surface);
  padding: 1.25rem var(--pad-x) 1.75rem;
  box-shadow: var(--sh-lg);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  display: grid; gap: 0.35rem;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform 0.35s var(--ease-out), opacity 0.3s, visibility 0.3s;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-head); font-weight: 500; font-size: 1.1rem;
  padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--line-soft); color: var(--ink);
}
.mobile-menu .btn { margin-top: 1rem; }

@media (min-width: 900px) {
  .nav__links, .nav__cta { display: flex; }
  .nav__toggle { display: none; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: clamp(1.5rem, 1rem + 2.5vw, 3rem); padding-bottom: clamp(2rem, 1.5rem + 3vw, 3.5rem); overflow: hidden; }
/* Hero más compacto */
.hero h1 { font-size: clamp(1.7rem, 1.15rem + 2vw, 2.7rem); }
.hero .hero__sub { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.12rem); }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 82% 8%, oklch(0.90 0.06 205 / 0.55), transparent 70%),
    radial-gradient(50% 50% at 8% 12%, oklch(0.93 0.05 78 / 0.5), transparent 72%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 55%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(6px); opacity: 0.5; z-index: -1; }

.hero__grid { display: grid; gap: clamp(2rem, 1rem + 5vw, 3.5rem); align-items: center; }
.hero__copy { max-width: 40rem; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--surface); box-shadow: var(--sh-sm);
  padding: 0.45rem 0.55rem 0.45rem 0.55rem; border-radius: var(--r-pill);
  font-size: 0.85rem; font-weight: 600; font-family: var(--font-head); color: var(--ink-2);
  margin-bottom: 1.5rem;
}
.hero__badge b { color: var(--teal-dk); }
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px oklch(0.75 0.14 150 / 0.2); }
.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em { font-style: normal; color: var(--teal-dk); position: relative; white-space: nowrap; }
.hero__sub { font-size: clamp(1.08rem, 1rem + 0.5vw, 1.28rem); color: var(--ink-2); max-width: 34rem; }
.hero__sub + .hero__sub { margin-top: 0.85rem; }
.hero__sub--options strong { color: var(--ink); font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.9rem; }
.hero__note { margin-top: 1.1rem; font-size: 0.92rem; color: var(--ink-soft); display: flex; align-items: center; gap: 0.5rem; }
.hero__note svg { width: 1.05rem; height: 1.05rem; color: var(--green); flex: none; }

/* Visual del hero: tablet + Pío */
.hero__visual { position: relative; display: grid; place-items: center; }
.device {
  position: relative; width: min(100%, 500px);
  border-radius: 30px; padding: 12px;
  background: linear-gradient(150deg, oklch(0.99 0.005 85), oklch(0.94 0.02 210));
  box-shadow: var(--sh-lg), inset 0 0 0 2px oklch(1 0 0 / 0.6);
  border: 1px solid var(--line);
  transform: rotate(-1.4deg);
  transition: transform 0.6s var(--ease-out);
}
.device:hover { transform: rotate(0deg) translateY(-4px); }
.device__screen { border-radius: 20px; overflow: hidden; box-shadow: inset 0 0 0 1px oklch(0.5 0.05 210 / 0.12); background: var(--bg-2); }
.device__screen img { width: 100%; height: auto; display: block; }
.hero__pio {
  position: absolute; width: clamp(96px, 20vw, 150px); right: -6%; bottom: -7%;
  filter: drop-shadow(0 16px 20px oklch(0.4 0.06 210 / 0.28));
  animation: float 5.5s var(--ease-out) infinite;
  z-index: 3;
}
.hero__chip {
  position: absolute; background: var(--surface); box-shadow: var(--sh-md);
  border-radius: var(--r-pill); padding: 0.6rem 0.95rem;
  display: flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--ink);
  z-index: 4;
}
.hero__chip .ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 0.85rem; flex: none; }
.hero__chip--1 { top: -4%; left: -3%; animation: float 6s var(--ease-out) infinite; }
.hero__chip--2 { bottom: -5%; right: -2%; animation: float 7s var(--ease-out) 0.6s infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* Foto real de la tablet (funda azul) en el hero */
.hero__tablet {
  position: relative; z-index: 2; width: min(100%, 560px); height: auto;
  filter: drop-shadow(0 22px 34px oklch(0.42 0.06 210 / 0.28));
  transform: rotate(-1.2deg);
  transition: transform 0.6s var(--ease-out);
}
.hero__tablet:hover { transform: rotate(0deg) translateY(-4px); }

@media (min-width: 940px) {
  .hero__grid { grid-template-columns: 1.02fr 0.98fr; }
}

/* Barra de confianza */
.trustbar { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--surface-2); }
.trustbar__row { display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; align-items: center; justify-content: center; padding-block: 1.1rem; }
.trustbar__item { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--ink-2); }
.trustbar__item svg { width: 1.2rem; height: 1.2rem; color: var(--teal-dk); flex: none; }

/* ==========================================================================
   Dos caminos (casa / institución)
   ========================================================================== */
.caminos__grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 800px) { .caminos__grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }
.camino {
  display: flex; flex-direction: column;
  background: var(--surface); border-radius: var(--r-xl);
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  box-shadow: var(--sh-md); border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.camino:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.camino__ic { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 1.9rem; margin-bottom: 1.2rem; box-shadow: var(--sh-sm); }
.camino__ic--home { background: linear-gradient(150deg, var(--teal-lt), var(--teal)); }
.camino__ic--school { background: linear-gradient(150deg, var(--coral-lt), var(--coral)); }
.camino h3 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.75rem); margin-bottom: 0.6rem; }
.camino > p { color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 1.6rem; }
.camino .btn { margin-top: auto; }
.camino__micro { margin-top: 0.9rem; text-align: center; font-size: 0.88rem; color: var(--ink-soft); }
.camino__micro svg { width: 1rem; height: 1rem; color: var(--green); vertical-align: -2px; }

/* ==========================================================================
   Sección institucional + formulario
   ========================================================================== */
.institucional { background: linear-gradient(180deg, var(--bg), var(--teal-wash)); }
.inst__grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem); align-items: center; }
@media (min-width: 860px) { .inst__grid { grid-template-columns: 1fr 1fr; } }
.inst__copy .lead { color: var(--ink-2); margin-top: 1rem; }
.inst__list { display: grid; gap: 0.7rem; margin-top: 1.5rem; }
.inst__list li { display: flex; gap: 0.65rem; align-items: flex-start; color: var(--ink-2); font-size: 0.98rem; }
.inst__list svg { width: 1.25rem; height: 1.25rem; color: var(--teal-dk); flex: none; margin-top: 0.15rem; }

.inst__form {
  background: var(--surface); border-radius: var(--r-xl);
  padding: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem);
  box-shadow: var(--sh-lg); border: 1px solid var(--line-soft);
  display: grid; gap: 1.05rem;
}
.field { display: grid; gap: 0.4rem; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--ink-2); }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: var(--surface-2);
  border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 0.8rem 0.95rem; width: 100%; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: var(--surface);
  box-shadow: 0 0 0 4px oklch(0.72 0.088 213 / 0.15);
}
.field.has-error input, .field.has-error textarea { border-color: var(--coral-dk); }
.field.has-error input:focus, .field.has-error textarea:focus { box-shadow: 0 0 0 4px oklch(0.66 0.15 50 / 0.15); }
.field__error { font-size: 0.82rem; color: var(--coral-dk); min-height: 0; font-weight: 500; }
.field__req { color: var(--coral-dk); }

.form-status { margin: 0.2rem 0 0; font-size: 0.95rem; text-align: center; min-height: 1.2rem; }
.form-status.is-ok { color: var(--green); font-weight: 600; }
.form-status.is-err { color: var(--coral-dk); font-weight: 600; }
.inst__form button[disabled] { opacity: 0.65; cursor: progress; }
/* estado de éxito: reemplaza el form por un mensaje */
.inst__form.is-sent { place-items: center; text-align: center; gap: 0.75rem; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.inst__sent-ic { width: 68px; height: 68px; border-radius: 50%; background: oklch(0.75 0.14 150 / 0.16); color: var(--green); display: grid; place-items: center; }
.inst__sent-ic svg { width: 34px; height: 34px; }
.inst__form.is-sent h3 { font-size: 1.4rem; }
.inst__form.is-sent p { color: var(--ink-soft); max-width: 32ch; }

/* ==========================================================================
   Planes (2 opciones)
   ========================================================================== */
.plans { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.plans__grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 860px) { .plans__grid { grid-template-columns: 1fr 1fr; align-items: stretch; } }

.plan {
  position: relative; background: var(--surface); border-radius: var(--r-xl);
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); box-shadow: var(--sh-md);
  border: 1px solid var(--line-soft); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
/* El CTA se ancla abajo para que ambas cards queden parejas (estilo pricing). */
.plan > .btn { margin-top: auto; }
.plan--feature { border: 2px solid var(--teal-lt); box-shadow: var(--sh-lg); }
.plan__ribbon {
  position: absolute; top: 1.4rem; right: -3rem; transform: rotate(38deg);
  background: var(--coral); color: #fff; font-family: var(--font-head); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.03em; padding: 0.35rem 3.5rem;
}
.plan__icon {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 1.1rem; box-shadow: var(--sh-sm);
}
.plan__icon--teal { background: linear-gradient(150deg, var(--teal-lt), var(--teal)); }
.plan__icon--coral { background: linear-gradient(150deg, var(--coral-lt), var(--coral)); }
.plan__kicker { font-family: var(--font-head); font-weight: 600; font-size: 0.85rem; color: var(--teal-dk); text-transform: none; }
.plan h3 { margin-top: 0.15rem; font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.85rem); }
.plan__tagline { color: var(--ink-soft); margin-top: 0.5rem; }
.plan__price { display: flex; align-items: baseline; gap: 0.4rem; margin: 1.4rem 0 0.3rem; }
.plan__price .amt { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 2rem + 2vw, 3.2rem); color: var(--ink); line-height: 1; }
.plan__price .cur { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink-2); }
.plan__price .per { color: var(--ink-soft); font-size: 0.98rem; font-weight: 500; }
.plan__sub { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.plan__sub b { color: var(--teal-dk); }
/* Bloque "1 mes gratis" (sin precios en la parte de marketing) */
.plan__free { display: flex; flex-direction: column; gap: 0.45rem; margin: 1.5rem 0 0.2rem; }
.plan__free-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--teal-deep); background: var(--teal-wash); padding: 0.45rem 0.95rem; border-radius: var(--r-pill); }
.plan__free-txt { color: var(--ink-soft); font-size: 0.95rem; }
.plan__list { display: grid; gap: 0.7rem; margin: 1.4rem 0 1.7rem; }
.plan__list li { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.98rem; color: var(--ink-2); }
.plan__list svg { width: 1.25rem; height: 1.25rem; color: var(--green); flex: none; margin-top: 0.15rem; }
.plan__colors { display: flex; align-items: center; gap: 0.6rem; margin: 1.2rem 0 0.4rem; font-size: 0.9rem; color: var(--ink-soft); }
.swatch { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px oklch(1 0 0 / 0.7), var(--sh-sm); }
.plans__reassure { margin-top: 1.75rem; text-align: center; color: var(--ink-soft); font-size: 0.95rem; }
.plans__reassure b { color: var(--teal-dk); }

/* ==========================================================================
   Problema
   ========================================================================== */
.problem { background: var(--teal-deep); color: oklch(0.95 0.01 205); overflow: hidden; position: relative; }
.problem::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.5;
  background: radial-gradient(70% 60% at 85% 0%, oklch(0.55 0.08 205 / 0.7), transparent 60%),
              radial-gradient(50% 50% at 5% 100%, oklch(0.40 0.06 240 / 0.6), transparent 60%);
}
.problem .wrap { position: relative; z-index: 1; }
.problem h2, .problem h3 { color: oklch(0.99 0.006 90); }
.problem .eyebrow { background: oklch(0.55 0.06 205 / 0.5); color: oklch(0.93 0.03 90); }
.problem .problem__lead { color: oklch(0.98 0.008 200); font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem); max-width: 44rem; margin-top: 1.2rem; line-height: 1.55; }
.problem__grid { display: grid; gap: 1.1rem; margin-top: 2.8rem; }
@media (min-width: 720px) { .problem__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .problem__grid { grid-template-columns: repeat(4, 1fr); } }
.harm {
  background: oklch(0.42 0.05 210 / 0.55); border: 1px solid oklch(0.7 0.05 205 / 0.22);
  border-radius: var(--r-lg); padding: 1.5rem 1.35rem;
  backdrop-filter: blur(2px);
}
.harm__emoji { font-size: 1.7rem; display: block; margin-bottom: 0.8rem; }
.harm h4 { color: oklch(0.99 0.006 90); font-size: 1.08rem; margin-bottom: 0.4rem; }
.harm p { color: oklch(0.95 0.01 200); font-size: 0.94rem; line-height: 1.5; }

/* ==========================================================================
   Solución — por qué Niddo ayuda (pares problema→respuesta)
   ========================================================================== */
.why__intro { display: grid; gap: 2rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 860px) { .why__intro { grid-template-columns: 1.3fr 1fr; } }
.why__intro .lead { color: var(--ink-2); }

.answers { display: grid; gap: 1.15rem; }
@media (min-width: 780px) { .answers { grid-template-columns: 1fr 1fr; } }
.answer {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem;
  background: var(--surface); border-radius: var(--r-lg); padding: 1.5rem;
  box-shadow: var(--sh-sm); border: 1px solid var(--line-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.answer:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.answer__ic {
  width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.4rem; flex: none; color: #fff; box-shadow: var(--sh-sm);
}
.answer h4 { margin-bottom: 0.3rem; }
.answer p { color: var(--ink-soft); font-size: 0.96rem; }
.answer .tag { display: block; font-family: var(--font-head); font-size: 0.78rem; color: var(--coral-dk); font-weight: 600; margin-bottom: 0.35rem; }

/* ==========================================================================
   Features — qué incluye
   ========================================================================== */
.features { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.features__grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 680px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features__grid { grid-template-columns: repeat(3, 1fr); } }
/* La tarjeta destacada ocupa 2 columnas en desktop */
.feature {
  background: var(--surface); border-radius: var(--r-lg); padding: 1.7rem;
  box-shadow: var(--sh-sm); border: 1px solid var(--line-soft); position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--sh-md); }
.feature__ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.1rem; box-shadow: var(--sh-sm); }
.feature h3 { font-size: 1.28rem; margin-bottom: 0.55rem; }
.feature p { color: var(--ink-soft); font-size: 0.98rem; }
.feature--wide { grid-column: 1 / -1; }
/* Card de Pío con la mascota real */
.feature--pio { background: linear-gradient(155deg, oklch(0.93 0.055 150), var(--surface)); border-color: oklch(0.80 0.10 150); }
.feature__pio { width: 96px; height: auto; margin: -0.4rem 0 0.7rem; filter: drop-shadow(0 12px 16px oklch(0.5 0.06 300 / 0.25)); }

/* Pío curioso en la sección "El problema" */
.problem__pio { position: absolute; top: clamp(0.5rem, 3vw, 2.5rem); right: clamp(1rem, 5vw, 5rem); width: clamp(110px, 15vw, 185px); height: auto; z-index: 2; filter: drop-shadow(0 16px 22px oklch(0.18 0.05 220 / 0.45)); animation: float 6.5s var(--ease-out) infinite; pointer-events: none; }
@media (max-width: 900px) { .problem__pio { display: none; } }
@media (min-width: 1000px) { .feature--wide { grid-column: span 2; } }
.feature--ages { background: linear-gradient(150deg, var(--teal-wash), var(--surface)); border-color: var(--teal-lt); }

/* Bandas de edad */
.ages { display: grid; gap: 0.9rem; margin-top: 1.5rem; }
@media (min-width: 560px) { .ages { grid-template-columns: repeat(3, 1fr); } }
.age {
  background: var(--surface); border-radius: var(--r-md); padding: 1.15rem 1.25rem;
  box-shadow: var(--sh-sm); border: 1px solid var(--line-soft);
}
.age__badge { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1; margin-bottom: 0.5rem; }
.age h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.age p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.45; }
.age--a .age__badge { color: var(--green); }
.age--b .age__badge { color: var(--coral-dk); }
.age--c .age__badge { color: var(--grape); }

/* ==========================================================================
   Showcase — fila de 3 imágenes
   ========================================================================== */
.showcase__grid { display: grid; gap: 1.35rem; margin-top: 3rem; }
@media (min-width: 820px) { .showcase__grid { grid-template-columns: repeat(3, 1fr); } }
.shot {
  background: var(--surface); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--sh-md); border: 1px solid var(--line-soft);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}
.shot:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.shot__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.shot__img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot__body { padding: 1.2rem 1.35rem 1.45rem; }
.shot__tag { font-family: var(--font-head); font-weight: 600; font-size: 0.78rem; color: var(--teal-dk); }
.shot h4 { font-size: 1.15rem; margin: 0.2rem 0 0.4rem; }
.shot p { font-size: 0.92rem; color: var(--ink-soft); }

/* ==========================================================================
   Cómo empezar — pasos
   ========================================================================== */
.steps__grid { display: grid; gap: 1.15rem; margin-top: 3rem; counter-reset: step; }
@media (min-width: 760px) { .steps__grid { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: 1.6rem 1.5rem; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-sm); border: 1px solid var(--line-soft); }
.step__n {
  counter-increment: step; font-family: var(--font-head); font-weight: 800;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--teal-wash); color: var(--teal-dk); font-size: 1.2rem; margin-bottom: 1rem;
}
.step__n::before { content: counter(step); }
.step h4 { margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }

/* ==========================================================================
   Reseñas
   ========================================================================== */
.reviews { background: linear-gradient(180deg, var(--bg), var(--teal-wash)); }
.reviews__grid { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 720px) { .reviews__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--surface); border-radius: var(--r-lg); padding: 1.6rem;
  box-shadow: var(--sh-sm); border: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 1rem;
}
.review__stars { display: flex; gap: 2px; color: var(--yellow); }
.review__stars svg { width: 1.1rem; height: 1.1rem; }
.review__text { color: var(--ink-2); font-size: 1rem; line-height: 1.6; flex: 1; }
.review__who { display: flex; align-items: center; gap: 0.75rem; }
.review__avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.05rem; flex: none; }
.review__name { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; }
.review__meta { font-size: 0.82rem; color: var(--ink-soft); }
.reviews__note {
  margin-top: 2rem; text-align: center; font-size: 0.9rem; color: var(--ink-soft);
  background: var(--surface); display: inline-flex; gap: 0.5rem; align-items: center;
  padding: 0.7rem 1.2rem; border-radius: var(--r-pill); box-shadow: var(--sh-sm);
}
.reviews__note-wrap { text-align: center; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq__grid { display: grid; gap: 0.85rem; margin-top: 2.75rem; max-width: 820px; margin-inline: auto; }
.faq-item { background: var(--surface); border-radius: var(--r-md); box-shadow: var(--sh-sm); border: 1px solid var(--line-soft); overflow: hidden; }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.15rem 1.35rem; text-align: left; font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--ink);
}
.faq-item__q .plus { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--teal-wash); color: var(--teal-dk); display: grid; place-items: center; transition: transform 0.35s var(--ease-out), background 0.25s; position: relative; }
.faq-item__q .plus::before, .faq-item__q .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq-item__q .plus::before { width: 12px; height: 2.4px; }
.faq-item__q .plus::after { width: 2.4px; height: 12px; transition: transform 0.35s var(--ease-out); }
.faq-item[open] .plus { background: var(--teal-dk); color: #fff; }
.faq-item[open] .plus::after { transform: rotate(90deg); scale: 0; }
.faq-item__a { padding: 0 1.35rem; overflow: hidden; }
.faq-item__a-inner { padding-bottom: 1.25rem; color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; }
.faq-item__a-inner a { color: var(--teal-dk); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   CTA final
   ========================================================================== */
.finalcta { position: relative; }
.finalcta__card {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--teal-dk), var(--teal-deep) 70%);
  border-radius: var(--r-xl); padding: clamp(2.5rem, 1.5rem + 5vw, 5rem);
  color: oklch(0.97 0.01 200); box-shadow: var(--sh-lg);
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 860px) { .finalcta__card { grid-template-columns: 1.4fr 0.6fr; } }
.finalcta__card::before {
  content: ""; position: absolute; inset: 0; opacity: 0.6;
  background: radial-gradient(50% 60% at 90% 10%, oklch(0.75 0.09 205 / 0.55), transparent 60%),
              radial-gradient(45% 55% at 5% 100%, oklch(0.55 0.12 50 / 0.4), transparent 60%);
}
.finalcta__copy { position: relative; z-index: 1; }
.finalcta h2 { color: oklch(0.99 0.006 90); margin-bottom: 1rem; }
.finalcta p { color: oklch(0.92 0.02 200); font-size: 1.12rem; max-width: 34rem; }
.finalcta__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.finalcta__actions .btn--ghost { background: oklch(0.99 0.005 90); }
.finalcta__pio { position: relative; z-index: 1; justify-self: center; width: auto; height: auto; max-width: min(100%, 230px); max-height: clamp(220px, 26vw, 300px); filter: drop-shadow(0 18px 24px oklch(0.2 0.05 210 / 0.4)); animation: float 6s var(--ease-out) infinite; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--teal-deep); color: oklch(0.88 0.02 200); padding-block: clamp(2.75rem, 2rem + 3vw, 4rem) 2rem; }
.footer__grid { display: grid; gap: 2.25rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer__brand img { height: 40px; margin-bottom: 1rem; }
.footer__brand p { color: oklch(0.85 0.02 200); font-size: 0.96rem; max-width: 30ch; }
.footer__mail { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.1rem; font-family: var(--font-head); font-weight: 600; color: oklch(0.95 0.01 200); }
.footer__mail:hover { color: var(--coral-lt); }
.footer__mail svg { width: 1.15rem; height: 1.15rem; }
.footer h4 { color: oklch(0.98 0.006 90); font-size: 1rem; margin-bottom: 1rem; font-weight: 600; }
.footer__links { display: grid; gap: 0.6rem; }
.footer__links a { color: oklch(0.85 0.02 200); font-size: 0.95rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--coral-lt); }
.footer__bottom {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid oklch(0.6 0.04 205 / 0.3);
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: 0.85rem; color: oklch(0.8 0.02 200);
}
.footer__made { display: inline-flex; align-items: center; gap: 0.35rem; }
.footer__pio { height: 30px; width: auto; }

/* ==========================================================================
   Botón flotante WhatsApp
   ========================================================================== */
.wa {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 70;
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: oklch(0.7 0.16 152); color: #fff;
  padding: 0.85rem 1.05rem; border-radius: var(--r-pill);
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  box-shadow: 0 12px 28px oklch(0.6 0.15 152 / 0.45);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.wa:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 34px oklch(0.6 0.15 152 / 0.55); }
.wa svg { width: 1.55rem; height: 1.55rem; flex: none; }
.wa__label { display: none; }
@media (min-width: 560px) { .wa__label { display: inline; } }
.wa::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  box-shadow: 0 0 0 0 oklch(0.7 0.16 152 / 0.5); animation: pulse 2.6s var(--ease-out) infinite;
}
@keyframes pulse { 0% { box-shadow: 0 0 0 0 oklch(0.7 0.16 152 / 0.5); } 70%,100% { box-shadow: 0 0 0 18px oklch(0.7 0.16 152 / 0); } }

/* ==========================================================================
   Checkout / configurador de tablet (modal)
   ========================================================================== */
.checkout { position: fixed; inset: 0; z-index: 90; display: none; }
.checkout.is-open { display: block; }
.checkout__overlay { position: absolute; inset: 0; background: oklch(0.25 0.03 220 / 0.55); backdrop-filter: blur(3px); animation: ck-fade 0.25s var(--ease-out); }
.checkout__panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: min(560px, 94vw); max-height: 92vh; overflow: hidden;
  background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  animation: ck-pop 0.35s var(--ease-out);
}
@keyframes ck-fade { from { opacity: 0; } }
@keyframes ck-pop { from { opacity: 0; transform: translate(-50%, -46%) scale(0.97); } }
.checkout__scroll { max-height: 92vh; overflow-y: auto; padding: clamp(1.4rem, 1rem + 2vw, 2.25rem); }
.checkout__close {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; background: var(--surface-2);
  color: var(--ink-2); display: grid; place-items: center; box-shadow: var(--sh-sm);
  transition: background 0.2s, transform 0.2s;
}
.checkout__close:hover { background: var(--bg-3); transform: rotate(90deg); }
.checkout__close svg { width: 20px; height: 20px; }
.checkout__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 1.9rem); margin: 0.7rem 0 0.5rem; }
.checkout__lead { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 1.5rem; }

.checkout__qty { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.stepper { display: inline-flex; align-items: center; gap: 0.25rem; background: var(--surface-2); border-radius: var(--r-pill); padding: 0.25rem; }
.stepper__btn { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); box-shadow: var(--sh-sm); font-size: 1.3rem; font-weight: 700; color: var(--teal-dk); display: grid; place-items: center; line-height: 1; transition: transform 0.15s, background 0.15s; }
.stepper__btn:hover { transform: scale(1.08); background: var(--teal-wash); }
.stepper__btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.stepper__val { min-width: 2ch; text-align: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; }

.checkout__items { display: grid; gap: 0.9rem; margin: 1.25rem 0; }
.citem { background: var(--surface-2); border-radius: var(--r-md); padding: 1.1rem 1.2rem; border: 1px solid var(--line-soft); }
.citem__head { font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; color: var(--ink); margin-bottom: 0.75rem; }
.citem__colors { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; margin-bottom: 0.85rem; }
.citem__colors .lbl { font-size: 0.9rem; color: var(--ink-soft); margin-right: 0.2rem; }
.swatch-btn { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 2px oklch(1 0 0 / 0.6), var(--sh-sm); transition: transform 0.15s; }
.swatch-btn:hover { transform: scale(1.12); }
.swatch-btn.is-active { box-shadow: inset 0 0 0 2px oklch(1 0 0 / 0.7), 0 0 0 3px var(--sw); }
.swatch-btn .nm { position: absolute; inset: 0; }
.citem__cname { font-size: 0.85rem; color: var(--ink-2); font-weight: 600; margin-left: 0.3rem; }
.citem__ins { display: flex; align-items: center; gap: 0.6rem; font-size: 0.95rem; color: var(--ink-2); cursor: pointer; user-select: none; }
.citem__ins input { width: 20px; height: 20px; accent-color: var(--teal-dk); flex: none; cursor: pointer; }
.citem__ins b { color: var(--teal-dk); font-family: var(--font-head); }

.checkout__terms { margin: 0.5rem 0 1.25rem; }
.checkout__terms summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--teal-dk); list-style: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.checkout__terms summary::-webkit-details-marker { display: none; }
.checkout__terms summary::before { content: "＋"; font-weight: 700; }
.checkout__terms[open] summary::before { content: "－"; }
.checkout__terms p { margin-top: 0.6rem; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }
.checkout__terms a { color: var(--teal-dk); font-weight: 600; text-decoration: underline; }

.checkout__summary { background: var(--teal-wash); border-radius: var(--r-md); padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; }
.checkout__row { display: flex; justify-content: space-between; gap: 1rem; padding: 0.3rem 0; color: var(--ink-2); font-size: 0.98rem; }
.checkout__row[hidden] { display: none; }
.checkout__row--total { border-top: 1px solid oklch(0.72 0.088 213 / 0.3); margin-top: 0.35rem; padding-top: 0.7rem; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.checkout__note { margin-top: 0.7rem; font-size: 0.82rem; color: var(--ink-soft); line-height: 1.5; }
/* Envío: zonas + nota */
.checkout__sub { font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; margin: 1.6rem 0 0.85rem; color: var(--ink); }
.checkout__zones { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.zone { position: relative; display: inline-flex; }
.zone input { position: absolute; opacity: 0; width: 0; height: 0; }
.zone span { display: inline-block; padding: 0.55rem 1rem; border-radius: var(--r-pill); background: var(--surface-2); border: 1.5px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 0.92rem; color: var(--ink-2); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.zone span:hover { border-color: var(--teal-lt); }
.zone input:checked + span { background: var(--teal-wash); border-color: var(--teal); color: var(--teal-deep); }
.zone input:focus-visible + span { outline: 3px solid var(--teal); outline-offset: 2px; }
.checkout__delivery { margin-top: 0.85rem; background: oklch(0.93 0.05 150 / 0.5); border-radius: var(--r-sm); padding: 0.8rem 1rem; font-size: 0.9rem; color: var(--ink-2); line-height: 1.55; }
.checkout__delivery b { color: var(--teal-deep); }
.checkout__delivery .free { color: var(--green); font-weight: 700; }
.checkout__status { margin: 0.7rem 0 0; font-size: 0.92rem; text-align: center; }
.checkout__status.is-ok { color: var(--green); font-weight: 600; }
.checkout__status.is-err { color: var(--coral-dk); font-weight: 600; }
body.no-scroll { overflow: hidden; }

/* Estado final de éxito dentro del modal */
.checkout__done { text-align: center; padding: 1rem 0; display: grid; gap: 0.75rem; place-items: center; }
.checkout__done .inst__sent-ic { margin: 0 auto; }
.checkout__done h3 { font-size: 1.4rem; }
.checkout__done p { color: var(--ink-soft); max-width: 34ch; margin: 0 auto; }

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-out-soft), transform 0.7s var(--ease-out-soft); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ==========================================================================
   Página legal
   ========================================================================== */
.legal { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.legal__wrap { max-width: 820px; margin-inline: auto; padding-inline: var(--pad-x); }
.legal__back { display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--font-head); font-weight: 600; color: var(--teal-dk); margin-bottom: 1.5rem; font-size: 0.95rem; }
.legal__back svg { width: 1.05rem; height: 1.05rem; }
.legal h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); margin-bottom: 0.6rem; }
.legal__updated { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 2rem; }
.legal__toc { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-md); padding: 1.4rem 1.6rem; margin-bottom: 2.5rem; box-shadow: var(--sh-sm); }
.legal__toc h2 { font-size: 1.1rem; margin-bottom: 0.8rem; }
.legal__toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.4rem; color: var(--ink-2); }
.legal__toc a { color: var(--ink-2); }
.legal__toc a:hover { color: var(--teal-dk); }
.legal__body h2 { font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem); margin: 2.5rem 0 0.9rem; scroll-margin-top: 90px; }
.legal__body h3 { font-size: 1.2rem; margin: 1.6rem 0 0.6rem; }
.legal__body p, .legal__body li { color: var(--ink-2); line-height: 1.7; }
.legal__body p { margin-bottom: 1rem; }
.legal__body ul { display: grid; gap: 0.55rem; margin: 0 0 1.2rem; padding-left: 0; }
.legal__body ul li { display: flex; gap: 0.6rem; }
.legal__body ul li::before { content: "•"; color: var(--teal); font-weight: 700; flex: none; }
.legal__body a { color: var(--teal-dk); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal__body strong { color: var(--ink); }
.legal__callout { background: var(--teal-wash); border-radius: var(--r-md); padding: 1.3rem 1.5rem; margin: 1.5rem 0; color: var(--ink-2); }
.legal__callout strong { color: var(--teal-deep); }

/* Utilidades */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.bg-teal { background: var(--teal); } .bg-teal-dk { background: var(--teal-dk); }
.bg-coral { background: var(--coral); } .bg-yellow { background: var(--yellow); }
.bg-green { background: var(--green); } .bg-pink { background: var(--pink); } .bg-grape { background: var(--grape); }
