/* =========================================================
   EL RITUAL — sistema visual
   Rojo de marca muestreado del logo oficial (#E80E2E).
   Materiales: carbón (bolsa), crema/ámbar (etiqueta Con Papas),
   kraft (caja de embarque), rojo (etiqueta).
   ========================================================= */

/* ---------- tipografías (alojadas en el sitio; latin + latin-ext, OFL) ---------- */
/* latin-ext */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/big-shoulders-display-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/big-shoulders-display-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/big-shoulders-display-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/big-shoulders-display-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/big-shoulders-display-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/big-shoulders-display-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-var-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/instrument-sans-var-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Zilla Slab';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/zilla-slab-500-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Zilla Slab';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/zilla-slab-500-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Zilla Slab';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/zilla-slab-600-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Zilla Slab';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/zilla-slab-600-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/zilla-slab-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/zilla-slab-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/zilla-slab-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/zilla-slab-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/zilla-slab-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Zilla Slab';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/zilla-slab-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --rojo: #e80e2e;
  --rojo-hondo: #a50a22;
  --rojo-claro: #ff5a6e;
  --carbon: #120d0b;
  --carbon-2: #1c1411;
  --brasa: #2b1611;
  --crema: #f4ebdd;
  --crema-2: #e9dcc7;
  --ambar: #f2a93b;
  --ambar-hondo: #8f5812;   /* oscurecido para 4.5:1 sobre crema (antes #b8721b) */
  --kraft: #d2a978;
  --tinta: #1b1411;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-slab: "Zilla Slab", Rockwell, Georgia, serif;
  --f-sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4.5vw, 72px);
  --nav-h: 64px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --focus: var(--ambar);

  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--carbon);
  color: var(--crema);
  font: 400 1rem/1.55 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* grano fotográfico: da textura de papel impreso sin cargar imágenes */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
strong, b { font-weight: 600; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[data-theme="light"] { --focus: var(--tinta); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  background: var(--crema); color: var(--tinta); padding: 12px 18px; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- elementos de marca ---------- */
.wordmark {
  display: block;
  aspect-ratio: 900 / 505;
  background: currentColor;
  -webkit-mask: url("../img/brand/wordmark.webp") center / contain no-repeat;
          mask: url("../img/brand/wordmark.webp") center / contain no-repeat;
}
.pattern {
  display: block;
  width: 100%;
  aspect-ratio: 1200 / 133;
  background: currentColor;
  -webkit-mask: url("../img/brand/pattern.webp") left center / auto 100% repeat-x;
          mask: url("../img/brand/pattern.webp") left center / auto 100% repeat-x;
}
.pattern--ink { color: var(--tinta); }
.pattern--tile {
  aspect-ratio: auto;
  -webkit-mask: url("../img/brand/pattern-tile.webp") left center / auto 100% repeat-x;
          mask: url("../img/brand/pattern-tile.webp") left center / auto 100% repeat-x;
}

.eyebrow {
  display: flex; align-items: center; gap: .9em;
  font: 600 .78rem/1 var(--f-sans);
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(244, 235, 221, .86);
}
.eyebrow span {
  font: 800 .95rem/1 var(--f-display); letter-spacing: .04em;
  color: #ff3350;   /* rojo de marca aclarado: 5:1 sobre carbón (el #e80e2e da 4.2:1) */
  display: inline-flex; align-items: center; gap: .9em;
}
.eyebrow span::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow--dark { color: var(--carbon); }
.eyebrow--dark span { color: var(--carbon); }
.eyebrow--ink { color: var(--tinta); }
.eyebrow--ink span { color: #870619; }   /* 4.6:1 sobre kraft */
.eyebrow--light { color: #fff; }   /* sobre rojo: blanco pleno para 4.6:1 */
.eyebrow--light span { color: #fff; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  white-space: nowrap;
  min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 .82rem/1 var(--f-sans); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--ghost { border-color: rgba(244, 235, 221, .4); background: transparent; }
.btn--ghost:hover { border-color: var(--crema); background: var(--crema); color: var(--carbon); }
.btn--ink { border-color: var(--tinta); background: transparent; color: var(--tinta); }
.btn--ink:hover { background: var(--tinta); color: var(--crema); }
.link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px;
}
.link:hover { text-decoration-color: var(--rojo-hondo); }

/* =========================================================
   NAVEGACIÓN
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--crema);
  transition: transform .45s var(--ease), background-color .35s, color .35s;
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(18, 13, 11, .78);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
          backdrop-filter: blur(14px) saturate(1.2);
  opacity: 0; transition: opacity .35s;
}
.nav.is-solid::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav[data-theme="light"] { color: var(--tinta); }
.nav[data-theme="light"]::before { background: rgba(244, 235, 221, .82); }

.nav__logo { display: block; width: 86px; color: inherit; border-radius: 4px; position: relative; z-index: 2; }
.nav__logo .wordmark { width: 100%; }
.nav__logo { transition: opacity .35s; }
.nav:not(.is-solid):not(.is-open) .nav__logo:not(:focus-visible) { opacity: 0; pointer-events: none; }
.nav__menu ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.nav__menu a {
  font: 600 .74rem/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; position: relative; padding: 8px 0;
}
.nav__menu a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--rojo); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__menu a:hover::after, .nav__menu a[aria-current="true"]::after { transform: scaleX(1); }
.nav__cta {
  display: inline-flex; align-items: center; min-height: 40px;
  padding: 0 18px !important; border-radius: 999px;
  background: var(--rojo); color: #fff;
  transition: background-color .25s;
}
.nav__cta:hover { background: var(--rojo-hondo); }
.nav__pattern { display: none; }
.nav__toggle { display: none; }
.nav__lang {
  position: relative; z-index: 2;
  display: inline-grid; place-items: center;
  min-width: 44px; min-height: 40px; margin-left: clamp(14px, 2vw, 28px); padding: 0 10px;
  border: 1.5px solid currentColor; border-radius: 999px;
  font: 600 .72rem/1 var(--f-sans); letter-spacing: .16em; text-decoration: none;
  transition: background-color .25s, color .25s;
}
.nav:not([data-theme="light"]) .nav__lang { color: #fff; }   /* sobre el rojo de la portada: 4.6:1 */
.nav .nav__lang:hover { background: var(--crema); color: var(--carbon); border-color: var(--crema); }
.nav[data-theme="light"] .nav__lang:hover { background: var(--tinta); color: var(--crema); border-color: var(--tinta); }

@media (max-width: 860px) {
  .nav__lang { margin-left: auto; margin-right: 6px; }
  .nav__toggle {
    display: grid; place-items: center;
    width: 48px; height: 48px; margin-right: -10px;
    background: none; border: 0; border-radius: 50%;
    position: relative; z-index: 2;
  }
  .nav__bars, .nav__bars::before {
    display: block; width: 24px; height: 2px; background: currentColor;
    transition: transform .35s var(--ease);
  }
  .nav__bars { position: relative; transform: translateY(-4px); }
  .nav__bars::before { content: ""; position: absolute; top: 8px; }
  .nav.is-open .nav__bars { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__bars::before { transform: translateY(-8px) rotate(-90deg); }
  .nav.is-open { color: var(--crema); }
  .nav.is-open::before { opacity: 0; }

  .nav__menu {
    position: fixed; inset: 0; z-index: 1;
    background: var(--rojo);
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--nav-h) + 24px) var(--gutter) 0;
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path .6s var(--ease-io), visibility 0s .6s;
  }
  .nav.is-open .nav__menu {
    clip-path: inset(0 0 0 0); visibility: visible;
    transition: clip-path .6s var(--ease-io), visibility 0s;
  }
  .nav__menu ul { flex-direction: column; align-items: flex-start; gap: 6px; }
  .nav__menu a {
    font: 900 clamp(2.8rem, 13vw, 4.4rem)/1 var(--f-display); letter-spacing: 0;
    color: var(--crema); display: block; padding: 6px 0;
  }
  .nav__menu a::after { display: none; }
  .nav__cta { background: none; padding: 6px 0 !important; min-height: 0; border-radius: 0; color: var(--carbon) !important; }
  .nav__pattern {
    display: block; margin-top: auto; margin-inline: calc(var(--gutter) * -1);
    width: auto; aspect-ratio: auto; height: 64px; color: var(--crema);
    background: currentColor;
    -webkit-mask: url("../img/brand/pattern-tile.webp") left center / auto 100% repeat-x;
            mask: url("../img/brand/pattern-tile.webp") left center / auto 100% repeat-x;
  }
}

/* =========================================================
   HERO — la etiqueta como arquitectura
   ========================================================= */
.hero {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto;
  padding-bottom: 56px;
  overflow: clip;
  isolation: isolate;
}
.hero__glow {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 45% at 50% 72%, rgba(232, 14, 46, .30), transparent 70%),
    radial-gradient(40% 30% at 55% 80%, rgba(242, 169, 59, .12), transparent 70%),
    linear-gradient(180deg, var(--carbon) 0%, var(--brasa) 100%);
}
.hero__label {
  position: relative;
  margin: 0 16px;
  height: 64svh; min-height: 440px;
  background: var(--rojo);
  display: flex; flex-direction: column; align-items: center;
  padding: calc(var(--nav-h) + 3svh) 8% 0;
  transform: translateY(calc(var(--p, 0) * 10svh));
}
.hero__title { width: min(66%, 320px); color: #fff; }
.hero__tagline {
  margin-top: 14px;
  font: 600 clamp(1.05rem, 4.6vw, 1.6rem)/1.2 var(--f-slab);
  color: #fff; text-align: center;
}
.hero__pattern { position: absolute; left: 0; right: 0; bottom: 0; color: #fff; }
.hero__bag {
  position: relative; z-index: 2;
  width: min(72vw, 360px);
  margin: -21svh auto 0;
  transform: translateY(calc(var(--p, 0) * -6svh)) scale(calc(1 - var(--p, 0) * .05));
}
.hero__bag::after { /* sombra de piso */
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -2%; height: 7%;
  background: radial-gradient(closest-side, rgba(0,0,0,.7), transparent);
  z-index: -1; filter: blur(6px);
}
.hero__bag img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.5)); }
.hero__copy { padding: 28px var(--gutter) 0; text-align: center; }
.hero__lead {
  font: italic 600 clamp(2rem, 9vw, 3.6rem)/1 var(--f-slab);
  color: var(--crema);
}
.hero__meta {
  margin-top: 16px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px;
  font: 600 .74rem/1.4 var(--f-sans); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(244, 235, 221, .7);
}
.hero__cue { display: none; }

@media (min-width: 900px) {
  .hero { display: block; height: 100svh; min-height: 640px; padding: 0; }
  .hero__label {
    position: absolute; top: 0; left: clamp(24px, 8vw, 140px); margin: 0;
    width: clamp(320px, 33vw, 540px); height: 84svh; min-height: 0;
    padding: 0 7% calc(clamp(320px, 33vw, 540px) * .111 + 6svh);
    justify-content: flex-end;
  }
  .hero__title { width: 70%; }
  .hero__tagline { font-size: clamp(1rem, 1.4vw, 1.45rem); white-space: nowrap; }
  .hero__bag {
    position: absolute; margin: 0;
    left: calc(clamp(24px, 8vw, 140px) + clamp(320px, 33vw, 540px) * .8);
    bottom: 3svh;
    width: auto; height: 90svh; aspect-ratio: 1155 / 1550;
  }
  .hero__bag picture, .hero__bag img { height: 100%; width: auto; }
  .hero__copy {
    position: absolute; right: var(--gutter); bottom: 14svh;
    padding: 0; text-align: right; max-width: 30vw;
  }
  .hero__lead { font-size: clamp(2.2rem, 3.9vw, 4rem); }
  .hero__meta { justify-content: flex-end; flex-direction: column; align-items: flex-end; }
  .hero__cue {
    position: absolute; right: var(--gutter); bottom: 4svh;
    display: flex; align-items: center; gap: 14px;
    font: 600 .72rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase;
    text-decoration: none; color: rgba(244, 235, 221, .7);
  }
  .hero__cue i { width: 56px; height: 2px; background: currentColor; position: relative; overflow: hidden; }
}

/* intro — una sola vez, cinemática */
.js .hero__label { animation: label-in 1.1s var(--ease-io) both; }
.js .hero__title, .js .hero__tagline { animation: rise 1s var(--ease) .55s both; }
.js .hero__tagline { animation-delay: .7s; }
.js .hero__pattern { animation: wipe 1s var(--ease-io) .8s both; }
.js .hero__bag picture { animation: bag-in 1.5s var(--ease) .35s both; }
.js .hero__copy, .js .hero__cue { animation: fade 1s var(--ease) 1.1s both; }
@keyframes label-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes bag-in { from { opacity: 0; transform: translateY(9%) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   MANIFIESTO — se lee de un vistazo, sin fijar el scroll
   ========================================================= */
.manifesto { position: relative; padding: clamp(96px, 18svh, 200px) 0 clamp(80px, 14svh, 160px); overflow: clip; }
.manifesto::before { /* brasa detrás del "momento" */
  content: ""; position: absolute; inset: 30% -20% -10%; z-index: -1;
  background: radial-gradient(50% 50% at 60% 55%, rgba(232, 14, 46, .16), transparent 70%);
}
.manifesto__stage {
  max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; gap: clamp(22px, 4svh, 40px);
}
.manifesto__title { display: grid; gap: clamp(10px, 2svh, 24px); font-weight: inherit; }
.manifesto__text {
  font: 500 clamp(2rem, 5.4vw, 4.8rem)/1.04 var(--f-slab);
  letter-spacing: -.01em; max-width: 16ch;
}
.manifesto__punch {
  font: 900 clamp(4.2rem, 15vw, 14rem)/.84 var(--f-display);
  text-transform: uppercase; color: var(--rojo);
  letter-spacing: -.01em;
}

/* =========================================================
   PRODUCTOS
   ========================================================= */
.products-intro {
  padding: 16svh var(--gutter) 10svh;
  max-width: 1400px; margin: 0 auto;
  display: grid; gap: 22px;
}
.products-intro__title {
  font: 500 clamp(2.4rem, 6.6vw, 6rem)/.98 var(--f-slab);
  letter-spacing: -.015em; max-width: 12ch;
}
.products-intro__title em { font-style: italic; color: var(--rojo); display: block; }
.products-intro__hint {
  font: 600 .74rem/1.4 var(--f-sans); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(244, 235, 221, .7);
}

/* ---------- visor 360 ---------- */
.spin { position: relative; }
.spin__stage {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-areas: "info" "viewer" "side";
  grid-template-rows: auto 1fr auto;
  align-items: center; justify-items: center;
  gap: 12px;
  padding: calc(var(--nav-h) + 8px) var(--gutter) max(20px, env(safe-area-inset-bottom));
  isolation: isolate;
}
/* Visor 3D: el modelo gira solo; las fotos quedan como póster y como respaldo sin WebGL */
.spin__model {
  position: absolute; inset: -9% -38% -7%;
  width: auto; height: auto;
  background: transparent;
  --poster-color: transparent;
  --progress-bar-color: transparent;
  opacity: 0;
  transition: opacity .9s var(--ease);
  pointer-events: none;   /* solo se mira: el scroll del celular nunca se atora en el modelo */
}
.spin__frames, .spin__floor { transition: opacity .9s var(--ease); }
.spin.has-model .spin__model { opacity: 1; }
.spin.has-model .spin__frames, .spin.has-model .spin__floor { opacity: 0; pointer-events: none; }

.spin__info { grid-area: info; justify-self: stretch; display: grid; gap: 6px; z-index: 2; }
.spin__eyebrow {
  font: 600 .72rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase; opacity: .75;
}
.spin__name {
  font: 500 clamp(1.5rem, 6.4vw, 3.4rem)/1 var(--f-slab);
}
.spin__name strong { display: block; font-weight: 700; }
.spin__weight { font: 800 1.35rem/1 var(--f-display); letter-spacing: .02em; }
.spin__weight span { opacity: .6; font-weight: 700; }
.spin__buy { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.spin__buy .btn { min-height: 46px; padding: 0 20px; font-size: .72rem; }
.spin__sheet {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0; border: 0; background: none;
  font: 600 .72rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px;
  opacity: .85;
}
.spin__sheet i { font-style: normal; transition: transform .3s var(--ease); }
.spin__sheet:hover { opacity: 1; }
.spin__sheet:hover i { transform: translateX(4px); }

.spin__viewer {
  grid-area: viewer;
  position: relative; z-index: 1;
  height: min(46svh, 92vw * 1.342);
  aspect-ratio: 1155 / 1550;
  border-radius: 12px;
  -webkit-user-select: none; user-select: none;
}
.spin__frames { position: absolute; inset: 0; }
.spin__frame { position: absolute; inset: 0; opacity: 0; }
.spin__frame.is-on { opacity: 1; }
.spin__frame img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; pointer-events: none; }
.spin.is-active .spin__frame { will-change: opacity; }
.spin__floor {
  position: absolute; left: 6%; right: 6%; bottom: -1.5%; height: 6%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent);
  filter: blur(4px);
}

.spin__words {
  position: absolute; inset: 0; z-index: -1;
  display: grid; place-items: center;
  pointer-events: none;
}
.spin__words span {
  grid-area: 1 / 1;
  clip-path: inset(0 0 100% 0);
  transform: translateY(6%);
  transition: clip-path .8s var(--ease-io), transform .8s var(--ease-io);
  white-space: nowrap;
}
/* recorte con holgura: la caja es más baja que las letras (interlineado .8) y cortaba tildes */
.spin__words span.is-on { clip-path: inset(-.3em -.1em -.15em -.1em); transform: none; }

.spin__side { grid-area: side; justify-self: stretch; display: grid; gap: 14px; z-index: 2; }
.spin__captions { display: grid; min-height: 4.6em; }
.spin__captions li {
  grid-area: 1 / 1;
  font: 500 clamp(1rem, 3.8vw, 1.3rem)/1.35 var(--f-slab);
  opacity: 0; transform: translateY(10px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  max-width: 34ch;
}
.spin__captions li.is-on { opacity: 1; transform: none; }
.spin__captions b {
  display: block; margin-bottom: 6px;
  font: 600 .7rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase;
}

@media (min-width: 900px) {
  .spin__stage {
    grid-template-areas: "info viewer side";
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: 1fr;
    gap: clamp(24px, 4vw, 72px);
    padding-top: var(--nav-h); padding-bottom: 0;
  }
  .spin__viewer { height: min(72svh, 820px); } /* mismo tamaño en ambos productos */
  .spin__info { align-self: end; margin-bottom: 14svh; gap: 10px; }
  .spin__side { align-self: end; margin-bottom: 14svh; max-width: 360px; justify-self: end; }
  .spin__captions { min-height: 6.5em; }
  .spin__name strong { font-size: 1.1em; }
}

/* Tradicional: intenso, clásico, directo — carbón y rojo */
.spin--trad { background: var(--carbon); color: var(--crema); }
.spin--trad .spin__stage {
  background:
    radial-gradient(50% 42% at 50% 62%, rgba(232, 14, 46, .22), transparent 72%),
    linear-gradient(180deg, var(--carbon), #170e0c);
}
.spin--trad .spin__words {
  position: relative; inset: auto; grid-area: words; z-index: 0;
  justify-self: stretch;
}
.spin--trad .spin__words span {
  font: 900 clamp(6rem, 33vw, 26rem)/.8 var(--f-display);
  text-transform: uppercase; letter-spacing: -.01em;
  color: var(--rojo);
}
.spin--trad .spin__captions b { color: var(--rojo-claro); }
.spin--trad .spin__weight { color: var(--rojo-claro); }

/* Con Papas: cálido, casero, contundente — crema, ámbar y tinta */
.spin--papas { background: var(--crema); color: var(--tinta); }
.spin--papas .spin__stage {
  background:
    radial-gradient(70% 55% at 50% 100%, rgba(242, 169, 59, .35), transparent 70%),
    var(--crema);
}
.spin__sun {
  position: absolute; z-index: -1;
  width: min(92vw, 62svh); aspect-ratio: 1; border-radius: 50%;
  left: 50%; top: 52%; transform: translate(-50%, -50%) scale(calc(.92 + var(--sun, 0) * .08));
  will-change: transform;
  background: radial-gradient(circle at 38% 32%, #f7c065, var(--ambar) 55%, #e6922a);
}
.spin--papas .spin__words { align-items: end; padding-bottom: 6svh; }
.spin--papas .spin__words span {
  font: italic 600 clamp(4.4rem, 19vw, 17rem)/.9 var(--f-slab);
  color: var(--tinta); letter-spacing: -.02em;
}
.spin--papas .spin__captions b { color: var(--ambar-hondo); }
.spin--papas .spin__weight { color: var(--ambar-hondo); }
.spin--papas .spin__floor { background: radial-gradient(closest-side, rgba(90, 45, 0, .45), transparent); }

@media (min-width: 900px) {
  .spin--papas .spin__stage { grid-template-areas: "side viewer info"; }
  .spin--papas .spin__side { justify-self: start; }
  .spin--papas .spin__info { justify-items: end; text-align: right; }
  .spin--papas .spin__buy { justify-content: flex-end; }
  .spin--papas .spin__sheet { justify-self: end; }
}
@media (min-width: 900px) {
  /* la palabra arriba, la información abajo: nunca se pisan */
  /* Tradicional: la palabra tiene su propia fila arriba de la bolsa, nunca detrás */
  .spin--trad .spin__stage {
    grid-template-areas: "words words words" "info viewer side";
    grid-template-rows: auto 1fr;
    row-gap: 1svh;
    padding-top: calc(var(--nav-h) + 2svh);
  }
  .spin--trad .spin__words span { font-size: clamp(3.5rem, min(8vw, 12svh), 8rem); }
  .spin__info, .spin__side { margin-bottom: 9svh; }
  /* Con Papas: la palabra es un titular cálido a un costado, no un muro */
  .spin--papas .spin__words { place-items: start; padding: calc(var(--nav-h) + 6svh) 0 0 var(--gutter); }
  .spin--papas .spin__words span { font-size: clamp(4.5rem, min(9vw, 17svh), 10rem); }
}
@media (max-width: 899px) {
  .spin__info { gap: 4px; }
  .spin__name { font-size: clamp(1.5rem, 6.4vw, 2.1rem); }
  .spin__name strong { display: inline; }
  .spin__buy { margin-top: 6px; }
  .spin__buy .btn { flex: 1; min-height: 44px; padding: 0 12px; }
  .spin__sheet { min-height: 36px; }
  .spin--trad .spin__stage { grid-template-areas: "info" "words" "viewer" "side"; grid-template-rows: auto auto 1fr auto; }
  .spin--trad .spin__words span { font-size: min(16vw, 9svh); }
  .spin--trad .spin__viewer { height: min(38svh, 92vw * 1.342); }
  /* Con Papas en teléfono: la palabra tiene su propia fila, asoma bajo la bolsa */
  .spin--papas .spin__stage { grid-template-areas: "info" "viewer" "words" "side"; grid-template-rows: auto 1fr auto auto; }
  .spin--papas .spin__words { position: relative; inset: auto; grid-area: words; z-index: 0; padding: 0; margin-top: -5svh; justify-self: stretch; }
  .spin--papas .spin__words span { font-size: min(15vw, 9svh); }
  .spin--papas .spin__viewer { height: min(38svh, 92vw * 1.342); }
  .spin__captions { min-height: 4.2em; }
  .spin__side { gap: 10px; }
}
@media (max-width: 899px) and (max-height: 760px) {
  .spin__eyebrow { display: none; }
  .spin__viewer { height: min(34svh, 92vw * 1.342); }
}
@media (max-width: 899px) {
  .spin__side { max-width: 520px; }
}

/* =========================================================
   EL SABOR
   ========================================================= */
.sabor {
  background: var(--rojo); color: var(--carbon);
  padding: 16svh 0 14svh;
  overflow: clip;
  --carbon: #000;   /* sobre el rojo, el carbón (4.2:1) no alcanza 4.5:1 en texto chico; negro sí */
  --focus: var(--carbon);
}
.sabor__head { padding: 0 var(--gutter); max-width: 1400px; margin: 0 auto 7svh; display: grid; gap: 18px; }
.sabor__title {
  font: italic 600 clamp(2.2rem, 6vw, 5.4rem)/1 var(--f-slab);
  color: var(--crema); max-width: 13ch;
}
.sabor__rows { display: grid; gap: 1svh; }
.sabor__row {
  display: flex; align-items: center; gap: .22em;
  white-space: nowrap;
  font: 900 clamp(5.2rem, 18vw, 17rem)/.84 var(--f-display);
  text-transform: uppercase;
  color: var(--crema);
  transform: translate3d(calc(var(--x, 0) * 1%), 0, 0);
  will-change: transform;
}
.sabor__row--ink { color: var(--carbon); }
.sabor__row .o { color: transparent; -webkit-text-stroke: max(2px, .012em) currentColor; }
.sabor__row--ink .o { -webkit-text-stroke-color: var(--carbon); }
.sabor__row:not(.sabor__row--ink) .o { -webkit-text-stroke-color: var(--crema); }
.sabor__row i {
  flex: none; width: .16em; height: .16em; background: currentColor; transform: rotate(45deg);
}
.sabor__row[data-dir="1"] { margin-left: -20%; }
.sabor__row[data-dir="-1"] { margin-left: -60%; }

.sabor__label {
  max-width: 1400px; margin: 10svh auto 0; padding: 0 var(--gutter);
  display: grid; gap: 36px; align-items: center;
}
.sabor__pan { position: relative; }
.sabor__pan img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 60px -20px rgba(60, 0, 10, .6);
}
.sabor__pan figcaption {
  margin-top: 12px;
  font: 600 .7rem/1.4 var(--f-sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--carbon);
}
.sabor__kicker {
  font: 600 .74rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase;
  color: var(--carbon); margin-bottom: 18px;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 10px 18px; border-radius: 999px;
  border: 2px solid #fff; color: #fff;   /* blanco: 4.6:1 sobre rojo (crema daba 3.9:1) */
  font: 600 1.15rem/1 var(--f-slab);
}
.chips li:nth-child(-n+2) { background: var(--crema); color: var(--rojo-hondo); }
.sabor__note {
  margin-top: 26px; max-width: 30ch;
  font: 500 clamp(1.25rem, 2.2vw, 1.7rem)/1.3 var(--f-slab); color: var(--carbon);
}
@media (min-width: 900px) {
  .sabor__label { grid-template-columns: 1.1fr 1fr; gap: 6vw; }
}

/* =========================================================
   EL RITUAL (preparación) — una demostración que corre sola
   Sin scroll fijo: los 5 pasos siempre se leen; el círculo
   los muestra uno tras otro mientras la sección está a la vista.
   ========================================================= */
.ritual {
  --dur: 3.4s;   /* lo que dura cada paso (igual que STEP_MS en main.js) */
  position: relative;
  background:
    radial-gradient(60% 50% at 28% 55%, rgba(232, 14, 46, .16), transparent 70%),
    linear-gradient(180deg, var(--carbon), var(--brasa));
}
.ritual__inner {
  max-width: 1400px; margin: 0 auto;
  padding: clamp(80px, 14svh, 150px) var(--gutter) clamp(64px, 10svh, 120px);
  display: grid; gap: clamp(32px, 6svh, 64px);
}
.ritual__head { display: grid; gap: 18px; }
.ritual__title {
  font: 500 clamp(2.2rem, 5.6vw, 4.8rem)/1 var(--f-slab); letter-spacing: -.01em;
}
.ritual__title em { font-style: italic; color: var(--rojo); }
.ritual__demo { display: grid; gap: clamp(36px, 6svh, 56px); align-items: center; }

/* --- el círculo --- */
.ritual__visual {
  position: relative;
  width: min(78vw, 360px); aspect-ratio: 1;
  justify-self: center;
}
.ritual__ring { position: absolute; inset: 0; transform: rotate(-90deg); overflow: visible; }
.ritual__ring circle { fill: none; }
.ritual__track { stroke: rgba(244, 235, 221, .14); stroke-width: 1.5; }
.ritual__arc {
  stroke: var(--rojo); stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--arc, .2));
  transition: stroke-dashoffset var(--dur) linear;
}
.ritual__demo.is-reset .ritual__arc { transition: none; }
.ritual__heat {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(242, 120, 40, .7), rgba(232, 14, 46, .35) 60%, transparent);
  filter: blur(26px);
  opacity: 0; transform: scale(.9);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.ritual__scene {
  position: absolute; inset: 9%;
  border-radius: 50%;
  display: grid; place-items: center;
  opacity: 0; transform: scale(.94);
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
/* qué escena se ve en cada paso */
[data-step="1"] .ritual__scene--abre,
[data-step="2"] .ritual__scene--calienta,
[data-step="3"] .ritual__scene--plato,
[data-step="4"] .ritual__scene--plato,
[data-step="5"] .ritual__scene--plato { opacity: 1; transform: none; }
[data-step="2"] .ritual__heat { opacity: .55; transform: scale(1); }
[data-step="5"] .ritual__heat { opacity: 1; transform: scale(1.08); }

/* 01 · Abre: la bolsa, y una línea que la recorre como el corte */
.ritual__bag { width: 52%; position: relative; }
.ritual__bag img { width: 100%; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .55)); }
.ritual__tear {
  position: absolute; left: 22%; right: 22%; top: 25%; height: 8px; width: 56%;
  overflow: visible;
}
.ritual__tear path {
  fill: none; stroke: var(--crema); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
[data-step="1"] .ritual__tear path { animation: tear 1.1s var(--ease-io) .5s forwards; }
[data-step="1"] .ritual__bag { animation: bag-open 1.1s var(--ease) .5s both; }
@keyframes tear { to { stroke-dashoffset: 0; } }
@keyframes bag-open { 0%, 100% { transform: none; } 45% { transform: translateY(-3%) rotate(-2deg); } }

/* 02 · Calienta: sartén, flama, vapor y los 45 s del microondas */
.ritual__pan { width: 88%; overflow: visible; margin-top: 10%; }
.ritual__pan-handle { stroke: #3a2a24; stroke-width: 14; stroke-linecap: round; }
.ritual__pan-body { fill: #231915; stroke: rgba(244, 235, 221, .35); stroke-width: 2; }
.ritual__pan-food { fill: #a3261b; }
.ritual__pan-bits circle { fill: #d9542f; }
.ritual__pan-bits circle:nth-child(3n) { fill: #f2a93b; }
[data-step="2"] .ritual__pan-bits { animation: sizzle .5s steps(2) infinite; }
@keyframes sizzle { 50% { transform: translateY(-1.5px); } }
.ritual__flame {
  position: absolute; left: 50%; bottom: 13%; transform: translateX(-62%);
  display: flex; gap: 10px;
}
.ritual__flame i {
  width: 14px; height: 22px; border-radius: 50% 50% 50% 50% / 64% 64% 36% 36%;
  background: linear-gradient(0deg, var(--rojo), var(--ambar));
  transform-origin: 50% 100%;
  animation: flame .6s ease-in-out infinite alternate;
}
.ritual__flame i:nth-child(2) { animation-delay: .2s; height: 28px; }
.ritual__flame i:nth-child(3) { animation-delay: .4s; }
@keyframes flame { to { transform: scaleY(.72) scaleX(1.1); } }
.ritual__steam {
  position: absolute; left: 50%; top: 10%; transform: translateX(-60%);
  display: flex; gap: 18px;
}
.ritual__steam i {
  width: 3px; height: 46px; border-radius: 3px;
  background: linear-gradient(transparent, rgba(244, 235, 221, .55), transparent);
  opacity: 0;
}
[data-step="2"] .ritual__steam i { animation: steam 1.8s ease-out infinite; }
.ritual__steam i:nth-child(2) { animation-delay: .5s !important; }
.ritual__steam i:nth-child(3) { animation-delay: 1s !important; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(18px) scaleY(.6); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(-26px) scaleY(1.1) skewX(-10deg); }
}
.ritual__timer {
  position: absolute; right: 2%; top: 8%;
  display: flex; align-items: center; justify-content: center; gap: 1px;
  white-space: nowrap;
  width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: var(--rojo); color: #fff;
  font: 900 clamp(1.6rem, 6vw, 2.4rem)/1 var(--f-display);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .6);
  font-variant-numeric: tabular-nums;
}
.ritual__timer b { font-weight: 900; min-width: 1.1em; text-align: right; }

/* 03–05 · Sirve, comparte, disfruta: el plato al centro */
.ritual__plate {
  width: 100%; height: 100%;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 8px rgba(18, 13, 11, .7);
}
.ritual__plate img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.16);
  filter: saturate(.85) brightness(.9);
  transition: transform 1.6s var(--ease), filter 1.2s var(--ease);
}
[data-step="4"] .ritual__plate img { transform: scale(1.08); }
[data-step="5"] .ritual__plate img { transform: scale(1.04); filter: saturate(1.1) brightness(1.04); }
/* tortillas que llegan a la mesa */
.ritual__share i {
  position: absolute; width: 17%; aspect-ratio: 1; border-radius: 50%;
  background:
    radial-gradient(circle at 30% 35%, rgba(140, 80, 30, .35) 0 8%, transparent 9%),
    radial-gradient(circle at 65% 60%, rgba(140, 80, 30, .3) 0 7%, transparent 8%),
    #ecd6aa;
  box-shadow: 0 8px 16px -6px rgba(0, 0, 0, .6);
  opacity: 0; transition: opacity .6s var(--ease), transform .9s var(--ease);
}
.ritual__share i:nth-child(1) { left: -6%; top: 40%; transform: translateX(-40%); }
.ritual__share i:nth-child(2) { right: -6%; top: 38%; transform: translateX(40%); }
.ritual__share i:nth-child(3) { left: 41%; top: -6%; transform: translateY(-40%); }
.ritual__share i:nth-child(4) { left: 41%; bottom: -6%; transform: translateY(40%); }
.ritual__share i:nth-child(2) { transition-delay: .15s; }
.ritual__share i:nth-child(3) { transition-delay: .3s; }
.ritual__share i:nth-child(4) { transition-delay: .45s; }
[data-step="4"] .ritual__share i,
[data-step="5"] .ritual__share i { opacity: 1; transform: none; }
.ritual__plate-note {
  position: absolute; left: 0; right: 0; bottom: -14%; text-align: center;
  font: 600 .64rem/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase;
  color: rgba(244, 235, 221, .66);
}

/* --- los pasos: siempre legibles; el activo se enciende --- */
.ritual__steps { display: grid; counter-reset: none; }
.ritual__step {
  display: grid; grid-template-columns: 3.2rem 1fr; gap: 4px 14px; align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid rgba(244, 235, 221, .14);
  color: rgba(244, 235, 221, .62);
  transition: color .5s var(--ease);
}
.ritual__step:last-child { border-bottom: 1px solid rgba(244, 235, 221, .14); }
.ritual__num {
  font: 900 1.6rem/1 var(--f-display);
  transition: color .5s var(--ease);
}
.ritual__verb {
  font: 900 clamp(2.2rem, 8.6vw, 3.6rem)/.9 var(--f-display);
  text-transform: uppercase; letter-spacing: 0;
  transition: transform .6s var(--ease);
  transform-origin: left center;
}
.ritual__text {
  margin-top: 8px; max-width: 34ch;
  font: 500 clamp(1rem, 1.6vw, 1.2rem)/1.4 var(--f-slab);
}
.ritual__big { font: 900 1.25em/1 var(--f-display); color: var(--rojo-claro); }
.ritual__tag {
  display: inline-block; margin-left: 6px; padding: 4px 9px; border-radius: 999px;
  border: 1px solid currentColor; vertical-align: .15em;
  font: 600 .58rem/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase;
  opacity: .8; white-space: nowrap;
}
.ritual__step.is-on { color: var(--crema); }
.ritual__step.is-on .ritual__num { color: var(--rojo); }

.ritual__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
}
.ritual__keep {
  font: 600 .72rem/1.5 var(--f-sans); letter-spacing: .14em; text-transform: uppercase;
  color: rgba(244, 235, 221, .66);
}
.ritual__pause {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid rgba(244, 235, 221, .4); background: transparent; color: var(--crema);
  font: 600 .66rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase;
}
.ritual__pause:hover { border-color: var(--crema); }
.ritual__pause i { width: 10px; height: 11px; border: solid currentColor; border-width: 0 3px; }
.ritual__pause[data-paused="true"] i { border-width: 5.5px 0 5.5px 10px; border-color: transparent currentColor; width: 0; height: 0; }

@media (min-width: 900px) {
  /* en computadora todo cabe en una pantalla */
  .ritual__inner { padding-block: clamp(72px, 11svh, 120px) clamp(48px, 7svh, 80px); gap: clamp(24px, 4svh, 44px); }
  .ritual__demo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 7vw; }
  .ritual__visual { width: min(36vw, 52svh, 500px); }
  .ritual__step { grid-template-columns: 4rem 1fr; padding: clamp(8px, 1.3svh, 14px) 0; }
  .ritual__verb { font-size: clamp(2rem, min(3.4vw, 6svh), 3.4rem); }
  .ritual__text { margin-top: 4px; }
  .ritual__num { font-size: 2rem; }
  .ritual__step.is-on .ritual__verb { transform: translateX(6px); }
}

/* sin JS o con movimiento reducido: todo quieto, el plato a la vista y todos los pasos encendidos */
html:not(.motion) .ritual__scene--plato { opacity: 1; transform: none; }
html:not(.motion) .ritual__scene--abre, html:not(.motion) .ritual__scene--calienta { opacity: 0; }
html:not(.motion) .ritual__step { color: var(--crema); }
html:not(.motion) .ritual__num { color: var(--rojo); }
html:not(.motion) .ritual__arc { stroke-dashoffset: 0; }
html:not(.motion) .ritual__pause { display: none; }

/* =========================================================
   PARA TU NEGOCIO — la caja de embarque
   ========================================================= */
.negocio {
  background: var(--kraft); color: var(--tinta);
  position: relative;
  color-scheme: light;
}
.negocio__pattern { height: clamp(40px, 6vw, 72px); width: auto; aspect-ratio: auto; }
.negocio__inner { max-width: 1320px; margin: 0 auto; padding: 12svh var(--gutter) 14svh; }
.negocio__head { display: grid; gap: 22px; max-width: 760px; }
.negocio__title {
  font: 900 clamp(3rem, 9vw, 7.4rem)/1.08 var(--f-display);
  text-transform: uppercase; letter-spacing: -.005em;
}
.negocio__lead { font: 500 clamp(1.1rem, 1.7vw, 1.4rem)/1.4 var(--f-slab); max-width: 40ch; }

.figures {
  margin: 9svh 0 7svh;
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 3px solid var(--tinta);
}
.figures li {
  padding: 22px 16px 26px 0;
  border-bottom: 1.5px solid rgba(27, 20, 17, .35);
  display: grid; gap: 10px; align-content: start;
}
.figures li:nth-child(odd) { padding-right: 16px; border-right: 1.5px solid rgba(27, 20, 17, .35); }
.figures li:nth-child(even) { padding-left: 16px; }
.figures__n {
  font: 900 clamp(3.6rem, 13vw, 8.4rem)/.95 var(--f-display);
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
  white-space: nowrap;
}
.figures__n b { font-weight: 900; }
.figures__l {
  font: 600 .74rem/1.35 var(--f-sans); letter-spacing: .16em; text-transform: uppercase;
}
.figures__l small { font-size: 1em; opacity: .65; }
@media (min-width: 900px) {
  .figures { grid-template-columns: repeat(4, 1fr); }
  .figures__n { font-size: clamp(3.6rem, 7vw, 8.4rem); }
  .figures li, .figures li:nth-child(odd), .figures li:nth-child(even) {
    padding: 28px 24px 30px; border-right: 1.5px solid rgba(27, 20, 17, .35); border-bottom: 0;
  }
  .figures li:first-child { padding-left: 0; }
  .figures li:last-child { border-right: 0; }
}

/* ficha técnica: etiqueta de embarque */
.specs {
  background: var(--crema);
  border: 2px solid var(--tinta);
  border-radius: 6px;
  box-shadow: 8px 8px 0 var(--tinta);
}
.specs__summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; align-items: center;
  padding: 24px clamp(18px, 3vw, 36px);
  border-radius: 4px;
}
.specs__summary::-webkit-details-marker { display: none; }
.specs__summary-title { font: 900 clamp(1.7rem, 4vw, 2.6rem)/1 var(--f-display); text-transform: uppercase; }
.specs__summary-sub { grid-column: 1; font: 500 1rem/1.35 var(--f-slab); opacity: .8; }
.specs__plus {
  grid-column: 2; grid-row: 1 / span 2;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--rojo); position: relative;
  transition: transform .4s var(--ease), background-color .25s;
}
.specs__plus::before, .specs__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 20px; height: 2.5px; background: #fff; transform: translate(-50%, -50%);
}
.specs__plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.specs[open] .specs__plus { transform: rotate(180deg); background: var(--tinta); }
.specs[open] .specs__plus::after { transform: translate(-50%, -50%) rotate(0); }
.specs__summary:hover .specs__plus { background: var(--rojo-hondo); }
.specs__body {
  border-top: 2px dashed rgba(27, 20, 17, .4);
  padding: 28px clamp(18px, 3vw, 36px) 32px;
  display: grid; gap: 34px;
}
.specs__h {
  display: flex; align-items: center; gap: 10px;
  font: 600 .74rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase;
  margin-bottom: 14px;
}
.specs__icon { width: 16px; height: 16px; border: 2px solid currentColor; display: inline-block; }
.specs__icon--bag { border-radius: 3px 3px 6px 6px; height: 19px; }
.specs__icon--pallet { border-width: 2px 0; height: 12px; }

.codes { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.codes th, .codes td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1.5px solid rgba(27, 20, 17, .2); vertical-align: middle; }
.codes thead th { font: 600 .66rem/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
.codes tbody th { font: 700 1.05rem/1.2 var(--f-slab); }
.codes tbody th small { display: block; font: 400 .74rem/1.35 var(--f-sans); opacity: .7; margin-top: 3px; max-width: 30ch; }
.copy {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 12px; margin-left: -12px;
  background: transparent; border: 0; border-radius: 8px;
  font: 700 1.2rem/1 var(--f-display); letter-spacing: .06em;
  transition: background-color .2s;
}
.copy::after {
  content: ""; width: 13px; height: 13px;
  border: 2px solid currentColor; border-radius: 2px;
  box-shadow: 3px -3px 0 -1px var(--crema), 3px -3px 0 1px currentColor;
  opacity: .35; transition: opacity .2s;
}
.copy:hover { background: rgba(27, 20, 17, .08); }
.copy:hover::after, .copy:focus-visible::after { opacity: 1; }
.copy.is-done::after { opacity: 1; border-color: var(--rojo); box-shadow: none; border-radius: 50%; background: var(--rojo); }

@media (max-width: 640px) {
  .codes thead { display: none; }
  .codes tr { display: grid; grid-template-columns: 1fr 1fr; padding: 10px 0; border-bottom: 1.5px solid rgba(27, 20, 17, .2); }
  .codes th, .codes td { border: 0; padding: 4px 0; }
  .codes tbody th { grid-column: 1 / -1; }
  .codes td::before { display: block; font: 600 .6rem/1.4 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; opacity: .7; }
  .codes td:nth-of-type(1)::before { content: "UPC"; }
  .codes td:nth-of-type(2)::before { content: "Caja (DUN)"; }
  .copy { font-size: 1.02rem; }
}

.specs__grid { display: grid; gap: 30px; }
.specs__group dl { display: grid; }
.specs__group dl > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 11px 0; border-bottom: 1.5px solid rgba(27, 20, 17, .18);
}
.specs__group dt { font: 500 .95rem/1.3 var(--f-sans); }
.specs__group dt small { display: block; font-size: .72rem; opacity: .65; letter-spacing: .06em; }
.specs__group dd { font: 700 1.3rem/1.1 var(--f-display); letter-spacing: .03em; text-align: right; font-variant-numeric: tabular-nums; }
.specs__group dd small { font-size: .85em; opacity: .65; }
.specs__foot { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; font-size: .9rem; }
.specs__foot span { opacity: .7; }
@media (min-width: 900px) {
  .specs__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

/* =========================================================
   CONTACTO — la etiqueta regresa
   ========================================================= */
.contacto { padding: 16svh var(--gutter) 12svh; --focus: var(--crema); }
.contacto__label {
  position: relative; max-width: 1240px; margin: 0 auto;
  background: var(--rojo); color: #fff;
  padding: clamp(32px, 6vw, 80px) clamp(18px, 5vw, 72px) calc(clamp(32px, 6vw, 80px) + clamp(36px, 7vw, 90px));
  display: grid; gap: clamp(32px, 5vw, 64px);
  overflow: hidden;
}
.contacto__intro { display: grid; gap: 22px; align-content: start; }
.contacto__title {
  font: 900 clamp(3rem, 9vw, 7rem)/.84 var(--f-display);
  text-transform: uppercase; letter-spacing: -.005em; max-width: 10ch;
}
.contacto__lead { font: 500 clamp(1.1rem, 1.6vw, 1.35rem)/1.4 var(--f-slab); max-width: 34ch; }
.contacto__channels { display: grid; gap: 10px; margin-top: 6px; }
.channel {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px 12px 12px; border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, .55);
  text-decoration: none; transition: background-color .25s, border-color .25s, color .25s;
}
.channel:hover { background: var(--crema); color: var(--rojo-hondo); border-color: var(--crema); }
.channel__ic {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(18, 13, 11, .18);
}
.channel__ic svg { width: 22px; height: 22px; }
.channel small {
  display: block; margin-bottom: 3px;
  font: 600 .66rem/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase;
}
.channel > span:last-child { font: 600 1.1rem/1.2 var(--f-slab); overflow-wrap: anywhere; }
.contacto__pattern { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(36px, 7vw, 90px); width: auto; aspect-ratio: auto; color: var(--crema); }

/* formulario: etiqueta de embarque sobre la etiqueta roja */
.cform {
  background: var(--crema); color: var(--tinta);
  border: 2px solid var(--tinta); border-radius: 8px;
  box-shadow: 8px 8px 0 var(--tinta);
  padding: clamp(20px, 3vw, 36px);
  display: grid; gap: 16px; align-content: start;
  --focus: var(--tinta);
  color-scheme: light;
}
.cform__title { font: 900 clamp(1.9rem, 3.4vw, 2.6rem)/1 var(--f-display); text-transform: uppercase; }
.cform__note { font: 500 .98rem/1.4 var(--f-slab); opacity: .8; margin-top: -6px; }
.cform__tipos { border: 0; padding: 0; margin: 0; min-width: 0; }
.cform__tipos legend {
  padding: 0; margin-bottom: 10px;
  font: 600 .7rem/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase;
}
.chips-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-radio label { position: relative; cursor: pointer; }
.chips-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chips-radio span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border-radius: 999px; border: 1.5px solid rgba(27, 20, 17, .35);
  font: 500 .92rem/1 var(--f-sans); transition: background-color .2s, color .2s, border-color .2s;
}
.chips-radio label:hover span { border-color: var(--tinta); }
.chips-radio input:checked + span { background: var(--tinta); color: var(--crema); border-color: var(--tinta); }
.chips-radio input:focus-visible + span { outline: 3px solid var(--rojo); outline-offset: 2px; }
.cform__row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font: 600 .7rem/1 var(--f-sans); letter-spacing: .16em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid rgba(27, 20, 17, .35); border-radius: 10px;
  background: #fffaf2; color: var(--tinta);
  font: 400 1rem/1.3 var(--f-sans);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--tinta); box-shadow: 0 0 0 3px rgba(232, 14, 46, .25);
}
.field input[aria-invalid="true"] { border-color: var(--rojo); box-shadow: 0 0 0 3px rgba(232, 14, 46, .2); }
.cform__actions { display: grid; gap: 10px; margin-top: 4px; }
.btn--block { width: 100%; justify-content: space-between; min-height: 54px; }
.btn--rojo { background: var(--rojo); color: #fff; }
.btn--rojo:hover { background: var(--rojo-hondo); }
.btn--inkline { border-color: var(--tinta); color: var(--tinta); background: transparent; justify-content: center; }
.btn--inkline:hover { background: var(--tinta); color: var(--crema); }
.btn i { font-style: normal; }
.cform__status { font: 500 .92rem/1.4 var(--f-sans); min-height: 1.4em; }
.cform__status.is-error { color: #b0001e; font-weight: 600; }
.cform__privacy { font-size: .78rem; opacity: .7; }
@media (min-width: 640px) { .cform__row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) {
  .contacto__label { grid-template-columns: 1fr 1.05fr; align-items: start; }
}

/* acciones dentro de la ficha de producto */
.sheet__buy { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet__buy .btn { min-height: 52px; padding: 0 14px; }
.btn--amazon { background: #ff9e1b; color: #17110d; }
.btn--amazon:hover { background: #ffb347; }
.btn--amazon.is-soon {
  background: transparent; color: inherit; border: 2px dashed currentColor;
  cursor: default; gap: .5em;
}
.btn--amazon.is-soon small { font: inherit; letter-spacing: .06em; opacity: .75; }
.btn--amazon.is-soon:active { transform: none; }

/* =========================================================
   LA FAMILIA — marcas hermanas, cada una con su propia identidad
   ========================================================= */
.familia { max-width: 1400px; margin: 0 auto; padding: 4svh var(--gutter) 14svh; }
.familia__head { display: grid; gap: 18px; margin-bottom: 44px; }
.familia__title {
  font: 500 clamp(2.2rem, 5.4vw, 4.8rem)/1 var(--f-slab); letter-spacing: -.01em;
}
.familia__title em { font-style: italic; color: var(--rojo); }
.familia__grid { display: grid; gap: 16px; }
.familia__grid > li { display: flex; }
.fcard {
  position: relative; overflow: hidden; isolation: isolate;
  flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 22px;
  min-height: 380px; padding: 28px;
  border-radius: 22px; text-decoration: none;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
a.fcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.fcard__body { position: relative; z-index: 1; display: grid; gap: 8px; justify-items: start; }
.fcard__tag { font: italic 600 clamp(1.25rem, 1.9vw, 1.6rem)/1.1 var(--f-slab); max-width: 18ch; }
.fcard__name { font: 900 clamp(2rem, 3.4vw, 2.9rem)/.9 var(--f-display); text-transform: uppercase; }
.fcard__desc { font-size: .95rem; line-height: 1.45; max-width: 32ch; }
.fcard__cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  min-height: 46px; padding: 0 20px; border-radius: 999px;
  font: 600 .74rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase;
  transition: gap .4s var(--ease);
}
.fcard__cta i { font-style: normal; font-size: 1rem; }
.fcard__cta { white-space: nowrap; }
a.fcard:hover .fcard__cta { gap: 16px; }
.fcard__logo { position: relative; z-index: 1; height: auto; }

/* Dolvarella: su crema y su mango, con la bolsa real asomando */
.fcard--dolvarella { background: #f3eadb; color: #17110d; --focus: #17110d; }
.fcard--dolvarella .fcard__logo { width: min(210px, 62%); }
.fcard--dolvarella .fcard__tag { color: #b8600a; }
.fcard--dolvarella .fcard__cta { background: #c21e14; color: #fff; }
.fcard__bag {
  position: absolute; z-index: 0; right: -6%; top: 14%;
  width: min(44%, 190px); rotate: 9deg;
  filter: drop-shadow(0 20px 26px rgba(80, 40, 0, .3));
  transition: rotate .7s var(--ease), transform .7s var(--ease);
}
.fcard__bag img { width: 100%; height: auto; }
a.fcard--dolvarella:hover .fcard__bag { rotate: 3deg; transform: translateY(-8px); }
.fcard--dolvarella .fcard__body { max-width: 62%; }

/* La Tiendita del Antojo: rosa mexicano y toldo de tiendita */
.fcard--tiendita { background: #ff1f8e; color: #1b0b22; --focus: #1b0b22; }
.fcard--tiendita .fcard__tag { color: #fff; }
.fcard--tiendita .fcard__cta { background: #fff; color: #c3006a; }
.fcard__awning {
  height: 56px; margin: -28px -28px 0;
  background:
    radial-gradient(circle at 18px 0, transparent 18px, #ff1f8e 19px) 0 38px / 36px 36px repeat-x,
    repeating-linear-gradient(90deg, #fff 0 36px, #ffb3d6 36px 72px);
  transform-origin: top; transition: transform .6s var(--ease);
}
a.fcard--tiendita:hover .fcard__awning { transform: scaleY(1.15); }
.fcard__paleta {
  position: absolute; right: 24px; top: 76px; width: 76px; height: auto;
  border-radius: 20px; rotate: 8deg; box-shadow: 0 14px 30px -12px rgba(80, 0, 40, .5);
  transition: rotate .6s var(--ease);
}
a.fcard--tiendita:hover .fcard__paleta { rotate: -10deg; }

/* Colorín: blanco para que su logo respire, crayolas de sus colores */
.fcard--colorin { background: #fff; color: #17110d; --focus: #1d3a9e; }
.fcard__crayons { display: flex; gap: 7px; height: 56px; margin: -28px -28px 0; padding-inline: 28px; }
.fcard__crayons i { flex: 1; border-radius: 0 0 999px 999px; }
.fcard__crayons i:nth-child(1) { background: #1d3a9e; height: 34px; }
.fcard__crayons i:nth-child(2) { background: #e5007d; height: 42px; }
.fcard__crayons i:nth-child(3) { background: #8cc63f; height: 30px; }
.fcard__crayons i:nth-child(4) { background: #ffcc00; height: 46px; }
.fcard__crayons i:nth-child(5) { background: #ff5a1f; height: 36px; }
.fcard__crayons i:nth-child(6) { background: #29abe2; height: 40px; }
.fcard--colorin .fcard__logo { width: min(180px, 56%); }
.fcard--colorin .fcard__tag { color: #1d3a9e; }
.fcard__soon {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 8px;
  padding: 10px 18px; border-radius: 999px;
  font: 600 .72rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #1d3a9e, #29abe2, #8cc63f, #ffcc00, #ff5a1f, #e5007d) border-box;
  border: 2px solid transparent;
}
.fcard__soon i { width: 8px; height: 8px; border-radius: 50%; background: #e5007d; }

@media (min-width: 900px) {
  .familia__grid { grid-template-columns: 1.15fr 1fr 1fr; }
  .fcard { min-height: 420px; padding: 34px; }
  .fcard__awning, .fcard__crayons { margin: -34px -34px 0; }
  .fcard__crayons { padding-inline: 34px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid rgba(244, 235, 221, .12);
  padding: 56px var(--gutter) 40px;
  display: grid; gap: 36px;
  max-width: 1400px; margin: 0 auto;
  font-size: .85rem; color: rgba(244, 235, 221, .72);
}
.wordmark--footer { width: 150px; color: var(--rojo); }
.footer__tagline { margin-top: 12px; font: 600 1.05rem/1.2 var(--f-slab); color: var(--crema); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a {
  text-decoration: none; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem;
  padding: 10px 0;
}
.footer__nav a:hover { color: var(--crema); }
.footer__legal { display: grid; gap: 10px; max-width: 72ch; line-height: 1.5; }
@media (min-width: 900px) {
  .footer { grid-template-columns: auto 1fr; column-gap: 8vw; }
  .footer__nav { align-self: start; justify-content: flex-end; }
  .footer__legal { grid-column: 1 / -1; }
}

/* =========================================================
   FICHAS (dialog)
   ========================================================= */
.sheet {
  margin: 0; padding: 0; border: 0;
  max-width: none; max-height: none;
  width: 100%; height: 100%;
  background: transparent; color: var(--tinta);
  color-scheme: light;
  --focus: var(--tinta);
}
.sheet::backdrop { background: rgba(10, 6, 5, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet__inner {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 90svh; overflow-y: auto; overscroll-behavior: contain;
  background: var(--crema);
  border-radius: 22px 22px 0 0;
  border-top: 8px solid var(--rojo);
  padding: 22px 20px max(28px, env(safe-area-inset-bottom));
  display: grid; gap: 26px;
  animation: sheet-up .5s var(--ease) both;
}
.sheet--papas .sheet__inner { border-top-color: var(--ambar); }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
@media (min-width: 760px) {
  .sheet__inner {
    left: auto; top: 0; width: min(560px, 100%); max-height: none; height: 100%;
    border-radius: 0; border-top: 0; border-left: 8px solid var(--rojo);
    padding: 36px 40px 40px;
    animation-name: sheet-in;
  }
  .sheet--papas .sheet__inner { border-left-color: var(--ambar); }
  @keyframes sheet-in { from { transform: translateX(100%); } to { transform: none; } }
}
.sheet__head { position: relative; padding-right: 56px; display: grid; gap: 8px; }
.sheet__eyebrow { font: 600 .7rem/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.sheet__title { font: 900 clamp(2rem, 6vw, 2.8rem)/.92 var(--f-display); text-transform: uppercase; }
.sheet__close {
  position: absolute; right: -6px; top: -6px;
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--tinta); background: transparent;
  font-size: 1.6rem; line-height: 1;
}
.sheet__close:hover { background: var(--tinta); color: var(--crema); }
.sheet__block { display: grid; gap: 10px; }
.sheet__block h3 {
  font: 600 .72rem/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase;
  padding-bottom: 10px; border-bottom: 2px solid var(--tinta);
}
.sheet__block > p { font: 500 1.08rem/1.45 var(--f-slab); }
.sheet__options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sheet__options p {
  background: var(--rojo); color: #fff; border-radius: 12px; padding: 14px;
  font: 500 .95rem/1.35 var(--f-slab);
}
.sheet--papas .sheet__options p { background: var(--ambar); color: var(--tinta); }
.sheet__options b { display: block; font: 800 1.2rem/1 var(--f-display); text-transform: uppercase; margin-bottom: 6px; letter-spacing: .03em; }
.sheet__small { font: 400 .8rem/1.45 var(--f-sans) !important; opacity: .75; }
.sheet__source { font-size: .76rem; opacity: .65; border-top: 1px solid rgba(27, 20, 17, .2); padding-top: 14px; }

.nutri { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.nutri th, .nutri td { padding: 7px 0; border-bottom: 1px solid rgba(27, 20, 17, .18); text-align: left; }
.nutri td { text-align: right; width: 5.5em; }
.nutri thead th { font: 600 .64rem/1 var(--f-sans); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.nutri thead th:not(:first-child) { text-align: right; }
.nutri tbody th { font-weight: 600; }
.nutri .sub th { font-weight: 400; padding-left: 16px; }
.nutri__cal th, .nutri__cal td { font: 800 1.5rem/1 var(--f-display); border-bottom: 4px solid var(--tinta); padding: 10px 0; }

/* =========================================================
   APARICIONES + TOAST
   ========================================================= */
.js [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.figures li:nth-child(2) { transition-delay: .08s; }
.figures li:nth-child(3) { transition-delay: .16s; }
.figures li:nth-child(4) { transition-delay: .24s; }

.toast {
  position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom)); z-index: 90;
  transform: translate(-50%, calc(100% + 40px));   /* fuera de pantalla del todo (140% dejaba asomar el borde) */
  visibility: hidden;
  background: var(--tinta); color: var(--crema);
  padding: 12px 20px; border-radius: 999px;
  font: 600 .8rem/1 var(--f-sans); letter-spacing: .08em;
  transition: transform .4s var(--ease), visibility 0s .4s;
  pointer-events: none;
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .4s var(--ease); }

/* =========================================================
   MOVIMIENTO REDUCIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .hero__label, .hero__bag { transform: none !important; }
  .sabor__row { transform: none !important; }
  .sabor__row[data-dir] { margin-left: 0; flex-wrap: wrap; white-space: normal; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
