/* ==========================================================================
   Cultiva — bienestar + rendimiento
   Paleta, tipografía e íconos según Brand Guidelines Cultiva 2026 ([wawa] the label)
   ========================================================================== */

@font-face {
  font-family: "Alkaline";
  src: url("/assets/fonts/alkaline-medium.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  size-adjust: 136%;
  ascent-override: 64%;
  descent-override: 20%;
}

:root {
  /* Paleta oficial */
  --tierra: #353333;
  --raiz: #4E381F;
  --impulso: #795933;
  --luz: #F1E4BC;
  --origen: #FEFAF1;
  --cultivo: #776D42;
  --brote: #D0D3BF;
  --aire: #C0C4D8;
  --ritmo: #516985;
  --pulso: #886A6B;

  /* Derivados */
  --ink: var(--raiz);
  --ink-soft: color-mix(in oklab, var(--raiz) 78%, var(--origen));
  --ink-mute: color-mix(in oklab, var(--raiz) 58%, var(--origen));
  --line: color-mix(in oklab, var(--raiz) 16%, transparent);
  --paper: var(--origen);
  --luz-soft: color-mix(in oklab, var(--luz) 55%, var(--origen));

  --sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --script: "Alkaline", "Poppins", cursive;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --spring: cubic-bezier(.34, 1.36, .64, 1);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1240px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
strong { font-weight: 600; }
::selection { background: var(--luz); color: var(--raiz); }
:focus-visible { outline: 2px solid var(--ritmo); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--raiz); color: var(--origen); padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 12px; }

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

/* --- Tipografía ---------------------------------------------------------- */
.a {
  font-family: var(--script);
  font-weight: 500;
  letter-spacing: 0;
  font-style: normal;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 9px; flex: none;
  background: currentColor;
  -webkit-mask: url(/assets/brand/icon.svg) center/contain no-repeat;
          mask: url(/assets/brand/icon.svg) center/contain no-repeat;
}
.h2 {
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink); text-wrap: pretty; }
p { text-wrap: pretty; }

/* --- Íconos de marca (máscara = toman el color del texto) --------------- */
.ico {
  display: inline-block; width: 44px; height: 44px; flex: none;
  background: currentColor;
  -webkit-mask: var(--i) center/contain no-repeat;
          mask: var(--i) center/contain no-repeat;
}
.ico--lg { width: 72px; height: 72px; }

/* --- Botones -------------------------------------------------------------- */
.btn {
  --bg: var(--raiz); --fg: var(--origen);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 16px; font-weight: 500; letter-spacing: -.01em;
  transition: transform .35s var(--ease-out), background-color .3s, color .3s, box-shadow .35s var(--ease-out);
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: "→"; display: inline-block; font-weight: 400;
  transition: transform .35s var(--ease-out);
}
.btn:hover { box-shadow: 0 10px 30px -12px color-mix(in oklab, var(--bg) 70%, transparent); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: scale(.97); transition-duration: .12s; }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn--sm::after { display: none; }
.btn--raiz { --bg: var(--raiz); --fg: var(--origen); }
.btn--luz { --bg: var(--luz); --fg: var(--raiz); }
.btn--ghost { --bg: transparent; --fg: var(--raiz); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { --bg: color-mix(in oklab, var(--raiz) 6%, transparent); box-shadow: inset 0 0 0 1.5px var(--raiz); }
.btn--ghost::after { content: "↓"; }
.btn--ghost:hover::after { transform: translateY(3px); }
.btn--line { --bg: transparent; --fg: var(--luz); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--luz) 45%, transparent); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--luz); }

/* --- Navegación ----------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: background-color .4s, box-shadow .4s, transform .5s var(--ease-out);
}
.nav.is-scrolled {
  background: color-mix(in oklab, var(--origen) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
          backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.nav__logo { color: var(--raiz); width: 112px; flex: none; padding: 10px 0; margin: -10px 0; }
.nav__logo svg { width: 100%; height: auto; }
.nav__links { display: flex; gap: 6px; margin-left: auto; }
.nav__links a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-soft);
  transition: color .25s, background-color .25s;
}
.nav__links a:hover { color: var(--raiz); background: color-mix(in oklab, var(--raiz) 6%, transparent); }
.nav__links a.is-active { color: var(--raiz); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor;
}
.nav__burger { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; border-radius: 50%; }
.nav__burger span:not(.sr) {
  position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--raiz); border-radius: 2px;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
body.menu-open .nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.menu-open .nav__logo, body.menu-open .nav__burger span:not(.sr) { color: var(--luz); background-color: var(--luz); }
body.menu-open .nav__logo { background: none; }

.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--raiz); color: var(--luz);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 32px) var(--gutter) calc(32px + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0 round 0 0 40px 40px);
  transition: clip-path .7s var(--ease-out);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0 round 0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  font-size: clamp(34px, 9vw, 52px); font-weight: 500; letter-spacing: -.035em; line-height: 1.2;
  padding: 6px 0; border-bottom: 1px solid color-mix(in oklab, var(--luz) 14%, transparent);
  opacity: 0; transform: translateY(18px);
  transition: opacity .5s var(--ease-out), transform .6s var(--ease-out);
}
.menu.is-open nav a { opacity: 1; transform: none; }
.menu.is-open nav a:nth-child(1) { transition-delay: .12s; }
.menu.is-open nav a:nth-child(2) { transition-delay: .17s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .22s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .27s; }
.menu.is-open nav a:nth-child(5) { transition-delay: .32s; }
.menu__foot { display: flex; flex-direction: column; gap: 22px; }
.menu__foot p { font-size: 22px; letter-spacing: -.02em; }
.menu__social { display: flex; gap: 10px; flex-wrap: wrap; }
.menu__social .social { min-height: 46px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--luz) 35%, transparent); font-weight: 500; }

/* --- Hero ----------------------------------------------------------------- */
.hero { padding: calc(var(--nav-h) + clamp(28px, 6vw, 72px)) 0 clamp(56px, 8vw, 104px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero__title {
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.045em;
  text-wrap: balance;
  margin-bottom: 28px;
}
.hero__title .a { color: var(--impulso); }
.hero__lede { font-size: clamp(18px, 1.55vw, 20px); color: var(--ink-soft); max-width: 34ch; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero__facts { display: flex; gap: 0; list-style: none; padding: 0; border-top: 1px solid var(--line); max-width: 520px; }
.hero__facts li { flex: 1; padding: 18px 0 0; display: flex; flex-direction: column; gap: 2px; }
.hero__facts li + li { padding-left: 24px; border-left: 1px solid var(--line); margin-top: 0; }
.hero__facts li:first-child { padding-right: 24px; }
.hero__facts strong { font-weight: 500; font-size: 16px; letter-spacing: -.01em; }
.hero__facts span { font-size: 14px; color: var(--ink-mute); }

.hero__media { position: relative; justify-self: end; width: min(100%, 470px); }
.hero__photo {
  position: relative; overflow: hidden;
  border-radius: 240px 240px var(--r-lg) var(--r-lg);
  aspect-ratio: 420 / 600;
  background: var(--brote);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.hero__mark {
  position: absolute; width: 38%; left: -14%; bottom: 13%;
  fill: var(--luz); overflow: visible;
  filter: drop-shadow(0 18px 30px rgba(78, 56, 31, .18));
}
.hero__mark path { transform-box: fill-box; transform-origin: center; }
.hero__tag {
  position: absolute; right: -6px; top: 12%;
  background: var(--origen); color: var(--raiz);
  font-size: 14px; line-height: 1.35; font-weight: 500; letter-spacing: -.01em;
  padding: 12px 16px; border-radius: 16px 16px 4px 16px;
  box-shadow: 0 14px 40px -16px rgba(78, 56, 31, .35);
  max-width: 190px;
}

/* --- Ribbon --------------------------------------------------------------- */
.ribbon { background: var(--cultivo); color: var(--luz); overflow: hidden; padding: 20px 0; }
.ribbon__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ribbon 46s linear infinite; }
.ribbon span { font-size: clamp(18px, 2vw, 24px); letter-spacing: -.02em; white-space: nowrap; }
.ribbon i {
  width: 34px; height: 17px; flex: none; background: currentColor; opacity: .7;
  -webkit-mask: url(/assets/brand/icon.svg) center/contain no-repeat;
          mask: url(/assets/brand/icon.svg) center/contain no-repeat;
}
.ribbon:hover .ribbon__track { animation-play-state: paused; }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* --- Qué es Cultiva --------------------------------------------------------- */
.about { padding: clamp(80px, 11vw, 150px) 0; }
.about__head { max-width: 900px; margin-bottom: clamp(32px, 4vw, 56px); }
.about__head .a { color: var(--cultivo); }
.about__body { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 80px); max-width: 1080px; margin-left: auto; color: var(--ink-soft); }
.values {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  margin-top: clamp(64px, 8vw, 112px);
  border-top: 1px solid var(--line);
}
.value { padding: 32px 24px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.value + .value { padding-left: 24px; border-left: 1px solid var(--line); }
.value .ico { color: var(--cultivo); width: 46px; height: 46px; margin-bottom: 10px; transition: transform .6s var(--spring); }
.value:hover .ico { transform: translateY(-4px) rotate(-4deg); }
.value h3 { font-size: 19px; font-weight: 500; letter-spacing: -.02em; }
.value p { font-size: 15px; line-height: 1.5; color: var(--ink-mute); }

.naming {
  margin-top: clamp(72px, 9vw, 128px);
  background: var(--luz-soft);
  border-radius: var(--r-lg);
  padding: clamp(32px, 5vw, 72px);
  display: grid; grid-template-columns: auto 1fr; gap: 12px clamp(24px, 4vw, 56px); align-items: start;
}
.naming .ico { color: var(--cultivo); grid-row: span 2; }
.naming blockquote { font-size: clamp(24px, 3vw, 38px); line-height: 1.2; letter-spacing: -.03em; font-weight: 500; max-width: 26ch; text-wrap: balance; }
.naming figcaption { color: var(--ink-soft); max-width: 58ch; font-size: 16px; margin-top: 12px; }

/* --- Story (Beba) ----------------------------------------------------------- */
.story {
  --bg: var(--origen); --fg: var(--raiz); --accent: var(--impulso);
  background: var(--bg); color: var(--fg);
  transition: background-color .9s var(--ease-in-out), color .9s var(--ease-in-out);
  padding: clamp(40px, 6vw, 80px) 0;
}
.story[data-tone="brote"]   { --bg: var(--brote); }
.story[data-tone="aire"]    { --bg: var(--aire); }
.story[data-tone="pulso"]   { --bg: var(--pulso); --fg: var(--origen); --accent: var(--luz); }
.story[data-tone="cultivo"] { --bg: var(--cultivo); --fg: var(--origen); --accent: var(--luz); }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.story__media { position: sticky; top: calc(var(--nav-h) + 4vh); height: calc(100vh - var(--nav-h) - 8vh); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.story__frame {
  position: relative; flex: 1; max-height: 720px;
  border-radius: var(--r-lg); overflow: hidden;
  background: color-mix(in oklab, var(--fg) 8%, transparent);
  transition: border-radius .9s var(--ease-out);
}
.story[data-tone="aire"] .story__frame { border-radius: 46% 54% 42% 58% / 38% 40% 60% 62%; }
.story__frame > * {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity .8s var(--ease-out), transform 1.4s var(--ease-out);
}
.story__frame > .is-on { opacity: 1; transform: none; }
.story__frame img[data-media="0"] { object-position: 50% 20%; }
.story__frame img[data-media="3"] { object-position: 50% 6%; }
.story__belief { display: grid; place-items: center; color: var(--luz); }
.story__belief svg { width: 62%; overflow: visible; }
.story__belief svg use { animation: breathe 7s var(--ease-in-out) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes breathe { 50% { transform: scale(1.04) rotate(-2deg); } }
.story__dots { display: flex; gap: 8px; list-style: none; padding: 0; justify-content: center; }
.story__dots li { width: 6px; height: 6px; border-radius: 99px; background: currentColor; opacity: .25; transition: width .6s var(--ease-out), opacity .4s; }
.story__dots li.is-on { width: 26px; opacity: .9; }

.chapter { min-height: 82vh; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 6vh 0; max-width: 520px; }
.chapter__n { font-size: 13px; letter-spacing: .14em; opacity: .6; font-weight: 500; }
.chapter .h2 .a { color: var(--accent); transition: color .9s var(--ease-in-out); }
.chapter p:not(.lead):not(.chapter__n) { opacity: .82; }
.chapter .lead { color: inherit; }
.chapter__img { display: none; }
.chapter .sign { font-size: 20px; letter-spacing: -.01em; opacity: 1 !important; }
.beliefs { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0; counter-reset: b; }
.beliefs li { counter-increment: b; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; padding: 20px 0 20px 44px; position: relative; border-top: 1px solid color-mix(in oklab, currentColor 22%, transparent); }
.beliefs li::before { content: counter(b, decimal-leading-zero); position: absolute; left: 0; top: 24px; font-size: 13px; letter-spacing: .1em; opacity: .6; }

/* --- Proceso ---------------------------------------------------------------- */
.process { padding: clamp(88px, 11vw, 150px) 0; }
.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .a { color: var(--cultivo); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); list-style: none; padding: 0; }
.step { display: flex; flex-direction: column; gap: 12px; }
.step__img { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; margin-bottom: 14px; background: var(--brote); }
.step__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.step:hover .step__img img { transform: scale(1.04); }
.step__n { font-size: 13px; letter-spacing: .14em; color: var(--ink-mute); font-weight: 500; }
.step h3 { font-size: clamp(24px, 2.3vw, 30px); line-height: 1.12; letter-spacing: -.03em; font-weight: 500; margin-bottom: 4px; }
.step h3 .a { color: var(--cultivo); }
.step p:not(.step__n) { color: var(--ink-soft); font-size: 16px; }

/* --- Finder ------------------------------------------------------------------ */
.finder { background: var(--luz-soft); padding: clamp(88px, 10vw, 140px) 0; }
.finder__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.finder .h2 .a { color: var(--impulso); }
.finder .lead { color: var(--ink-soft); margin: 20px 0 36px; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font-size: 13px; color: var(--ink-mute); margin-bottom: 14px; padding: 0; letter-spacing: .02em; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 22px 0 16px; border-radius: 999px;
  background: var(--origen); color: var(--raiz);
  box-shadow: inset 0 0 0 1.5px var(--line);
  font-weight: 500; letter-spacing: -.01em; cursor: pointer; user-select: none;
  transition: background-color .3s, color .3s, box-shadow .3s, transform .35s var(--spring);
  -webkit-tap-highlight-color: transparent;
}
.chip .ico { width: 24px; height: 24px; transition: transform .5s var(--spring); }
.chip span:hover { box-shadow: inset 0 0 0 1.5px var(--raiz); }
.chip span:active { transform: scale(.96); }
.chip input:checked + span { background: var(--raiz); color: var(--luz); box-shadow: none; }
.chip input:checked + span .ico { transform: rotate(-10deg) scale(1.08); }
.chip input:focus-visible + span { outline: 2px solid var(--ritmo); outline-offset: 3px; }
.finder__hint { min-height: 1.6em; margin-top: 16px; font-size: 14px; color: var(--ink-mute); }

.result {
  --band: var(--brote); --band-fg: var(--raiz); --pill: var(--luz-soft);
  border-radius: var(--r-lg); overflow: hidden; background: var(--origen);
  box-shadow: 0 40px 80px -40px rgba(78, 56, 31, .35);
  transition: transform .6s var(--ease-out);
}
.result[data-tier="base"]    { --band: var(--cultivo); --band-fg: var(--origen); }
.result[data-tier="conecta"] { --band: var(--aire); --band-fg: var(--raiz); }
.result[data-tier="integra"] { --band: var(--raiz); --band-fg: var(--luz); }
.result[data-tier="custom"]  { --band: var(--pulso); --band-fg: var(--origen); }
.result__band {
  background: var(--band); color: var(--band-fg);
  padding: 28px 32px; display: flex; align-items: center; justify-content: space-between;
  transition: background-color .6s var(--ease-in-out), color .6s var(--ease-in-out);
}
.result__tier { font-size: 32px; font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.result__mark { width: 84px; color: currentColor; opacity: .38; transition: transform .8s var(--spring); }
.result.is-bump .result__mark { transform: rotate(-8deg) scale(1.06); }
.result__body { padding: 32px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; }
.result__name { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; letter-spacing: -.03em; font-weight: 500; }
.result__desc { color: var(--ink-soft); font-size: 16px; }
.result__foot { margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.result__price { font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.result__price small { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--ink-mute); }
.result__body > * { transition: opacity .35s var(--ease-out), transform .5s var(--ease-out); }
.result.is-swapping .result__body > *:not(.result__foot) { opacity: 0; transform: translateY(8px); }

/* --- Planes ----------------------------------------------------------------- */
.plans { padding: clamp(88px, 11vw, 150px) 0 clamp(64px, 8vw, 110px); }
.tabs { display: none; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); align-items: start; }
.tier {
  --head: var(--cultivo); --head-fg: var(--origen); --mark: var(--brote); --pill: var(--luz-soft);
  border-radius: var(--r-lg); overflow: hidden; background: #fff8;
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column;
}
.tier--conecta { --head: var(--aire); --head-fg: var(--raiz); --mark: var(--origen); --pill: color-mix(in oklab, var(--aire) 70%, var(--origen)); }
.tier--integra { --head: var(--raiz); --head-fg: var(--luz); --mark: var(--impulso); --pill: var(--luz-soft); }
.tier__head { position: relative; background: var(--head); color: var(--head-fg); padding: 32px 28px 30px; overflow: hidden; min-height: 248px; display: flex; flex-direction: column; justify-content: flex-end; }
.tier__name { font-size: clamp(52px, 4.8vw, 72px); line-height: .95; letter-spacing: -.045em; font-weight: 500; margin-bottom: 10px; position: relative; z-index: 1; }
.tier__head p { font-size: 15px; opacity: .92; position: relative; z-index: 1; max-width: 26ch; }
.tier__mark { position: absolute; right: -12px; top: 22px; width: 124px; color: var(--mark); opacity: .9; transition: transform 1s var(--spring); }
.tier--base .tier__mark { opacity: .55; }
.tier:hover .tier__mark { transform: translateX(-6px) rotate(-5deg); }
.tier__list { list-style: none; padding: 8px 28px; margin: 0; }
.tier__list li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.tier__list li:last-child { border-bottom: 0; }
.row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.row h4 { font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.price { flex: none; background: var(--pill); padding: 6px 13px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price small { font-weight: 400; font-size: 14px; }
.tier__list p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); }
.tier__list p.muted { margin-top: 6px; color: var(--ink-mute); }
.tier__note { margin: auto 28px 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--ink-mute); }

.includes {
  margin-top: clamp(20px, 2vw, 28px);
  background: color-mix(in oklab, var(--brote) 55%, var(--origen));
  border-radius: var(--r-lg);
  padding: clamp(28px, 3.5vw, 44px);
  display: grid; grid-template-columns: .8fr 2fr; gap: 24px 48px; align-items: center;
}
.includes h3 { font-size: clamp(22px, 2vw, 26px); line-height: 1.2; letter-spacing: -.025em; font-weight: 500; text-wrap: balance; }
.includes ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.includes li { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.includes .ico { width: 34px; height: 34px; color: var(--cultivo); }

/* --- Agenda ------------------------------------------------------------------ */
.book { padding: 0 0 clamp(88px, 11vw, 150px); }
.book__grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 80px); align-items: stretch;
}
.book__copy { padding-top: clamp(16px, 3vw, 40px); }
.book__copy .h2 .a { color: var(--cultivo); }
.book__copy .lead { color: var(--ink-soft); margin: 20px 0 32px; }
.book__opts { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.book__opts li { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.book__opts strong { font-weight: 500; letter-spacing: -.015em; font-size: 18px; }
.book__opts span { color: var(--ink-mute); font-size: 15px; }

.book__side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.book__copy, .book__panel, .planner { min-width: 0; }
.book__panel {
  position: relative; border-radius: var(--r-lg); overflow: hidden; overflow: clip;
  background: var(--origen); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -48px rgba(78, 56, 31, .4);
}
.book__panel iframe { display: block; width: 100%; height: 760px; border: 0; background: var(--origen); }
.book__alt { font-size: 14px; color: var(--ink-mute); text-align: center; }
.book__alt a { color: var(--raiz); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

.planner { display: flex; flex-direction: column; overflow: clip; }
.planner__head { background: var(--cultivo); color: var(--origen); padding: 22px 28px; display: flex; align-items: center; justify-content: space-between; }
.planner__title { font-size: clamp(24px, 2.4vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.planner__title .a { color: var(--luz); }
.planner__mark { width: 64px; color: var(--luz); opacity: .45; }
.planner__body { padding: 8px 28px 4px; }
.planner__step { border: 0; margin: 0; padding: 20px 0; min-width: 0; border-bottom: 1px solid var(--line); }
.planner__step:last-child { border-bottom: 0; }
.planner__step legend { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 16px; letter-spacing: -.015em; margin-bottom: 14px; padding: 0; float: left; width: 100%; }
.planner__step legend + * { clear: both; }
.planner__step legend span { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--luz); font-size: 12px; font-weight: 600; flex: none; }

.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.svc label, .days label, .times label { position: relative; display: block; }
.svc input, .days input, .times input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.svc span {
  display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer;
  transition: box-shadow .25s, background-color .25s, transform .3s var(--spring);
}
.svc strong { font-weight: 500; font-size: 15px; line-height: 1.3; letter-spacing: -.01em; }
.svc small { font-size: 13px; color: var(--ink-mute); }
.svc span:hover { box-shadow: inset 0 0 0 1.5px var(--raiz); }
.svc input:checked + span { box-shadow: inset 0 0 0 2px var(--raiz); background: var(--luz-soft); }
.svc input:focus-visible + span, .days input:focus-visible + span, .times input:focus-visible + span { outline: 2px solid var(--ritmo); outline-offset: 2px; }

.days {
  display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: -28px; padding: 2px 28px 4px; scroll-padding-inline: 28px;
  -webkit-mask: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 28px), transparent);
          mask: linear-gradient(90deg, transparent, #000 20px, #000 calc(100% - 28px), transparent);
}
.days::-webkit-scrollbar { display: none; }
.days label { scroll-snap-align: start; flex: none; }
.days span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0;
  width: 62px; height: 78px; border-radius: 16px; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .25s, background-color .25s, color .25s, transform .3s var(--spring);
}
.days small { font-size: 12px; color: var(--ink-mute); text-transform: lowercase; transition: color .25s; }
.days b { font-size: 22px; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.days span:hover { box-shadow: inset 0 0 0 1.5px var(--raiz); }
.days span:active, .times span:active, .svc span:active { transform: scale(.96); }
.days input:checked + span { background: var(--raiz); color: var(--luz); box-shadow: none; }
.days input:checked + span small { color: color-mix(in oklab, var(--luz) 75%, transparent); }

.times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.times span {
  display: grid; place-items: center; height: 44px; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .25s, background-color .25s, color .25s, transform .3s var(--spring);
}
.times span:hover { box-shadow: inset 0 0 0 1.5px var(--raiz); }
.times input:checked + span { background: var(--raiz); color: var(--luz); box-shadow: none; }
.times input:disabled + span {
  cursor: not-allowed; color: color-mix(in oklab, var(--raiz) 45%, var(--origen));
  text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--impulso);
  background: repeating-linear-gradient(-45deg, transparent 0 7px, color-mix(in oklab, var(--raiz) 7%, transparent) 7px 8px), color-mix(in oklab, var(--raiz) 4%, var(--origen));
  box-shadow: inset 0 0 0 1px var(--line);
}
.times input:disabled + span:hover { box-shadow: inset 0 0 0 1px var(--line); }
.times__legend { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-mute); margin-top: 4px; }
.times__legend s { display: inline-grid; place-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; text-decoration-thickness: 2px; text-decoration-color: var(--impulso); color: color-mix(in oklab, var(--raiz) 45%, var(--origen)); background: color-mix(in oklab, var(--raiz) 6%, var(--origen)); box-shadow: inset 0 0 0 1px var(--line); }
.times__empty { grid-column: 1 / -1; font-size: 14px; color: var(--ink-mute); padding: 8px 0; }
.times label { animation: timeIn .45s var(--ease-out) both; animation-delay: calc(var(--k) * 18ms); }
@keyframes timeIn { from { opacity: 0; transform: translateY(6px); } }

.field {
  width: 100%; height: 52px; padding: 0 18px; border: 0; border-radius: 999px; outline: 0;
  font: inherit; font-size: 16px; color: var(--raiz); background: color-mix(in oklab, var(--raiz) 5%, transparent);
  box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .25s, background-color .25s;
}
.field--area { height: auto; min-height: 96px; padding: 14px 18px; border-radius: 20px; resize: vertical; line-height: 1.5; }
.field::placeholder { color: var(--ink-mute); }
.field:focus { background: var(--origen); box-shadow: inset 0 0 0 1.5px var(--raiz); }

.planner__foot { padding: 22px 28px 26px; background: color-mix(in oklab, var(--brote) 40%, var(--origen)); display: flex; flex-direction: column; gap: 16px; }
.planner__sum { font-size: 15px; line-height: 1.4; color: var(--ink-soft); }
.planner__sum strong { color: var(--raiz); font-weight: 600; }
.planner__foot .btn:disabled, .planner__foot .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; box-shadow: none; transform: none; pointer-events: none; }

.confirm { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.confirm__step {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 14px 14px 14px 16px; border-radius: 18px; background: var(--origen);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .4s var(--ease-out), opacity .4s, transform .5s var(--spring);
}
.confirm__step:not(.is-active):not(.is-done) { opacity: .55; }
.confirm__step.is-active { box-shadow: inset 0 0 0 1.5px var(--raiz), 0 14px 30px -20px rgba(78, 56, 31, .5); }
.confirm__step.is-pulse { animation: confirmPulse .9s var(--ease-out); }
@keyframes confirmPulse { 30% { transform: scale(1.02); } }
.confirm__n {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--luz); font-size: 13px; font-weight: 600; transition: background-color .3s, color .3s;
}
.confirm__step.is-done .confirm__n { background: var(--cultivo); color: var(--origen); font-size: 0; }
.confirm__step.is-done .confirm__n::after { content: "✓"; font-size: 14px; }
.confirm__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.confirm__txt strong { font-weight: 500; font-size: 15px; letter-spacing: -.01em; }
.confirm__txt small { font-size: 13px; line-height: 1.4; color: var(--ink-mute); }
.confirm__txt b { font-weight: 600; color: var(--raiz); }
.confirm .btn { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn--cal::after { content: "↗"; }
.confirm__step.is-done .btn--cal { --bg: transparent; --fg: var(--raiz); box-shadow: inset 0 0 0 1.5px var(--line); }
.confirm__step.is-done .btn--cal::after { content: "↻"; }
.confirm__alt { font-size: 13px; color: var(--ink-mute); text-align: center; }
.confirm__alt button { color: var(--raiz); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }

/* --- FAQ ----------------------------------------------------------------------- */
.faq { padding: clamp(80px, 10vw, 140px) 0; background: var(--brote); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .h2 .a { color: var(--cultivo); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-size: clamp(18px, 1.6vw, 21px); font-weight: 500; letter-spacing: -.02em; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px;
  transition: transform .45s var(--ease-out);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0); }
.faq details p { padding: 0 48px 26px 0; color: var(--ink-soft); }
.faq details[open] p { animation: faqIn .5s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }

/* --- Footer ---------------------------------------------------------------- */
.foot { background: var(--raiz); color: var(--luz); padding: clamp(80px, 10vw, 140px) 0 0; position: relative; overflow: hidden; }
.foot__slogan { font-size: clamp(44px, 8.4vw, 124px); line-height: 1.04; letter-spacing: -.05em; font-weight: 500; max-width: 15ch; text-wrap: balance; }
.foot__row { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-top: clamp(56px, 8vw, 110px); padding-bottom: 32px; border-bottom: 1px solid color-mix(in oklab, var(--luz) 18%, transparent); flex-wrap: wrap; }
.foot__logo { width: clamp(180px, 22vw, 280px); color: var(--luz); }
.foot__links { display: flex; gap: 8px 28px; flex-wrap: wrap; }
.foot__links a { opacity: .8; transition: opacity .25s; }
.foot__links a:hover { opacity: 1; }
.foot__base { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 36px; font-size: 13px; opacity: .6; flex-wrap: wrap; }
.foot__pattern {
  height: 92px;
  background-color: color-mix(in oklab, var(--luz) 12%, transparent);
  -webkit-mask: url(/assets/brand/icon.svg) 0 50%/120px 60px repeat-x;
          mask: url(/assets/brand/icon.svg) 0 50%/120px 60px repeat-x;
  -webkit-mask-spacing: 40px;
  animation: drift 40s linear infinite;
}
@keyframes drift { to { -webkit-mask-position: 160px 50%; mask-position: 160px 50%; } }

/* --- Reveal ---------------------------------------------------------------- */
.js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-rise].is-in { opacity: 1; transform: none; }
.js [data-split] .w { display: inline-block; overflow: clip; overflow-clip-margin: .2em; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-split] .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i) * 55ms + 120ms); }
.js [data-split].is-in .w > span { transform: none; }
.js [data-reveal-img] { clip-path: inset(18% 0 0 0 round 240px 240px var(--r-lg) var(--r-lg)); transition: clip-path 1.4s var(--ease-out) .15s; }
.js [data-reveal-img] img { transform: scale(1.14); transition: transform 1.8s var(--ease-out) .15s; }
.js [data-reveal-img].is-in { clip-path: inset(0 0 0 0 round 240px 240px var(--r-lg) var(--r-lg)); }
.js [data-reveal-img].is-in img { transform: none; }
.js .hero__mark .mark-l { transform: translateX(-38%) rotate(-14deg); opacity: 0; transition: transform 1.6s var(--spring) .7s, opacity .6s ease .7s; }
.js .hero__mark .mark-r { transform: translateX(32%) rotate(10deg); opacity: 0; transition: transform 1.6s var(--spring) .78s, opacity .6s ease .78s; }
.js .hero.is-in .hero__mark path { transform: none; opacity: 1; }
.js .hero__tag { opacity: 0; transform: translateY(10px) scale(.96); transform-origin: 100% 100%; transition: opacity .6s var(--ease-out) 1.1s, transform .8s var(--spring) 1.1s; }
.js .hero.is-in .hero__tag { opacity: 1; transform: none; }

/* --- Responsive ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .value:nth-child(4) { padding-left: 0; border-left: 0; }
  .value { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
  .includes { grid-template-columns: 1fr; }
  .includes ul { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  body { font-size: 16px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav__logo { width: 98px; }

  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { justify-self: center; width: min(100%, 420px); order: -1; }
  .hero { padding-top: calc(var(--nav-h) + 16px); }
  .hero__photo { aspect-ratio: 4 / 4.4; border-radius: 200px 200px var(--r-lg) var(--r-lg); }
  .js [data-reveal-img] { clip-path: inset(18% 0 0 0 round 200px 200px var(--r-lg) var(--r-lg)); }
  .js [data-reveal-img].is-in { clip-path: inset(0 0 0 0 round 200px 200px var(--r-lg) var(--r-lg)); }
  .hero__mark { width: 30%; left: -4%; bottom: -5%; }
  .hero__tag { right: 0; top: auto; bottom: 14%; }

  .about__body { grid-template-columns: 1fr; }

  .story__grid { grid-template-columns: 1fr; }
  .story__media { display: none; }
  .chapter { min-height: auto; padding: 48px 0; max-width: none; }
  .chapter__img { display: block; width: 100%; border-radius: var(--r-md); margin-top: 8px; max-height: 70vh; object-fit: cover; }
  .chapter[data-chapter="0"] .chapter__img { aspect-ratio: 4/5; object-position: 50% 15%; }
  .chapter[data-chapter="3"] .chapter__img { border-radius: 46% 54% 42% 58% / 34% 36% 64% 66%; aspect-ratio: 4/5; object-position: 50% 10%; }

  .steps { grid-template-columns: 1fr; gap: 48px; }
  .finder__grid { grid-template-columns: 1fr; }

  .tabs {
    position: relative; display: grid; grid-template-columns: repeat(3, 1fr);
    background: color-mix(in oklab, var(--raiz) 6%, transparent); border-radius: 999px; padding: 5px; margin-bottom: 20px;
  }
  .tabs button { position: relative; z-index: 1; min-height: 46px; border-radius: 999px; font-weight: 500; color: var(--ink-mute); transition: color .35s; }
  .tabs button[aria-selected="true"] { color: var(--origen); }
  .tabs__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 3); border-radius: 999px; background: var(--raiz); transform: translateX(calc(var(--t, 0) * 100%)); transition: transform .55s var(--ease-out), background-color .4s; }
  .tiers { grid-template-columns: 1fr; }
  .tier { display: none; }
  .tier.is-on { display: flex; animation: tierIn .55s var(--ease-out); }
  @keyframes tierIn { from { opacity: 0; transform: translateY(10px); } }

  .book__grid { grid-template-columns: 1fr; }
  .faq__grid { grid-template-columns: 1fr; }
  .naming { grid-template-columns: 1fr; }
  .naming .ico { grid-row: auto; }
}

@media (max-width: 560px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value, .value + .value { padding: 24px 12px 20px 0; border-left: 0; }
  .value:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .value:last-child { grid-column: span 2; }
  .includes ul { grid-template-columns: 1fr; }
  .includes li { flex-direction: row; align-items: center; gap: 16px; }
  .hero__facts li + li { padding-left: 16px; }
  .hero__facts li:first-child { padding-right: 16px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .tier__head { padding: 26px 22px; min-height: 200px; }
  .tier__mark { width: 104px; }
  .tier__list { padding: 4px 22px; }
  .tier__note { margin: auto 22px 22px; }
  .row { flex-direction: column; gap: 8px; }
  .result__band, .result__body { padding-inline: 24px; }
  .svc { grid-template-columns: 1fr; }
  .confirm__step { grid-template-columns: auto 1fr; }
  .confirm .btn { grid-column: 1 / -1; width: 100%; }
  .planner__head, .planner__body, .planner__foot { padding-inline: 20px; }
  .days { margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; }
}


/* Laptops medianas: más aire para planes y agenda */
@media (min-width: 901px) and (max-width: 1180px) {
  .row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .tier__list { padding-inline: 22px; }
  .tier__head { padding-inline: 22px; }
  .tier__note { margin-inline: 22px; }
  .book__grid { grid-template-columns: .8fr 1.2fr; gap: 40px; }
  .values { grid-template-columns: repeat(5, 1fr); }
  .value, .value + .value { padding: 28px 14px 8px 0; border-bottom: 0; }
  .value + .value { padding-left: 14px; border-left: 1px solid var(--line); }
  .value:nth-child(4) { padding-left: 14px; border-left: 1px solid var(--line); }
}

/* Tablets: pasos en columnas y fotos de la historia con tamaño contenido */
@media (min-width: 640px) and (max-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .step h3 { font-size: 21px; }
  .step p:not(.step__n) { font-size: 15px; }
  .chapter__img { max-width: 560px; }
  .values { grid-template-columns: repeat(5, 1fr); }
  .value, .value + .value { padding: 24px 12px 8px 0; border-bottom: 0; border-left: 0; }
  .value + .value, .value:nth-child(4) { padding-left: 12px; border-left: 1px solid var(--line); }
  .value h3 { font-size: 16px; }
  .value p { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}

/* --- WhatsApp flotante ----------------------------------------------------- */
.fab {
  position: fixed; z-index: 45; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0;
  height: 56px; padding: 0 16px; border-radius: 999px;
  background: var(--raiz); color: var(--luz);
  box-shadow: 0 16px 36px -14px rgba(53, 51, 51, .55);
  transform: translateY(140%); opacity: 0;
  transition: transform .7s var(--spring), opacity .4s, gap .45s var(--ease-out), padding .45s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.fab.is-on { transform: none; opacity: 1; }
.fab svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
.fab span { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 500; font-size: 15px; transition: max-width .45s var(--ease-out); }
.fab:hover { gap: 10px; padding-right: 22px; }
.fab:hover span { max-width: 120px; }
.fab:active { transform: scale(.95); transition-duration: .12s; }
body.menu-open .fab { opacity: 0; pointer-events: none; }

/* --- Íconos de WhatsApp / Instagram --------------------------------------- */
.si {
  display: inline-block; width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em;
  background: currentColor;
  -webkit-mask: var(--si) center/contain no-repeat;
          mask: var(--si) center/contain no-repeat;
}
.si--wa { --si: url(/assets/icons/whatsapp.svg); }
.si--ig { --si: url(/assets/icons/instagram.svg); }
.social { display: inline-flex; align-items: center; gap: 8px; }
.btn--wa::after { display: none; }
.btn .si { width: 20px; height: 20px; }
.book__alt { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 16px; }
.book__alt-t { flex-basis: 100%; }
.book__alt .social { text-decoration: none; }
.book__alt .social:hover { text-decoration: underline; text-underline-offset: 3px; }
