/* =========================================================
   Multydrink · landing
   Concepto: botánica luminosa. Papel con tinte verde, tinta
   verde bosque, el lima de la marca como bloque de color y el
   dorado del agave como segundo acento. Una sola página, móvil
   primero, todo empuja hacia WhatsApp.
   ========================================================= */

:root {
  /* Color */
  --paper:   #F3F6EC;   /* fondo, blanco con tinte hoja   */
  --paper-2: #E8EEDB;   /* secciones alternas             */
  --ink:     #14261A;   /* texto y botón principal        */
  --leaf:    #24472B;   /* bloque oscuro (ingredientes)   */
  --lime:    #9BCB3C;   /* verde Multydrink               */
  --agave:   #E4A72E;   /* dorado del logo                */
  --muted:   #4B5B4A;   /* texto secundario               */
  --line:    #D3DCC3;   /* bordes y divisores             */
  --white:   #FFFFFF;
  --wa:      #0F7A3F;   /* verde WhatsApp oscuro: ícono blanco con contraste 5.4:1 */
  --agave-text: #8A5E0C; /* dorado para texto: contraste 5.2:1 sobre papel */

  /* Tipografía */
  --f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-md: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --t-hero: clamp(2.9rem, 1.6rem + 5vw, 5.4rem);

  /* Espacio y forma */
  --gutter: clamp(16px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 128px);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;

  /* Movimiento (curvas ease-out fuertes, duraciones cortas) */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --d-fast: 160ms;
  --d-mid: 260ms;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--t-md);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--agave); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); max-width: 52ch; }
.h2 { font-size: var(--t-xl); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 22px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: var(--t-md); text-decoration: none; cursor: pointer;
  transition: transform var(--d-fast) var(--ease-out), background-color var(--d-mid) var(--ease-out), border-color var(--d-mid) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--ink .i { color: var(--lime); }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: var(--t-lg); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: var(--t-sm); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--lime { --bg: var(--lime); --fg: var(--ink); }
.btn--block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .btn--ink:hover { --bg: var(--leaf); }
  .btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); }
  .btn--lime:hover { --bg: #AEDA55; }
}
.link { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--lime); }
.link:hover { text-decoration-color: var(--ink); }

/* ---------- Navegación ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--d-mid) var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav__logo img { width: 112px; height: auto; }
.nav__links { display: none; gap: 28px; margin-left: auto; font-size: var(--t-sm); }
.nav__links a { text-decoration: none; color: var(--muted); transition: color var(--d-fast); }
.nav__links a:hover { color: var(--ink); }
.nav .btn { margin-left: auto; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav .btn { margin-left: 8px; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(28px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.hero__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.15fr .85fr; } }
.hero__copy { min-width: 0; }
.hero__kicker { font-size: var(--t-sm); font-weight: 700; color: var(--leaf); display: inline-flex; align-items: center; gap: 10px; }
.hero__kicker::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--agave); }
.hero__title {
  margin-top: 18px;
  font-size: var(--t-hero);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.045em;
  font-variation-settings: "opsz" 96;
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .ln > span { display: inline-block; }
.hero__title .ln:last-child > span {
  background: var(--lime);
  padding: 0 .12em;
  margin-left: -.06em;
  border-radius: .12em;
  box-decoration-break: clone;
}
.hero__lead { margin-top: 26px; font-size: var(--t-lg); line-height: 1.55; color: var(--muted); max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: var(--t-sm); color: var(--muted); }
.proof li { display: inline-flex; align-items: center; gap: 8px; }
.proof .i { color: var(--leaf); width: 18px; height: 18px; }

.hero__art { position: relative; margin: 0; aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; display: grid; place-items: center; }
.hero__disc {
  position: absolute; inset: 6%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #C3E27A 0 0, transparent 60%),
    var(--lime);
}
.hero__disc::after {
  content: ""; position: absolute; inset: -4.5%;
  border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--leaf) 45%, transparent);
}
.hero__img { position: relative; width: 84%; filter: drop-shadow(0 30px 30px rgba(20, 38, 26, .22)); }
.tag {
  position: absolute; z-index: 2;
  background: var(--white); color: var(--ink);
  border-radius: 999px; padding: 8px 16px;
  font-size: var(--t-sm); line-height: 1.2;
  box-shadow: 0 1px 0 rgba(20,38,26,.06), 0 10px 24px -10px rgba(20,38,26,.35);
  white-space: nowrap;
}
.tag b { font-family: var(--f-display); font-size: 1.15em; margin-right: 4px; }
.tag--a { top: 9%; right: 0; }
.tag--b { bottom: 11%; left: 0; }

/* Entrada del hero: un solo momento orquestado */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title .ln > span { animation: rise 900ms var(--ease-out) both; }
  .js .hero__title .ln:nth-child(2) > span { animation-delay: 80ms; }
  .js .hero__title .ln:nth-child(3) > span { animation-delay: 160ms; }
  .js .hero__lead, .js .hero__cta, .js .proof, .js .hero__kicker { animation: fade 700ms var(--ease-out) both; animation-delay: 300ms; }
  .js .hero__disc { animation: grow 1000ms var(--ease-out) both; }
  .js .hero__img { animation: settle 1100ms var(--ease-out) both; animation-delay: 120ms; }
  .js .tag { animation: pop 500ms var(--ease-out) both; }
  .js .tag--a { animation-delay: 650ms; }
  .js .tag--b { animation-delay: 750ms; }
}
@keyframes rise { from { transform: translateY(105%); } }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
@keyframes grow { from { transform: scale(.86); opacity: 0; } }
@keyframes settle { from { transform: translateY(24px) rotate(-4deg); opacity: 0; } }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }

/* ---------- Secciones ---------- */
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: 0 var(--sec); }
.sec--paper2 { background: var(--paper-2); }
.sec__head { display: grid; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); }
.split { display: grid; gap: clamp(28px, 5vw, 80px); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split__head { position: sticky; top: 110px; }
}
.split__head { display: grid; gap: 14px; align-content: start; }

/* Video */
.video { border-radius: var(--r-lg); overflow: hidden; background: var(--ink); color: var(--paper); aspect-ratio: 16 / 9; max-width: 100%; position: relative; }
.video video { width: 100%; height: 100%; display: block; background: #000; }
.video__cover {
  all: unset; box-sizing: border-box; cursor: pointer; position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr; align-content: end; padding: clamp(20px, 4vw, 48px);
  background: radial-gradient(120% 90% at 85% 20%, color-mix(in srgb, var(--lime) 55%, transparent), transparent 60%), var(--leaf);
}
.video__cover img { position: absolute; right: 6%; top: 50%; width: min(44%, 420px); transform: translateY(-50%) rotate(-3deg); filter: drop-shadow(0 24px 30px rgba(0,0,0,.35)); transition: transform 600ms var(--ease-out); }
.video__text { position: relative; display: grid; gap: 6px; max-width: 30ch; }
.video__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem); line-height: 1; letter-spacing: -.03em; }
.video__sub { color: color-mix(in srgb, var(--paper) 80%, transparent); font-size: var(--t-sm); }
.play {
  position: absolute; left: clamp(20px, 4vw, 48px); top: clamp(20px, 4vw, 48px);
  width: 72px; height: 72px; border-radius: 50%; background: var(--lime); color: var(--ink);
  display: grid; place-items: center;
  transition: transform var(--d-mid) var(--ease-out);
}
.play .i { width: 30px; height: 30px; margin-left: 4px; }
.video__cover:active .play { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .video__cover:hover .play { transform: scale(1.06); }
  .video__cover:hover img { transform: translateY(-50%) rotate(0deg); }
}
.video__fallback { position: absolute; inset: auto 16px 16px auto; color: var(--paper); font-size: var(--t-sm); }
@media (max-width: 560px) {
  .video { aspect-ratio: 4 / 5; }
  .video__cover img { top: 34%; width: 70%; right: 4%; }
}

/* Beneficios */
.benefits { display: grid; border-top: 1.5px solid var(--ink); }
.benefits li {
  display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 16px;
  padding-block: 20px; border-bottom: 1px solid var(--line); color: var(--muted);
}
.benefits__k { font-family: var(--f-display); font-weight: 700; font-size: var(--t-lg); color: var(--ink); letter-spacing: -.01em; }
@media (max-width: 520px) { .benefits li { grid-template-columns: 1fr; gap: 2px; } }

/* Ingredientes */
.sec--leaf { background: var(--leaf); color: var(--paper); }
.sec--leaf .muted { color: color-mix(in srgb, var(--paper) 72%, transparent); }
.ingr { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); border-top: 1.5px solid color-mix(in srgb, var(--paper) 40%, transparent); }
.ingr li { padding: 24px 24px 28px 0; display: grid; gap: 8px; align-content: start; border-bottom: 1px solid color-mix(in srgb, var(--paper) 16%, transparent); }
.ingr h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.85rem); color: var(--lime); font-weight: 700; }
.ingr p { color: color-mix(in srgb, var(--paper) 78%, transparent); font-size: var(--t-sm); max-width: 34ch; }

/* Testimonios */
.featured { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-bottom: 40px; }
.fcard {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 14px; align-content: start;
  -webkit-tap-highlight-color: transparent;
}
.fcard__thumb { position: relative; aspect-ratio: 16 / 10; max-width: 100%; border-radius: var(--r-md); overflow: hidden; background: var(--leaf); }
.fcard__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 600ms var(--ease-out); }
.fcard__thumb .play { left: 16px; top: auto; bottom: 16px; width: 52px; height: 52px; }
.fcard__thumb .play .i { width: 22px; height: 22px; }
.fcard__cat { font-size: var(--t-xs); font-weight: 700; color: var(--leaf); }
.fcard__t { font-family: var(--f-display); font-weight: 700; font-size: var(--t-lg); line-height: 1.2; letter-spacing: -.01em; }
.fcard:active .fcard__thumb { transform: scale(.985); }
.fcard__thumb { transition: transform var(--d-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .fcard:hover .fcard__thumb img { transform: scale(1.06); }
}
.thumb-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(90% 90% at 80% 10%, color-mix(in srgb, var(--lime) 50%, transparent), transparent 60%), var(--leaf); }
.thumb-fallback img { width: 46%; height: auto; object-fit: contain; transform: rotate(-6deg); }

.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px;
  scroll-snap-type: x proximity;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line);
  font-size: var(--t-sm); font-weight: 700; color: var(--muted); cursor: pointer;
  transition: background-color var(--d-mid) var(--ease-out), color var(--d-mid) var(--ease-out), border-color var(--d-mid) var(--ease-out), transform var(--d-fast) var(--ease-out);
}
.chip span { font-weight: 400; margin-left: 4px; opacity: .7; font-variant-numeric: tabular-nums; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip:active { transform: scale(.96); }

.tlist { display: grid; border-top: 1.5px solid var(--ink); margin-top: 8px; }
.trow {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 16px 4px; border-bottom: 1px solid var(--line);
  transition: background-color var(--d-mid) var(--ease-out);
}
.trow__play { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--ink); transition: background-color var(--d-mid) var(--ease-out), transform var(--d-fast) var(--ease-out); }
.trow__play .i { width: 18px; height: 18px; margin-left: 2px; }
.trow__t { font-size: var(--t-md); line-height: 1.4; }
.trow__c { font-size: var(--t-xs); color: var(--muted); white-space: nowrap; }
.trow:active .trow__play { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) {
  .trow:hover { background: color-mix(in srgb, var(--lime) 12%, transparent); }
  .trow:hover .trow__play { background: var(--lime); }
}
@media (max-width: 640px) {
  .trow { grid-template-columns: 44px minmax(0, 1fr); }
  .trow__c { display: none; }
}
.trow.is-in { animation: fade 360ms var(--ease-out) both; }
.tmore { display: flex; justify-content: center; margin-top: 28px; }
.note { display: flex; gap: 12px; margin-top: 40px; padding: 18px 20px; border-radius: var(--r-sm); background: var(--paper-2); color: var(--muted); font-size: var(--t-xs); line-height: 1.55; }
.note .i { color: var(--leaf); margin-top: 2px; }

/* Calculadora */
.calc {
  display: grid; gap: 0; border-radius: var(--r-lg); overflow: hidden;
  background: var(--white); box-shadow: 0 1px 0 rgba(20,38,26,.05), 0 30px 60px -40px rgba(20,38,26,.45);
}
@media (min-width: 900px) { .calc { grid-template-columns: 1.1fr .9fr; } }
.calc__rows { padding: clamp(12px, 2vw, 20px) clamp(20px, 3vw, 36px); }
.ctr { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.ctr:last-child { border-bottom: 0; }
.ctr b { display: block; font-size: var(--t-md); }
.ctr span { font-size: var(--t-sm); color: var(--muted); }
.ctr__ui { display: flex; align-items: center; gap: 4px; background: var(--paper); border-radius: 999px; padding: 4px; }
.ctr__ui button {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); cursor: pointer;
  font-size: 1.25rem; line-height: 1; box-shadow: 0 1px 2px rgba(20,38,26,.15);
  transition: transform var(--d-fast) var(--ease-out), opacity var(--d-fast);
}
.ctr__ui button:active { transform: scale(.9); }
.ctr__ui button:disabled { opacity: .35; cursor: default; }
.ctr__ui output { min-width: 2ch; text-align: center; font-family: var(--f-display); font-weight: 700; font-size: var(--t-lg); font-variant-numeric: tabular-nums; }
.calc__out { background: var(--ink); color: var(--paper); padding: clamp(24px, 3vw, 40px); display: grid; gap: 22px; align-content: center; }
.calc__nums { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc__nums > div { display: grid; gap: 2px; }
.calc__nums span:last-child { font-size: var(--t-sm); color: color-mix(in srgb, var(--paper) 70%, transparent); }
.big { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); line-height: 1; letter-spacing: -.04em; color: var(--lime); font-variant-numeric: tabular-nums; }
.calc__rec { font-size: var(--t-lg); line-height: 1.4; }
.calc__rec b { color: var(--lime); }
.calc__out .btn--ink { --bg: var(--lime); --fg: var(--ink); }
.calc__out .btn--ink .i { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .calc__out .btn--ink:hover { --bg: #AEDA55; } }
.bump { animation: bump 380ms var(--ease-out); }
@keyframes bump { 40% { transform: translateY(-3px); } }

/* Packs */
.packs { display: grid; gap: 16px; margin-top: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.pack {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 18px;
  padding: 24px; border-radius: var(--r-md); background: var(--paper); border: 1.5px solid var(--line);
  transition: border-color var(--d-mid) var(--ease-out), background-color var(--d-mid) var(--ease-out);
}
.pack.is-rec { border-color: var(--ink); background: var(--white); }
.pack__flag { position: absolute; top: 18px; right: 18px; background: var(--lime); color: var(--ink); font-size: var(--t-xs); font-weight: 700; padding: 4px 10px; border-radius: 999px; opacity: 0; transform: scale(.9); transition: opacity var(--d-mid) var(--ease-out), transform var(--d-mid) var(--ease-out); }
.pack.is-rec .pack__flag { opacity: 1; transform: none; }
.pack__img { height: 170px; display: grid; place-items: center; }
.pack__img img { max-height: 100%; width: auto; filter: drop-shadow(0 18px 18px rgba(20,38,26,.18)); }
.pack h3 { font-size: 1.5rem; }
.pack__meta { margin-top: 6px; color: var(--muted); font-size: var(--t-sm); }
.pack__dur { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.pack__dur b { font-family: var(--f-display); font-size: 2rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pack__dur span { color: var(--muted); font-size: var(--t-sm); }
.pack__price { font-family: var(--f-display); font-weight: 700; font-size: var(--t-lg); }

/* Cómo se toma */
.steps { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.steps__n { font-family: var(--f-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--agave-text); }
.steps h3 { font-size: var(--t-lg); margin-bottom: 4px; }
.steps p { color: var(--muted); }
.caution { margin-top: 28px; padding: 22px 24px; border-radius: var(--r-md); background: color-mix(in srgb, var(--agave) 16%, var(--paper)); }
.caution h3 { font-size: var(--t-md); font-family: var(--f-body); letter-spacing: 0; margin-bottom: 10px; }
.caution ul { display: grid; gap: 8px; }
.caution li { position: relative; padding-left: 20px; color: var(--ink); font-size: var(--t-sm); }
.caution li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--agave); }

/* Documentos */
.docs { display: grid; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-lg); background: var(--paper-2); }
@media (min-width: 760px) { .docs { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; } }
.docs > img { width: 200px; justify-self: center; filter: drop-shadow(0 20px 22px rgba(20,38,26,.2)); }
.docs > div { display: grid; gap: 14px; min-width: 0; }
.docs__links { display: grid; gap: 10px; margin-top: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.doc {
  display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: var(--r-sm);
  background: var(--white); text-decoration: none; border: 1px solid var(--line);
  transition: border-color var(--d-mid) var(--ease-out), transform var(--d-fast) var(--ease-out);
}
.doc:active { transform: scale(.98); }
.doc .i { width: 28px; height: 28px; color: var(--leaf); }
.doc b { display: block; }
.doc small { color: var(--muted); font-size: var(--t-xs); }
@media (hover: hover) and (pointer: fine) { .doc:hover { border-color: var(--ink); } }

/* FAQ */
.faq { border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-block: 20px; font-weight: 700; font-size: var(--t-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { width: 22px; height: 22px; transition: transform var(--d-mid) var(--ease-out); color: var(--leaf); }
.faq details[open] summary .i { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--d-mid) var(--ease-out); }
.faq details[open] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { color: var(--muted); padding-bottom: 22px; max-width: 60ch; }

/* CTA final */
.final { background: var(--ink); color: var(--paper); padding-block: clamp(64px, 8vw, 112px); overflow: hidden; }
.final__in { display: grid; gap: 32px; align-items: center; }
@media (min-width: 760px) { .final__in { grid-template-columns: 300px minmax(0, 1fr); gap: 64px; } }
.final__in > img { width: 220px; justify-self: center; transform: rotate(-8deg); filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
.final__in > div { display: grid; gap: 16px; justify-items: start; min-width: 0; }
.final__title { font-size: clamp(2rem, 1.3rem + 3vw, 3.75rem); font-weight: 800; letter-spacing: -.035em; line-height: .98; }
.final p { color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: var(--t-lg); max-width: 42ch; margin-bottom: 10px; }

/* Footer */
.foot { padding-block: 48px calc(48px + env(safe-area-inset-bottom, 0px)); background: var(--ink); color: color-mix(in srgb, var(--paper) 62%, transparent); border-top: 1px solid color-mix(in srgb, var(--paper) 12%, transparent); }
.foot__in { display: grid; gap: 12px; font-size: var(--t-xs); }
.foot__in img { width: 104px; filter: brightness(0) invert(1); opacity: .8; margin-bottom: 8px; }
.foot__small a { color: inherit; }

/* ---------- Botón flotante WhatsApp ---------- */
.fab {
  position: fixed; z-index: 50;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  opacity: 0; transform: translateY(16px) scale(.96); pointer-events: none;
  transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out);
}
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab__btn {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: var(--white);
  box-shadow: 0 10px 28px -6px rgba(20, 38, 26, .45), 0 0 0 1px rgba(0,0,0,.04);
  transition: transform var(--d-fast) var(--ease-out);
}
.fab__btn .i { width: 30px; height: 30px; }
.fab__label {
  background: var(--white); color: var(--ink); font-size: var(--t-sm); font-weight: 700;
  padding: 10px 14px; border-radius: 999px; box-shadow: 0 8px 22px -10px rgba(20,38,26,.45);
  transform-origin: right center;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.fab.is-quiet .fab__label { opacity: 0; transform: scale(.94) translateX(6px); }
.fab:active .fab__btn { transform: scale(.93); }
@media (hover: hover) and (pointer: fine) {
  .fab:hover .fab__label { opacity: 1; transform: none; }
}

/* ---------- Modal de video ---------- */
.modal {
  padding: 0; border: 0; background: transparent; max-width: min(960px, calc(100vw - 32px)); width: 100%;
  overflow: visible;
}
.modal::backdrop { background: rgba(14, 26, 18, .72); backdrop-filter: blur(6px); }
.modal__box { position: relative; background: var(--ink); color: var(--paper); border-radius: var(--r-md); overflow: hidden; }
.modal[open] .modal__box { animation: modalIn 280ms var(--ease-out); }
.modal[open]::backdrop { animation: fadeOnly 280ms var(--ease-out); }
@keyframes modalIn { from { opacity: 0; transform: scale(.96) translateY(8px); } }
@keyframes fadeOnly { from { opacity: 0; } }
.modal__player { aspect-ratio: 16 / 9; max-width: 100%; background: #000; }
.modal__player iframe { width: 100%; height: 100%; border: 0; display: block; }
.modal__foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; padding: 18px 20px; }
.modal__foot p { font-weight: 700; min-width: 0; flex: 1 1 260px; }
.modal__actions { display: flex; gap: 16px; align-items: center; }
.modal__actions .link { color: var(--paper); font-size: var(--t-sm); }
.modal__actions .btn--ink { --bg: var(--lime); --fg: var(--ink); }
.modal__actions .btn--ink .i { color: var(--ink); }
.modal__x {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,.55); color: var(--white); display: grid; place-items: center; cursor: pointer;
  transition: transform var(--d-fast) var(--ease-out);
}
.modal__x:active { transform: scale(.92); }

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* ---------- Accesibilidad ---------- */
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fcard:focus-visible, .trow:focus-visible, .video__cover:focus-visible { outline: 3px solid var(--agave-text); outline-offset: 3px; border-radius: var(--r-md); }
.sec--leaf :focus-visible, .final :focus-visible, .foot :focus-visible, .calc__out :focus-visible, .modal :focus-visible, .video :focus-visible { outline-color: var(--lime); }

/* ---------- Nutrición ---------- */
.nutri { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 130px), 1fr)); border-top: 1.5px solid var(--ink); }
.nutri li { display: grid; gap: 4px; padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.nutri__v { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.nutri__k { color: var(--muted); font-size: var(--t-sm); }
.ntable { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.ntable th, .ntable td { text-align: left; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); }
.ntable thead th { color: var(--muted); font-weight: 700; font-size: var(--t-xs); }
.ntable tbody th { font-weight: 400; }
.ntable td { text-align: right; white-space: nowrap; }
.ntable thead th:not(:first-child) { text-align: right; }

/* ---------- Consentimiento y letra pequeña ---------- */
.consent { font-size: var(--t-xs); color: color-mix(in srgb, var(--paper) 78%, transparent); }
.consent a, .fine a { color: inherit; text-underline-offset: 3px; }
.consent--dark { color: color-mix(in srgb, var(--paper) 78%, transparent); }
.fine { margin-top: 20px; font-size: var(--t-xs); color: var(--muted); max-width: 70ch; }
.tmore { flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.modal__note { flex-basis: 100%; font-size: var(--t-xs); color: color-mix(in srgb, var(--paper) 75%, transparent); }
.modal__note a { color: inherit; }
mark.todo { background: #FFE58A; color: #3A2A00; padding: 0 4px; border-radius: 4px; font-weight: 700; }

/* ---------- Footer legal ---------- */
.foot__biz { display: grid; gap: 4px; color: color-mix(in srgb, var(--paper) 82%, transparent); }
.foot__legal { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-block: 8px; }
.foot__legal a, .foot__cookies { color: var(--paper); font-size: var(--t-xs); text-underline-offset: 3px; }
.foot__cookies { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* ---------- Aviso de cookies ---------- */
.cookie {
  position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  max-width: 440px; padding: 20px; border-radius: var(--r-md); background: var(--white); color: var(--ink);
  box-shadow: 0 20px 50px -20px rgba(20,38,26,.5), 0 0 0 1px var(--line); display: grid; gap: 10px; font-size: var(--t-sm);
}
.cookie__t { font-weight: 700; font-size: var(--t-md); }
.cookie__a { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }

/* ---------- Páginas legales ---------- */
.legal { padding-block: clamp(32px, 6vw, 72px) var(--sec); }
.legal__in { max-width: 72ch; }
.legal h1 { font-size: var(--t-xl); margin-bottom: 8px; }
.legal h2 { font-size: 1.35rem; margin-top: 40px; margin-bottom: 10px; }
.legal p, .legal li { color: var(--ink); margin-bottom: 12px; }
.legal ul, .legal ol { list-style: disc; padding-left: 22px; margin-bottom: 12px; }
.legal ol { list-style: decimal; }
.legal .meta { color: var(--muted); font-size: var(--t-sm); margin-bottom: 28px; }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--t-sm); margin-bottom: 16px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 10px 10px 0; border-bottom: 1px solid var(--line); }
.legal .tablewrap { overflow-x: auto; }
.legal a { text-underline-offset: 3px; }
.legal__back { display: inline-block; margin-bottom: 24px; font-weight: 700; }

.final .consent { font-size: var(--t-xs); margin: 0; }
.chip { position: relative; }
