/* ==========================================================================
   Etelvina — landing
   Tokens del Manual de Marca (Not Registered Studio):
   Paleta: Azul #163355 · Crudo #F3F3E9 · Negro #141414
   Tipografía: Argent CF (primaria, títulos) · Arial Nova (secundaria, textos)
               Caveat (acento, solo detalles puntuales)
   ========================================================================== */

@font-face {
  font-family: "Caveat";
  src: url("/assets/fonts/caveat-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --azul: #163355;
  --crudo: #f3f3e9;
  --negro: #141414;
  --blanco: #ffffff;

  --azul-80: rgba(22, 51, 85, .8);
  --azul-60: rgba(22, 51, 85, .62);
  --azul-12: rgba(22, 51, 85, .12);
  --crudo-70: rgba(243, 243, 233, .72);
  --crudo-20: rgba(243, 243, 233, .2);
  --papel: #ebebdf;          /* crudo un tono más profundo, para alternar fondos */

  --f-title: "argent-cf", "Georgia", "Times New Roman", serif;
  --f-text: "arial-nova", "Arial Nova", "Helvetica Neue", Arial, sans-serif;
  --f-hand: "Caveat", "Segoe Print", cursive;

  --track-title: -0.006em;   /* manual: tracking -6 para títulos */

  --gutter: 20px;
  --maxw: 1320px;
  --header-h: 64px;
  --radius: 4px;
  --pill: 999px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) { :root { --gutter: 40px; --header-h: 76px; } }
@media (min-width: 1200px) { :root { --gutter: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--crudo);
  color: var(--azul);
  font-family: var(--f-text);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--azul); color: var(--crudo); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--azul); color: var(--crudo); padding: 10px 16px; border-radius: var(--pill); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }
.section--azul :focus-visible, .menu :focus-visible { outline-color: var(--crudo); }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.h2 {
  font-family: var(--f-title);
  font-size: clamp(36px, 8.4vw, 76px);
  line-height: 1;
  letter-spacing: var(--track-title);
  margin-bottom: 24px;
  text-wrap: balance;
}
.note {
  font-family: var(--f-hand);
  font-weight: 600;
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.1;
  margin: 0;
}

/* ---------- Botones ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h);
  padding: 0 26px;
  border-radius: var(--pill);
  border: 1.5px solid var(--azul);
  font-family: var(--f-text);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--azul); color: var(--crudo); }
.btn--primary:hover { background: #0f2640; }
.btn--ghost { background: transparent; color: var(--azul); }
.btn--ghost:hover { background: var(--azul); color: var(--crudo); }
.btn--light { background: var(--crudo); color: var(--azul); border-color: var(--crudo); }
.btn--light:hover { background: var(--blanco); border-color: var(--blanco); }
.btn--sm { --h: 42px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.ico-wa { width: 20px; height: 20px; flex: none; }
.btn--sm .ico-wa { width: 18px; height: 18px; }
.hide-sm { display: none; }
@media (min-width: 560px) { .hide-sm { display: inline; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(243, 243, 233, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--azul-12); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header__logo img { width: 120px; height: auto; }   /* manual: ancho mínimo digital 120 px */
@media (min-width: 768px) { .header__logo img { width: 140px; } }
.header__actions { display: flex; align-items: center; gap: 8px; }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: block; }
  .nav__list { display: flex; gap: 32px; }
  .nav__list a {
    font-size: 15px; text-decoration: none; position: relative; padding: 6px 0;
  }
  .nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
    background: currentColor; transform: scaleX(0); transform-origin: left;
    transition: transform .35s var(--ease);
  }
  .nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
}

.menu-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; background: transparent; cursor: pointer; padding: 0; position: relative; z-index: 61;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 22px; height: 1.5px; background: var(--azul); border-radius: 2px;
  transition: transform .35s var(--ease), background-color .35s var(--ease);
}
.menu-btn__bars { position: relative; }
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -7px; }
.menu-btn__bars::after { top: 7px; }
.menu-open .menu-btn__bars { background: transparent; }
.menu-open .menu-btn__bars::before { transform: translateY(7px) rotate(45deg); background: var(--crudo); }
.menu-open .menu-btn__bars::after { transform: translateY(-7px) rotate(-45deg); background: var(--crudo); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--azul); color: var(--crudo);
  padding: calc(var(--header-h) + 32px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity .35s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: block; text-decoration: none;
  font-family: var(--f-title); font-size: clamp(34px, 10vw, 48px); line-height: 1.25; letter-spacing: var(--track-title);
  transform: translateY(100%); transition: transform .5s var(--ease);
}
.menu.is-open .menu__list a { transform: none; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .04s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .08s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .12s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .16s; }
.menu__abuela { width: 120px; align-self: flex-end; opacity: .95; }
.menu-open .header { z-index: 70; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .header__logo, .menu-open .header__actions .btn { visibility: hidden; }

/* ---------- Hero ---------- */
.hero { padding: 20px 0 80px; }
.hero__grid { display: grid; gap: 36px; }
.hero__title {
  font-family: var(--f-title);
  font-size: clamp(50px, 13.2vw, 112px);
  line-height: .94;
  letter-spacing: var(--track-title);
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero__lead { font-size: 18px; max-width: 34em; color: var(--azul-80); margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 220px; }
.hero__media { position: relative; margin-inline: calc(var(--gutter) * -1); }
.hero__media img:first-child, .hero__media picture img {
  width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 50%;
}
.hero__stamp {
  position: absolute; right: calc(var(--gutter) + 4px); bottom: -42px;
  width: 112px; height: auto;
  background: var(--azul); border-radius: 50%; padding: 6px;
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 960px) {
  .hero { padding: 32px 0 96px; }
  .hero__grid { grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: 56px; }
  .hero__copy { padding-bottom: 12px; }
  .hero__ctas .btn { flex: 0 0 auto; }
  .hero__media { margin-inline: 0; }
  .hero__title { font-size: clamp(56px, 5.6vw, 84px); }
  .hero__media picture img { aspect-ratio: 3 / 2; }
  .hero__stamp { width: 132px; left: auto; right: -36px; bottom: -44px; }
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--azul); color: var(--crudo);
  overflow: hidden; white-space: nowrap;
  padding: 16px 0;
  border-block: 1px solid var(--azul);
}
.ticker__track { display: inline-flex; align-items: center; gap: 28px; animation: tick 38s linear infinite; padding-left: 28px; }
.ticker span { font-family: var(--f-title); font-size: clamp(22px, 4vw, 30px); letter-spacing: var(--track-title); }
.ticker img { width: 54px; height: auto; filter: brightness(0) invert(95%) sepia(6%) saturate(250%) hue-rotate(20deg); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track, .hero__stamp { animation: none; } }

/* ---------- Secciones ---------- */
.section { padding: 80px 0; }
@media (min-width: 960px) { .section { padding: 128px 0; } }
.section--azul { background: var(--azul); color: var(--crudo); }
.section__head { max-width: 760px; margin-bottom: 40px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__lead { font-size: 18px; color: var(--azul-80); margin: 0; }
.section--azul .section__lead { color: var(--crudo-70); }

/* ---------- La receta ---------- */
.receta__grid { display: grid; gap: 48px; }
.receta__copy p:not(.eyebrow):not(.note) { color: var(--azul-80); max-width: 32em; }
.receta__copy .note { margin-top: 28px; }
.receta__collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ph { overflow: hidden; border-radius: var(--radius); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--a { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.ph--b, .ph--c { aspect-ratio: 4 / 5; }
.ph--b img { object-position: 50% 45%; }
.ph--c img { object-position: 55% 30%; }

@media (min-width: 960px) {
  .receta__grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
  .receta__copy { position: sticky; top: calc(var(--header-h) + 48px); }
  .receta__collage { gap: 20px; }
  .ph--c { transform: translateY(56px); }
}

.esencia {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px 20px;
  margin-top: 72px; padding-top: 48px;
  background: linear-gradient(var(--azul-12), var(--azul-12)) top center / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}
.esencia img { width: 56px; height: 56px; object-fit: contain; margin-bottom: 14px; }
.esencia h3 { font-family: var(--f-title); font-size: 22px; line-height: 1.1; letter-spacing: var(--track-title); margin-bottom: 8px; }
.esencia p { font-size: 15px; color: var(--azul-60); margin: 0; }
@media (min-width: 960px) {
  .esencia { grid-template-columns: repeat(4, 1fr); gap: 48px; margin-top: 120px; }
  .esencia img { width: 64px; height: 64px; }
  .esencia h3 { font-size: 26px; }
}

/* ---------- Productos ---------- */
.productos { background: var(--papel); }
.productos__rail {
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain;
  scrollbar-width: none; padding-bottom: 8px;
}
.productos__rail::-webkit-scrollbar { display: none; }
.productos__list {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 380px); gap: 14px;
  padding-inline: var(--gutter);
  width: max-content;
}
.prod {
  scroll-snap-align: start; scroll-snap-stop: always;
  background: var(--crudo);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.prod__media { position: relative; background: #f0f0f0; aspect-ratio: 1 / 1; overflow: hidden; }
.prod__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.prod:hover .prod__media img { transform: scale(1.04); }
.prod__tag {
  position: absolute; left: 14px; top: 14px;
  background: var(--azul); color: var(--crudo);
  font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 12px; border-radius: var(--pill);
}
.prod__body { padding: 22px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.prod__title { font-family: var(--f-title); font-size: 30px; line-height: 1; letter-spacing: var(--track-title); margin-bottom: 10px; }
.prod__kg { font-size: 64px; }
.prod__desc { font-size: 16px; color: var(--azul-80); margin-bottom: 18px; }
.sizes { border: 0; padding: 0; margin: auto 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.sizes legend { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.sizes label { flex: 1; position: relative; }
.sizes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sizes span {
  display: grid; place-items: center; min-height: 42px; padding: 0 8px;
  border: 1.5px solid var(--azul-12); border-radius: var(--pill);
  font-size: 14px; font-weight: 700;
  transition: background-color .2s, border-color .2s, color .2s;
}
.sizes input:checked + span { background: var(--azul); border-color: var(--azul); color: var(--crudo); }
.sizes input:focus-visible + span { outline: 2px solid var(--azul); outline-offset: 2px; }

.prod__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 16px 0; padding: 10px 10px 10px 16px;
  background: var(--blanco); border-radius: 14px;
}
.prod__qtylabel { display: grid; gap: 2px; min-width: 0; }
.prod__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.prod__yield { font-size: 13px; color: var(--azul-60); margin: 0; }
.qty { display: inline-flex; align-items: center; gap: 4px; flex: none; }
.qty button {
  width: 40px; height: 40px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; padding: 0;
  background: var(--azul); color: var(--crudo);
  font-family: var(--f-text); font-size: 20px; font-weight: 700; line-height: 1;
  transition: background-color .2s, opacity .2s, transform .15s;
}

.qty button:active { transform: scale(.92); background: var(--azul); color: var(--crudo); }
.qty button:disabled { background: var(--azul-12); color: var(--azul-60); cursor: default; transform: none; }
.qty output { min-width: 34px; text-align: center; font-family: var(--f-title); font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.line .qty button { width: 32px; height: 32px; font-size: 17px; }
.line .qty output { min-width: 26px; font-size: 18px; }
.btn.is-added { background: #0f2640; }

.rail-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.rail-dots button {
  position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--azul-12); transition: background-color .3s, width .3s;
}
.rail-dots button::after { content: ""; position: absolute; inset: -12px -6px; }  /* área táctil */
.rail-dots button.is-on { background: var(--azul); width: 26px; }
.productos__foot { margin: 32px auto 0; font-size: 16px; color: var(--azul-80); }
.productos__foot a { font-weight: 700; color: var(--azul); text-underline-offset: 3px; }

@media (min-width: 960px) {
  .productos__rail { overflow: visible; }
  .productos__list {
    width: 100%; max-width: var(--maxw); margin-inline: auto;
    grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; gap: 24px;
  }
  .rail-dots { display: none; }
  .prod__body { padding: 28px 28px 28px; }
  .productos__foot { text-align: center; }
}

/* ---------- Preparación ---------- */
.prep__stamp { width: 190px; margin: 0 auto 20px; }
.prep .h2 { color: var(--crudo); }
.steps { display: grid; gap: 14px; counter-reset: s; }
.step {
  display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 18px;
  padding: 22px 20px; border: 1px solid var(--crudo-20); border-radius: var(--radius);
  background: var(--azul);
}
.step img { grid-row: 1 / 3; width: 64px; height: 64px; object-fit: contain; align-self: center; }
.step__n { font-family: var(--f-title); font-size: 22px; line-height: 1; opacity: .6; margin-bottom: 6px; }
.step p { margin: 0; color: var(--crudo); font-size: 17px; line-height: 1.4; }
.step strong { font-weight: 700; }
.step__hand { font-family: var(--f-hand); font-weight: 600; font-size: 28px !important; line-height: 1.05 !important; }
@media (min-width: 768px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { grid-template-columns: 1fr; grid-template-rows: auto; padding: 32px 28px 36px; min-height: 300px; align-content: start; }
  .step img { grid-row: auto; width: 84px; height: 84px; margin-bottom: 36px; align-self: start; }
  .step__n { font-size: 28px; margin-bottom: 12px; }
}

/* ---------- Momentos ---------- */
.momentos { position: relative; }
.momentos__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 24px; margin-bottom: 32px; }
.momentos__head .h2 { margin: 0; }
.momentos__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.m { overflow: hidden; border-radius: var(--radius); background: #eceff0; }
.m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.m:hover img { transform: scale(1.03); }
.m--tall { grid-row: span 2; }
.m--tall img { object-position: 50% 62%; }
.m--sq { aspect-ratio: 1 / 1; }
.m--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.m--wide img { object-position: 50% 88%; }
@media (min-width: 960px) {
  .momentos__grid { grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
  .m--tall { grid-row: span 2; }
  .m--wide { grid-column: 2 / 4; aspect-ratio: auto; }
}

/* ---------- Comercios ---------- */
.comercios__grid { display: grid; gap: 48px; }
.comercios__copy > p { color: var(--azul-80); max-width: 32em; }
.perks { display: grid; gap: 22px; margin: 32px 0 36px; }
.perks li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; }
.perks img { width: 56px; height: 56px; object-fit: contain; }
.perks h3 { font-family: var(--f-title); font-size: 24px; line-height: 1.1; letter-spacing: var(--track-title); margin-bottom: 4px; }
.perks p { margin: 0; font-size: 16px; color: var(--azul-60); }
.comercios__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.comercios__photo { display: none; }

.form-card {
  background: var(--blanco);
  border-radius: var(--radius);
  padding: 28px 20px;
  margin-inline: calc(var(--gutter) * -1 + 8px);
  box-shadow: 0 1px 0 var(--azul-12), 0 30px 60px -40px rgba(22, 51, 85, .35);
}
.form-card__title { font-family: var(--f-title); font-size: 32px; line-height: 1; letter-spacing: var(--track-title); margin-bottom: 8px; }
.form-card__sub { color: var(--azul-60); font-size: 15px; margin-bottom: 24px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; gap: 16px; }
.field label { font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.field .opt { font-weight: 400; color: var(--azul-60); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--crudo); border: 1.5px solid transparent; border-radius: 6px;
  font-size: 16px; /* evita el zoom en iOS */
  transition: border-color .2s, background-color .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%23163355' stroke-width='1.6' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--azul); background: var(--blanco); }
.field.is-invalid input, .field.is-invalid select { border-color: #b3261e; }
.field__err { font-size: 13px; color: #b3261e; }
.form__status { margin: 0; font-size: 15px; min-height: 1.4em; }
.form__status.is-ok { color: var(--azul); font-weight: 700; }
.form__status.is-error { color: #b3261e; }
.form.is-sent .field, .form.is-sent .field-row, .form.is-sent [data-submit] { display: none; }
.form-done { text-align: center; padding: 24px 0 8px; }
.form-done img { width: 140px; margin: 0 auto 16px; }
.form-done h4 { font-family: var(--f-title); font-weight: 400; font-size: 30px; letter-spacing: var(--track-title); margin: 0 0 8px; }

@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } .form-card { margin-inline: 0; padding: 36px 32px; } }
@media (min-width: 960px) {
  .comercios__grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .comercios__photo { display: block; }
  .form-card { position: sticky; top: calc(var(--header-h) + 24px); padding: 44px 40px; }
}

/* ---------- Cierre ---------- */
.cierre { padding-bottom: 0; overflow: hidden; }
.cierre__grid { display: grid; gap: 24px; }
.cierre__title {
  font-family: var(--f-title); font-size: clamp(46px, 12vw, 104px); line-height: .95; letter-spacing: var(--track-title);
  margin-bottom: 24px; text-wrap: balance;
}
.cierre__copy > p { color: var(--crudo-70); max-width: 30em; margin-bottom: 28px; }
.contact { margin-top: 48px; border-top: 1px solid var(--crudo-20); }
.contact li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 18px 0; border-bottom: 1px solid var(--crudo-20);
}
.contact span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--crudo-70); }
.contact a { font-family: var(--f-title); font-size: clamp(22px, 5.4vw, 30px); letter-spacing: var(--track-title); text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cierre__abuela { width: 150px; justify-self: end; margin-top: 8px; }
@media (min-width: 960px) {
  .cierre__grid { grid-template-columns: 1.7fr 1fr; align-items: end; gap: 64px; }
  .cierre__title { font-size: clamp(64px, 7.4vw, 104px); }
  .cierre__copy { padding-bottom: 168px; }
  .cierre__abuela { width: min(100%, 360px); justify-self: center; }
}

/* ---------- Footer ---------- */
.footer { background: var(--azul); color: var(--crudo); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--crudo-20); }
.footer__inner { display: grid; gap: 16px; justify-items: start; font-size: 14px; }
.footer__inner img { width: 180px; }   /* manual: ancho mínimo con bajada 180 px */
.footer__inner p { margin: 0; color: var(--crudo-70); }
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
  .footer__inner p:first-of-type { justify-self: center; }
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--azul); color: var(--crudo);
  box-shadow: 0 10px 30px -8px rgba(20, 20, 20, .45);
  transform: translateY(120px); opacity: 0;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float.is-visible { transform: none; opacity: 1; }
@media (min-width: 1024px) { .wa-float { right: 28px; bottom: 28px; } }

/* ---------- Reveal on scroll ---------- */
.reveal-on .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-on .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-on .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Chipás que caen ---------- */
.productos, .prep { position: relative; overflow: hidden; }
.productos > :not(.rain), .prep > :not(.rain) { position: relative; z-index: 1; }
.rain { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.rain img {
  position: absolute; top: 0; left: 0; width: var(--s, 70px); height: auto;
  will-change: transform; backface-visibility: hidden;
}

.cierre { position: relative; }
.cierre > :not(.pile) { position: relative; z-index: 1; }
.cierre__abuela { z-index: 0 !important; }
.pile { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
@media (max-width: 959px) { .cierre__grid { padding-bottom: 40px; } }

/* ---------- Pedido ---------- */
.order-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  padding: 0 12px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
  transform: translateY(110%); transition: transform .45s var(--ease);
}
.order-bar.is-visible { transform: none; }
.order-bar[hidden] { display: block; visibility: hidden; }
.order-bar__btn {
  pointer-events: auto; width: 100%; max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  min-height: 60px; padding: 8px 10px 8px 10px;
  border: 0; border-radius: var(--pill); cursor: pointer;
  background: var(--azul); color: var(--crudo);
  box-shadow: 0 16px 40px -12px rgba(20, 20, 20, .5);
  font-family: var(--f-text); font-size: 16px; text-align: left;
}
.order-bar__count {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--crudo); color: var(--azul); font-weight: 700;
}
.order-bar__count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.25); } }
.order-bar__label { flex: 1; font-weight: 700; }
.order-bar__kg { font-weight: 400; color: var(--crudo-70); margin-left: 6px; }
.order-bar__cta { flex: none; padding: 0 18px; height: 44px; display: grid; place-items: center; border-radius: var(--pill); background: rgba(243, 243, 233, .14); font-weight: 700; font-size: 14px; }
.has-order .wa-float { opacity: 0 !important; pointer-events: none; }

.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(20, 20, 20, .45); opacity: 0; transition: opacity .3s var(--ease); }
.drawer__panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 92svh; overflow: auto;
  background: var(--crudo); border-radius: 18px 18px 0 0;
  padding: 22px 20px calc(24px + env(safe-area-inset-bottom));
  transform: translateY(100%); transition: transform .45s var(--ease);
  display: grid; gap: 16px; align-content: start;
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__head h2 { font-family: var(--f-title); font-size: 34px; letter-spacing: var(--track-title); }
.drawer__x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--azul-12); color: var(--azul); font-size: 26px; line-height: 1; cursor: pointer; }
.drawer__list { display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; background: var(--blanco); border-radius: 10px; padding: 10px; }
.line img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; background: #eee; }
.line__t { font-weight: 700; font-size: 16px; line-height: 1.2; }
.line__s { font-size: 14px; color: var(--azul-60); }
.drawer__empty { margin: 0; color: var(--azul-60); }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; border-top: 1px solid var(--azul-12); }
.drawer__total strong { font-family: var(--f-title); font-weight: 400; font-size: 28px; }
.drawer__fields { display: grid; gap: 12px; }
.drawer__fields input { background: var(--blanco); }
.drawer__note { margin: 0; font-size: 14px; color: var(--azul-60); text-align: center; }
.drawer [data-order-send][aria-disabled="true"] { opacity: .4; pointer-events: none; }
@media (min-width: 768px) {
  .drawer__panel { left: auto; top: 0; width: 440px; max-height: none; border-radius: 0; transform: translateX(100%); padding: 32px 32px 32px; }
  .drawer.is-open .drawer__panel { transform: none; }
  .order-bar { padding-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .order-bar, .drawer__panel, .drawer__backdrop { transition: none; }
}

.has-order .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }

/* ---------- Mobile: escala tipográfica más fina ---------- */
@media (max-width: 767px) {
  body { font-size: 15px; line-height: 1.5; }
  .eyebrow { font-size: 11px; margin-bottom: 12px; }
  .h2 { font-size: clamp(28px, 7.6vw, 34px); line-height: 1.04; margin-bottom: 16px; }
  .note { font-size: 22px; }
  .btn { --h: 48px; font-size: 15px; padding: 0 22px; gap: 8px; }
  .btn--sm { --h: 38px; font-size: 13px; padding: 0 14px; }
  .ico-wa { width: 18px; height: 18px; }
  .header__logo img { width: 112px; }

  .hero { padding: 12px 0 64px; }
  .hero__grid { gap: 28px; }
  .hero__title { font-size: clamp(38px, 10.6vw, 44px); margin-bottom: 14px; }
  .hero__lead { font-size: 15px; margin-bottom: 20px; }
  .hero__ctas { gap: 8px; justify-content: flex-start; }
  .hero__ctas .btn { flex: 0 0 auto; --h: 42px; padding: 0 14px; font-size: 13.5px; gap: 7px; }
  .hero__ctas .ico-wa { width: 16px; height: 16px; }
  .hero__stamp { width: 92px; bottom: -34px; }
  .ticker { padding: 12px 0; }
  .ticker span { font-size: 18px; }
  .ticker img { width: 40px; }

  .section { padding: 64px 0; }
  .section__head { margin-bottom: 28px; }
  .section__lead { font-size: 15px; }
  .receta__grid { gap: 32px; }
  .receta__copy .note { margin-top: 18px; }
  .esencia { gap: 28px 16px; margin-top: 48px; padding-top: 36px; }
  .esencia img { width: 44px; height: 44px; margin-bottom: 10px; }
  .esencia h3 { font-size: 17px; }
  .esencia p { font-size: 13px; }

  .prod__body { padding: 18px 16px 18px; }
  .prod__title { font-size: 22px; margin-bottom: 6px; }
  .prod__kg { font-size: 46px; }
  .prod__desc { font-size: 14px; margin-bottom: 14px; }
  .prod__tag { font-size: 10px; padding: 6px 10px; left: 12px; top: 12px; }
  .sizes legend { font-size: 11px; margin-bottom: 8px; }
  .sizes span { min-height: 38px; font-size: 13px; }
  .prod__row { margin: 14px 0; padding: 8px 8px 8px 14px; }
  .prod__label { font-size: 11px; }
  .prod__yield { font-size: 12px; }
  .qty button { width: 38px; height: 38px; font-size: 18px; }
  .qty output { min-width: 30px; font-size: 21px; }
  .productos__foot { font-size: 14px; }

  .prep__stamp { width: 150px; margin-bottom: 14px; }
  .step { padding: 16px; grid-template-columns: 52px 1fr; column-gap: 14px; }
  .step img { width: 52px; height: 52px; }
  .step__n { font-size: 18px; margin-bottom: 4px; }
  .step p { font-size: 14px; }
  .step__hand { font-size: 22px !important; }

  .momentos__head { margin-bottom: 22px; }
  .perks { gap: 18px; margin: 24px 0 28px; }
  .perks li { grid-template-columns: 44px 1fr; gap: 14px; }
  .perks img { width: 44px; height: 44px; }
  .perks h3 { font-size: 19px; }
  .perks p { font-size: 14px; }
  .form-card { padding: 24px 18px; }
  .form-card__title { font-size: 26px; }
  .form-card__sub { font-size: 14px; margin-bottom: 18px; }
  .form { gap: 14px; }
  .field label { font-size: 12px; }
  .field input, .field select, .field textarea { min-height: 46px; padding: 10px 12px; }

  .cierre__title { font-size: clamp(36px, 10vw, 42px); margin-bottom: 16px; }
  .cierre__copy > p { margin-bottom: 20px; }
  .contact { margin-top: 32px; }
  .contact li { padding: 14px 0; }
  .contact span { font-size: 10px; }
  .contact a { font-size: 18px; }
  .cierre__abuela { width: 128px; }
  .footer__inner { font-size: 13px; }
  .footer__inner img { width: 180px; }

  .menu__list a { font-size: 32px; }
  .order-bar__btn { min-height: 54px; font-size: 14px; gap: 10px; }
  .order-bar__count { width: 38px; height: 38px; font-size: 14px; }
  .order-bar__cta { height: 38px; padding: 0 14px; font-size: 13px; }
  .drawer__head h2 { font-size: 28px; }
  .drawer__panel { gap: 14px; padding-top: 18px; }
  .line__t { font-size: 15px; }
  .line__s { font-size: 12px; }
  .drawer__total strong { font-size: 22px; }
  .drawer__note { font-size: 12px; }
  .wa-float { width: 54px; height: 54px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ==========================================================================
   Refinamiento: controles integrados al sistema (sin cajas blancas)
   ========================================================================== */

/* Tamaño del chipá: control segmentado con filete */
.sizes { gap: 0; }
.sizes span {
  border-radius: 0; border: 1.5px solid rgba(22, 51, 85, .22); background: transparent;
  color: var(--azul-80);
}
.sizes label + label span { border-left-width: 0; }
.sizes label:first-of-type span { border-radius: var(--pill) 0 0 var(--pill); }
.sizes label:last-of-type span { border-radius: 0 var(--pill) var(--pill) 0; }
@media (hover: hover) { .sizes label:hover span { border-color: rgba(22, 51, 85, .22); background: rgba(22, 51, 85, .05); } }
.sizes input:checked + span { background: var(--azul); color: var(--crudo); border-color: var(--azul); }

/* Cantidad: fila editorial entre filetes, botones de línea */
.prod__row {
  background: none; border-radius: 0;
  margin: 16px 0; padding: 12px 0;
  border-top: 1px solid var(--azul-12); border-bottom: 1px solid var(--azul-12);
}
.qty { gap: 2px; }
.qty button {
  background: transparent; color: var(--azul);
  box-shadow: inset 0 0 0 1.5px rgba(22, 51, 85, .35);
  font-weight: 400;
}
@media (hover: hover) { .qty button:hover { background: var(--azul); color: var(--crudo); box-shadow: inset 0 0 0 1.5px var(--azul); } }
.qty button:disabled { background: transparent; color: var(--azul); opacity: .25; box-shadow: inset 0 0 0 1.5px rgba(22, 51, 85, .35); }
.qty output { font-size: 26px; min-width: 40px; }

/* Campos: línea inferior, sobre el fondo del sistema */
.field input, .field select, .field textarea {
  background: transparent; border: 0; border-radius: 0;
  border-bottom: 1.5px solid rgba(22, 51, 85, .25);
  padding: 10px 0; min-height: 46px;
}
.field textarea { border: 1.5px solid rgba(22, 51, 85, .25); border-radius: 8px; padding: 12px; }
.field select { background-position: right 2px center; padding-right: 28px; }
.field input:focus, .field select:focus { background: transparent; border-bottom-color: var(--azul); }
.field textarea:focus { background: transparent; border-color: var(--azul); }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: #b3261e; }
.field input::placeholder { color: var(--azul-60); }

.form-card { background: var(--papel); box-shadow: none; }

/* Drawer del pedido */
.drawer__panel { background: var(--crudo); }
.drawer__x { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(22, 51, 85, .25); font-size: 24px; }
@media (hover: hover) { .drawer__x:hover { background: var(--azul); color: var(--crudo); } }
.drawer__list { gap: 0; border-top: 1px solid var(--azul-12); }
.line { background: none; border-radius: 0; padding: 14px 0; border-bottom: 1px solid var(--azul-12); }
.line img { background: var(--papel); border-radius: 8px; }
.line__t { font-family: var(--f-title); font-weight: 400; font-size: 20px; letter-spacing: var(--track-title); }
.line .qty button { width: 32px; height: 32px; font-size: 16px; }
.line .qty output { font-size: 20px; min-width: 28px; }
.drawer__total { border-top: 0; padding-top: 4px; }
.drawer__fields { gap: 6px; }
.drawer__fields input { background: transparent; }
@media (max-width: 767px) {
  .qty button { width: 36px; height: 36px; }
  .qty output { font-size: 22px; min-width: 34px; }
  .line__t { font-size: 18px; }
}

/* Barra del pedido: compacta y discreta */
.order-bar { display: flex; justify-content: center; padding: 0 16px calc(14px + env(safe-area-inset-bottom)); }
.order-bar__btn {
  width: auto; max-width: 100%; margin: 0;
  min-height: 0; height: 46px; gap: 10px; padding: 0 8px 0 6px;
  background: rgba(22, 51, 85, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px -12px rgba(20, 20, 20, .45);
  font-size: 14px;
}
.order-bar__count { width: 34px; height: 34px; font-size: 14px; }
.order-bar__label { flex: none; font-weight: 400; }
.order-bar__kg { margin: 0; color: var(--crudo-70); }
.order-bar__cta {
  height: 34px; padding: 0 10px 0 14px; gap: 4px; display: inline-flex; align-items: center;
  background: transparent; border-left: 1px solid rgba(243, 243, 233, .2); border-radius: 0;
  font-size: 14px; font-weight: 700;
}
.order-bar__cta svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
@media (hover: hover) { .order-bar__btn:hover .order-bar__cta svg { transform: translateX(3px); } }
@media (min-width: 768px) {
  .order-bar { justify-content: flex-end; padding: 0 28px 28px; }
}
@media (max-width: 767px) {
  .order-bar__btn { height: 44px; font-size: 13px; }
  .order-bar__count { width: 32px; height: 32px; font-size: 13px; }
  .order-bar__cta { height: 32px; font-size: 13px; }
}

/* Controles de la bolsa: tamaño + cantidad en una sola línea, más livianos */
.prod__opts { display: flex; align-items: flex-end; gap: 12px; margin-top: auto; }
.prod__opts .sizes { flex: 1; min-width: 0; margin: 0; display: block; }
.sizes legend { font-size: 11px; letter-spacing: .1em; margin-bottom: 8px; color: var(--azul-80); }
.sizes__track {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 3px;
  background: rgba(22, 51, 85, .07); border-radius: var(--pill);
}
.sizes__track label { position: relative; }
.sizes__track span,
.sizes__track label + label span,
.sizes__track label:first-of-type span,
.sizes__track label:last-of-type span {
  min-height: 32px; padding: 0 6px; border: 0; border-radius: var(--pill);
  font-size: 13px; font-weight: 700; color: var(--azul-60); background: transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.sizes__track input:checked + span { background: var(--azul); color: var(--crudo); }
@media (hover: hover) { .sizes__track label:hover input:not(:checked) + span { color: var(--azul); background: transparent; } }

.prod__opts .qty { gap: 0; padding: 3px; border-radius: var(--pill); background: rgba(22, 51, 85, .07); }
.prod__opts .qty button { width: 32px; height: 32px; font-size: 16px; box-shadow: none; }
.prod__opts .qty button:disabled { opacity: .3; box-shadow: none; }
@media (hover: hover) { .prod__opts .qty button:not(:disabled):hover { background: var(--azul); color: var(--crudo); box-shadow: none; } }
.prod__opts .qty output { min-width: 24px; font-size: 19px; }
.prod__yield { text-align: left; font-size: 13px; margin: 10px 0 16px; }

@media (max-width: 767px) {
  .prod__opts { gap: 8px; }
  .sizes__track span, .sizes__track label + label span,
  .sizes__track label:first-of-type span, .sizes__track label:last-of-type span { font-size: 12px; min-height: 30px; padding: 0 4px; }
  .prod__opts .qty button { width: 30px; height: 30px; }
  .prod__opts .qty output { min-width: 22px; font-size: 18px; }
  .prod__yield { font-size: 12px; margin: 8px 0 14px; }
}
.prod__qty { flex: none; }
.prod__qtyname { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--azul-80); margin-bottom: 8px; }

/* Barra del pedido: más visible, centrada */
.order-bar { justify-content: center !important; }
.order-bar__btn { height: 58px; gap: 12px; padding: 0 7px 0 7px; font-size: 15px; background: var(--azul); box-shadow: 0 14px 34px -10px rgba(20, 20, 20, .55); }
.order-bar__count { width: 44px; height: 44px; font-size: 16px; }
.order-bar__kg { font-size: 15px; }
.order-bar__cta {
  height: 44px; padding: 0 18px 0 20px; gap: 6px; margin-left: 4px;
  background: var(--crudo); color: var(--azul); border: 0; border-radius: var(--pill);
  font-size: 15px;
}
.order-bar__cta svg { width: 15px; height: 15px; }
@media (min-width: 768px) { .order-bar { padding-bottom: 28px; } }
@media (max-width: 767px) {
  .order-bar__btn { height: 54px; font-size: 14px; }
  .order-bar__count { width: 40px; height: 40px; font-size: 15px; }
  .order-bar__cta { height: 40px; font-size: 14px; padding: 0 16px 0 18px; }
  .order-bar__kg { font-size: 14px; }
}

/* Barra del pedido: toda azul */
.order-bar__count { background: rgba(243, 243, 233, .14); color: var(--crudo); }
.order-bar__cta {
  background: transparent; color: var(--crudo);
  border-left: 1px solid rgba(243, 243, 233, .22); border-radius: 0;
  padding: 0 14px 0 18px; margin-left: 2px;
}
.order-bar__btn { padding-right: 6px; }

/* ==========================================================================
   Cómo llega: animación de logística ligada al scroll
   ========================================================================== */
.viaje { position: relative; background: var(--crudo); }
.viaje__track { height: 480vh; }
.viaje__stage {
  position: sticky; top: var(--header-h);
  height: calc(100svh - var(--header-h));
  display: grid; grid-template-rows: auto 1fr; align-content: start;
  padding: 24px 0 16px; overflow: hidden;
}
.viaje__title { margin-bottom: 14px; }
.viaje__steps { position: relative; min-height: 64px; }
.viaje__steps li {
  position: absolute; inset: 0 0 auto 0;
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.viaje__steps li.is-on { opacity: 1; transform: none; }
.viaje__n { font-family: var(--f-title); font-size: 20px; line-height: 1.1; color: var(--azul-60); }
.viaje__steps h3 { font-family: var(--f-title); font-size: 20px; line-height: 1.1; letter-spacing: var(--track-title); margin-bottom: 2px; }
.viaje__steps p { margin: 0; font-size: 14px; color: var(--azul-80); }
.viaje__bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.viaje__bar span { position: relative; height: 3px; border-radius: 3px; background: var(--azul-12); overflow: hidden; }
.viaje__bar span::after { content: ""; position: absolute; inset: 0; background: var(--azul); transform-origin: left; transform: scaleX(var(--f, 0)); }
.viaje__scene { position: relative; min-height: 0; margin-inline: 8px; }
.viaje__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.vj-label { font-family: var(--f-text); font-size: 13px; font-weight: 700; fill: var(--azul); paint-order: stroke; stroke: var(--crudo); stroke-width: 4px; stroke-linejoin: round; }
.vj-label { font-size: calc(13px * var(--vj-k, 1)); stroke-width: calc(4px * var(--vj-k, 1)); }
.vj-dest { font-size: calc(15px * var(--vj-k, 1)); }
.vj-small { font-size: calc(11px * var(--vj-k, 1)); font-weight: 400; }

@media (min-width: 960px) {
  .viaje__track { height: 520vh; }
  .viaje__stage { grid-template-columns: 5fr 7fr; grid-template-rows: 1fr; align-items: center; padding: 0; }
  .viaje__copy { padding-right: 0; max-width: none; margin: 0; padding-left: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
  .viaje__title { margin-bottom: 36px; font-size: clamp(40px, 3.6vw, 56px); }
  .viaje__steps { min-height: 0; display: grid; gap: 22px; }
  .viaje__steps li { position: static; opacity: .32; transform: none; }
  .viaje__steps li.is-on { opacity: 1; }
  .viaje__n { font-size: 24px; }
  .viaje__steps h3 { font-size: 26px; margin-bottom: 4px; }
  .viaje__steps p { font-size: 16px; max-width: 30em; }
  .viaje__bar { margin-top: 36px; max-width: 420px; }
  .viaje__scene { height: auto; align-self: stretch; margin: 16vh 9vw 16vh 6vw; }
}

/* sin animaciones: la escena final quieta y todos los pasos visibles */
@media (prefers-reduced-motion: reduce) {
  .viaje__track { height: auto; }
  .viaje__stage { position: static; height: auto; }
  .viaje__steps { min-height: 0; display: grid; gap: 14px; }
  .viaje__steps li { position: static; opacity: 1; transform: none; }
  .viaje__scene { height: 60vh; }
  .viaje__svg { position: static; }
}
.viaje.is-map .viaje__svg {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%), linear-gradient(180deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

/* Cómo llega en mobile: el paso a paso como protagonista */
@media (max-width: 959px) {
  .viaje__stage { padding-top: 18px; }
  .viaje__copy .eyebrow { margin-bottom: 6px; }
  .viaje__title { font-size: 28px; line-height: 1.06; margin-bottom: 30px; }
  .viaje__steps { min-height: 0; display: grid; }
  .viaje__steps li { position: relative; grid-area: 1 / 1; grid-template-columns: 1fr; gap: 4px; align-content: start; }
  .viaje__steps li:not(.is-on) { transition-duration: .12s; visibility: hidden; transition-property: opacity, transform, visibility; }
  .viaje__n { font-family: var(--f-text); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--azul-60); }
  .viaje__n::before { content: "Paso "; }
  .viaje__steps h3 { font-size: 18px; line-height: 1.15; margin-bottom: 4px; }
  .viaje__steps p { font-size: 13.5px; line-height: 1.45; color: var(--azul-60); }
  .viaje__bar { margin-top: 14px; gap: 4px; }
  .viaje__bar span { height: 2px; }
}

/* Mobile: tarjetas de producto más compactas */
@media (max-width: 767px) {
  .productos__list { grid-auto-columns: min(72vw, 300px); gap: 12px; }
  .prod__media { aspect-ratio: 5 / 4; }
  .prod__body { padding: 14px 14px 16px; }
  .prod__title { font-size: 18px; margin-bottom: 4px; }
  .prod__kg { font-size: 38px; }
  .prod__desc { font-size: 13px; margin-bottom: 12px; }
  .prod__tag { font-size: 9px; padding: 5px 9px; left: 10px; top: 10px; }
  .sizes legend, .prod__qtyname { font-size: 10px; margin-bottom: 6px; }
  .prod__opts { gap: 6px; }
  .sizes__track span, .sizes__track label + label span,
  .sizes__track label:first-of-type span, .sizes__track label:last-of-type span { font-size: 11px; min-height: 28px; padding: 0 2px; }
  .prod__opts .qty button { width: 28px; height: 28px; font-size: 15px; }
  .prod__opts .qty output { min-width: 18px; font-size: 16px; }
  .prod__yield { font-size: 11px; margin: 6px 0 12px; }
  .prod .btn--block { --h: 42px; font-size: 14px; }
}

/* Mobile: tamaño a lo ancho y cantidad debajo, para que nada quede apretado */
@media (max-width: 767px) {
  .prod__opts { flex-direction: column; align-items: stretch; gap: 10px; }
  .sizes__track span, .sizes__track label + label span,
  .sizes__track label:first-of-type span, .sizes__track label:last-of-type span { font-size: 12px; min-height: 30px; padding: 0 6px; }
  .prod__qty { display: flex; align-items: center; justify-content: space-between; }
  .prod__qty .prod__qtyname { margin: 0; }
}
