/* ==========================================================
   DOGFU · Sistema visual único
   Una sola tipografía (Manrope, variable 200-800): la jerarquía
   se construye con PESO y TAMAÑO, no con otra familia.
   Alternancia de azul marino y crema para dar descanso visual.
   El dorado es acento, nunca fondo de texto largo.
   ========================================================== */
:root {
  /* Color */
  --cream: #F5F2E9;
  --cream-hi: #FBF9F4;
  --sand: #ECE5D4;
  --navy: #03162E;
  --navy-2: #071F38;        /* superficie elevada sobre azul */
  --navy-3: #0C2A49;        /* tarjeta sobre azul */
  --ink: #03162E;
  --ink-2: #3B4556;         /* secundario sobre crema · 8.9:1 */
  --gold: #E8AF00;
  --gold-ink: #7A5A00;      /* dorado legible sobre crema · 5.9:1 */
  --on-navy: #F5F2E9;
  --on-navy-2: #9FAEC0;     /* secundario sobre azul · 7.6:1 */
  --line: rgba(3, 22, 46, .16);
  --line-2: rgba(3, 22, 46, .09);
  --line-cream: rgba(245, 242, 233, .20);
  --line-cream-2: rgba(245, 242, 233, .11);
  --line-gold: rgba(232, 175, 0, .7);
  --ok: #2F6B3A;
  --err: #A4221A;

  /* Tipografía: una familia, muchos pesos */
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-display: clamp(2.5rem, 1.1rem + 6.2vw, 5.5rem);
  --t-h1: clamp(2.125rem, 1.3rem + 3.6vw, 3.75rem);
  --t-h2: clamp(1.875rem, 1.25rem + 2.8vw, 3.25rem);
  --t-h3: clamp(1.375rem, 1.15rem + 1.1vw, 1.875rem);
  --t-lead: clamp(1.0625rem, 1rem + .35vw, 1.1875rem);
  --t-small: .875rem;
  --t-eyebrow: .6875rem;

  /* Retícula y aire */
  --gut: clamp(20px, 4.5vw, 64px);
  --max: 1320px;
  --bar: 72px;
  --sec: clamp(64px, 9vw, 128px);     /* respiro vertical entre secciones */

  /* Movimiento */
  --ease: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --d-press: 140ms;
  --d-ui: 200ms;
  --d-panel: 280ms;
  color-scheme: light;
}
@media (max-width: 899px) { :root { --bar: 62px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;     /* el destello gris al tocar delata la web */
  overflow-x: clip;
  scroll-padding-top: calc(var(--bar) + 20px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html.lock, html.lock body { overflow: hidden; }
body { margin: 0; background: var(--cream); color: var(--ink);
  font: 400 1rem/1.6 var(--sans); letter-spacing: -.003em; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.028em; text-wrap: balance; }
p, li, dd { text-wrap: pretty; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a, button, summary, label, input, select { touch-action: manipulation; }
/* Los controles no heredan la tipografía: hay que dársela explícitamente */
button, input, select, textarea { font-family: var(--sans); }
button, summary, [role="button"], .btn, .sw, .chip, .step, .mode-box, .choice span, .tag {
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
}
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
section, [id] { scroll-margin-top: calc(var(--bar) + 20px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--gold); color: var(--navy); padding: 12px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Bloques de color: el ritmo del sitio ---------- */
.slab { padding: var(--sec) var(--gut); }
.slab-navy { background: var(--navy); color: var(--on-navy); }
.slab-cream { background: var(--cream); color: var(--ink); }
.slab-sand { background: var(--sand); color: var(--ink); }
.in { max-width: var(--max); margin-inline: auto; }

.eyebrow { font-size: var(--t-eyebrow); font-weight: 700; line-height: 1; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.slab-navy .eyebrow { color: var(--gold); }
.lead { font-size: var(--t-lead); color: var(--ink-2); max-width: 52ch; }
.slab-navy .lead { color: var(--on-navy-2); }
.head { display: grid; gap: 16px; justify-items: start; margin-bottom: clamp(36px, 5vw, 60px); }
.head h2 { font-size: var(--t-h2); line-height: 1.04; max-width: 20ch; }
.hl { color: var(--gold-ink); }          /* resalte de titular, sustituye a la cursiva */
.slab-navy .hl { color: var(--gold); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.slab-navy .rule { background: var(--line-cream); }

/* ---------- Barra superior ---------- */
.bar { position: sticky; top: 0; z-index: 100; height: var(--bar); display: flex; align-items: center; gap: 28px;
  padding-inline: var(--gut); background: rgba(3, 22, 46, .9); color: var(--on-navy);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-cream-2); }
.bar-logo { display: block; line-height: 0; }
.bar-logo img { width: auto; height: clamp(32px, 3.4vw, 42px); }
.bar-nav { display: flex; gap: 26px; margin-left: auto; }
.bar-nav a { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 8px 0;
  border-bottom: 1px solid transparent; transition: border-color var(--d-ui) var(--ease), color var(--d-ui) var(--ease); }
.bar-nav a[aria-current="page"] { border-color: var(--gold); }
.bar-menu { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; color: inherit; cursor: pointer; place-items: center; }
.bars, .bars::before, .bars::after { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform var(--d-ui) var(--ease); }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
[aria-expanded="true"] .bars { background: transparent; }
[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (hover: hover) and (pointer: fine) { .bar-nav a:hover { border-color: var(--gold); } }
@media (max-width: 899px) { .bar-nav, .bar .btn { display: none; } .bar-menu { display: grid; } }

/* Panel de navegación en teléfono */
.sheet { position: fixed; inset: var(--bar) 0 0; z-index: 90; display: none; flex-direction: column;
  padding: 14px var(--gut) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--navy); color: var(--on-navy); overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity var(--d-panel) var(--ease), transform var(--d-panel) var(--ease), visibility 0s var(--d-panel); }
.sheet.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s, 0s, 0s; }
.sheet a { display: flex; align-items: center; min-height: 62px; font-size: 1.5rem; font-weight: 600; letter-spacing: -.02em; border-bottom: 1px solid var(--line-cream-2); }
.sheet a[aria-current="page"] { color: var(--gold); }
.sheet .btn { margin-top: 24px; }
@media (max-width: 899px) { .sheet { display: flex; } }

/* ---------- Botones ----------
   Forma única en todo el sitio: rectángulo con celda de flecha. */
.btn { display: inline-grid; grid-auto-flow: column; align-items: stretch; border: 0; padding: 0; cursor: pointer;
  background: var(--gold); color: var(--navy); font-family: var(--sans);
  transition: background-color var(--d-ui) var(--ease), color var(--d-ui) var(--ease), box-shadow var(--d-ui) var(--ease), transform var(--d-press) var(--ease); }
.btn:active { transform: scale(.97); }        /* respuesta inmediata al presionar */
.btn > span:first-child { display: grid; place-items: center; min-height: 56px; padding: 0 26px; font-size: 1rem; font-weight: 700; line-height: 1; }
.btn > .ar { display: grid; place-items: center; width: 56px; border-left: 1px solid rgba(3, 22, 46, .26); }
.btn > .ar svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--d-ui) var(--ease); }
.btn-sm > span:first-child { min-height: 46px; padding: 0 18px; font-size: .875rem; }
.btn-sm > .ar { width: 46px; }
.btn-sm > .ar svg { width: 18px; height: 18px; }
.btn-wide { width: 100%; }
.btn-wide > span:first-child { min-height: 60px; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-line > .ar { border-left-color: var(--line); }
.slab-navy .btn-line, .bar .btn-line, .sheet .btn-line { color: var(--on-navy); box-shadow: inset 0 0 0 1px var(--line-cream); }
.slab-navy .btn-line > .ar, .bar .btn-line > .ar, .sheet .btn-line > .ar { border-left-color: var(--line-cream); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn[disabled]:active { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #F2C223; }
  .btn:hover > .ar svg { transform: translateX(3px); }
  .btn-line:hover { background: var(--ink); color: var(--cream); box-shadow: inset 0 0 0 1px var(--ink); }
  .slab-navy .btn-line:hover, .bar .btn-line:hover, .sheet .btn-line:hover { background: var(--on-navy); color: var(--navy); }
}
.link-u { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; border-bottom: 1px solid var(--line-gold); transition: border-color var(--d-ui) var(--ease); }
@media (hover: hover) and (pointer: fine) { .link-u:hover { border-color: currentColor; } }
.as-button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; padding: 0; }

/* ---------- Selector: la primera pantalla ---------- */
.pick { position: relative; min-height: calc(100svh - var(--bar)); display: grid; align-items: center; gap: 12px;
  padding: clamp(14px, 3vw, 48px) var(--gut) 0; overflow: hidden; color: var(--on-navy);
  background: radial-gradient(118% 88% at 76% 26%, rgba(232, 175, 0, .13), transparent 62%),
              linear-gradient(180deg, var(--navy-2), var(--navy) 66%); }
@media (min-width: 900px) { .pick { grid-template-columns: 1fr 1fr; align-content: center; gap: 40px; padding-bottom: 120px; } }

.pick-ghost { position: absolute; right: -.06em; top: 50%; transform: translateY(-56%); z-index: 0;
  font-size: clamp(6rem, 3rem + 17vw, 18rem); font-weight: 800; line-height: .78; letter-spacing: -.055em;
  color: transparent; -webkit-text-stroke: 1px rgba(232, 175, 0, .36); pointer-events: none; white-space: nowrap;
  transition: opacity var(--d-panel) var(--ease); }

.pick-media { position: relative; z-index: 1; display: grid; place-items: center; order: -1; }
@media (min-width: 900px) { .pick-media { order: 2; } }
.pick-pack { position: relative; margin: 0; width: min(51vw, 228px); }
@media (min-width: 900px) { .pick-pack { width: min(34vw, 400px); } }
.pick-pack img { width: 100%; height: auto;
  transition: opacity var(--d-panel) var(--ease), transform var(--d-panel) var(--ease), filter var(--d-panel) var(--ease); }
.pick-pack::after { content: ""; position: absolute; z-index: -1; left: 8%; right: 8%; bottom: -14px; height: 26px;
  border-radius: 50%; background: rgba(0, 0, 0, .55); filter: blur(14px); }
.pick-tex { position: absolute; z-index: 2; left: 0; bottom: 6%; width: clamp(72px, 11vw, 136px); aspect-ratio: 1; margin: 0;
  border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--line-gold), 0 18px 40px -18px rgba(0, 0, 0, .8); }
.pick-tex img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--d-panel) var(--ease), filter var(--d-panel) var(--ease); }
/* El desenfoque breve mezcla los dos estados: se lee como una transformación */
.pick.swapping .pick-pack img { opacity: .2; transform: translateY(10px) scale(.97); filter: blur(6px); }
.pick.swapping .pick-tex img { opacity: .2; filter: blur(4px); }
.pick.swapping .pick-ghost { opacity: .25; }
.pick.swapping .fade { opacity: .25; }

.pick-copy { position: relative; z-index: 1; display: grid; justify-items: start; gap: 14px; max-width: 34rem; }
.pick-copy .fade { transition: opacity var(--d-panel) var(--ease); }
.pick-count { font-size: .75rem; font-weight: 700; letter-spacing: .2em; color: var(--on-navy-2); font-variant-numeric: tabular-nums; }
.pick-count i { font-style: normal; color: var(--gold); margin: 0 6px; }
.pick-name { font-size: var(--t-display); font-weight: 800; line-height: .95; letter-spacing: -.038em; }
.pick-ing { font-weight: 600; color: var(--gold); letter-spacing: -.01em; }
.pick-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.pick-price small { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-navy-2); }
.pick-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 6px; }

/* Conmutador de proteína */
.switch { display: none; }
.js .switch { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr 1fr;
  margin-inline: calc(var(--gut) * -1); border-top: 1px solid var(--line-cream-2); }
@media (min-width: 900px) { .js .switch { position: absolute; left: 0; right: 0; bottom: 0; margin-inline: 0; } }
.sw { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; min-height: 76px;
  padding: 14px var(--gut); border: 0; background: transparent; color: var(--on-navy-2); text-align: left; cursor: pointer;
  font-family: var(--sans);
  transition: background-color var(--d-ui) var(--ease), color var(--d-ui) var(--ease), box-shadow var(--d-ui) var(--ease); }
.sw + .sw { border-left: 1px solid var(--line-cream-2); }
.sw img { width: 42px; height: auto; opacity: .5; transition: opacity var(--d-ui) var(--ease); }
.sw b { display: block; font-size: .9375rem; font-weight: 700; letter-spacing: -.015em; }
.sw span { display: block; font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.sw[aria-selected="true"] { background: rgba(232, 175, 0, .13); color: var(--on-navy); box-shadow: inset 0 2px 0 var(--gold); }
.sw[aria-selected="true"] img { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .sw:hover { color: var(--on-navy); background: rgba(245, 242, 233, .06); } }
@media (max-width: 480px) { .sw { grid-template-columns: 34px 1fr; gap: 10px; padding-inline: 16px; min-height: 68px; } .sw img { width: 34px; } .sw b { font-size: .875rem; } }

@media (max-width: 899px) {
  .pick { align-content: start; padding-top: 12px; }
  .pick-copy { gap: 10px; }
  .pick-actions .btn > span:first-child { min-height: 52px; padding-inline: 20px; }
  .pick-actions .btn > .ar { width: 52px; }
}
@media (max-width: 899px) and (max-height: 820px) {
  .pick-pack { width: min(45vw, 198px); }
  .pick-name { font-size: clamp(2.125rem, 1rem + 5.4vw, 2.875rem); }
  .sw { min-height: 64px; padding-block: 11px; }
}

/* ---------- Pasos numerados (liofilizado, cómo usarlo) ---------- */
.steps { display: grid; gap: 0; }
/* Se adapta al número de pasos que haya: hoy son dos */
@media (min-width: 820px) { .steps { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.steps li { display: grid; gap: 10px; align-content: start; padding: 26px 30px 26px 0; border-top: 1px solid var(--line); }
.slab-navy .steps li { border-top-color: var(--line-cream); }
@media (min-width: 820px) { .steps li + li { padding-left: 30px; border-left: 1px solid var(--line); } .slab-navy .steps li + li { border-left-color: var(--line-cream); } }
.s-n { font-size: .75rem; font-weight: 700; letter-spacing: .2em; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.slab-navy .s-n { color: var(--gold); }
.steps h3 { font-size: var(--t-h3); line-height: 1.1; }
.steps p { color: var(--ink-2); }
.slab-navy .steps p { color: var(--on-navy-2); }

/* ---------- Marquesina ----------
   Una cinta continua entre el selector y la explicación del liofilizado.
   Movimiento constante -> curva lineal (cualquier otra haría que acelerara y
   frenara en cada vuelta). Sólo se anima transform, que no toca layout ni
   pintura. El recorte a `hidden` es lo que impide que la página entera se
   desplace de lado en el teléfono. */
.marq { position: relative; padding: clamp(28px, 3.6vw, 46px) 0; background: var(--sand); color: var(--ink);
  border-block: 1px solid var(--line); overflow: hidden; }
.marq-row { overflow: hidden; }
.marq-track { display: flex; width: max-content; animation: marq 58s linear infinite; }
.marq.is-paused .marq-track { animation-play-state: paused; }
/* El hueco vive dentro de cada copia: así el -50% cae exacto y no hay salto */
.marq-set { display: flex; align-items: center; gap: clamp(22px, 3vw, 44px); padding-right: clamp(22px, 3vw, 44px); margin: 0; list-style: none; }
.marq-set li { display: flex; align-items: center; }
.marq-set span { font-size: clamp(1.5rem, .9rem + 2.6vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.marq-set span.ghost { color: transparent; -webkit-text-stroke: 1px rgba(3, 22, 46, .42); }
.marq-set img { flex: none; width: clamp(46px, 5.4vw, 76px); height: clamp(46px, 5.4vw, 76px);
  border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line-gold); }
@keyframes marq { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 719px) { .marq-track { animation-duration: 42s; } }

/* Control de la marquesina: integrado en la franja, sin texto visible.
   Es un <button> de verdad, así que Enter y Espacio ya funcionan; el área
   táctil llega a 44 px aunque el círculo visible sea de 34. El nombre
   accesible va en aria-label y cambia con el estado. */
.marq-btn { position: absolute; z-index: 2; right: var(--gut); top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; background: none; color: var(--ink-2); cursor: pointer;
  transition: color var(--d-ui) var(--ease); }
.marq-btn::before { content: ""; position: absolute; width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream); box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color var(--d-ui) var(--ease), box-shadow var(--d-ui) var(--ease), transform var(--d-press) var(--ease); }
.marq-btn:active::before { transform: scale(.92); }
.marq-btn:focus-visible { outline: none; }
.marq-btn:focus-visible::before { box-shadow: inset 0 0 0 1px var(--line), 0 0 0 3px var(--gold); }
/* Dos barras = pausar; al pausar el icono pasa a triángulo = reanudar */
.marq-ico { position: relative; width: 10px; height: 11px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.marq-btn[aria-pressed="true"] .marq-ico { width: 0; height: 0; border: 0; margin-left: 2px;
  border-left: 9px solid currentColor; border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }
@media (hover: hover) and (pointer: fine) {
  .marq-btn:hover { color: var(--cream); }
  .marq-btn:hover::before { background: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
}
/* La cinta se desvanece en los bordes: entra y sale sin cortarse de golpe,
   y deja sitio limpio al control sin taparlo con una caja opaca. */
/* El desvanecido de la derecha termina justo antes del control, para que la
   cinta no pase por debajo del botón. */
.marq-row { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 78%, transparent 92%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 78%, transparent 92%); }
@media (max-width: 719px) {
  .marq-row { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 70%, transparent 88%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 70%, transparent 88%); }
}
@media (max-width: 480px) { .marq-btn { right: 6px; } }

/* Movimiento reducido: estática, como se pidió. Para no perder contenido, la
   cinta queda desplazable a mano y se oculta la copia duplicada. */
@media (prefers-reduced-motion: reduce) {
  .marq-track { animation: none !important; width: auto; }
  .marq-row { overflow-x: auto; overscroll-behavior-x: contain; }
  .marq-set + .marq-set { display: none; }
  .marq-btn { display: none !important; }
}

/* ---------- Cifra descomunal ---------- */
.big { display: grid; gap: clamp(20px, 3vw, 44px); align-items: center; }
@media (min-width: 900px) { .big { grid-template-columns: 1fr 1fr; } }
.big-num { font-size: clamp(6rem, 2rem + 17vw, 15rem); font-weight: 800; line-height: .82; letter-spacing: -.055em;
  color: transparent; -webkit-text-stroke: 1px rgba(232, 175, 0, .7); margin-left: -.05em; }
.big-copy { display: grid; justify-items: start; gap: 18px; max-width: 42ch; }
.big-copy h2 { font-size: var(--t-h2); line-height: 1.05; }

/* ---------- Historia ---------- */
.story { display: grid; gap: 20px; justify-items: start; max-width: 46rem; }
.story q { font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.25rem); font-weight: 600; line-height: 1.25; letter-spacing: -.025em; quotes: "“" "”"; }
.tag { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border: 1px solid var(--line);
  font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.slab-navy .tag { border-color: var(--line-cream); color: var(--on-navy-2); }

/* ---------- Preguntas frecuentes ---------- */
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 72px; align-items: start; } .faq-grid > .head { position: sticky; top: calc(var(--bar) + 36px); margin-bottom: 0; } }
.faq-list details { border-top: 1px solid var(--line); }
.slab-navy .faq-list details { border-top-color: var(--line-cream); }
.faq-list details:last-of-type { border-bottom: 1px solid var(--line); }
.slab-navy .faq-list details:last-of-type { border-bottom-color: var(--line-cream); }
.faq-list:not(.expanded) .faq-more { display: none; }
.faq-list:not(.expanded) details:nth-of-type(5) { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 13px; height: 13px; margin-top: -7px;
  background: linear-gradient(var(--gold-ink), var(--gold-ink)) center/13px 1.5px no-repeat,
              linear-gradient(var(--gold-ink), var(--gold-ink)) center/1.5px 13px no-repeat;
  transition: transform var(--d-ui) var(--ease); }
.slab-navy .faq-list summary::after { background-image: linear-gradient(var(--gold), var(--gold)), linear-gradient(var(--gold), var(--gold)); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 48px 24px 0; color: var(--ink-2); max-width: 62ch; }
.slab-navy .faq-list details p { color: var(--on-navy-2); }
.faq-list a { font-weight: 600; border-bottom: 1px solid var(--line-gold); }
.faq-toggle { margin-top: 22px; min-height: 44px; font-size: .9375rem; font-weight: 700; border-bottom: 1px solid var(--line-gold); }

/* ---------- Puntos de venta ---------- */
.stores { display: grid; gap: 20px; }
@media (min-width: 860px) { .stores { grid-template-columns: repeat(2, 1fr); } .stores.stores-one { max-width: 720px; grid-template-columns: 1fr; } }
.store { display: grid; gap: 18px; align-content: start; padding: clamp(22px, 3vw, 34px); background: var(--cream-hi); box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow var(--d-panel) var(--ease); }
.slab-navy .store { background: var(--navy-3); box-shadow: inset 0 0 0 1px var(--line-cream-2); }
@media (hover: hover) and (pointer: fine) { .store:hover { box-shadow: inset 0 0 0 1px var(--ink); } .slab-navy .store:hover { box-shadow: inset 0 0 0 1px var(--line-gold); } }
.store h3 { font-size: var(--t-h3); line-height: 1.08; }
.store-addr { margin-top: 8px; color: var(--ink-2); }
.slab-navy .store-addr { color: var(--on-navy-2); }
.store-head { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.store-head .ico { width: 22px; height: 22px; margin-top: 3px; fill: none; stroke: var(--gold-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.slab-navy .store-head .ico { stroke: var(--gold); }
.store-tags { display: grid; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.slab-navy .store-tags { border-top-color: var(--line-cream-2); }
.store-tags ul { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-sm { padding: 7px 14px; border: 1px solid var(--line); font-size: var(--t-small); font-weight: 500; }
.slab-navy .tag-sm { border-color: var(--line-cream-2); }
.store-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.store-meta { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.slab-navy .store-meta { color: var(--gold); }

/* ---------- Banda de dos caminos ---------- */
.ways { display: grid; gap: 20px; }
@media (min-width: 820px) { .ways { grid-template-columns: 1fr 1fr; gap: 28px; } }
.way { display: grid; justify-items: start; gap: 12px; align-content: start; padding: clamp(24px, 3.4vw, 40px); background: var(--cream-hi); box-shadow: inset 0 0 0 1px var(--line); }
.slab-navy .way { background: var(--navy-3); box-shadow: inset 0 0 0 1px var(--line-cream-2); }
.slab-sand .way { background: var(--cream-hi); }
.way h3 { font-size: var(--t-h3); line-height: 1.08; }
.way p { color: var(--ink-2); max-width: 42ch; }
.slab-navy .way p { color: var(--on-navy-2); }
.way .btn { margin-top: 10px; }

/* ---------- Encabezado de página secundaria ---------- */
.ph { padding: clamp(40px, 6vw, 84px) var(--gut) clamp(32px, 4vw, 52px); background: var(--navy); color: var(--on-navy); }
.ph-in { max-width: var(--max); margin-inline: auto; display: grid; justify-items: start; gap: 18px; }
.ph h1 { font-size: var(--t-h1); line-height: 1.03; max-width: 18ch; }
.ph .lead { color: var(--on-navy-2); }
.note { padding: 14px 18px; border-left: 2px solid var(--gold); background: rgba(232, 175, 0, .10); font-size: var(--t-small); max-width: 64ch; }
.slab-cream .note, .slab-sand .note { background: rgba(232, 175, 0, .14); color: var(--ink-2); }
.ph-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
@media (max-width: 480px) { .ph-actions { width: 100%; } .ph-actions .btn { width: 100%; } }

/* ---------- Pedido ---------- */
.order-grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1000px) { .order-grid { grid-template-columns: 1.4fr 1fr; gap: 32px; } }
.panel { padding: clamp(20px, 3vw, 34px); background: var(--cream-hi); box-shadow: inset 0 0 0 1px var(--line); }
.order-h { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 18px; }
.order-h + .items { margin-bottom: 32px; }

.items { display: grid; gap: 14px; }
.item { display: grid; grid-template-columns: 64px 1fr; gap: 14px 16px; align-items: center; padding: 14px; background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow var(--d-panel) var(--ease); }
.item.is-preselected { box-shadow: inset 0 0 0 2px var(--ink); }
.item-img { width: 64px; height: auto; }
.item-info h4 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.02em; }
.item-meta { margin-top: 2px; font-size: .9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.item-stock { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-size: .8125rem; font-weight: 600; }
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.item-qty { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
@media (min-width: 560px) { .item { grid-template-columns: 64px 1fr auto; } .item-qty { grid-column: auto; justify-content: flex-end; } }
.stepper { display: inline-flex; align-items: center; background: #fff; box-shadow: inset 0 0 0 1px rgba(3, 22, 46, .24); }
.step { width: 46px; height: 46px; border: 0; background: transparent; color: var(--ink); font-size: 1.25rem; font-weight: 600; line-height: 1; cursor: pointer;
  transition: background-color var(--d-press) var(--ease), transform var(--d-press) var(--ease); }
.step:disabled { opacity: .3; cursor: not-allowed; }
.step:active:not(:disabled) { transform: scale(.9); background: var(--sand); }
@media (hover: hover) and (pointer: fine) { .step:hover:not(:disabled) { background: var(--sand); } }
.qty { width: 58px; height: 46px; border: 0; border-inline: 1px solid rgba(3, 22, 46, .18); text-align: center; background: #fff;
  font: 700 1rem var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty::-webkit-outer-spin-button, .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty:focus-visible, .step:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.item-line { min-width: 92px; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Tipo de entrega */
.mode-pick { display: grid; gap: 10px; border: 0; margin: 0 0 32px; padding: 0; min-width: 0; }
@media (min-width: 620px) { .mode-pick { grid-template-columns: 1fr 1fr; } }
.mode { position: relative; display: block; }
.mode input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.mode-box { display: grid; gap: 4px; align-content: center; min-height: 78px; padding: 16px 18px; background: #fff;
  box-shadow: inset 0 0 0 1px rgba(3, 22, 46, .22);
  transition: box-shadow var(--d-ui) var(--ease), background-color var(--d-ui) var(--ease), transform var(--d-press) var(--ease); }
.mode:active .mode-box { transform: scale(.985); }
.mode-title { font-weight: 700; letter-spacing: -.015em; }
.mode-desc { font-size: .8125rem; color: var(--ink-2); }
.mode input:checked + .mode-box { background: var(--sand); box-shadow: inset 0 0 0 2px var(--ink); }
.mode input:checked + .mode-box .mode-title::after { content: " ✓"; color: var(--gold-ink); }
.mode input:focus-visible + .mode-box { box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 3px rgba(232, 175, 0, .6); }
@media (hover: hover) and (pointer: fine) { .mode-box:hover { box-shadow: inset 0 0 0 1px rgba(3, 22, 46, .45); } }

/* Campos */
.order-fields { display: grid; gap: 18px; transition: opacity var(--d-panel) var(--ease), filter var(--d-panel) var(--ease); }
.order-fields.is-swapping { opacity: .55; filter: blur(2px); }
@media (min-width: 620px) { .order-fields { grid-template-columns: 1fr 1fr; } .field-wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
label, legend { font-size: var(--t-small); font-weight: 600; padding: 0; }
.opt { font-weight: 400; color: var(--ink-2); }
input[type="text"], input[type="tel"], input[type="date"], select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 0; background: #fff; color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(3, 22, 46, .22);
  font: 400 1rem var(--sans);     /* 16px: menos y iOS hace zoom al enfocar */
  transition: box-shadow var(--d-ui) var(--ease); }
select { appearance: none; padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
input:focus, select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ink), 0 0 0 3px rgba(232, 175, 0, .45); }
[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--err) !important; }
.error { color: var(--err); font-size: .8125rem; font-weight: 700; }
.error::before { content: "⚠ "; }
.hint { font-size: .8125rem; color: var(--ink-2); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice span { display: grid; place-items: center; min-height: 52px; padding: 8px; text-align: center; background: #fff; font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(3, 22, 46, .22);
  transition: background-color var(--d-ui) var(--ease), color var(--d-ui) var(--ease), box-shadow var(--d-ui) var(--ease), transform var(--d-press) var(--ease); }
.choice:active span { transform: scale(.97); }
.choice input:checked + span { background: var(--ink); color: var(--cream); box-shadow: none; }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(232, 175, 0, .6); }

/* Resumen */
.summary { position: sticky; top: calc(var(--bar) + 16px); display: grid; gap: 16px; }
@media (max-width: 999px) { .summary { position: static; } }
.sum { display: grid; }
.sum div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.sum dt { font-size: .9375rem; color: var(--ink-2); }
.sum dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; transition: transform var(--d-press) var(--ease); }
.sum .is-bumped { transform: translateY(-2px); }
.sum-total { border-bottom: 0 !important; padding-top: 14px !important; }
.sum-total dt { font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.sum-total dd { font-size: 1.375rem; font-weight: 800; letter-spacing: -.025em; }
.coverage { font-size: .8125rem; color: var(--ink-2); padding-left: 12px; border-left: 2px solid var(--gold); }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: var(--t-small); font-weight: 400; line-height: 1.45; cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--navy); }
.consent a { font-weight: 700; border-bottom: 1px solid var(--line-gold); }
.order-status { font-size: .8125rem; font-weight: 600; color: var(--ink-2); text-align: center; }
.order-status.is-error { color: var(--err); }
.order-status.is-ok { color: var(--ok); }

/* ---------- Pie ---------- */
.ftr { background: var(--navy); color: var(--on-navy); padding: clamp(56px, 7vw, 88px) var(--gut) 28px; }
.ftr-grid { max-width: var(--max); margin-inline: auto; display: grid; gap: 40px 32px; grid-template-columns: 1fr 1fr; }
.ftr-brand { grid-column: 1 / -1; display: grid; gap: 16px; justify-items: start; }
.ftr-brand img { width: 136px; }
.ftr-brand p { color: var(--on-navy-2); }
@media (min-width: 900px) { .ftr-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .ftr-brand { grid-column: auto; } }
.ftr-h { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.ftr li a, .ftr li span { display: inline-flex; align-items: center; min-height: 42px; font-size: .9375rem; transition: color var(--d-ui) var(--ease); }
@media (hover: hover) and (pointer: fine) { .ftr li a:hover { color: var(--gold); } }
.ftr li .ci-k { color: var(--on-navy-2); margin-right: 6px; }
.ftr-social { display: flex; gap: 10px; margin-bottom: 6px; }
.ftr-social a { width: 44px; height: 44px; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-cream);
  transition: box-shadow var(--d-ui) var(--ease), color var(--d-ui) var(--ease), transform var(--d-press) var(--ease); }
.ftr-social a:active { transform: scale(.94); }
.ftr-social svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) and (pointer: fine) { .ftr-social a:hover { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); } }
.ftr-base { max-width: var(--max); margin: 48px auto 0; padding-top: 22px; border-top: 1px solid var(--line-cream-2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: .8125rem; color: var(--on-navy-2); }
.ftr-tag { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* ---------- Ventana legal ---------- */
.modal { border: 0; padding: 0; background: var(--cream); color: var(--ink); width: min(920px, calc(100% - 24px));
  max-width: calc(100% - 24px); max-height: calc(100svh - 24px); overflow-y: auto; overscroll-behavior: contain; }
.modal::backdrop { background: rgba(3, 22, 46, .62); backdrop-filter: blur(4px); }
.modal-inner { position: relative; padding: 32px 22px; }
@media (min-width: 640px) { .modal-inner { padding: 48px; } }
.modal-inner::after { content: ""; display: table; clear: both; }
.modal-close { position: sticky; top: 0; float: right; margin: -14px -6px 0 12px; width: 44px; height: 44px; border: 0; z-index: 3;
  background: var(--sand); color: var(--ink); font-size: 1.5rem; line-height: 1; cursor: pointer;
  transition: background-color var(--d-ui) var(--ease), transform var(--d-press) var(--ease); }
.modal-close:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .modal-close:hover { background: var(--ink); color: var(--cream); } }
.modal h2 { font-size: var(--t-h1); line-height: 1.04; margin-top: 10px; }
.legal-body { margin-top: 22px; max-width: 64ch; }
.legal-body h3 { font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin: 28px 0 8px; }
.legal-body p { color: var(--ink-2); }
.legal-body a { font-weight: 600; border-bottom: 1px solid var(--line-gold); }
.legal-note { padding: 14px 16px; background: rgba(232, 175, 0, .14); border-left: 2px solid var(--gold); color: var(--ink); font-size: var(--t-small); font-weight: 500; margin-bottom: 10px; }
@media (prefers-reduced-motion: no-preference) { .modal[open] { animation: rise .26s var(--ease); } }

/* ---------- Avisos flotantes ---------- */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 120;
  max-width: calc(100% - 32px); padding: 13px 22px; background: var(--navy); color: var(--on-navy); font-weight: 600; font-size: .9375rem; text-align: center; }

/* ---------- Movimiento ----------
   El contenido se lee sin una sola animación: la clase .pre sólo la pone el JS
   y site.js la retira aunque el observador no dispare. */
.rv { transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: var(--rv-d, 0ms); }
.rv-d0 { --rv-d: 0ms; } .rv-d1 { --rv-d: 60ms; } .rv-d2 { --rv-d: 120ms; }
.js .rv.pre { opacity: .001; transform: translateY(14px); }
@media (max-width: 719px) { .js .rv.pre { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .js .pick-pack, .js .pick-tex { animation: rise .6s var(--ease) both; }
  .js .pick-tex { animation-delay: .14s; }
  .js .pick-copy > * { animation: rise .5s var(--ease) both; }
  .js .pick-copy > *:nth-child(1) { animation-delay: .08s; }
  .js .pick-copy > *:nth-child(2) { animation-delay: .14s; }
  .js .pick-copy > *:nth-child(3) { animation-delay: .20s; }
  .js .pick-copy > *:nth-child(4) { animation-delay: .26s; }
  .js .pick-copy > *:nth-child(5) { animation-delay: .32s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* Movimiento reducido: menos y más suave, no cero. Se conservan los cambios de
   color y opacidad, que son los que explican qué acaba de pasar. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .btn, .sw, .mode-box, .choice span, .step, .order-fields, .item, .store, .modal-close, .ftr-social a {
    transition: background-color .15s linear, color .15s linear, box-shadow .15s linear, opacity .15s linear !important;
    transform: none !important; }
  .pick-pack img, .pick-tex img { transition: opacity .15s linear !important; transform: none !important; }
  .pick.swapping .pick-pack img, .pick.swapping .pick-tex img { filter: none !important; opacity: .35; }
  .order-fields.is-swapping { filter: none !important; }
  .sum .is-bumped { transform: none !important; }
  .js .rv.pre { opacity: 1; transform: none; }
}

/* ---------- Cómo usarlo ---------- */
.use { display: grid; gap: 0; }
@media (min-width: 820px) { .use { grid-template-columns: repeat(3, 1fr); } }
.use li { display: grid; gap: 8px; align-content: start; padding: 26px 30px 26px 0; border-top: 1px solid var(--line); }
@media (min-width: 820px) { .use li + li { padding-left: 30px; border-left: 1px solid var(--line); } }
.use strong { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.035em; }
.use p { color: var(--ink-2); }
.recs { margin-top: clamp(28px, 4vw, 44px); }
.recs summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; list-style: none; font-weight: 700; border-bottom: 1px solid var(--line-gold); }
.recs summary::-webkit-details-marker { display: none; }
.recs summary::after { content: "+"; font-size: 1.25rem; font-weight: 400; color: var(--gold-ink); transition: transform var(--d-ui) var(--ease); }
.recs[open] summary::after { transform: rotate(45deg); }
.recs ul { margin-top: 20px; display: grid; gap: 0 48px; max-width: 920px; }
@media (min-width: 720px) { .recs ul { grid-template-columns: 1fr 1fr; } }
.recs li { position: relative; padding: 11px 0 11px 22px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.recs li::before { content: ""; position: absolute; left: 0; top: 21px; width: 9px; height: 1px; background: var(--gold-ink); }
.steps-gap { margin-top: clamp(40px, 5vw, 64px); }

/* El encabezado de página secundaria es azul, así que necesita los mismos
   tonos que un bloque azul: el dorado oscuro no se lee sobre azul marino. */
.ph .eyebrow, .ph .hl, .ph .s-n { color: var(--gold); }
.ph .tag { border-color: var(--line-cream); color: var(--on-navy-2); }
.ph .note { background: rgba(232, 175, 0, .10); color: var(--on-navy); }
.ph .btn-line { color: var(--on-navy); box-shadow: inset 0 0 0 1px var(--line-cream); }
.ph .btn-line > .ar { border-left-color: var(--line-cream); }
@media (hover: hover) and (pointer: fine) { .ph .btn-line:hover { background: var(--on-navy); color: var(--navy); } }

@media (max-width: 899px) {
  /* La palabra de fondo no debe estorbar la lectura del nombre */
  .pick-ghost { top: 34%; -webkit-text-stroke-color: rgba(232, 175, 0, .26); }
  /* Las dos pestañas deben verse iguales: el nombre cabe en una línea */
  .sw b { font-size: .8125rem; line-height: 1.2; }
  .sw span { font-size: .6875rem; }
}
