/* ==========================================================================
   Gloria Sotelo — sistema de diseño
   Estilo: superficies planas, bordes finos, sombras mínimas (inspirado en Notion)
   Este archivo es compartido por todas las páginas del sitio.
   ========================================================================== */

/* ---------- Fuentes ----------
   Texto: Aileron (auto-alojada, licencia CC0).
   Títulos: Palatino (fuente del sistema en Mac, iOS y Windows; no se puede
   alojar sin licencia web, así que en Android cae a la serif del sistema). */
@font-face {
  font-family: "Aileron";
  src: url("../assets/fonts/aileron-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aileron";
  src: url("../assets/fonts/aileron-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Aileron";
  src: url("../assets/fonts/aileron-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aileron";
  src: url("../assets/fonts/aileron-latin-600-italic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Aileron";
  src: url("../assets/fonts/aileron-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ----------
   Paleta de la Guía Rápida de marca 2026:
   #F5F1EB · #E5DFD7 · #D5C8B9 · #887050 · #54473F · #333333
   Adicionales de uso habitual: #F4F0EE · #EDE8E1 · #F0EFED · #CDBAA2
   El verde y el rosa de "Es para ti si / No es para ti si" se mantienen a propósito.
   Colores propios de programas (para sus páginas):
     Calma      #F9F7F2 · #6F849B · #2C445C
     El Código  #E6EDE1 · #748B75 · #A0522D */
:root {
  /* Superficies */
  --bg: #ffffff;
  --bg-soft: #fbfaf8;
  --bg-hover: rgba(51, 51, 51, 0.05);

  /* Texto */
  --text: #333333;
  --text-2: #666059;
  --text-3: #958d84;

  /* Líneas */
  --line: rgba(84, 71, 63, 0.14);
  --line-strong: rgba(84, 71, 63, 0.24);

  /* Marca */
  --brand: #887050;
  --brand-ink: #887050;
  --brand-dark: #54473f;
  --cream: #f9f7f2;

  /* Tintes planos (tipo "callout") */
  --tint-beige: #ede8e1;
  --tint-beige-line: #d5c8b9;
  --tint-green: #eef3ec;
  --tint-green-line: #d9e4d5;
  --tint-green-ink: #47664a;
  --tint-rose: #faeeec;
  --tint-rose-line: #f0d9d5;
  --tint-rose-ink: #9a4f45;

  /* Forma */
  --radius-s: 4px;
  --radius: 8px;
  --radius-l: 12px;
  --shadow-s: 0 1px 2px rgba(15, 15, 15, 0.04);
  --shadow: 0 1px 2px rgba(15, 15, 15, 0.04), 0 3px 10px rgba(15, 15, 15, 0.04);
  --shadow-pop: 0 0 0 1px rgba(15, 15, 15, 0.05), 0 3px 6px rgba(15, 15, 15, 0.08),
    0 9px 24px rgba(15, 15, 15, 0.12);

  /* Tipografía */
  --sans: "Aileron", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica,
    Arial, sans-serif;
  --serif: Palatino, "Palatino Linotype", "Palatino LT STD", "Book Antiqua", "URW Palladio L", P052, Georgia, serif;

  /* Ritmo */
  --page: 1080px;
  --gutter: 24px;
  --section: 88px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

strong { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--radius-s);
}

[id] { scroll-margin-top: 80px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--page) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding-block: 56px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.split--media-narrow { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }

.stack > * + * { margin-top: 16px; }
.center { text-align: center; }
.measure { max-width: 620px; }
.center .measure, .measure.center { margin-inline: auto; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

.h1, .h2, .h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h1 { font-size: clamp(34px, 4.6vw, 52px); line-height: 1.12; }
.h2 { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.18; }
.h3 { font-size: 20px; line-height: 1.3; letter-spacing: -0.005em; }
.h1 em, .h2 em { font-style: italic; font-weight: 400; color: var(--brand-ink); }

.lead { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.muted { color: var(--text-2); }
p { text-wrap: pretty; }

.section-head { margin-bottom: 40px; }
.section-head .h2 + p { margin-top: 12px; }

.link {
  color: var(--brand-ink);
  text-decoration: underline;
  text-decoration-color: var(--tint-beige-line);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.link:hover { text-decoration-color: currentColor; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-s); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { background: var(--bg); border-color: var(--line-strong); color: var(--text); box-shadow: var(--shadow-s); }
.btn--ghost:hover { background: var(--tint-beige); }
.btn--light { background: var(--cream); color: var(--brand-dark); }
.btn--light:hover { background: #fff; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.center .actions { justify-content: center; }

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.topbar__logo img { height: 40px; width: auto; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--bg-hover); }
.nav__link svg { width: 12px; height: 12px; color: var(--text-3); }

.nav__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  padding: 6px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.12s ease, transform 0.12s ease, visibility 0.12s;
}
.nav__menu::before { content: ""; position: absolute; inset: -8px 0 auto 0; height: 8px; }
.nav__item:hover > .nav__menu,
.nav__item:focus-within > .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: block; padding: 7px 10px; border-radius: var(--radius-s); font-size: 14px; }
.nav__menu a:hover { background: var(--bg-hover); }
.nav__menu a[aria-current="page"] { background: var(--bg-hover); font-weight: 600; }
.nav__sep { display: block; height: 1px; margin: 6px 4px; background: var(--line); }
.nav__link[aria-current="page"], .nav__link--active { color: var(--brand-ink); }

.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero { padding-block: 72px 64px; }
.hero .lead + .lead { margin-top: 12px; }
.hero .h1 + .lead { margin-top: 20px; }

/* ---------- Bloque de diagrama ---------- */
.figure {
  padding: 28px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
}
.figure svg { width: 100%; height: auto; margin-inline: auto; }
.figure--narrow svg { max-width: 340px; }
.figure figcaption { margin-top: 16px; font-size: 13px; color: var(--text-3); text-align: center; }

.figure--bare { padding: 0; background: none; border: 0; }

/* Diagrama del hero: el triángulo se llena y la línea de superficie fluye */
.dg-fill { transform-box: fill-box; transform-origin: 50% 100%; animation: dg-fill 5s ease-in-out infinite; }
.dg-flow { animation: dg-flow 1.2s linear infinite; }
@keyframes dg-fill {
  0% { transform: scaleY(0); }
  45%, 85% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
@keyframes dg-flow { to { stroke-dashoffset: -8; } }

/* Diagrama del ciclo: la luz recorre los pasos del ciclo habitual y vuelve a
   empezar sin fin; el lado del Método Origen queda quieto */
.dg-step { fill: #e5dfd7; stroke: #cdbaa2; stroke-width: 1; opacity: 0; animation: dg-step 4s linear infinite; animation-delay: calc(var(--i) * 1s); }
@keyframes dg-step { 0% { opacity: 0; } 6%, 22% { opacity: 1; } 30%, 100% { opacity: 0; } }

.dg-label { font-family: var(--sans); font-size: 13px; fill: var(--text-2); }
.dg-strong { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; fill: var(--brand-dark); }
.dg-box { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1; }
.dg-box--on { fill: var(--brand); stroke: var(--brand); }
.dg-on { font-family: var(--sans); font-size: 13px; font-weight: 600; fill: #fff; }
.dg-line { fill: none; stroke: #cdbaa2; stroke-width: 1.25; }
.dg-line--brand { stroke: var(--brand); }
.dg-dash { stroke-dasharray: 4 4; }

/* ---------- Galería de fotos (carrusel continuo) ---------- */
.strip { overflow: hidden; }
.strip__track {
  display: flex;
  width: max-content;
  animation: strip-scroll 48s linear infinite;
}
.strip:hover .strip__track { animation-play-state: paused; }
.strip__track li {
  flex: none;
  width: clamp(150px, 15.5vw, 172px);
  margin-right: 12px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.strip__track img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.strip__track li:hover img { transform: scale(1.1); }
/* La pista contiene las fotos dos veces: al llegar a la mitad vuelve a empezar sin salto */
@keyframes strip-scroll { to { transform: translateX(-50%); } }

/* ---------- Listas ---------- */
.checks > li {
  position: relative;
  padding-left: 28px;
}
.checks > li + li { margin-top: 10px; }
.checks > li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 18px; height: 18px;
  background: currentColor;
  color: var(--brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5l3.2 3.2L14 5.8'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5l3.2 3.2L14 5.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.checks--no > li::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M5 5l8 8M13 5l-8 8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M5 5l8 8M13 5l-8 8'/%3E%3C/svg%3E");
}
.checks--dash > li::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M5 9h8'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round'%3E%3Cpath d='M5 9h8'/%3E%3C/svg%3E");
  color: var(--text-3);
}

/* Pasos numerados */
.steps { counter-reset: step; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); box-shadow: var(--shadow-s); }
.steps > li {
  counter-increment: step;
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px;
  font-size: 15px;
}
.steps > li + li { border-top: 1px solid var(--line); }
.steps > li::before {
  content: counter(step);
  flex: none;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: var(--radius-s);
  background: var(--tint-beige);
  color: var(--brand-ink);
  font-size: 12px; font-weight: 600;
}

/* Filas tipo base de datos */
.rows { border-top: 1px solid var(--line); }
.rows > li {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.rows strong { color: var(--text); }
.rows span { color: var(--text-2); }

/* ---------- Callout ---------- */
.callout {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  background: var(--tint-beige);
  border: 1px solid var(--tint-beige-line);
  border-radius: var(--radius);
  font-size: 15.5px;
}
.callout svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--brand); }

/* ---------- Tarjetas ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: 28px;
}
/* Tarjeta con fondo suave, para que destaque sobre una sección blanca */
.card--tint { background: #f4f0ee; border-color: #e5dfd7; box-shadow: none; }
.card--tint .pages { border-top-color: #e5dfd7; }
.card__title { margin-top: 6px; font-family: var(--serif); font-size: 24px; line-height: 1.2; font-weight: 400; color: var(--text); }
.card__title + p { margin-top: 10px; }
.card .checks { margin-top: 18px; font-size: 15px; }
.grid-2 + .grid-2 { margin-top: 20px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.card__icon {
  width: 44px; height: 44px;
  margin-bottom: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--tint-beige-line);
  background: #f5f1eb;
}
/* Tarjeta con el icono montado sobre el borde superior (mitad fuera, mitad dentro) */
.grid-2--icons { row-gap: 56px; padding-top: 35px; }
.card--icon { position: relative; padding-top: 56px; }
.card--icon .card__icon {
  position: absolute; top: -35px; left: 28px;
  width: 70px; height: 70px;
  margin: 0;
  border-radius: var(--radius-l);
  box-shadow: var(--shadow-s);
}

.card__label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--brand-ink);
  line-height: 1.5;
}
.card__label + p { margin-top: 10px; }
.card p { font-size: 15px; color: var(--text-2); }
.card p.card__intro { color: var(--text); }

/* Comparativa */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--bg); box-shadow: var(--shadow); overflow: hidden; }
.compare__col { padding: 24px 28px 28px; }
.compare__col + .compare__col { border-left: 1px solid var(--line); background: var(--tint-beige); }
.compare__col:first-child .card__label { color: var(--text-3); }
.compare__col:first-child li { color: var(--text-2); }
.compare .checks { margin-top: 16px; font-size: 15.5px; }
.compare__col + .compare__col li { font-weight: 600; }

/* Para quién */
.fit { padding: 26px 28px 28px; border-radius: var(--radius-l); border: 1px solid; font-size: 15.5px; }
.fit .tag { margin-bottom: 18px; }
.fit--yes { background: var(--tint-green); border-color: var(--tint-green-line); }
.fit--yes .checks > li::before { color: var(--tint-green-ink); }
.fit--no { background: var(--tint-rose); border-color: var(--tint-rose-line); }
.fit--no .checks > li::before { color: var(--tint-rose-ink); }
.fit .checks > li + li { margin-top: 12px; }

.tag {
  display: inline-flex; align-items: center;
  height: 24px; padding: 0 8px;
  border-radius: var(--radius-s);
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
}
.tag--green { background: #dbe8d7; color: var(--tint-green-ink); }
.tag--rose { background: #f3d8d3; color: var(--tint-rose-ink); }

/* Ruta de acompañamiento */
.path { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; }
.path li { display: inline-flex; align-items: center; gap: 8px; }
.path span {
  display: inline-flex; align-items: center; height: 30px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--bg);
  font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-s);
}
.path li + li::before { content: "→"; color: var(--text-3); font-size: 14px; }

/* Enlaces tipo "página" */
.pages { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.pages__title { font-size: 13px; color: var(--text-3); margin-bottom: 10px; }
.pages__list { display: flex; flex-wrap: wrap; gap: 8px; }
.page-link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 10px;
  border: 1px solid var(--line-strong); border-radius: 6px;
  background: var(--bg);
  font-size: 13.5px; font-weight: 600; color: var(--text);
  box-shadow: var(--shadow-s);
  transition: background-color 0.12s ease;
}
.page-link svg { width: 14px; height: 14px; color: var(--brand); }
a.page-link:hover { background: var(--bg-soft); }
.page-link--off { color: var(--text-3); box-shadow: none; border-style: dashed; }
.page-link--off svg { color: var(--text-3); }

/* ---------- Testimonios (capturas reales que rotan de tres en tres) ---------- */
.shots { max-width: 1000px; margin-inline: auto; }
.shots__set { display: grid; gap: 16px; }
.shots__set + .shots__set { margin-top: 16px; }
.shot {
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
}
.shot img { width: 100%; border-radius: var(--radius-s); }

/* Con JavaScript: los dos grupos ocupan el mismo espacio y se alternan */
.shots.is-rotating { display: grid; }
.shots.is-rotating .shots__set { grid-area: 1 / 1; margin: 0; align-content: center; pointer-events: none; }
.shots.is-rotating .shots__set.is-active { pointer-events: auto; }
.shots.is-rotating .shot { opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 0.9s ease, transform 0.9s ease; }
.shots.is-rotating .is-active .shot { opacity: 1; transform: none; }
.shots.is-rotating .is-active .shot:nth-child(2) { transition-delay: 0.25s; }
.shots.is-rotating .is-active .shot:nth-child(3) { transition-delay: 0.5s; }

@media (min-width: 761px) {
  .shots.is-rotating .shots__set { position: relative; display: block; height: 540px; }
  .shots.is-rotating .shot { position: absolute; width: 47%; }
  .shots__set:nth-child(1) .shot:nth-child(1) { left: 0; top: 0; }
  .shots__set:nth-child(1) .shot:nth-child(2) { right: 0; top: 150px; }
  .shots__set:nth-child(1) .shot:nth-child(3) { left: 5%; bottom: 0; }
  .shots__set:nth-child(2) .shot:nth-child(1) { right: 0; top: 0; }
  .shots__set:nth-child(2) .shot:nth-child(2) { left: 0; top: 120px; }
  .shots__set:nth-child(2) .shot:nth-child(3) { right: 5%; bottom: 0; }
}

/* ---------- Movimiento ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.card:hover, .gallery figure:hover { box-shadow: 0 2px 4px rgba(15, 15, 15, 0.05), 0 8px 22px rgba(15, 15, 15, 0.08); }

.photo { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius-l); border: 1px solid var(--line); }

/* ---------- Sobre Gloria ---------- */
.about__img { width: 100%; max-width: min(460px, 100%); margin-inline: auto; }

/* ---------- Galería (certificaciones) ---------- */
.gallery { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.gallery figure {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  overflow: hidden;
}
.gallery img { width: 100%; aspect-ratio: 900 / 637; object-fit: cover; border-bottom: 1px solid var(--line); }
.gallery figcaption { padding: 9px 11px 10px; font-size: 12.5px; line-height: 1.35; font-weight: 600; }
.gallery figcaption span { display: block; font-weight: 400; color: var(--text-3); }

.gallery figure.is-zoomable { cursor: zoom-in; }

/* Ampliación al hacer clic */
.lightbox {
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 12px;
  border: 0;
  border-radius: var(--radius-l);
  background: var(--bg);
  box-shadow: var(--shadow-pop);
  overflow: auto;
}
.lightbox::backdrop { background: rgba(15, 15, 15, 0.6); }
.lightbox[open] { animation: lightbox-in 0.2s ease; }
@keyframes lightbox-in { from { opacity: 0; transform: scale(0.97); } }
.lightbox__img { width: 100%; border-radius: var(--radius-s); border: 1px solid var(--line); }
.lightbox__caption { padding: 10px 4px 2px; font-size: 14px; color: var(--text-2); }
.lightbox__close {
  position: absolute; top: 20px; right: 20px;
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line-strong); border-radius: 6px;
  background: var(--bg); color: var(--text);
  box-shadow: var(--shadow-s);
  cursor: pointer;
}
.lightbox__close svg { width: 16px; height: 16px; }
.lightbox__close:hover { background: var(--bg-soft); }

/* ---------- FAQ (toggles) ---------- */
.faq { max-width: 760px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 16px 8px;
  margin-inline: -8px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: var(--bg-hover); }
.faq summary::before {
  content: "";
  flex: none;
  width: 20px; height: 20px; margin-top: 3px;
  background: var(--text-2);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 4.5l7 5.5-7 5.5z'/%3E%3C/svg%3E") center / 14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M7 4.5l7 5.5-7 5.5z'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.15s ease;
}
.faq details[open] summary::before { transform: rotate(90deg); }
.faq details p { padding: 0 0 20px 30px; color: var(--text-2); }

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
  padding: 36px 40px;
}
.form { display: grid; gap: 10px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.input {
  width: 100%; height: 40px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 6px;
  background: var(--bg);
  font: inherit; font-size: 15px; color: var(--text);
  box-shadow: inset 0 1px 1px rgba(15, 15, 15, 0.03);
}
.input::placeholder { color: var(--text-3); }
.input:focus { outline: 2px solid var(--brand); outline-offset: -1px; border-color: transparent; }
.form__note { font-size: 13px; color: var(--text-3); min-height: 1.4em; }
/* Aceptación del Aviso de Privacidad en formularios */
.form__legal { font-size: 12.5px; line-height: 1.5; color: var(--text-3); }
.form__legal a, .consent a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--text-2); cursor: pointer; }
.consent input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--brand); }

/* ---------- CTA final ---------- */
.cta {
  padding: 64px 32px;
  border-radius: var(--radius-l);
  background: var(--brand-dark);
  color: var(--cream);
  text-align: center;
}
.cta .h2 { color: var(--cream); }
.cta .h2 em { color: #cdbaa2; }
.cta p { margin-top: 12px; color: rgba(249, 247, 242, 0.78); }

/* ---------- Logos ---------- */
.logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logos li { display: grid; place-items: center; padding: 26px 24px; }
.logos img { max-height: 40px; width: auto; max-width: min(150px, 100%); object-fit: contain; opacity: 0.8; }

/* ---------- Pie ---------- */
.footer { background: var(--bg-soft); padding-block: 56px 28px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__logo img { height: 36px; width: auto; }
/* Newsletter en el pie de todas las páginas. El formulario es de Flodesk y no se estiliza:
   solo se le da la columna (la derecha) y su ancho. */
.footer__newsletter { margin-bottom: 52px; font-size: 16px; box-shadow: var(--shadow-s); }
.footer__newsletter .h2 { font-size: clamp(26px, 2.8vw, 32px); }
.footer__newsletter .muted { margin-top: 10px; max-width: 420px; }
.newsletter__form { min-width: 0; }
.newsletter__form .form__legal { margin-top: 10px; text-align: center; }
.footer__logo + p { margin-top: 14px; color: var(--text-2); max-width: 260px; }
.footer__grid h2 { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.footer li + li { margin-top: 2px; }
.footer li a { display: inline-block; padding: 3px 6px; margin-left: -6px; border-radius: var(--radius-s); color: var(--text); }
.footer li a:hover { background: var(--bg-hover); }
.footer address { font-style: normal; color: var(--text-2); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 13px; }
.social { display: flex; gap: 4px; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; color: var(--text-2); }
.social a:hover { background: var(--bg-hover); color: var(--text); }
.social svg { width: 17px; height: 17px; }

/* ---------- WhatsApp ---------- */
.whatsapp {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 16px 0 12px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  box-shadow: var(--shadow-pop);
  font-size: 14px; font-weight: 600;
}
.whatsapp svg { width: 22px; height: 22px; color: #25a35a; }
.whatsapp:hover { background: var(--bg-soft); }

/* ==========================================================================
   Páginas de venta (programas)
   ========================================================================== */
.btn--lg { height: 46px; padding: 0 20px; font-size: 15.5px; }
.btn--block { display: flex; width: 100%; }
/* Reserva de sesión 1:1 (Home y páginas de herramientas) */
.book { margin-top: 22px; }
.book__price { margin-bottom: 10px; font-size: 15px; color: var(--text-2); }
.book__price strong { color: var(--text); }
.book__note { margin-top: 8px; font-size: 13px; color: var(--text-3); text-align: center; }

/* Hero vertical de página de venta: titular, producto, promesa y botón en una sola columna */
.hero--stack { padding-block: 48px 72px; background: var(--bg-soft); }
.byline { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; padding: 5px 14px 5px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: 14px; color: var(--text-2); box-shadow: var(--shadow-s); }
.byline img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.byline strong { color: var(--text); }
.hero--stack .eyebrow { display: flex; justify-content: center; }
.h1--xl { max-width: 880px; margin: 14px auto 0; font-size: clamp(36px, 5.6vw, 64px); line-height: 1.08; }
.hero--stack .lead { margin-top: 20px; }
.hero__mockup { width: 100%; max-width: 720px; margin: 36px auto 0; }
.hero__promise { max-width: 760px; margin: 28px auto 0; font-family: var(--serif); font-size: clamp(22px, 2.8vw, 30px); line-height: 1.35; color: var(--text); }
/* Hero compacto: titular, producto y botón caben en la primera pantalla; el texto de apoyo va después */
.hero--tight { padding-block: 28px 64px; }
.hero--tight .byline { margin-bottom: 18px; }
.hero--tight .h1--xl { max-width: 820px; margin-top: 10px; font-size: clamp(30px, 4.4vw, 50px); }
.hero--tight .collage { max-width: 540px; margin-top: 24px; }
.hero--tight .actions { margin-top: 20px; }
.hero--tight .hero__proof { margin-top: 12px; }
.hero--tight .lead { margin-top: 36px; }
.facts--center { justify-content: center; text-align: left; }
.hero--stack .facts li { background: var(--bg); }
.btn--xl { height: 58px; padding: 0 34px; font-size: 18px; border-radius: var(--radius); }
.hero--stack .actions { margin-top: 24px; }
.hero__proof { margin-top: 16px; font-size: 14px; color: var(--text-2); }

/* Botón verde de compra y juego de precios */
.btn--go { background: #4f8a45; color: #fff; box-shadow: var(--shadow-s); }
.btn--go:hover { background: #437539; }
.pricing { margin: 28px auto; text-align: center; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); }
.pricing__was { font-size: clamp(22px, 3vw, 30px); }
.pricing__was s { color: #b4412d; text-decoration-thickness: 3px; }
.pricing__now { margin-top: 6px; font-size: clamp(32px, 5vw, 52px); }
.pricing__now strong { font-weight: 700; color: #4f8a45; }
.hero__photo { width: 100%; max-width: 440px; margin-inline: auto; border-radius: var(--radius-l); }

/* Datos clave bajo el titular, tipo "propiedades" */
.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.facts li {
  padding: 9px 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft);
  font-size: 15px; font-weight: 600; line-height: 1.35;
}
.facts span { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); }

.pains { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.pains li { padding: 8px 14px; border: 1px dashed var(--line-strong); border-radius: 999px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--brand); }
.callout--center { justify-content: center; margin: 28px auto 0; text-align: center; }

/* Dolores en voz de la clienta */
.voices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.voices li {
  padding: 20px 22px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l) var(--radius-l) var(--radius-l) 2px;
  box-shadow: var(--shadow-s);
  font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--text);
}
.pulls.pulls--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pulls.pulls--3 .pull blockquote { font-size: 19px; }

/* Línea de tiempo del proceso */
.timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: tl; }
.timeline li { position: relative; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); font-size: 15px; }
.timeline li::before { counter-increment: tl; content: counter(tl); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 14px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; }
.timeline p + p { margin-top: 8px; }
.timeline li > p:not(.module__n) { color: var(--text-2); }
.features--tint .feature { background: #f4f0ee; border-color: #e5dfd7; box-shadow: none; }

/* Caja de oferta */
.offer { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; max-width: 860px; margin: 0 auto 20px; padding: 28px 32px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-l); font-size: 15px; }
.offer .checks { margin-top: 14px; }
.offer__quote { max-width: 860px; margin: 0 auto 20px; text-align: center; font-family: var(--serif); font-style: italic; font-size: 19px; color: var(--text); }
.offer__quote footer { margin-top: 4px; font-family: var(--sans); font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.terms { max-width: 860px; margin: 20px auto 0; display: grid; gap: 8px; padding: 18px 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-size: 14.5px; color: var(--text-2); }
.terms strong { color: var(--text); }

/* Citas cortas */
.pulls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pull { padding: 26px 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); }
.pull blockquote { font-family: var(--serif); font-size: 21px; line-height: 1.4; color: var(--text); }
.pull footer { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.quote__avatar { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--tint-beige); border: 1px solid var(--tint-beige-line); color: var(--brand); font-size: 12px; font-weight: 700; }

/* Módulos del método */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.module { padding: 24px; background: #f4f0ee; border: 1px solid #e5dfd7; border-radius: var(--radius-l); font-size: 15px; }
.module__n { font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brand); }
.module .card__title { margin-top: 4px; }
.module p + p { margin-top: 8px; }
.module__why { font-weight: 600; }

/* Qué incluye: imagen + texto, alternando lado */
.features { display: grid; gap: 20px; }
.feature {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; align-items: center;
  padding: 32px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow);
}
.feature:nth-child(even) > img { order: 2; }
.feature > img { width: 100%; max-width: 300px; margin-inline: auto; }
.features { max-width: 900px; margin-inline: auto; }
.feature:nth-child(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.feature p { color: var(--text-2); }
.feature .checks { margin-top: 16px; font-size: 15px; }

/* Bonos */
.bonuses { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.bonus { grid-column: span 2; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); font-size: 15px; }
.bonus:nth-child(4) { grid-column: 2 / span 2; }
.bonus__img { display: grid; place-items: center; height: 200px; margin-bottom: 20px; border-radius: var(--radius); background: #f4f0ee; }
.bonus__img img { max-height: 172px; width: auto; }
.bonus p:last-child { color: var(--text-2); }

/* Planes */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 860px; margin-inline: auto; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px; background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-l); box-shadow: var(--shadow); }
.plan--featured { background: #f4f0ee; border-color: var(--brand); }
.plan__price { margin-top: 10px; font-family: var(--serif); font-size: 46px; line-height: 1.1; color: var(--text); }
.plan__price span { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--text-2); }
.plan__note { margin-top: 4px; font-size: 14px; color: var(--text-2); }
.plan .checks { margin: 24px 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15.5px; }
.plan__tagline { margin-top: auto; padding-bottom: 20px; font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--brand); }
.plan__pay { margin-top: 24px; font-size: 14px; color: var(--text-2); }

/* Notas internas del borrador: se eliminan antes de publicar */
.note { max-width: 860px; margin: 0 auto 28px; padding: 20px 24px; border: 1px dashed #d9b84a; border-radius: var(--radius); background: #fdf6dc; color: #4d3f0c; font-size: 15px; text-align: left; }
.note__title { margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: #6b5200; }
.note ol { margin: 10px 0; padding-left: 22px; list-style: decimal; }
.note li + li { margin-top: 6px; }
.todo { padding: 2px 6px; border-radius: var(--radius-s); background: #fbe9b7; color: #6b5200; font-size: 14px; }

/* Barra fija de compra: aparece al pasar el hero y se oculta al llegar a los planes */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}
.buybar.is-visible { transform: none; }
.buybar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.buybar p { font-size: 15px; }
.buybar span { color: var(--text-2); }
.whatsapp { transition: bottom 0.25s ease; }
body.has-buybar .whatsapp { bottom: 80px; }
body:has(.buybar) .footer { padding-bottom: 92px; }

/* Señales ("es para ti porque") con icono */
.signs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.signs li { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-l); font-size: 16.5px; font-weight: 600; line-height: 1.4; }
/* El círculo va en un contenedor aparte: redondear la propia imagen recortaría el dibujo */
.signs__icon { flex: none; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-s); }
.signs img { width: 40px; height: 40px; }
.signs__last { max-width: 700px; margin: 28px auto 0; text-align: center; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; color: var(--brand-dark); }
.pull__photo { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.pricing__alt { margin-top: 8px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: var(--text-2); }

/* Collage del hero: mockups superpuestos con etiquetas flotantes.
   Todo se mide en "cqw" (porcentaje del ancho del collage) para que escale igual en móvil. */
.collage { position: relative; container-type: inline-size; width: 100%; max-width: 700px; aspect-ratio: 700 / 400; margin: 44px auto 0; }
.collage > img { position: absolute; height: auto; filter: drop-shadow(0 2cqw 3cqw rgba(20, 30, 45, 0.14)); }
.collage__back { width: 80%; left: 13%; top: 0; }
.collage__left { width: 42%; left: 0; bottom: 0; }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 1.2cqw; margin: 0; font-size: 1.9cqw; line-height: 1.3; white-space: nowrap; text-align: left; box-shadow: 0 1cqw 2.4cqw rgba(20, 30, 45, 0.14); }
.chip--card { padding: 1.4cqw 2cqw; border-radius: 2cqw; background: #fff; color: var(--text-2); }
.chip--card strong { color: var(--text); font-weight: 700; }
.chip--audio { left: 44%; bottom: 3%; }
.chip__play { flex: none; width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: var(--brand-dark); position: relative; }
.chip__play::after { content: ""; position: absolute; left: 54%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: 0.9cqw 0 0.9cqw 1.5cqw; border-color: transparent transparent transparent #fff; }
.chip__wave { display: inline-flex; align-items: center; gap: 0.5cqw; height: 3.4cqw; }
.chip__wave i { width: 0.5cqw; border-radius: 1cqw; background: var(--brand); animation: wave 1.4s ease-in-out infinite; }
.chip__wave i:nth-child(1) { height: 35%; } .chip__wave i:nth-child(2) { height: 70%; animation-delay: .15s; } .chip__wave i:nth-child(3) { height: 100%; animation-delay: .3s; }
.chip__wave i:nth-child(4) { height: 55%; animation-delay: .45s; } .chip__wave i:nth-child(5) { height: 85%; animation-delay: .6s; } .chip__wave i:nth-child(6) { height: 45%; animation-delay: .75s; } .chip__wave i:nth-child(7) { height: 25%; animation-delay: .9s; }
@keyframes wave { 50% { transform: scaleY(0.45); } }

/* ==========================================================================
   Tema CALMA — paleta propia del programa: #F9F7F2 · #6F849B · #2C445C
   ========================================================================== */
.theme-calma {
  --brand: #6f849b;
  --brand-ink: #6f849b;
  --brand-dark: #2c445c;
  --bg-soft: #f9f7f2;
  --tint-beige: #e9eef3;
  --tint-beige-line: #cdd7e1;
}
.theme-calma .btn--primary { background: #2c445c; }
.theme-calma .btn--primary:hover { background: #223548; }
.theme-calma .btn--light { color: #2c445c; }
.theme-calma .cta .h2 em { color: #b9c8d8; }
.theme-calma .features--tint .feature,
.theme-calma .plan--featured { background: #f1f4f7; border-color: #cdd7e1; }
.theme-calma .plan--featured { border-color: #6f849b; }
.theme-calma .h1 em, .theme-calma .h2 em { color: #6f849b; }

/* ==========================================================================
   Contacto
   ========================================================================== */
.hero--contact { padding-block: 56px 72px; }
.hero--contact .btn svg { width: 18px; height: 18px; }

.routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.route { display: flex; flex-direction: column; padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); font-size: 15px; transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.route:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.route__q { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.35; color: var(--brand); }
.route .card__title { margin-top: 12px; font-size: 21px; }
.route > p:not(.route__q) { margin-top: 6px; color: var(--text-2); }
.route .pages__list { margin-top: auto; padding-top: 18px; }
.route--ask { background: #f4f0ee; border-color: #e5dfd7; box-shadow: none; }

.split--contact { align-items: start; }
.contact-list { display: grid; gap: 14px; margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; }
.contact-list span { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); }
.field { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.input--area { height: auto; min-height: 130px; padding: 10px 12px; resize: vertical; line-height: 1.5; }

/* Paleta propia del podcast: #6D1C1B · #F9F7F2 */
.podcast { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; align-items: center; padding: 40px; background: #6d1c1b; border-radius: var(--radius-l); color: #f9f7f2; }
.podcast .h2 { color: var(--cream); margin-top: 14px; }
.podcast .h2 em { color: #f9f7f2; }
.podcast p { color: rgba(249, 247, 242, 0.8); }
.podcast__body > p:not(.tag) { margin-top: 12px; }
.podcast .btn--ghost { background: transparent; border-color: rgba(249, 247, 242, 0.35); color: var(--cream); box-shadow: none; }
.podcast .btn--ghost:hover { background: rgba(249, 247, 242, 0.08); }
.podcast .btn--primary { background: #f9f7f2; color: #6d1c1b; }
.podcast .btn--primary:hover { background: #fff; }
.podcast .note { color: #4d3f0c; }
.podcast .note p { color: #4d3f0c; }
.podcast__art { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 300px; width: 100%; margin-inline: auto; border-radius: var(--radius-l); background: radial-gradient(circle at 50% 40%, #8a2a28, #4f1312); }
.podcast__art img { width: 46%; height: auto; border-radius: 50%; border: 4px solid rgba(249, 247, 242, 0.85); }
.podcast__wave { position: absolute; left: 0; right: 0; bottom: 14%; display: flex; justify-content: center; align-items: center; gap: 5px; height: 34px; }
.podcast__wave i { width: 4px; border-radius: 4px; background: #f9f7f2; animation: wave 1.4s ease-in-out infinite; }
.podcast__wave i:nth-child(odd) { height: 60%; } .podcast__wave i:nth-child(3n) { height: 100%; animation-delay: .3s; } .podcast__wave i:nth-child(4n) { height: 35%; animation-delay: .6s; } .podcast__wave i:nth-child(even) { height: 80%; animation-delay: .15s; }
.podcast .tag--season { background: #f9f7f2; color: #6d1c1b; }

/* ==========================================================================
   Libro
   ========================================================================== */
.hero--book .book-hero { width: auto; max-width: 100%; height: 300px; margin: 22px auto 0; filter: drop-shadow(0 18px 30px rgba(40, 30, 20, 0.18)); }
.hero--book .rating { margin-top: 18px; }
.hero--book .lead { margin-top: 18px; }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14.5px; color: var(--text-2); }
.rating--center { display: flex; justify-content: center; margin-top: 0; }
.rating strong { color: var(--text); }
.stars { width: 92px; height: 17px; }
.modules--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.modules--five .module__n { font-family: var(--serif); font-size: 26px; letter-spacing: 0; color: var(--brand); }

/* ==========================================================================
   Podcast — paleta propia: #6D1C1B · #F9F7F2
   ========================================================================== */
.pod-hero { padding-block: 48px 72px; background: #6d1c1b; color: #f9f7f2; }
.pod-hero--stack { padding-block: 32px 64px; }
.pod-hero--stack .byline { margin-inline: auto; margin-bottom: 14px; }
.pod-hero--stack .h1--xl { margin-top: 12px; font-size: clamp(34px, 5vw, 56px); }
.pod-cover { width: 260px; height: 260px; margin: 22px auto 0; border-radius: var(--radius-l); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35); }
.pod-hero--stack .actions { justify-content: center; margin-top: 22px; }
.pod-hero--stack .lead { margin-top: 28px; }
.pod-hero--stack .notify { margin-inline: auto; }

/* Página del podcast: secciones alternas borgoña y crema */
.theme-podcast .pod-light { background: #f9f7f2; }
.theme-podcast .pod-dark { background: #6d1c1b; color: #f9f7f2; }
.pod-dark .h2, .pod-dark .h2 em, .pod-dark .eyebrow { color: #f9f7f2; }
.pod-dark .section-head .lead { color: rgba(249, 247, 242, 0.82); }
.pod-dark .timeline li, .pod-dark .card { color: var(--text); }
.theme-podcast .pod-light .btn--primary, .theme-podcast .card .btn--primary { background: #6d1c1b; }
.theme-podcast .pod-light .btn--primary:hover, .theme-podcast .card .btn--primary:hover { background: #561514; }
.theme-podcast .h2 em, .theme-podcast .eyebrow { color: #6d1c1b; }
.theme-podcast .pod-dark .h2 em, .theme-podcast .pod-dark .eyebrow { color: #f4d7c9; }
.theme-podcast .footer { background: #f9f7f2; }
.theme-podcast .grid-2 .card { display: flex; flex-direction: column; }
.form--bottom { margin-top: auto; padding-top: 18px; }
.pod-callout { margin-top: 32px; background: rgba(249, 247, 242, 0.1); border-color: rgba(249, 247, 242, 0.25); color: #f9f7f2; }
.pod-callout .link { color: #f4d7c9; }
.cascade--center { max-width: 640px; margin-inline: auto; }
.pod-light .cascade { -webkit-mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(transparent, #000 7%, #000 93%, transparent); }
.pod-light .ep { background: #fff; border: 1px solid #ecdcd6; box-shadow: 0 4px 14px rgba(109, 28, 27, 0.08); }
.ep { position: relative; }
.ep__pick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; }
.ep__pick em { font-family: var(--serif); color: #6d1c1b; }
.ep__pick a { position: relative; z-index: 1; padding: 2px 8px; border-radius: 999px; background: #f4ece9; color: #6d1c1b; font-weight: 600; }
.ep__pick a:hover { background: #ecdcd6; }
.ep__cover-link::after { content: ""; position: absolute; inset: 0; }
.pod-hero .byline { display: flex; width: max-content; max-width: 100%; margin-bottom: 18px; }
.pod-hero .tag--season { background: #f9f7f2; color: #6d1c1b; }
.pod-hero .h1 { margin-top: 14px; color: #f9f7f2; }
.pod-hero .h1 em { color: #f9f7f2; }
.pod-hero .lead { margin-top: 16px; color: rgba(249, 247, 242, 0.82); }
.pod-hero .btn svg { width: 18px; height: 18px; }
.pod-hero .btn--primary { background: #f9f7f2; color: #6d1c1b; }
.pod-hero .btn--primary:hover { background: #fff; }
.pod-hero .btn--ghost { background: transparent; color: #f9f7f2; border-color: rgba(249, 247, 242, 0.35); box-shadow: none; }
.pod-hero .btn--ghost:hover { background: rgba(249, 247, 242, 0.08); }
.notify { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; max-width: 460px; }
.notify label { flex: 1 1 200px; }
.notify .input { background: rgba(249, 247, 242, 0.96); border-color: transparent; }
.notify .btn--light { background: #f4d7c9; color: #6d1c1b; }
.notify .form__note { flex-basis: 100%; color: rgba(249, 247, 242, 0.75); }
.notify .form__legal { flex-basis: 100%; color: rgba(249, 247, 242, 0.7); }
.notify .form__legal a { color: #f9f7f2; }

/* Cascada vertical de episodios: suben de uno en uno, en bucle */
.cascade { position: relative; height: 444px; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent); }
.cascade__track { display: grid; gap: 12px; padding-block: 12px; }
.cascade__track.is-moving { transition: transform 0.9s cubic-bezier(0.45, 0, 0.2, 1); }
.ep { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: center; height: 136px; padding: 12px; border-radius: var(--radius-l); background: #f9f7f2; color: #3a1312; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); text-decoration: none; transition: transform 0.2s ease; }
.ep:hover { transform: translateX(4px); }
.ep img { width: 96px; height: 96px; border-radius: var(--radius); object-fit: cover; }
.ep__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #6d1c1b; }
.ep__new { padding: 2px 7px; border-radius: 4px; background: #6d1c1b; color: #f9f7f2; letter-spacing: 0.04em; }
.ep__title { margin-top: 4px; font-family: var(--serif); font-size: 18px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ep__foot { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 13px; color: #7a5a58; }
.ep__kw { padding: 2px 8px; border-radius: 999px; border: 1px dashed #6d1c1b; color: #6d1c1b; font-weight: 600; }

.picks { display: grid; gap: 16px; max-width: 900px; margin-inline: auto; }
.pick { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); }
.pick img { width: 140px; height: 140px; border-radius: var(--radius); object-fit: cover; }
.pick .card__title { margin-top: 6px; font-size: 21px; }
.pick__meta { margin-top: 4px; font-size: 13.5px; color: var(--text-3); }
.pick .pages__list { margin-top: 14px; }
.page-link--soft { background: #f4f0ee; border-color: #e5dfd7; }
.theme-podcast .route__q { color: #6d1c1b; }
.timeline--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 960px; margin-inline: auto; }
.theme-podcast .timeline li::before { background: #6d1c1b; }
.pod-quote { margin-top: 20px; padding: 16px 20px; border-left: 3px solid #6d1c1b; background: var(--bg-soft); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--serif); font-style: italic; font-size: 19px; }
.pod-quote footer { margin-top: 6px; font-family: var(--sans); font-style: normal; font-size: 13px; font-weight: 600; color: var(--text-2); }

/* ==========================================================================
   Tema El Código — paleta propia: #E6EDE1 · #748B75 · #A0522D
   ========================================================================== */
.theme-codigo {
  --brand: #a0522d;
  --brand-ink: #a0522d;
  --brand-dark: #3f5240;
  --bg-soft: #f2f5ef;
  --tint-beige: #e6ede1;
  --tint-beige-line: #cfdcc6;
}
.theme-codigo .btn--primary { background: #5f775f; }
.theme-codigo .btn--primary:hover { background: #4d634e; }
.theme-codigo .btn--go { background: #a0522d; }
.theme-codigo .btn--go:hover { background: #874424; }
.theme-codigo .btn--light { color: #3f5240; }
.theme-codigo .h1 em, .theme-codigo .h2 em { color: #a0522d; }
.theme-codigo .cta .h2 em { color: #e6ede1; }
.theme-codigo .features--tint .feature, .theme-codigo .plan--featured { background: #f2f5ef; border-color: #cfdcc6; }
.theme-codigo .plan--featured { border-color: #748b75; }
.theme-codigo .pricing__now strong { color: #3f5240; }
.theme-codigo .pricing__now { color: #3f5240; }
.code-hero { width: 100%; max-width: 430px; margin: 20px auto 0; border-radius: var(--radius-l); }
.voices--list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.voices--list li { font-size: 18px; }
.chain { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 32px; counter-reset: none; }
.chain li { display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid #cfdcc6; font-family: var(--serif); font-style: italic; font-size: 19px; color: #3f5240; animation: chain-glow 6s ease-in-out infinite; }
.chain li:nth-child(2) { animation-delay: 1.5s; } .chain li:nth-child(3) { animation-delay: 3s; } .chain li:nth-child(4) { animation-delay: 4.5s; }
.chain li + li::before { content: "→"; margin-left: -28px; margin-right: 8px; font-style: normal; color: #a0522d; }
@keyframes chain-glow { 0%, 30%, 100% { background: #fff; } 10%, 20% { background: #e6ede1; border-color: #748b75; } }
.chain__end { max-width: 720px; margin: 28px auto 0; font-family: var(--serif); font-size: clamp(20px, 2.4vw, 26px); line-height: 1.35; text-align: center; }
.stages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stage { position: relative; padding: 26px; background: #fff; border: 1px solid #cfdcc6; border-radius: var(--radius-l); font-size: 15px; }
.stage .card__title { margin-top: 4px; font-size: 24px; }
.stage p { margin-top: 8px; color: var(--text-2); }
.stage__result { padding-top: 12px; border-top: 1px dashed #cfdcc6; color: var(--text) !important; font-weight: 600; }
.stage__result span { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #a0522d; }
.ticker { margin-top: 24px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker__track { display: flex; gap: 12px; width: max-content; animation: strip-scroll 40s linear infinite; }
.ticker__track li { flex: none; padding: 10px 16px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: 14.5px; }
.ticker__track strong { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: 16px; }
.ticker__track span { color: var(--text-3); font-size: 13px; }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ==========================================================================
   Términos y Condiciones
   ========================================================================== */
.hero--legal { padding-block: 56px 64px; }
.hero--legal .lead { max-width: 680px; }
.i-down { transform: rotate(90deg); }
.legal-docs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 620px; margin: 28px auto 0; text-align: left; }
.legal-doc { position: relative; display: grid; gap: 2px; padding: 16px 48px 16px 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.legal-doc:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.legal-doc span { font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); }
.legal-doc strong { font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.3; color: var(--text); }
.legal-doc svg { position: absolute; right: 18px; top: 50%; width: 16px; height: 16px; margin-top: -8px; color: var(--brand); }
.legal__print--hero { margin: 20px 0 0; }

.legal-summary { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; padding: 40px; background: #f4f0ee; border: 1px solid #e5dfd7; border-radius: var(--radius-l); }
.legal-summary .checks { font-size: 15.5px; }
.legal-summary .checks > li + li { margin-top: 14px; }
.legal-summary .checks a { display: inline-block; margin-left: 4px; font-size: 13px; font-weight: 600; color: var(--brand); white-space: nowrap; }
.legal-summary .checks a:hover { text-decoration: underline; text-underline-offset: 3px; }

.legal { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 48px; align-items: start; }
.legal__toc { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; font-size: 14px; }
.legal__toc ol + .legal__toc-title { margin-top: 22px; }
.legal__toc-title { margin: 0 0 8px 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.legal__toc a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 10px; border-radius: 6px; color: var(--text-2); transition: background-color 0.12s ease, color 0.12s ease; }
.legal__toc a span { flex: none; font-size: 12.5px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.legal__toc a:hover { background: var(--bg-hover); color: var(--text); }
.legal__toc a[aria-current] { background: var(--tint-beige); color: var(--text); font-weight: 600; }
.legal__print { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0 10px; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--brand); cursor: pointer; }
.legal__print svg { width: 16px; height: 16px; }
.legal__print:hover { text-decoration: underline; text-underline-offset: 3px; }

.legal__docs { display: grid; gap: 28px; min-width: 0; }
.legal__doc { max-width: 780px; padding: 48px 52px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); }
.legal__title { margin-top: 8px; font-size: clamp(26px, 3vw, 34px); }
.legal__updated { margin-top: 6px; font-size: 13.5px; color: var(--text-3); }
.legal__intro { margin-top: 18px; font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--text); }
.legal__text { margin-top: 12px; line-height: 1.7; }
.legal__text > * + * { margin-top: 12px; }
.legal__text .checks > li + li { margin-top: 8px; }
.legal__group { margin-top: 40px; }
.legal__group .h3 { font-size: 22px; }
.clauses { display: grid; gap: 16px; margin-top: 16px; }
.clauses > li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; line-height: 1.7; }
.clause__n { font-family: var(--serif); font-size: 17px; line-height: 1.6; color: var(--brand); font-variant-numeric: tabular-nums; }
.clause--key { margin-inline: -16px; padding: 14px 16px; background: var(--tint-beige); border-radius: var(--radius); }

.legal__help { display: flex; align-items: center; gap: 18px; max-width: 780px; padding: 22px 24px; background: #f4f0ee; border: 1px solid #e5dfd7; border-radius: var(--radius-l); }
.legal__help > svg { flex: none; width: 30px; height: 30px; color: var(--brand); }
.legal__help p { margin-top: 2px; font-size: 15px; color: var(--text-2); }
.legal__help .btn { flex: none; margin-left: auto; }

/* ==========================================================================
   Sesiones 1:1 (Descodificación Biológica, Hipnosis clínica RTT®)
   ========================================================================== */
.hero--session { padding-block: 40px 64px; }
.hero--session .byline { margin-bottom: 18px; }
.callout--origin { max-width: 640px; margin: 24px auto 0; padding: 18px 20px; background: #f4f0ee; border-color: #d5c8b9; text-align: left; font-size: 15.5px; }
.book--row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 24px; }
.book--row > .book__price { margin: 0; font-size: 16px; }
.cta .book--row > .book__price, .cta .book__price strong { color: var(--cream); }
.cta .book__note { color: rgba(249, 247, 242, 0.7); }
.photo-tall { width: 100%; max-width: 420px; margin-inline: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-l); }
.split--start { align-items: start; }
.myths { max-width: 860px; margin-inline: auto; }
.myths .checks > li + li { margin-top: 14px; }
.session { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: ses; }
.session li { position: relative; padding: 22px 20px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-s); font-size: 15px; }
.session li::before { counter-increment: ses; content: counter(ses, decimal-leading-zero); display: block; font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--brand); }
.session__time { margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-3); }
.session .card__title { margin-top: 4px; font-size: 19px; }
.session li > p:last-child { margin-top: 8px; color: var(--text-2); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  :root { --section: 64px; }
  .split, .split--media-narrow { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .split--media-first-mobile > :last-child { order: -1; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .newsletter { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .modules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modules--five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero--book .book-hero { height: 240px; }
  .timeline, .voices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline--3 { grid-template-columns: minmax(0, 1fr); }
  .stages { grid-template-columns: minmax(0, 1fr); }
  .chain li + li::before { display: none; }
  .podcast { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px; }
  .podcast__art { max-width: 220px; }
  .session { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .legal-summary { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px; }
  .legal { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .legal__toc { position: static; padding: 16px 10px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-l); }
  .legal__toc ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
  .legal__doc { max-width: none; }
  .signs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pulls.pulls--3 { grid-template-columns: minmax(0, 1fr); }
  .feature, .feature:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .feature > img { max-width: 260px; }
  .feature:nth-child(even) > img { order: 0; }
  .bonuses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bonus, .bonus:nth-child(4) { grid-column: auto; }

  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15, 15, 15, 0.06);
    max-height: calc(100vh - 60px); overflow: auto;
  }
  .nav.is-open { display: flex; }
  .nav__link { width: 100%; height: 40px; font-size: 15px; }
  button.nav__link { color: var(--text-3); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; cursor: default; margin-top: 8px; }
  button.nav__link:hover, .nav__item:focus-within > button.nav__link { background: none; }
  button.nav__link svg { display: none; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0; min-width: 0; }
  .nav__menu a { padding: 9px 10px; font-size: 15px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section: 56px; }
  .hero { padding-block: 40px 48px; }
  .lead { font-size: 17px; }
  .grid-2, .compare { grid-template-columns: minmax(0, 1fr); }
  .compare__col + .compare__col { border-left: 0; border-top: 1px solid var(--line); }
  .card, .fit, .compare__col { padding: 22px; }
  .card--icon { padding-top: 54px; }
  .card--icon .card__icon { left: 22px; }
  .figure { padding: 20px; }
  .strip { margin-inline: calc(var(--gutter) * -1); }
  .strip__track li { width: 40vw; }
  .strip__track { animation-duration: 40s; }
  .rows > li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .photo { aspect-ratio: 4 / 3; }
  .logos li { padding: 22px 18px; }
  .topbar__logo img { height: 36px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .form__row { grid-template-columns: 1fr; }
  .path { justify-content: flex-start; }
  .logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cta { padding: 48px 22px; }
  .pulls, .pulls.pulls--3, .modules, .plans, .bonuses, .timeline, .voices, .offer { grid-template-columns: minmax(0, 1fr); }
  .offer { padding: 22px; gap: 22px; }
  .signs { grid-template-columns: minmax(0, 1fr); }
  .routes { grid-template-columns: minmax(0, 1fr); }
  .pick { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .pick img { width: 88px; height: 88px; }
  .pod-hero { padding-block: 32px 48px; }
  .cascade { height: 410px; }
  .ep { grid-template-columns: 80px minmax(0, 1fr); height: 116px; }
  .ep img { width: 80px; height: 80px; }
  .ep__title { font-size: 16.5px; }
  .modules--five { grid-template-columns: minmax(0, 1fr); }
  .podcast { padding: 22px; }
  .session { grid-template-columns: minmax(0, 1fr); }
  .book--row .btn { width: 100%; }
  .hero--legal { padding-block: 32px 48px; }
  .legal-docs { grid-template-columns: minmax(0, 1fr); }
  .legal-summary { padding: 22px; }
  .legal__toc ol { grid-template-columns: minmax(0, 1fr); }
  .legal__doc { padding: 26px 20px; }
  .legal__intro { font-size: 18px; }
  .clauses > li { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; font-size: 15.5px; }
  .clause--key { margin-inline: -10px; padding: 12px 10px; }
  .legal__help { flex-direction: column; align-items: flex-start; padding: 20px; }
  .legal__help .btn { width: 100%; margin-left: 0; }
  .voices li { font-size: 18px; }
  .pull blockquote { font-size: 19px; }
  .feature, .plan, .pull { padding: 22px; }
  .buybar span { display: none; }
  .buybar p { font-size: 14px; }
  .btn--lg { width: 100%; }
  .btn--xl { width: 100%; padding: 0 18px; font-size: 16.5px; }
  .hero--stack { padding-block: 32px 48px; }
  .hero--tight { padding-block: 20px 48px; }
  .hero--tight .byline { margin-bottom: 14px; }
  .hero--tight .collage { margin-top: 18px; }
  .hero--tight .actions { margin-top: 16px; }
  .byline { font-size: 13px; }
  .facts li { flex: 1 1 auto; }
  .whatsapp span { display: none; }
  .whatsapp { width: 48px; height: 48px; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .dg-fill, .dg-flow, .dg-step, .chip__wave i, .podcast__wave i, .chain li, .ticker__track { animation: none; }
  .strip { overflow-x: auto; }
  .strip__track { animation: none; }
}

/* Impresión (Términos y Condiciones: "Imprimir o guardar en PDF") */
@media print {
  .topbar, .footer, .whatsapp, .buybar, .no-print, .legal__toc, .legal__help, .legal-docs, .legal__print--hero, #resumen, #podcast { display: none !important; }
  body { font-size: 11pt; }
  .hero, .section { padding-block: 0 !important; background: none !important; }
  .hero--legal { padding-bottom: 12pt !important; }
  .h1--xl { font-size: 26pt; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .legal, .legal__docs { display: block; }
  #privacidad { break-before: page; }
  .legal__doc { max-width: none; padding: 0; border: 0; box-shadow: none; }
  .clauses > li { break-inside: avoid; }
  .clause--key { background: none; margin-inline: 0; padding: 0; }
}
