/* ══════════════════════════════════════════════════════════════════════════
   ANNA SVETLAYA · Método CALMA — hoja de estilos única del sitio público
   BEM: block__element--modifier · estados .is-* (los alterna el JS)
   Los hooks .js-* NUNCA se estilizan. El backoffice (Flux/Tailwind) no
   comparte esta hoja.

   TABLA DE CONTENIDOS
   01 · Tokens (:root) y fuentes
   02 · Reset y base
   03 · Accesibilidad
   04 · Layout, tipografía y utilidades
   05 · Botones
   06 · Navegación
   07 · Hero (inicio) y encabezados de página
   08 · Secciones del inicio
   09 · Método CALMA (dimensiones, proceso, cómo se trabaja)
   10 · Sobre Anna
   11 · CALMA 1:1 (mapa)
   12 · Preguntas frecuentes y contacto
   13 · Formularios (diagnóstico) y gracias
   14 · CTA final y pie de página
   14b · Aviso de cookies
   15 · Revelado (fail-safe) y animaciones
   16 · Páginas legales
   17 · Impresión
   18 · Landing Programa CALMA (/calma-grupal)
   ══════════════════════════════════════════════════════════════════════════ */


/* ══ 01 · TOKENS Y FUENTES ═══════════════════════════════════════════════ */

:root {
  /* Marca — paleta del diseño */
  --ink:         #0b0a10;
  --ink-2:       #131019;
  --ink-3:       #1a1522;
  --ink-soft:    #3a3246;
  --paper:       #f3eef7;
  --brand:       #664499;
  --brand-light: #a98bd4;
  --brand-pale:  #c9b3e6;
  --text-soft:   #d9d1e3;
  --text-faint:  #8f84a3;
  --danger:      #f0a8b4;

  /* Escala semántica (sobre fondo oscuro) */
  --bg:          var(--ink);
  --surface:     var(--ink-2);
  --text-clear:  var(--paper);
  --text-mid:    var(--text-soft);
  --text-dim:    var(--text-faint);

  /* Líneas — translúcidas sobre el token, no rgba sueltos */
  --line-soft:   color-mix(in srgb, var(--brand-pale) 12%, transparent);
  --line:        color-mix(in srgb, var(--brand-pale) 18%, transparent);
  --line-mid:    color-mix(in srgb, var(--brand-pale) 22%, transparent);
  --line-strong: color-mix(in srgb, var(--brand-pale) 35%, transparent);
  --line-paper:  color-mix(in srgb, var(--paper) 35%, transparent);
  --line-brand:  color-mix(in srgb, var(--brand) 25%, transparent);
  --glow:        color-mix(in srgb, var(--brand) 40%, transparent);

  /* Tipografía — self-hosted, fallback encadenado */
  --font-display: "Aspal", "Aspal Fallback", "Cormorant Garamond", Georgia, serif;
  --font-serif:   "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:    "Jost", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Escala fluida */
  --text-xs:    11px;
  --text-sm:    13px;
  --text-nav:   14px;
  --text-body:  clamp(17px, 1.3vw, 20px);
  --text-item:  clamp(16px, 1.2vw, 19px);
  --text-lead:  clamp(20px, 1.7vw, 26px);
  --text-h3:    clamp(22px, 2vw, 30px);
  --text-h2:    clamp(30px, 3.6vw, 56px);
  --text-h1:    clamp(36px, 4.6vw, 76px);
  --text-cta:   clamp(34px, 4.6vw, 72px);

  /* Ritmo y medida */
  --radius:     4px;
  --pill:       999px;
  --pad-x:      clamp(20px, 5vw, 72px);
  --maxw:       1440px;
  --section-y:  clamp(80px, 12vh, 160px);
  --split-gap:  clamp(40px, 6vw, 96px);
  --stack:      clamp(40px, 6vh, 72px);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@font-face {
  font-family: "Aspal";
  src: url("/assets/fonts/aspal-400.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}
/* Métricas ajustadas para que el fallback ocupe lo mismo que Aspal (anti-CLS). */
@font-face {
  font-family: "Aspal Fallback";
  src: local("Cormorant Garamond Medium"), local("CormorantGaramond-Medium"), local("Cormorant Garamond");
  size-adjust: 112%;
  ascent-override: 78%;
  descent-override: 22%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-400-500.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/cormorant-garamond-italic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-300-500.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/assets/fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


/* ══ 02 · RESET Y BASE ═══════════════════════════════════════════════════ */

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

/* El atributo hidden gana siempre: las clases con display propio (.btn, .quiz__progress…) no lo anulan. */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text-clear);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  text-transform: uppercase;
  text-wrap: pretty;
}
h1 { font-size: var(--text-h1); line-height: 1.04; letter-spacing: .01em; max-width: 22ch; }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
blockquote { margin: 0; }
address { font-style: normal; }
a { color: var(--brand-pale); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--text-clear); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
em { font-style: normal; }
/* Énfasis de marca dentro de un titular (el diseño lo pinta en lila pálido). */
.accent { color: var(--brand-pale); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Acento dibujado sobre la mayúscula (Aspal no trae vocales acentuadas). */
.acc { position: relative; display: inline; white-space: nowrap; }
.acc > span {
  position: absolute;
  left: 50%;
  top: -.42em;
  transform: translateX(-50%);
  font-size: .55em;
  line-height: 1;
}
.acc--tilde > span { top: -.5em; font-size: .7em; }


/* ══ 03 · ACCESIBILIDAD ══════════════════════════════════════════════════ */

.skip-link {
  position: absolute;
  left: .5rem;
  top: -100%;
  z-index: 999;
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-weight: 500;
}
.skip-link:focus-visible { top: .5rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

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


/* ══ 04 · LAYOUT, TIPOGRAFÍA Y UTILIDADES ════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--section-y); }
.section--tint {
  background: var(--surface);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.section--paper { background: var(--paper); color: var(--ink); }
.section--paper .lede, .section--paper .body { color: var(--ink-soft); }
.section--paper h2, .section--paper h3 { color: var(--ink); }
.section--paper a { color: var(--ink); }
.section--paper a:hover { color: var(--brand); }

/* Kicker: etiqueta de sección con línea — NO es heading. */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-light);
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: currentColor;
}
.kicker--bare::before { display: none; }
.kicker--center { justify-content: center; }
.section--paper .kicker { color: var(--brand); }

/* Metadato en mono (pies, etiquetas secundarias) */
.meta {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.meta--xs { font-size: var(--text-xs); }
.meta--brand { color: var(--brand-light); }

.lede { max-width: 46ch; color: var(--text-mid); }
.lede--wide { max-width: 52ch; }
.body { max-width: 46ch; color: var(--text-mid); line-height: 1.6; }
.body--wide { max-width: 48ch; }

/* Apilado vertical de un bloque de texto */
.stack { display: grid; gap: 24px; align-content: start; }
.stack--lg { gap: 28px; }
.stack--sm { gap: 20px; }

/* Dos columnas que colapsan (minmax(0) evita desbordes) */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: var(--split-gap);
  align-items: center;
}
.split > * { min-width: 0; }
.split--start { align-items: start; }
.split--end { align-items: end; }

/* Figura 4:5 con imagen cubriendo */
.figure {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}
.figure__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.figure__img--desaturate { filter: saturate(.85); }
.figure__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--ink) 75%, transparent) 100%);
}
.figure__caption {
  position: absolute;
  left: 24px; bottom: 22px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-pale);
}

/* Resplandor morado difuminado */
.glow {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 65%);
  filter: blur(24px);
  pointer-events: none;
  animation: glow 9s ease-in-out infinite;
}
.glow--hero   { left: -10%; bottom: -20%; width: 55vw; height: 55vw; }
.glow--right  { right: -15%; top: -10%; width: 60vw; height: 60vw; }
.glow--left   { left: -10%; top: -30%; width: 50vw; height: 50vw; }
.glow--top    { left: 50%; top: -20%; transform: translateX(-50%); width: 60vw; height: 60vw; }
.glow--center { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; }

/* Lista numerada con línea entre filas (hábitos, formación) */
.numbered { display: grid; border-top: 1px solid var(--line); }
.numbered__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.numbered__n { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.numbered--display .numbered__item {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2vw, 30px);
  text-transform: uppercase;
}
.numbered--body .numbered__item { font-size: var(--text-body); line-height: 1.5; }

/* Cita destacada */
.pull-quote {
  padding-left: 20px;
  border-left: 1px solid var(--brand-light);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.3;
  text-transform: uppercase;
}

.actions { display: flex; flex-wrap: wrap; gap: 14px; }


/* ══ 05 · BOTONES ════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 52px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  background: transparent;
  color: inherit;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn__icon { width: 1.15em; height: 1.15em; flex: none; }

.btn--solid { background: var(--paper); color: var(--ink); }
.btn--solid:hover { background: var(--brand-pale); color: var(--ink); }

.btn--ghost { border-color: var(--line-paper); color: var(--text-clear); }
.btn--ghost:hover { border-color: var(--paper); background: color-mix(in srgb, var(--paper) 8%, transparent); color: var(--text-clear); }

.btn--outline {
  min-height: 44px;
  padding: 0 22px;
  border-color: color-mix(in srgb, var(--brand-pale) 45%, transparent);
  color: var(--text-clear);
  letter-spacing: .12em;
}
.btn--outline:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--brand); color: var(--paper); }
.btn--ink-ghost { border-color: color-mix(in srgb, var(--ink) 35%, transparent); color: var(--ink); }
.btn--ink-ghost:hover { border-color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }

.btn--lg { min-height: 56px; padding: 0 36px; }
.btn--sm { font-size: var(--text-sm); }


/* ══ 06 · NAVEGACIÓN ═════════════════════════════════════════════════════ */

.site-nav {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 28px var(--pad-x);
}

.site-nav__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-clear);
}
.site-nav__isotype { width: auto; height: 44px; }
.site-nav__wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
}

.site-nav__menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px clamp(20px, 3vw, 44px);
}
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px clamp(20px, 3vw, 44px);
}
.site-nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--text-nav);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--brand-pale);
}
.site-nav__link:hover { color: var(--text-clear); }
.site-nav__link--current {
  color: var(--text-clear);
  border-bottom: 1px solid var(--brand-light);
  padding-bottom: 4px;
  min-height: 0;
}

/* Hamburguesa → X: tres <span>, sin iconos externos. */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  background: transparent;
  color: var(--text-clear);
  cursor: pointer;
}
.nav-toggle__box { position: relative; display: block; width: 18px; height: 12px; }
.nav-toggle__box span {
  position: absolute;
  left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__box span:nth-child(1) { top: 0; }
.nav-toggle__box span:nth-child(2) { top: 5.5px; }
.nav-toggle__box span:nth-child(3) { top: 11px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav__menu {
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__link { min-height: 48px; }
  .site-nav__link--current { border-bottom: 0; padding-bottom: 0; min-height: 48px; }
  .site-nav__cta { margin-top: 8px; }

  /* El JS colapsa el menú solo cuando confirmó que puede volver a abrirlo. */
  body.nav-ready .site-nav__menu { display: none; }
  body.nav-ready .site-nav__menu.is-open { display: flex; }
}


/* ══ 07 · HERO Y ENCABEZADOS DE PÁGINA ═══════════════════════════════════ */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  top: 0; right: 0;
  width: 62%; height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  transform: scale(1.5);
  transform-origin: 70% 35%;
  opacity: .92;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--ink) 55%, transparent) 0%,
    transparent 30%,
    transparent 65%,
    var(--ink) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  align-content: center;
  gap: 28px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(48px, 10vh, 120px) var(--pad-x) clamp(56px, 10vh, 120px);
}
.hero__title em { color: var(--brand-pale); }
.hero__lede {
  max-width: 46ch;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  color: var(--text-mid);
}
.hero__actions { margin-top: 12px; }
.hero__meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px 20px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 var(--pad-x) 28px;
}

@media (max-width: 760px) {
  .hero__photo { width: 100%; opacity: .45; -webkit-mask-image: none; mask-image: none; transform: scale(1.15); }
}

/* Encabezado de página interior */
.page-head {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ink);
}
.page-head__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(56px, 10vh, 120px) var(--pad-x) clamp(64px, 10vh, 120px);
}
.page-head__inner--open { padding-bottom: 0; gap: 24px; }
.page-head__inner--center { justify-items: center; text-align: center; gap: var(--stack); padding: clamp(48px, 9vh, 110px) var(--pad-x) clamp(56px, 9vh, 110px); }
.page-head__title em { color: var(--brand-pale); }
.page-head__lede { max-width: 52ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--text-mid); }

/* "CALMA" gigante del método */
.page-head__giant {
  margin: 0 0 0 -.04em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(88px, 19vw, 330px);
  line-height: .8;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.page-head__split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(28px, 4vw, 72px);
  align-items: start;
  padding: clamp(28px, 4vh, 56px) 0 clamp(56px, 9vh, 110px);
  border-top: 1px solid var(--line);
}
.page-head__split > * { min-width: 0; }
.page-head__statement {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.25;
  text-transform: uppercase;
}

/* Título "CALMA 1:1" gigante */
.page-head__brandword {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(64px, 10vw, 170px);
  line-height: .95;
  letter-spacing: .01em;
  max-width: none;
}
.page-head__brandword em { color: var(--brand-pale); }
.page-head__sub {
  max-width: 30ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1.25;
  text-transform: uppercase;
  text-wrap: balance;
}
.page-head__center-stack { display: grid; justify-items: center; gap: 24px; }

/* Entrada en escena del encabezado (solo decorativa) */
.rise { animation: rise .9s ease-out both; }
.rise--2 { animation: rise 1s .1s ease-out both; }
.rise--3 { animation: rise 1s .2s ease-out both; }
.rise--4 { animation: rise 1s .3s ease-out both; }
.rise--5 { animation: rise 1s .4s ease-out both; }


/* ══ 08 · SECCIONES DEL INICIO ═══════════════════════════════════════════ */

/* 01 · Identificación (fondo claro, centrado) */
.intro { background: var(--paper); color: var(--ink); }
.intro__inner {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(110px, 18vh, 200px) var(--pad-x);
  max-width: var(--maxw);
  margin-inline: auto;
}
.intro .kicker { margin-bottom: 28px; justify-content: center; }
.intro .kicker::before { display: none; }
.intro__title {
  font-size: clamp(26px, 3.3vw, 54px);
  line-height: 1.2;
  letter-spacing: .02em;
  color: var(--ink);
  max-width: none;
}
.intro__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.22em;
  letter-spacing: 0;
  text-transform: none;
  color: var(--brand);
}
.intro__triad {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
  margin-top: var(--stack);
  font-family: var(--font-serif);
  font-size: var(--text-lead);
  font-weight: 500;
  line-height: 1.2;
}
.intro__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brand); }
.intro__arrow {
  display: grid;
  justify-items: center;
  margin: clamp(32px, 5vh, 52px) 0;
  color: var(--brand);
}
.intro__arrow-line {
  display: block;
  width: 1px;
  height: clamp(48px, 7vh, 72px);
  background: linear-gradient(180deg, transparent, var(--brand));
}
.intro__text { max-width: 46ch; line-height: 1.65; color: var(--ink-soft); }
.intro__close {
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 40ch;
  margin-top: var(--stack);
}
.intro__rule { display: block; width: 40px; height: 1px; background: var(--brand); }
.intro__quote {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  text-wrap: balance;
}
.intro__tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--brand);
  text-wrap: balance;
}

/* 02 · Lo habitual */
.habits__lede em { color: var(--text-clear); font-weight: 400; }

/* 04 · Dimensiones (grid hairline de 5) */
.dimensions__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 176px), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.dimensions__item {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 280px;
  padding: 32px 20px 36px;
  background: var(--surface);
  transition: background-color .2s var(--ease);
}
.dimensions__item:hover { background: var(--ink-3); }
.dimensions__letter {
  font-family: var(--font-display);
  font-size: clamp(56px, 5vw, 88px);
  line-height: .9;
  color: var(--brand-light);
}
.dimensions__name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(14px, 1.1vw, 17px);
  letter-spacing: .02em;
}
.dimensions__text { font-size: 15px; line-height: 1.55; color: var(--text-mid); }

/* 06 · Oferta */
.offer__title {
  font-weight: 400;
  font-size: clamp(48px, 7vw, 120px);
  line-height: .95;
  letter-spacing: .01em;
}
.offer__title em { color: var(--brand-pale); }

/* 07 · Testimonios: scroll-snap nativo; el JS añade controles y autoplay */
.carousel { display: grid; gap: 28px; }
.carousel__viewport { overflow: hidden; }
.carousel__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item {
  flex: 0 0 calc(50% - 12px);
  scroll-snap-align: start;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.carousel__quote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.5;
  text-transform: uppercase;
}
@media (max-width: 760px) { .carousel__item { flex-basis: 88%; } }

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.carousel__dots { display: flex; gap: 10px; }
.carousel__dot {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.carousel__dot span {
  display: block;
  width: 20px; height: 2px;
  background: var(--line-strong);
  transition: width .4s var(--ease), background-color .4s var(--ease);
}
.carousel__dot.is-active span { width: 40px; background: var(--paper); }
.carousel__arrows { display: flex; gap: 10px; }
.carousel__arrow {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line-paper);
  border-radius: var(--pill);
  background: transparent;
  color: var(--text-clear);
  font-size: 18px;
  cursor: pointer;
  transition: border-color .2s var(--ease);
}
.carousel__arrow:hover { border-color: var(--paper); }
/* Sin JS no hay controles que operar: se ocultan hasta que el JS los active. */
.carousel__controls { display: none; }
body.carousel-ready .carousel__controls { display: flex; }


/* ══ 09 · MÉTODO CALMA ═══════════════════════════════════════════════════ */

.dim-rows { display: grid; border-top: 1px solid var(--line); }
.dim-rows__item {
  display: grid;
  grid-template-columns: minmax(96px, .9fr) minmax(0, 1.6fr) minmax(0, 2fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  padding: clamp(24px, 3vh, 40px) 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .2s var(--ease);
}
.dim-rows__item:hover { background: color-mix(in srgb, var(--brand-pale) 4%, transparent); }
.dim-rows__letter-wrap { display: flex; align-items: baseline; gap: 18px; }
.dim-rows__letter {
  font-family: var(--font-display);
  font-size: clamp(96px, 12vw, 200px);
  line-height: .8;
}
.dim-rows__n { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--text-dim); }
.dim-rows__name { font-size: clamp(22px, 2.2vw, 34px); color: var(--brand-pale); }
.dim-rows__axis { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim); }
.dim-rows__text { max-width: 40ch; color: var(--text-mid); }
@media (max-width: 760px) {
  .dim-rows__item { grid-template-columns: minmax(0, 1fr); }
  .dim-rows__letter { font-size: clamp(64px, 18vw, 96px); }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 20px 28px;
}
.section-head--block { display: grid; gap: 20px; max-width: 720px; align-items: start; }

/* Proceso de 12 semanas (fondo claro) */
.process { background: var(--paper); color: var(--ink); }
.phase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(48px, 7vh, 88px) 0;
  border-top: 1px solid var(--line-brand);
}
.phase > * { min-width: 0; }
.phase__head { display: grid; gap: 16px; align-content: start; position: sticky; top: 32px; }
.phase__n { font-family: var(--font-display); font-size: clamp(72px, 8vw, 128px); line-height: .85; color: var(--brand); }
.phase__kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--brand); }
.phase__title { font-size: clamp(30px, 3.4vw, 52px); line-height: 1.05; color: var(--ink); }
.phase__tagline {
  max-width: 28ch;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lead);
  line-height: 1.3;
  color: var(--ink-soft);
}
.timeline { position: relative; display: grid; }
.timeline::before {
  content: "";
  position: absolute;
  left: 19px; top: 20px; bottom: 20px;
  width: 1px;
  background: var(--brand);
}
.timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px 0;
}
.timeline__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--brand);
}
.timeline__body { display: grid; gap: 4px; }
.timeline__week { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--brand); }
.timeline__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink);
}

/* Cómo se trabaja */
.how { display: grid; gap: var(--stack); }
.how__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.how__item {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
}
.how__item::before {
  content: "";
  position: absolute;
  top: -5px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--brand-pale);
}
.how__n { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--text-dim); }
.how__name { font-size: clamp(18px, 1.5vw, 24px); line-height: 1.2; }


/* ══ 10 · SOBRE ANNA ═════════════════════════════════════════════════════ */

.philosophy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: stretch;
  background: var(--ink);
}
.philosophy__figure { position: relative; min-height: min(100svh, 820px); overflow: hidden; }
.philosophy__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
}
.philosophy__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 70%, var(--ink) 100%);
}
.philosophy__body {
  display: grid;
  align-content: center;
  gap: 40px;
  padding: var(--section-y) clamp(28px, 6vw, 120px);
}
.philosophy__quote {
  max-width: 16ch;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4vw, 64px);
  line-height: 1.12;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.philosophy__rule { display: block; width: 32px; height: 1px; background: var(--brand-light); }
.philosophy__text { max-width: 42ch; font-size: var(--text-item); line-height: 1.7; color: var(--text-mid); }
@media (max-width: 760px) { .philosophy__figure { min-height: 60svh; } }


/* ══ 11 · CALMA 1:1 (MAPA) ═══════════════════════════════════════════════ */

/* Paradas del encabezado */
.stops {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: clamp(16px, 2vw, 32px);
}
.stops__item { position: relative; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.stops__item::before {
  content: "";
  position: absolute;
  top: -5px; left: 0;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--brand);
}
.stops__item:first-child::before { background: var(--paper); }
.stops__link { display: grid; gap: 8px; color: var(--text-clear); }
.stops__link:hover { color: var(--brand-pale); }
.stops__n { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--text-dim); }
.stops__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.2;
  text-transform: uppercase;
}
.stops-wrap { display: grid; gap: 24px; width: 100%; }

/* Recorrido vertical */
.map { position: relative; display: grid; gap: clamp(56px, 9vh, 120px); }
.map::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--brand-light) 6%, var(--brand-light) 94%, transparent);
}
.map__stop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 36px);
  align-items: start;
}
.map__stop--end { align-items: center; }
.map__label { display: grid; gap: 12px; align-content: start; padding-top: 8px; text-align: right; }
.map__label--left { text-align: left; }
.map__label-kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-light); }
.map__title { font-size: clamp(28px, 3.2vw, 48px); line-height: 1.05; text-wrap: balance; }
.map__node-wrap { position: relative; z-index: 1; display: grid; justify-items: center; }
.map__node {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border: 1px solid var(--brand-light);
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand-pale);
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  letter-spacing: .1em;
}
.map__node--end { border: 0; }
.map__node--end img { width: auto; height: 40px; }
.map__card {
  position: relative;
  display: grid;
  gap: 22px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  background: var(--surface);
}
.map__card::before {
  content: "";
  position: absolute;
  top: 28px;
  width: clamp(16px, 2.5vw, 36px);
  height: 1px;
  background: var(--brand-light);
}
.map__card--right::before { left: calc(-1 * clamp(16px, 2.5vw, 36px) - 1px); }
.map__card--left::before { right: calc(-1 * clamp(16px, 2.5vw, 36px) - 1px); }
.map__hint { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-light); }
.map__end-note { font-family: var(--font-mono); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); }

.check-list { display: grid; gap: 14px; }
.check-list__item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  font-size: var(--text-item);
  line-height: 1.5;
}
.check-list__mark {
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  margin-top: 3px;
  border: 1px solid var(--brand-light);
  border-radius: 50%;
}
.check-list__mark::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-light); }

.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 10px;
}
.chip {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  background: var(--ink);
  transition: border-color .2s var(--ease);
}
.chip:hover { border-color: var(--brand-light); }
.chip__n { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-dim); }
.chip__name { font-size: 15px; font-weight: 400; line-height: 1.35; }

.steps { position: relative; display: grid; }
.steps::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 1px; background: var(--line-strong); }
.steps__item {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 12px 0;
}
.steps__node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--brand-light);
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand-pale);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
}
.steps__item:first-child .steps__node { background: var(--paper); color: var(--ink); }
.steps__text { padding-top: 4px; font-size: var(--text-item); line-height: 1.5; }

@media (max-width: 860px) {
  .map::before { left: 27px; }
  .map__stop { grid-template-columns: 56px minmax(0, 1fr); }
  .map__label { grid-column: 2; text-align: left; order: 1; }
  .map__node-wrap { grid-column: 1; grid-row: 1 / span 2; }
  .map__card { grid-column: 2; order: 2; }
  .map__card::before { display: none; }
  .map__stop--end .map__end-note { grid-column: 2; }
}


/* ══ 12 · PREGUNTAS FRECUENTES Y CONTACTO ════════════════════════════════ */

.faq { display: grid; max-width: 960px; border-top: 1px solid var(--line); }
.faq__row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.faq__n { padding-top: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.faq__body { display: grid; gap: 14px; }
.faq__q { font-family: var(--font-display); font-weight: 500; font-size: var(--text-h3); line-height: 1.2; text-transform: uppercase; }
.faq__a { max-width: 60ch; font-size: var(--text-item); color: var(--text-mid); }

.contact { background: var(--paper); color: var(--ink); }
.contact__dl { display: grid; border-top: 1px solid var(--line-brand); }
.contact__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-brand);
}
.contact__dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--brand); }
.contact__dd { margin: 0; font-size: var(--text-body); word-break: break-word; }
.contact__dd a { color: var(--ink); }
.contact__dd a:hover { color: var(--brand); }
.contact__pending { color: var(--ink-soft); }


/* ══ 13 · FORMULARIOS Y GRACIAS ══════════════════════════════════════════ */

.form-card {
  display: grid;
  gap: 24px;
  width: 100%;
  max-width: 640px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  background: var(--surface);
}
.field { display: grid; gap: 8px; }
.field__label { font-size: var(--text-nav); font-weight: 400; letter-spacing: .04em; color: var(--text-clear); }
.field__hint { font-size: var(--text-sm); color: var(--text-dim); }
.field__input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--text-clear);
  font: inherit;
  font-size: var(--text-item);
  font-weight: 300;
}
.field__input:focus { outline: 2px solid var(--brand-pale); outline-offset: 2px; border-color: var(--brand-light); }
.field__input::placeholder { color: var(--text-dim); }
select.field__input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brand-pale) 50%), linear-gradient(135deg, var(--brand-pale) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field__error { font-size: var(--text-sm); color: var(--danger); }
.field--invalid .field__input { border-color: #f0a8b4; }

.check { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--text-mid); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand-light); }
.check a { text-decoration: underline; text-underline-offset: .2em; }

/* Honeypot: fuera de la vista y del foco, nunca display:none (los bots lo detectan). */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-note { font-size: var(--text-sm); color: var(--text-dim); }
.form-alert {
  padding: 14px 18px;
  border: 1px solid #f0a8b4;
  border-radius: var(--radius);
  color: #f0a8b4;
  font-size: var(--text-sm);
}

.thanks { position: relative; overflow: hidden; }
.thanks__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 28px;
  min-height: 70svh;
  align-content: center;
  text-align: center;
  padding: var(--section-y) var(--pad-x);
}


/* Cuestionario en tres pasos: indicador compartido por datos, preguntas y gracias. */
.page-head--compact .page-head__inner { padding-block: clamp(40px, 6vh, 72px); }
.stepper { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.stepper__step { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.stepper__num { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 11px; }
.stepper__step--current { color: var(--brand-pale); }
.stepper__step--current .stepper__num { border-color: var(--brand-light); background: var(--brand); color: var(--paper); }
.stepper__step--done { color: var(--text-mid); }
.stepper__step--done .stepper__num { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.thanks__inner .stepper { justify-content: center; }

.form-notice { display: grid; gap: 8px; padding: 16px 18px; border-left: 2px solid var(--brand-light); background: color-mix(in srgb, var(--brand) 10%, transparent); font-size: var(--text-sm); line-height: 1.55; color: var(--text-mid); }
.steps__title { font-weight: 400; color: var(--text-clear); }

/* Paso 2: las preguntas. Sin JS, todas a la vista; con JS, una por pantalla. */
.quiz-wrap { display: grid; justify-items: center; }
.quiz { max-width: 760px; }
.quiz__progress { display: grid; gap: 10px; }
.quiz__counter { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-pale); }
.quiz__bar { height: 3px; overflow: hidden; border-radius: 2px; background: var(--line); }
.quiz__bar-fill { display: block; width: 0; height: 100%; background: var(--brand-light); transition: width .4s var(--ease); }
.quiz__question { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--line-soft); }
.quiz__question:last-of-type { padding-bottom: 0; border-bottom: 0; }
.quiz__legend { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: baseline; padding: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.15; text-transform: uppercase; }
.quiz__legend:focus { outline: none; }
.quiz__num { font-family: var(--font-mono); font-size: var(--text-sm); letter-spacing: .14em; color: var(--brand-light); }
.quiz__hint { font-size: var(--text-sm); color: var(--text-dim); }
.quiz__options { display: grid; gap: 10px; }
.option { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); font-size: var(--text-item); line-height: 1.45; color: var(--text-mid); cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.option:hover { border-color: var(--line-strong); }
.option:has(input:checked) { border-color: var(--brand-light); background: color-mix(in srgb, var(--brand) 14%, var(--ink)); color: var(--text-clear); }
.option:has(input:focus-visible) { outline: 2px solid var(--brand-pale); outline-offset: 2px; }
.option input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand-light); }
.quiz__question--invalid .quiz__options { padding-left: 12px; border-left: 2px solid #f0a8b4; }
.quiz__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.quiz__nav .js-quiz-submit { margin-left: auto; }
.quiz--stepped .quiz__question { display: none; padding-bottom: 0; border-bottom: 0; }
.quiz--stepped .quiz__question.is-active { display: grid; }


/* ══ 14 · CTA FINAL Y PIE DE PÁGINA ══════════════════════════════════════ */

.cta-final {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  border-top: 1px solid var(--line-soft);
}
.cta-final__inner {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 28px;
  padding: clamp(100px, 16vh, 200px) var(--pad-x);
  text-align: center;
}
.cta-final__isotype { width: auto; height: 72px; }
.cta-final__title { max-width: 18ch; font-size: var(--text-cta); line-height: 1.06; }
.cta-final__lede { max-width: 46ch; color: var(--text-mid); }

.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line-soft);
  color: var(--text-mid);
}
.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
  padding-block: 56px 40px;
}
@media (max-width: 960px) { .site-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__inner { grid-template-columns: minmax(0, 1fr); } }
.site-footer__heading { margin-bottom: 6px; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--brand-light); }
.site-footer__inner > * { min-width: 0; }
.site-footer__brand { display: grid; gap: 16px; }
.site-footer__logo { display: inline-block; width: 160px; justify-self: start; }
.site-footer__brand img { display: block; width: 100%; height: auto; }
.site-footer__note { max-width: 36ch; font-size: var(--text-nav); line-height: 1.6; color: var(--text-dim); }
.site-footer__social { display: flex; gap: 6px; }
.site-footer__social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line-mid); border-radius: 50%; color: var(--text-mid); transition: color .2s var(--ease), border-color .2s var(--ease); }
.site-footer__social-link:hover { color: var(--text-clear); border-color: var(--line-strong); }
.site-footer__social-link svg { width: 18px; height: 18px; }
.site-footer__nav { display: grid; gap: 0; justify-items: start; font-size: var(--text-nav); letter-spacing: .04em; }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 40px; color: var(--text-mid); }
.site-footer__nav a:hover { color: var(--text-clear); }
.site-footer__address { display: grid; gap: 0; justify-items: start; font-size: var(--text-nav); letter-spacing: .04em; }
.site-footer__contact { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; color: var(--text-mid); }
.site-footer__place { display: inline-flex; align-items: center; min-height: 40px; }
.site-footer__contact:hover { color: var(--text-clear); }
.site-footer__contact--pending, .site-footer__place { color: var(--text-dim); }
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.site-footer__tagline { color: var(--brand-light); }


/* ══ 14b · AVISO DE COOKIES ══════════════════════════════════════════════
   Formulario real (funciona sin JS). El JS solo evita la recarga y
   reabre el aviso desde "Preferencias de cookies".                        */

.cookie-banner {
  position: fixed;
  left: clamp(12px, 2vw, 24px);
  right: clamp(12px, 2vw, 24px);
  bottom: clamp(12px, 2vh, 24px);
  z-index: 200;
  pointer-events: none;
}
.cookie-banner[hidden] { display: none; }
/* Tarjeta compacta anclada abajo a la izquierda: deja el hero a la vista. */
.cookie-banner__inner {
  display: grid;
  gap: 12px;
  width: min(100%, 400px);
  padding: 18px 20px 16px;
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 24px 60px -28px color-mix(in srgb, #000 70%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
}
.cookie-banner__body { display: grid; gap: 6px; min-width: 0; }
.cookie-banner__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-light); }
.cookie-banner__text { font-size: 14px; line-height: 1.5; color: var(--text-mid); }
.cookie-banner__text a { color: var(--brand-pale); text-decoration: underline; text-underline-offset: .2em; }
.cookie-banner__summary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-pale);
  cursor: pointer;
  list-style: none;
}
.cookie-banner__summary::-webkit-details-marker { display: none; }
.cookie-banner__summary::before { content: "+ "; }
.cookie-banner__details[open] .cookie-banner__summary::before { content: "– "; }
.cookie-banner__options { display: grid; gap: 8px; padding-top: 2px; }
.cookie-option .check { font-size: 13px; }
.check--locked { color: var(--text-dim); }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cookie-banner__actions .btn { flex: 1 1 auto; min-height: 40px; padding: 0 12px; white-space: nowrap; }
/* "Guardar selección" solo tiene sentido con la configuración abierta. */
.cookie-banner__save { display: none; }
.cookie-banner__details[open] ~ * .cookie-banner__save,
.cookie-banner__inner:has(.cookie-banner__details[open]) .cookie-banner__save { display: inline-flex; }

.cookie-prefs {
  display: grid;
  gap: 16px;
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid var(--line-brand);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand) 6%, transparent);
}
.cookie-prefs .check, .cookie-prefs .check--locked { color: var(--ink-soft); }
.cookie-prefs .check input { accent-color: var(--brand); }
.cookie-prefs__status { font-size: 15px; }

.site-footer__nav-button {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-mid);
  font: inherit;
  font-size: var(--text-nav);
  letter-spacing: .04em;
  cursor: pointer;
}
.site-footer__nav-button:hover { color: var(--text-clear); }

/* Controles que solo existen con JS (los muestra body.js-ready). */
.js-only { display: none; }
body.js-ready .js-only { display: inline-flex; }


/* ══ 15 · REVELADO (FAIL-SAFE) Y ANIMACIONES ═════════════════════════════ */

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes glow { 0%, 100% { opacity: .55; } 50% { opacity: .85; } }

/* El contenido NACE VISIBLE: solo se oculta si el JS confirmó capacidad. */
body.anim-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
body.anim-ready [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  body.anim-ready [data-reveal] { opacity: 1; transform: none; }
}


/* ══ 16 · PÁGINAS LEGALES ════════════════════════════════════════════════ */

.page-legal { background: var(--paper); color: var(--ink); }
.page-legal .page-head { background: var(--ink); }
.legal {
  max-width: 78ch;
  margin-inline: auto;
  padding: clamp(40px, 7vw, 80px) var(--pad-x) var(--section-y);
  font-size: var(--text-item);
  line-height: 1.65;
  color: var(--ink-soft);
}
.legal h2 {
  margin: 2.5em 0 .75em;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-brand);
  font-size: var(--text-h3);
  color: var(--ink);
}
.legal h3 { margin: 1.75em 0 .5em; font-size: var(--text-item); font-family: var(--font-sans); font-weight: 500; text-transform: none; color: var(--ink); }
.legal p, .legal li { margin-bottom: .75em; }
.legal ul { list-style: disc; padding-left: 1.25rem; }
.legal ol { list-style: decimal; padding-left: 1.25rem; }
/* Editable legal text (Condiciones del Programa CALMA): a quote is drawn as the callout box. */
.legal blockquote {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-brand);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand) 6%, transparent);
  font-size: 15px;
}
.legal blockquote p:last-child { margin-bottom: 0; }
.legal a { color: var(--brand); text-decoration: underline; text-underline-offset: .2em; }
.legal__updated { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }

.controller-card {
  width: 100%;
  margin: 1.5rem 0 2rem;
  border: 1px solid var(--line-brand);
  border-radius: var(--radius);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  font-size: 15px;
  text-align: left;
}
.controller-card th, .controller-card td { padding: .75rem 1rem; border-bottom: 1px solid var(--line-brand); vertical-align: top; }
.controller-card tr:last-child th, .controller-card tr:last-child td { border-bottom: 0; }
.controller-card th { width: 34%; background: color-mix(in srgb, var(--brand) 8%, transparent); font-weight: 500; color: var(--ink); }

.callout {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-brand);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand) 6%, transparent);
  font-size: 15px;
}
.callout__title { margin: 0 0 .35em; font-weight: 500; color: var(--ink); }
.callout--form { margin: 0; color: var(--text-mid); }
.callout--form .callout__title { color: var(--text-clear); }


/* ══ 17 · IMPRESIÓN ══════════════════════════════════════════════════════ */

@media print {
  :root { --bg: #fff; --ink: #000; --paper: #fff; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .site-nav, .nav-toggle, .skip-link, .hero__photo, .hero__veil, .glow, .actions, .btn,
  .carousel__controls, .site-footer__nav, .philosophy__figure, .cookie-banner { display: none !important; }
  .hero, .page-head, .section--tint, .section--paper, .cta-final, .site-footer, .intro, .contact, .process { background: #fff !important; color: #000 !important; }
  h1, h2, h3, p, li, blockquote { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }
  h2, h3 { break-after: avoid; }
  .controller-card { break-inside: avoid; }
}

/* ══ SOBRE ANNA · retrato en el encabezado y franja de la moto ═══════════ */

/* Encabezado con el retrato al lado del texto (ocupa el hueco de la derecha) */
.page-head__inner--portrait {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  align-items: center;
  column-gap: var(--split-gap);
  row-gap: 40px;
}
.page-head__copy { display: grid; gap: 28px; }
.page-head__portrait { width: min(100%, 460px); justify-self: end; }
@media (max-width: 860px) {
  .page-head__portrait { width: min(100%, 380px); justify-self: start; }
}

/* Franja panorámica: la foto se funde con el fondo de la sección por los lados */
.strip {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  margin-top: clamp(32px, 5vw, 64px);
  border-radius: var(--radius);
}
.strip__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.strip__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--surface) 0%, transparent 24%, transparent 76%, var(--surface) 100%),
    linear-gradient(180deg, transparent 70%, color-mix(in srgb, var(--surface) 85%, transparent) 100%);
}
.strip__caption {
  position: absolute;
  left: clamp(20px, 4vw, 48px); bottom: 20px;
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand-pale);
}
@media (max-width: 760px) { .strip { aspect-ratio: 3 / 2; } }


/* ══ 18 · LANDING PROGRAMA CALMA (/calma-grupal) ═════════════════════════
   Página independiente con su propia cabecera y pie: no comparte nav ni
   footer con el sitio, solo el layout, los tokens, .btn, .kicker y .field. */

.grupal-container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--pad-x); }
.grupal-section { padding-block: clamp(80px, 12vh, 150px); }
.grupal h1 em, .grupal h2 em, .grupal blockquote em, .grupal .grupal-foryou__close em { color: var(--brand-pale); }
.grupal .section--paper h2 em { color: var(--brand); }
.grupal-link { color: var(--brand-pale); text-decoration: underline; }
.grupal .kicker { line-height: normal; }
.grupal-link:hover { color: var(--text-clear); }
/* Rejillas de una columna: sin minmax(0) la pista crece al ancho mínimo del contenido y desborda en móvil. */
.grupal-hero__body, .grupal-foryou, .grupal-foryou__head, .grupal-outcomes__copy, .grupal-outcomes__head, .grupal-anna__inner, .grupal-anna__copy,
.grupal-idea__copy, .grupal-idea__aside, .grupal-format, .grupal-format__intro, .grupal-format__block, .grupal-faq__intro,
.grupal-register__copy, .grupal-confirm, .grupal-form, .grupal-pay { grid-template-columns: minmax(0, 1fr); }
.grupal-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  color: var(--brand-pale);
}
.grupal-icon--lg { width: 54px; height: 54px; }
.grupal-icon svg { width: 24px; height: 24px; }
/* La llama del isotipo late (sección 02 y confirmación). */
@keyframes flame {
  0%, 100% { transform: scale(1, 1) rotate(0deg) translateY(0); filter: brightness(1) drop-shadow(0 0 4px color-mix(in srgb, var(--brand-light) 45%, transparent)); }
  20% { transform: scale(.97, 1.05) rotate(-2deg) translateY(-1px); filter: brightness(1.15) drop-shadow(0 0 8px color-mix(in srgb, var(--brand-pale) 70%, transparent)); }
  45% { transform: scale(1.02, .97) rotate(1.5deg) translateY(0); filter: brightness(.95) drop-shadow(0 0 5px color-mix(in srgb, var(--brand-light) 50%, transparent)); }
  70% { transform: scale(.98, 1.06) rotate(-1deg) translateY(-2px); filter: brightness(1.2) drop-shadow(0 0 10px color-mix(in srgb, var(--brand-pale) 75%, transparent)); }
  85% { transform: scale(1.01, .99) rotate(1deg) translateY(0); filter: brightness(1.05) drop-shadow(0 0 6px color-mix(in srgb, var(--brand-light) 55%, transparent)); }
}
.grupal-flame { transform-origin: 50% 100%; animation: flame 1.8s ease-in-out infinite; }

/* Portada */
.grupal-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}
.grupal-hero__photo {
  position: absolute;
  top: 0; right: 0;
  width: 60%; height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
  transform: scale(1.35);
  transform-origin: 70% 35%;
  opacity: .9;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
}
.grupal-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 60%, transparent) 0%, transparent 28%, transparent 55%, var(--ink) 100%);
}
.grupal-hero__glow { filter: blur(20px); background: radial-gradient(circle, color-mix(in srgb, var(--brand) 45%, transparent) 0%, transparent 65%); }
.grupal-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px var(--pad-x);
}
.grupal-nav__brand { display: flex; align-items: center; gap: 14px; color: var(--text-clear); }
.grupal-nav__isotype { width: auto; height: 40px; }
.grupal-nav__names { display: grid; gap: 2px; }
.grupal-nav__wordmark { font-family: var(--font-display); font-size: 18px; letter-spacing: .14em; text-transform: uppercase; line-height: 1; }
.grupal-nav__tagline { font-family: var(--font-serif); font-style: italic; font-size: 14px; line-height: 1; color: var(--brand-pale); }
.grupal-nav .btn--outline { white-space: nowrap; }
.grupal-hero__body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  align-content: center;
  gap: 26px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(40px, 8vh, 100px) var(--pad-x) clamp(56px, 10vh, 110px);
}
.grupal-hero .kicker { max-width: 44ch; }
.grupal-hero__title { max-width: 15ch; font-size: clamp(38px, 5.2vw, 84px); line-height: 1.02; letter-spacing: .01em; }
.grupal-hero__lede { max-width: 50ch; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; color: var(--text-mid); }
.grupal-hero__meta { font-family: var(--font-mono); font-size: 12px; line-height: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--text-mid); }
.grupal-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.grupal-hero .btn--solid.btn--lg, .grupal-format__cta { gap: 12px; padding: 0 34px; }
.grupal-hero__claim { font-family: var(--font-display); font-size: clamp(15px, 1.2vw, 18px); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-pale); }

/* 01 · ¿Es para ti? */
.grupal-foryou { display: grid; gap: var(--stack); }
.grupal-foryou__head { display: grid; gap: 16px; justify-items: center; text-align: center; }
.grupal-foryou__title { max-width: 20ch; text-wrap: balance; }
.grupal-foryou__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.grupal-foryou__item { display: grid; gap: 18px; align-content: start; padding: clamp(24px, 3vw, 36px); background: var(--ink); transition: background .25s; }
.grupal-foryou__item:hover { background: var(--surface); }
.grupal-foryou__text { font-size: var(--text-item); line-height: 1.5; color: var(--text-clear); }
.grupal-foryou__close { justify-self: center; max-width: 52ch; font-size: clamp(17px, 1.3vw, 21px); line-height: 1.55; text-align: center; color: var(--text-mid); }

/* 02 · Qué vas a desarrollar */
.grupal-outcomes { position: relative; overflow: hidden; background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.grupal-outcomes__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.grupal-outcomes__figure { position: relative; min-height: 420px; overflow: hidden; }
.grupal-outcomes__img {
  position: absolute;
  right: 0; bottom: 0;
  width: auto; height: 80%;
  max-width: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}
.grupal-outcomes__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 55%, var(--surface) 100%),
    linear-gradient(180deg, color-mix(in srgb, var(--surface) 15%, transparent) 0%, transparent 40%, var(--surface) 100%);
}
.grupal-outcomes__quote {
  position: absolute;
  left: clamp(20px, 4vw, 40px); right: clamp(20px, 4vw, 40px); bottom: clamp(24px, 4vw, 40px);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15;
  text-transform: uppercase;
  text-wrap: pretty;
  color: var(--text-clear);
}
.grupal-outcomes__copy { display: grid; gap: 32px; align-content: center; padding: clamp(56px, 9vh, 110px) 0; }
.grupal-outcomes__head { display: grid; gap: 16px; }
.grupal-outcomes__title { font-size: clamp(28px, 3.2vw, 48px); }
.grupal-outcomes__lede { max-width: 44ch; font-size: var(--text-item); color: var(--text-mid); }
.grupal-outcomes__list { display: grid; border-top: 1px solid var(--line); }
.grupal-outcomes__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.grupal-outcomes__flame { width: auto; height: 30px; margin-top: 2px; }
.grupal-outcomes__body { display: grid; gap: 4px; }
.grupal-outcomes__name { font-family: var(--font-sans); font-weight: 500; font-size: 15px; letter-spacing: .12em; line-height: 1.4; color: var(--text-clear); }
.grupal-outcomes__text { font-size: clamp(15px, 1.1vw, 17px); line-height: 1.5; color: var(--text-mid); }

/* 03 · Detrás del método */
.grupal-anna { position: relative; overflow: hidden; background: var(--ink); }
.grupal-anna__inner { display: grid; gap: clamp(48px, 7vh, 80px); padding-block: clamp(80px, 12vh, 140px); }
.grupal-anna__top { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(32px, 5vw, 72px); align-items: end; }
.grupal-anna__figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.grupal-anna__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.grupal-anna__caption { position: absolute; left: 20px; bottom: 18px; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .22em; text-transform: uppercase; color: var(--text-mid); }
.grupal-anna__copy { display: grid; gap: 28px; padding-bottom: 8px; }
.grupal-anna__name { max-width: none; font-size: clamp(52px, 7.5vw, 120px); line-height: .92; letter-spacing: .01em; }
.grupal-anna__role { font-size: var(--text-sm); letter-spacing: .2em; text-transform: uppercase; color: var(--brand-pale); }
.grupal-anna__quote { display: grid; gap: 14px; margin-top: 8px; }
.grupal-anna__mark { font-family: var(--font-display); font-size: 72px; line-height: .5; color: var(--brand); }
.grupal-anna__quote-text { max-width: 22ch; font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.2; text-transform: uppercase; color: var(--text-clear); }
.grupal-anna__pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(28px, 4vw, 56px); }
.grupal-anna__pillar { display: grid; gap: 14px; align-content: start; padding-top: 20px; border-top: 1px solid var(--line-mid); }
.grupal-anna__pillar-head { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .22em; text-transform: uppercase; color: var(--brand-light); }
.grupal-anna__pillar-title { color: var(--text-clear); }
.grupal-anna__pillar-text { font-size: 16px; line-height: 1.65; color: var(--text-mid); }

/* 04 · La idea central (fondo claro) */
.grupal-idea__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: var(--split-gap); align-items: start; }
.grupal-idea__copy { display: grid; gap: 24px; }
.grupal-idea__head { display: flex; align-items: center; gap: 18px; }
.grupal-idea__isotype { width: auto; height: 52px; }
.grupal-idea__text { max-width: 46ch; font-size: var(--text-item); color: var(--ink-soft); }
.grupal-idea__aside { display: grid; gap: 28px; align-self: center; }
.grupal-idea__list { display: grid; border-top: 1px solid var(--line-brand); }
.grupal-idea__item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-brand);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 26px);
  line-height: 1.25;
  text-transform: uppercase;
}
.grupal-idea__num { font-family: var(--font-mono); font-size: 12px; color: var(--brand); }
.grupal-idea__strong { font-weight: 400; color: var(--ink); }

/* 05 · Formato de participación */
.grupal-format { display: grid; gap: clamp(56px, 8vh, 96px); }
.grupal-format__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px 64px; align-items: end; }
.grupal-format__intro { display: grid; gap: 18px; }
.grupal-format__title { font-size: clamp(34px, 4.4vw, 68px); line-height: 1; }
.grupal-format__sub { font-size: .62em; line-height: 1.2; }
.grupal-format__lede { max-width: 44ch; font-size: var(--text-item); color: var(--text-mid); }
.grupal-format__block { display: grid; gap: 28px; }
.grupal-format__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.grupal-format__label { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 1.8vw, 28px); line-height: normal; text-transform: uppercase; color: var(--text-clear); }
.grupal-format__note { font-size: 15px; line-height: normal; color: var(--text-mid); }
.grupal-format__cta { justify-self: center; }
.grupal-timeline { position: relative; overflow-x: auto; padding: 4px 2px 2px; }
.grupal-timeline__line { position: absolute; left: 9px; right: 9px; top: 13px; height: 1px; background: linear-gradient(90deg, var(--brand-pale), var(--brand) 50%, var(--brand-pale)); }
.grupal-timeline__weeks { display: grid; grid-template-columns: repeat(12, minmax(28px, 1fr)); min-width: 420px; }
.grupal-timeline__week { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; }
.grupal-timeline__dot { display: block; width: 14px; height: 14px; border: 1px solid var(--brand-light); border-radius: var(--pill); background: var(--ink); box-shadow: 0 0 0 6px var(--ink); }
.grupal-timeline__n { font-family: var(--font-mono); font-size: var(--text-xs); line-height: normal; letter-spacing: .1em; color: var(--text-dim); }
.grupal-timeline__week--end .grupal-timeline__dot { width: 20px; height: 20px; background: var(--brand-pale); }
.grupal-timeline__week--end .grupal-timeline__n { color: var(--text-clear); }
/* En teléfono las 12 semanas no caben en una fila: dos filas de seis, cada una con su línea. */
@media (max-width: 600px) {
  .grupal-timeline { overflow: visible; }
  .grupal-timeline__line { display: none; }
  .grupal-timeline__weeks { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 28px; min-width: 0; }
  .grupal-timeline__week::before { content: ""; position: absolute; z-index: -1; top: 9px; left: 0; right: 0; height: 1px; background: var(--brand); }
  .grupal-timeline__week:nth-child(6n + 1)::before { left: 50%; }
  .grupal-timeline__week:nth-child(6n)::before { right: 50%; }
}
.grupal-session { display: flex; flex-wrap: wrap; gap: 2px; }
.grupal-session__block { flex: 1 1 0; display: grid; gap: 10px; align-content: start; padding: 20px; border: 1px solid; }
.grupal-session__block--surface { min-width: 192px; background: var(--surface); border-color: var(--line-mid); color: var(--text-clear); }
.grupal-session__block--brand { min-width: 302px; background: var(--brand); border-color: var(--brand); color: var(--text-clear); }
.grupal-session__block--pale { min-width: 222px; background: var(--brand-pale); border-color: var(--brand-pale); color: var(--ink); }
.grupal-session__minutes { font-family: var(--font-mono); font-size: var(--text-xs); line-height: normal; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.grupal-session__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.15; text-transform: uppercase; }
.grupal-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--line); }
.grupal-specs__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; padding: 22px 16px 22px 0; }
.grupal-specs__body { display: grid; gap: 4px; }
.grupal-specs__label { font-family: var(--font-mono); font-size: var(--text-xs); line-height: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }
.grupal-specs__value { font-size: 16px; line-height: 1.35; color: var(--text-clear); }

/* 06 · Preguntas frecuentes: <details> nativo con el mismo dibujo que el diseño */
.grupal-faq-section { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.grupal-faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(32px, 5vw, 80px); align-items: start; }
.grupal-faq__intro { position: sticky; top: 40px; display: grid; gap: 20px; }
/* En una sola columna el bloque fijo taparía las preguntas. */
@media (max-width: 760px) { .grupal-faq__intro { position: static; } }
.grupal-faq__lede { max-width: 36ch; font-size: var(--text-item); color: var(--text-mid); }
.grupal-faq__list { display: grid; border-top: 1px solid var(--line); }
.grupal-faq__item { border-bottom: 1px solid var(--line); }
.grupal-faq__q {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 16px;
  align-items: center;
  padding: 20px 0;
  list-style: none;
  color: var(--text-clear);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.5vw, 24px);
  line-height: 1.2;
  text-transform: uppercase;
  cursor: pointer;
}
.grupal-faq__q::-webkit-details-marker { display: none; }
.grupal-faq__q:hover { color: var(--brand-pale); }
.grupal-faq__icon {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--pill);
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 300;
  transition: transform .3s;
}
.grupal-faq__item[open] .grupal-faq__icon { transform: rotate(45deg); }
.grupal-faq__a { max-width: 60ch; padding: 0 48px 22px 0; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.6; color: var(--text-mid); }

/* 07 · Inversión: tarjeta centrada con el precio de la generación abierta */
.grupal-price { position: relative; overflow: hidden; }
.grupal-price__glow { left: 50%; top: 50%; width: 70vw; height: 70vw; transform: translate(-50%, -50%); }
.grupal-price__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  /* The price scales with the card (cqi), so any amount fits on one line. */
  container-type: inline-size;
  gap: 18px;
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 64px);
  border: 1px solid color-mix(in srgb, var(--brand-pale) 35%, transparent);
  border-radius: 24px;
  background: color-mix(in srgb, var(--ink-2) 80%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 80px color-mix(in srgb, var(--brand) 22%, transparent);
  text-align: center;
}
.grupal-price__title { display: grid; gap: 4px; font-size: clamp(54px, 7vw, 96px); line-height: .95; color: var(--brand-pale); }
.grupal-price__lead { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.1; color: var(--text-clear); }
.grupal-price__edition { display: flex; align-items: center; gap: 16px; width: 100%; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .24em; text-transform: uppercase; color: var(--brand-pale); }
.grupal-price__edition::before, .grupal-price__edition::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.grupal-price__amount { max-width: 100%; margin-top: 6px; font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 15cqi, 104px); line-height: 1; color: var(--text-clear); white-space: nowrap; }
.grupal-price__sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(20px, 1.9vw, 26px); color: var(--text-clear); }
.grupal-price__list { display: grid; gap: 14px; width: 100%; max-width: 360px; padding-top: 22px; border-top: 1px solid var(--line-strong); text-align: left; }
.grupal-price__item { display: flex; align-items: center; gap: 14px; font-size: var(--text-item); color: var(--text-clear); }
.grupal-price__item svg { flex: none; color: var(--brand-light); }
.grupal-price__when { font-size: var(--text-sm); line-height: 1.5; letter-spacing: .04em; color: var(--text-mid); }
.grupal-price__cta { gap: 12px; width: min(100%, 420px); margin-top: 8px; }
.grupal-price__full { font-size: var(--text-item); color: var(--brand-pale); }
.grupal-price__note { font-size: var(--text-sm); line-height: 1.5; color: var(--text-dim); }
.grupal-price__note a { color: var(--brand-pale); }

/* Inscripción */
.grupal-register { position: relative; overflow: hidden; }
.grupal-register__glow { right: -15%; top: -30%; width: 60vw; height: 60vw; }
.grupal-register__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.grupal-register__copy { display: grid; gap: 28px; }
.grupal-register__isotype { width: auto; height: 64px; }
.grupal-register__title { max-width: 14ch; font-size: clamp(34px, 4.2vw, 66px); line-height: 1.04; }
.grupal-register__lede { max-width: 42ch; font-size: var(--text-item); color: var(--text-mid); }
.grupal-register__steps { display: grid; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--text-mid); }
.grupal-register__step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.grupal-register__step-n { font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.grupal-register__help { font-size: 15px; line-height: 1.5; color: var(--text-mid); }
.grupal-progress { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.grupal-progress__step { display: grid; gap: 8px; }
.grupal-progress__bar { display: block; height: 2px; background: color-mix(in srgb, var(--brand-pale) 20%, transparent); }
.grupal-progress__label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim); }
.grupal-progress__step--done .grupal-progress__bar, .grupal-progress__step--current .grupal-progress__bar { background: var(--brand-light); }
.grupal-progress__step--done .grupal-progress__label { color: var(--brand-light); }
.grupal-progress__step--current .grupal-progress__label { color: var(--text-clear); }
.grupal-progress--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grupal-confirm {
  display: grid;
  gap: 22px;
  align-content: center;
  min-height: 460px;
  padding: clamp(32px, 4vw, 52px);
  border: 1px solid color-mix(in srgb, var(--brand-pale) 30%, transparent);
  background: var(--surface);
}
.grupal-confirm__isotype { width: auto; height: 56px; }
.grupal-confirm__title { font-size: clamp(26px, 2.6vw, 40px); }
.grupal-confirm__text { font-size: var(--text-item); color: var(--text-mid); }
.grupal-confirm .btn { justify-self: start; }
.grupal-form { display: grid; gap: 20px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line-mid); background: var(--surface); }
.grupal-form__hint { margin: 0 0 4px; font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--brand-light); }
.grupal-form .field__label { font-size: 14px; font-weight: 300; letter-spacing: 0; color: var(--text-mid); }
.grupal-form .field__input { min-height: 54px; padding: 0 16px; border-color: color-mix(in srgb, var(--brand-pale) 25%, transparent); font-size: 16px; }
.grupal-form .field__input:focus { outline: none; border-color: var(--brand-light); }
.grupal-form .check { display: flex; grid-template-columns: none; gap: 12px; align-items: flex-start; font-size: var(--text-sm); cursor: pointer; }
.grupal-form .check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; }
.grupal-form .check a { color: var(--brand-pale); }
.grupal-form__submit { min-height: 58px; gap: 12px; }
.grupal-form__note { font-size: var(--text-sm); line-height: 1.5; text-align: center; color: var(--text-dim); }

/* Paso de pago: el formulario de Stripe (Payment Element) vive dentro de la tarjeta */
.grupal-pay {
  display: grid;
  gap: 22px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid color-mix(in srgb, var(--brand-pale) 30%, transparent);
  background: var(--surface);
}
.grupal-pay__summary { display: grid; gap: 8px; padding: 20px; background: var(--ink); border: 1px solid var(--line); }
/* Qué se paga a la izquierda, el precio a la derecha, ambos sobre la misma línea base inferior. */
.grupal-pay__line { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.grupal-pay__what { display: grid; gap: 6px; min-width: 0; }
.grupal-pay__kicker { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .2em; text-transform: uppercase; color: var(--brand-light); }
.grupal-pay__item { font-size: 18px; line-height: 1.25; color: var(--text-clear); }
.grupal-pay__price { font-family: var(--font-display); font-weight: 500; font-size: 26px; line-height: 1; color: var(--text-clear); white-space: nowrap; }
/* En teléfono el precio baja a su propia línea: nada se parte ni se aprieta. */
@media (max-width: 480px) {
  .grupal-pay__line { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .grupal-pay__price { font-size: 30px; }
}
.grupal-pay__detail { font-size: var(--text-sm); line-height: 1.5; color: var(--text-dim); }
.grupal-pay .grupal-pay__form { gap: 20px; padding: 0; border: 0; background: none; }
.grupal-pay__hint { margin-top: 8px; }
.grupal-pay__checks { display: grid; gap: 14px; }
.grupal-pay__element { min-height: 52px; }
.grupal-pay__loading, .grupal-pay__noscript { font-size: var(--text-sm); color: var(--text-dim); }
.grupal-pay .grupal-form__submit:disabled { opacity: .55; cursor: progress; }
.grupal-pay__secure { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 12px; text-align: center; color: var(--text-dim); }
.grupal-pay__secure svg { flex: none; }

/* Pie propio de la landing */
.grupal-footer { background: var(--ink); border-top: 1px solid var(--line-soft); color: var(--text-dim); }
.grupal-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  padding-block: 32px 110px;
  font-size: var(--text-sm);
  letter-spacing: .04em;
}
.grupal-footer__logo { width: 140px; height: auto; }
.grupal-footer__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.grupal-footer__links a { color: var(--text-dim); }
.grupal-footer__links a:hover { color: var(--text-clear); }
.grupal-footer__copy { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .18em; text-transform: uppercase; }

/* Barra fija: aparece al bajar y se esconde cuando la inscripción está a la vista */
.grupal-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0 12px 12px;
  pointer-events: none;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .4s cubic-bezier(.4, 0, .2, 1), opacity .3s;
}
.grupal-bar.is-visible { transform: none; opacity: 1; }
.grupal-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 760px;
  padding: 10px 10px 10px 22px;
  border: 1px solid color-mix(in srgb, var(--brand-pale) 30%, transparent);
  border-radius: var(--pill);
  background: color-mix(in srgb, var(--ink-2) 92%, transparent);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px color-mix(in srgb, #000 45%, transparent);
  pointer-events: auto;
}
.grupal-bar__text { min-width: 0; overflow: hidden; font-size: 14px; line-height: 1.3; color: var(--text-mid); text-overflow: ellipsis; white-space: nowrap; }
.grupal-bar__strong { color: var(--text-clear); font-weight: 400; }
.grupal-bar__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: var(--pill);
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.grupal-bar__cta:hover { background: var(--brand-pale); color: var(--ink); }
/* En teléfono, una píldora baja: el texto corto cabe completo y tapa menos contenido. */
@media (max-width: 600px) {
  .grupal-bar { padding: 0 10px 10px; }
  .grupal-bar__inner { gap: 10px; padding: 6px 6px 6px 16px; }
  .grupal-bar__text { font-size: 13px; }
  .grupal-bar__cta { min-height: 40px; padding: 0 18px; font-size: 11px; letter-spacing: .12em; }
}
