/* ==========================================================================
   Los Capes | styles.css
   Rediseño 2026 — "Taquería de mariscos, nivel app":
   base blanca y limpia con el teal y el dorado de la marca, más una capa de
   taquería callejera: rótulos pintados (Bungee), notas a plumón (Caveat),
   stickers de precio, toldo de carrito, cintas cruzadas, papel picado,
   pizarrón, comanda de papel y talavera. Sombras desplazadas y botones con
   relieve para un toque táctil y divertido sin perder lo profesional.

   Metodología: mobile first. Los estilos base son para teléfono y se
   amplían con min-width en 640px, 1024px y 1200px.

   Índice
     01. Tokens de diseño
     02. Tipografía local
     03. Reset y base
     04. Utilidades (contenedor, iconos, etiquetas, títulos, patrones)
     05. Botones, chips y estados
     06. Loader
     07. Cursor personalizado
     08. Header (centrado) y navegación
     09. Menú móvil
     10. Hero
     11. Cintas cruzadas (ticker)
     12. Menú (toldo, tacos, bebidas, stepper, combo)
     13. Promoción
     14. Proceso (scroll horizontal)
     15. Galería
     16. CTA intermedio (papel picado)
     17. Horario, pizarrón de precios, entrega y pago
     18. Opiniones
     19. Preguntas frecuentes
     20. Contacto (comanda)
     20b. Pasos y ventana de pedido
     21. Footer
     22. Panel de pedido, overlay, lightbox, toast
     23. Botones flotantes
     24. Animaciones de entrada (reveal / split)
     25. Keyframes
     26. Movimiento reducido y Lenis
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Tokens de diseño
   -------------------------------------------------------------------------- */
@property --angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

:root {
  /* Superficies (base blanca) */
  --bg: #F6FAF9;
  --bg-alt: #EDF5F3;
  --surface: #FFFFFF;
  --surface-2: #F3F8F7;
  --line: rgba(8, 58, 65, .1);
  --line-2: rgba(8, 58, 65, .16);
  --line-3: rgba(8, 58, 65, .28);

  /* Texto */
  --ink: #0A2D32;
  --text: #0A2D32;
  --muted: #4D6A6E;
  --dim: #849C9F;

  /* Marca (del logotipo #1A8795 → #083A41) */
  --brand: #1A8795;
  --brand-2: #22A3B2;
  --brand-ink: #0B6F7B;
  --brand-deep: #083A41;
  --brand-tint: rgba(26, 135, 149, .09);
  --aqua: #19C3B3;

  /* Acento "capeado" */
  --gold: #F4AE3D;
  --gold-2: #FFD688;
  --gold-deep: #B8680A;
  --gold-tint: rgba(244, 174, 61, .16);

  /* Acentos de taquería (uso puntual) */
  --chile: #E2522C;
  --lime: #6BA81E;
  --wood: #9C6A3A;
  --board: #133C37;

  /* Bloques oscuros (CTA, footer) */
  --deep: #062A30;
  --deep-2: #0A3A42;
  --on-deep: #EAF6F4;
  --on-deep-muted: #9DBAB8;

  --wa: #25D366;
  --danger: #D64535;

  /* Degradados */
  --grad-brand: linear-gradient(135deg, #25ADBB 0%, #1A8795 55%, #0E6773 100%);
  --grad-gold: linear-gradient(120deg, #FFDB91 0%, #F4AE3D 55%, #EC9A22 100%);

  /* Tipografía */
  --font-display: "Bricolage Grotesque", "Geist", system-ui, sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-sign: "Bungee", "Bricolage Grotesque", system-ui, sans-serif;  /* rótulos */
  --font-hand: "Caveat", "Bradley Hand", "Comic Sans MS", cursive;                         /* plumón */

  /* Movimiento */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  /* Forma y espacio */
  --r: 18px;
  --r-lg: 24px;
  --r-xl: 30px;
  --border: 2px solid var(--ink);
  --container: 1240px;
  --gutter: 16px;
  --section-y: clamp(84px, 13vw, 160px);
  --header-h: 76px;

  /* Sombras: suaves para profundidad + desplazadas para el toque "impreso" */
  --shadow-soft: 0 24px 60px -30px rgba(8, 58, 65, .35);
  --shadow-offset: 6px 6px 0 var(--brand-deep);
  --shadow-offset-gold: 9px 9px 0 var(--gold);
  --shadow-press: 0 4px 0 var(--ink);

  /* Patrones (data URI) */
  --talavera: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%231A8795' stroke-width='1.6'%3E%3Ccircle cx='40' cy='40' r='9'/%3E%3Cpath d='M40 16c6 8 6 15 0 24-6-9-6-16 0-24zM40 64c6-8 6-15 0-24-6 9-6 16 0 24zM16 40c8-6 15-6 24 0-9 6-16 6-24 0zM64 40c-8-6-15-6-24 0 9 6 16 6 24 0z'/%3E%3Cpath d='M0 12a12 12 0 0 0 12-12M68 0a12 12 0 0 0 12 12M80 68a12 12 0 0 0-12 12M12 80A12 12 0 0 0 0 68'/%3E%3C/g%3E%3Ccircle cx='40' cy='40' r='3' fill='%23F4AE3D'/%3E%3C/svg%3E");
  --swash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24' preserveAspectRatio='none'%3E%3Cpath d='M4 17C46 8 104 5 196 10' fill='none' stroke='%23F4AE3D' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E");
}

@media (min-width: 640px) {
  :root { --gutter: 28px; }
}
@media (min-width: 1024px) {
  :root { --gutter: 40px; }
}

/* --------------------------------------------------------------------------
   02. Tipografía local
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   03. Reset y base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  background: var(--bg);
  color-scheme: light;
}

html.is-loading:not(.is-loaded),
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  body { overflow-x: clip; }
}

img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--gold-2); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

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

.section {
  position: relative;
  padding-block: var(--section-y);
}

.i {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Etiqueta de sección con estilo de rótulo / sticker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 7px 14px 7px 7px;
  border-radius: 10px;
  font-family: var(--font-sign);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-2deg);
}
.eyebrow span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--gold);
}
.eyebrow--center { transform: rotate(1.5deg); }
.eyebrow--light { color: var(--ink); background: var(--gold); border-color: var(--ink); box-shadow: 3px 3px 0 rgba(0, 0, 0, .35); }

.sec-head {
  max-width: 840px;
  margin-bottom: clamp(44px, 7vw, 80px);
}
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--split { max-width: none; display: grid; gap: 20px; align-items: end; }

.sec-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 7.6vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

/* Palabra destacada: escrita a plumón con un trazo dorado debajo */
.sec-title em,
.cta-band__title em,
.contact__title em,
.footer__tag em,
.hero__display--accent em {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.18em;
  letter-spacing: 0;
  line-height: .9;
  color: var(--brand);
  padding: 0 .08em .08em;
  background: var(--swash) no-repeat 0 100% / 100% .32em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.sec-lead {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(1.02rem, 2.4vw, 1.18rem);
  color: var(--muted);
  text-wrap: pretty;
}
.sec-head--center .sec-lead { margin-inline: auto; }

.text-gold { color: var(--gold-deep); }

/* Sticker genérico (texto de rótulo sobre círculo/forma) */
.sticker {
  display: inline-grid;
  place-items: center;
  font-family: var(--font-sign);
  line-height: 1.05;
  text-align: center;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
}

@media (min-width: 1024px) {
  .sec-head--split { grid-template-columns: 1.4fr 1fr; gap: 60px; }
  .sec-head--split .sec-lead { margin-top: 0; justify-self: end; }
}

/* --------------------------------------------------------------------------
   05. Botones, chips y estados
   -------------------------------------------------------------------------- */
.btn {
  --btn-h: 52px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 24px;
  border-radius: 999px;
  border: var(--border);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: var(--shadow-press);
  transition: transform .25s var(--ease-out), translate .6s var(--ease-out), box-shadow .25s var(--ease-out), background-color .3s, color .3s;
  will-change: transform, translate;
}
.btn .i { width: 1.15em; height: 1.15em; transition: transform .4s var(--ease-out); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.btn__label { position: relative; }

/* Brillo que cruza el botón */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease-out);
}
.btn:hover::after { transform: translateX(120%); }

.btn--primary { color: #fff; background: var(--brand); }
.btn--primary:hover { background: var(--brand-2); }
.btn--gold { color: var(--ink); background: var(--gold); }
.btn--gold:hover { background: #FFC15A; }
.btn--dark { color: var(--gold-2); background: var(--ink); box-shadow: 0 4px 0 rgba(0, 0, 0, .35); }
.btn--dark:hover { box-shadow: 0 6px 0 rgba(0, 0, 0, .35); }
.btn--glass { color: var(--ink); background: #fff; }
.btn--glass:hover { background: var(--gold-2); }
.btn--outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
  background: transparent;
  box-shadow: 0 4px 0 rgba(255, 255, 255, .25);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); box-shadow: 0 6px 0 rgba(255, 255, 255, .25); }

.btn--sm { --btn-h: 42px; padding: 0 18px; font-size: .9rem; }
.btn--lg { --btn-h: 58px; padding: 0 28px; font-size: 1.04rem; }
.btn--block { width: 100%; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: var(--border);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transition: background-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.icon-btn:hover { background: var(--gold-2); }
.icon-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }

.link-btn {
  font-size: .9rem;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color .2s;
}
.link-btn:hover { color: var(--text); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--brand-ink);
  transition: gap .3s var(--ease-out), color .3s;
}
.link-arrow:hover { gap: 12px; color: var(--text); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
}
.chip .i { width: 1em; height: 1em; color: var(--gold-deep); }
.chip--ghost { border: 1.5px solid var(--ink); color: var(--ink); background: #fff; }
.chip--glass {
  font-family: var(--font-sign);
  font-size: .72rem;
  font-weight: 400;
  color: var(--ink);
  background: var(--gold);
  border: var(--border);
  box-shadow: 2px 2px 0 var(--ink);
}
.chip--glass .i { color: var(--ink); }

/* Estado abierto / cerrado */
.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--ink);
}
.status__dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--chile);
}
.status[data-open="true"] { color: #06564E; border-color: #06564E; background: #E3F8F3; }
.status[data-open="true"] .status__dot { background: #12B39A; box-shadow: 0 0 10px #12B39A; }
.status[data-open="true"] .status__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #12B39A;
  animation: ping 2s var(--ease-out) infinite;
}

.promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  padding: 0 14px 0 12px;
  border-radius: 8px;
  font-family: var(--font-sign);
  font-size: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  background: var(--gold-2);
}
.promo-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--chile); opacity: .55; }
.promo-chip[data-active="true"] .promo-chip__dot { opacity: 1; box-shadow: 0 0 10px var(--chile); animation: blink 1.4s ease-in-out infinite; }
.promo-chip--dark { background: #fff; }

/* --------------------------------------------------------------------------
   06. Loader
   -------------------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: center;
  background: #fff;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease-in-out) .15s, visibility 0s linear 1.3s;
}
.no-js .loader { display: none; }
html.is-loaded .loader { clip-path: inset(0 0 100% 0); visibility: hidden; pointer-events: none; }

.loader__grid {
  position: absolute;
  inset: 0;
  background: var(--talavera) 0 0 / 80px 80px;
  opacity: .14;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 45%, #000 0%, transparent 70%);
  animation: tile-pan 12s linear infinite;
}
.loader__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  max-width: 120vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 174, 61, .3), rgba(34, 163, 178, .14) 45%, transparent 68%);
  filter: blur(20px);
  animation: breathe 3s ease-in-out infinite;
}

.loader__core {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 26px;
  transition: transform 1s var(--ease-in-out), opacity .6s;
}
html.is-loaded .loader__core { transform: translateY(-40px) scale(.92); opacity: 0; }

.loader__orb {
  position: relative;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
}
.loader__spin {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 62%, var(--brand) 82%, var(--gold) 96%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
  animation: spin 1.4s linear infinite;
}
.loader__spin--b {
  inset: -14px;
  opacity: .6;
  background: conic-gradient(from 180deg, transparent 0 75%, var(--chile) 92%, transparent 100%);
  animation-duration: 2.6s;
  animation-direction: reverse;
}
.loader__ring {
  position: absolute;
  inset: 12px;
  width: calc(100% - 24px);
  height: calc(100% - 24px);
  transform: rotate(-90deg);
}
.loader__track { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 2 4; }
.loader__arc {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset .25s linear;
}
.loader__logo {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  animation: wobble 2.4s ease-in-out infinite;
}

.loader__meta { text-align: center; }
.loader__count {
  font-family: var(--font-sign);
  font-size: 3rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.loader__count small { font-size: .45em; color: var(--brand); margin-left: 4px; }
.loader__label {
  margin-top: 8px;
  font-family: var(--font-hand);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brand);
  min-height: 1.2em;
}
.loader__label.is-swap { animation: label-in .45s var(--ease-out); }

.loader__bar {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 64px;
  height: 6px;
  border-radius: 6px;
  border: 1.5px solid var(--ink);
  background: #fff;
  overflow: hidden;
}
.loader__bar span {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: repeating-linear-gradient(-45deg, var(--gold) 0 8px, #FFC560 8px 16px);
}
.loader__foot {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 28px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-sign);
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dim);
}
.loader__foot span:last-child { display: none; }
@media (min-width: 640px) {
  .loader__foot span:last-child { display: inline; }
}

/* --------------------------------------------------------------------------
   07. Cursor personalizado (solo con puntero fino, activado por JS)
   -------------------------------------------------------------------------- */
.cursor { display: none; }
html.has-cursor .cursor {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 1400;
  pointer-events: none;
}
.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.cursor__dot { display: none; } /* se conserva el cursor nativo; solo se dibuja el anillo */
.cursor__ring {
  width: 38px;
  height: 38px;
  margin: -19px 0 0 -19px;
  display: grid;
  place-items: center;
}
.cursor__ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(26, 135, 149, .55);
  transition: transform .45s var(--ease-out), background-color .3s, border-color .3s;
}
.cursor.is-hover .cursor__ring::before { transform: scale(1.6); border-color: var(--brand); background: rgba(26, 135, 149, .07); }
.cursor.is-label .cursor__ring::before { transform: scale(2.3); background: var(--gold); border: 2px solid var(--ink); }
.cursor__label {
  position: relative;
  font-family: var(--font-sign);
  font-size: .6rem;
  color: var(--ink);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .25s, transform .4s var(--ease-out);
}
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-hidden { opacity: 0; }
html.has-cursor.is-loading:not(.is-loaded) .cursor { opacity: 0; }

/* --------------------------------------------------------------------------
   08. Header (centrado) y navegación
   Móvil:   [menú]  [logo al centro]  [carrito]
   Desktop: [logo]  [navegación al centro exacto]  [carrito + pedir]
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 10px var(--gutter) 0;
  transition: transform .6s var(--ease-out);
}
.header.is-hidden { transform: translateY(-130%); }
html.menu-open .header { transform: none; }

.header__bar {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: background-color .5s, border-color .5s, box-shadow .5s, -webkit-backdrop-filter .5s, backdrop-filter .5s;
}
.header.is-scrolled .header__bar {
  background: rgba(255, 255, 255, .9);
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  backdrop-filter: blur(16px) saturate(1.5);
}

.burger { justify-self: start; }
.brand { justify-self: center; display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: var(--border);
  transition: transform .8s var(--ease-spring);
}
.brand:hover .brand__mark { transform: rotate(-18deg) scale(1.06); }
.brand__text { display: grid; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; }
.brand__tag {
  font-family: var(--font-sign);
  font-size: .56rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand);
}

.nav { display: none; position: relative; justify-self: center; }
.nav__list { display: flex; gap: 2px; }
.nav__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: .94rem;
  font-weight: 600;
  color: var(--muted);
  transition: color .3s;
}
.nav__link:hover,
.nav__link.is-active { color: var(--ink); }
.nav__pill {
  position: absolute;
  top: 0;
  left: 0;
  height: 40px;
  width: var(--pill-w, 0);
  border-radius: 999px;
  background: var(--gold-2);
  border: 1.5px solid var(--ink);
  transform: translateX(var(--pill-x, 0));
  opacity: var(--pill-o, 0);
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s;
  pointer-events: none;
}

.header__actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.header__cta { display: none; }

.cart-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: var(--border);
  background: #fff;
  box-shadow: 2px 2px 0 var(--ink);
  transition: background-color .3s, transform .3s var(--ease-out), box-shadow .3s;
}
.cart-btn:hover { background: var(--gold-2); }
.cart-btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.cart-btn.is-bump { animation: bump .6s var(--ease-spring); }
.cart-btn__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-family: var(--font-sign);
  font-size: .66rem;
  color: #fff;
  background: var(--chile);
  border: 2px solid var(--ink);
}

.burger {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: var(--border);
  background: #fff;
  box-shadow: 2px 2px 0 var(--ink);
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
html.menu-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
html.menu-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }

.header__progress {
  position: absolute;
  left: calc(var(--gutter) + 30px);
  right: calc(var(--gutter) + 30px);
  bottom: -2px;
  height: 3px;
  max-width: calc(var(--container) - 60px);
  margin-inline: auto;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0;
  transition: opacity .4s;
}
.header.is-scrolled .header__progress { opacity: 1; }
.header__progress span {
  display: block;
  height: 100%;
  transform-origin: left;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--chile));
}

@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
  .header { padding-top: 14px; }
}
@media (min-width: 1024px) {
  .nav { display: block; }
  .burger { display: none; }
  .brand { justify-self: start; }
  .header__bar { height: 66px; padding: 0 10px 0 12px; }
}

/* --------------------------------------------------------------------------
   09. Menú móvil
   -------------------------------------------------------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 850;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .7s;
}
html.menu-open .mobile-menu { visibility: visible; pointer-events: auto; transition: none; }

.mobile-menu__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, .95), rgba(255, 255, 255, .97)),
    var(--talavera) 0 0 / 80px 80px,
    #fff;
  clip-path: circle(0% at 40px 40px);
  transition: clip-path .8s var(--ease-in-out);
}
html.menu-open .mobile-menu__bg { clip-path: circle(150% at 40px 40px); }

.mobile-menu__list { display: grid; gap: 4px; }
.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 2px dashed var(--line-2);
  font-family: var(--font-display);
  font-size: clamp(2rem, 9.5vw, 2.9rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .5s, transform .7s var(--ease-out), color .3s;
}
.mobile-menu__list a:hover { color: var(--brand); }
.mobile-menu__num { font-family: var(--font-sign); font-size: .74rem; color: var(--gold-deep); }
html.menu-open .mobile-menu__list a { opacity: 1; transform: none; }
html.menu-open .mobile-menu__list li:nth-child(1) a { transition-delay: .2s; }
html.menu-open .mobile-menu__list li:nth-child(2) a { transition-delay: .25s; }
html.menu-open .mobile-menu__list li:nth-child(3) a { transition-delay: .3s; }
html.menu-open .mobile-menu__list li:nth-child(4) a { transition-delay: .35s; }
html.menu-open .mobile-menu__list li:nth-child(5) a { transition-delay: .4s; }
html.menu-open .mobile-menu__list li:nth-child(6) a { transition-delay: .45s; }

.mobile-menu__foot {
  display: grid;
  gap: 16px;
  justify-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s, transform .7s var(--ease-out);
}
html.menu-open .mobile-menu__foot { opacity: 1; transform: none; transition-delay: .5s; }

@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}

/* --------------------------------------------------------------------------
   10. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 36px) 0 48px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
}

.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* Foto de fondo del hero: se aprecia en los costados y se aclara detrás del texto */
.hero__photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
}
.hero__photo::before {
  content: "";
  position: absolute;
  inset: -6%;
  background: url("../imagenes/header-fondo-hero.jpg") center / cover no-repeat;
  transform-origin: 50% 40%;
  animation: photo-drift 28s ease-in-out infinite alternate;
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 58% 66% at 50% 48%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .8) 50%, rgba(255, 255, 255, .16) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 20%);
}

.hero__aurora { position: absolute; inset: 0; filter: blur(70px); opacity: .7; }
.aurora {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.aurora--a {
  width: 60vmax;
  height: 60vmax;
  top: -30vmax;
  right: -22vmax;
  background: radial-gradient(circle, rgba(34, 163, 178, .32), transparent 62%);
  animation: drift-a 18s ease-in-out infinite alternate;
}
.aurora--b {
  width: 50vmax;
  height: 50vmax;
  bottom: -30vmax;
  left: -20vmax;
  background: radial-gradient(circle, rgba(244, 174, 61, .3), transparent 62%);
  animation: drift-b 22s ease-in-out infinite alternate;
}
.aurora--c {
  width: 40vmax;
  height: 40vmax;
  top: 30%;
  left: 50%;
  margin-left: -20vmax;
  background: radial-gradient(circle, rgba(255, 196, 92, .4), transparent 62%);
  animation: drift-c 16s ease-in-out infinite alternate;
}

/* Talavera tenue, solo alrededor del plato */
.hero__grid {
  position: absolute;
  inset: 0;
  background: var(--talavera) 0 0 / 80px 80px;
  opacity: .1;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 5%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 5%, transparent 72%);
  animation: tile-pan 30s linear infinite;
}

.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero__spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--spot-x, 70%) var(--spot-y, 40%), rgba(255, 214, 136, .25), transparent 60%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  z-index: -1;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

/* Composición centrada: todo el texto al eje */
.hero__inner {
  display: grid;
  justify-items: center;
  text-align: center;
  will-change: transform, opacity;
}

.hero__copy { position: relative; z-index: 2; min-width: 0; display: grid; justify-items: center; max-width: 1240px; }

.hero__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }

.hero__title { display: grid; justify-items: center; }
.hero__kicker {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 14px;
  border-radius: 10px;
  font-family: var(--font-sign);
  font-size: clamp(.68rem, 2.6vw, .82rem);
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-1.5deg);
}
.hero__display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.9rem, 13vw, 6.6rem);
  line-height: .94;
  letter-spacing: -.045em;
}
.hero__display--accent {
  margin-top: .02em;
  padding-bottom: .12em;
}
.hero__display--accent em {
  font-size: 1.04em;
  white-space: nowrap;
  background-size: 0% .3em;
  transition: background-size 1s var(--ease-out) 2.2s;
}
html.is-loaded .hero__display--accent em { background-size: 100% .3em; }

.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; will-change: transform; }

.hero__lead {
  margin: 24px auto 0;
  max-width: 38rem;
  font-size: clamp(1.04rem, 2.8vw, 1.2rem);
  line-height: 1.65;
  color: var(--muted);
  text-wrap: balance;
}
.hero__lead strong { color: var(--ink); font-weight: 700; }

.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; width: 100%; }
.hero__cta .btn { flex: 1 1 100%; }

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin-top: 44px;
  max-width: 34rem;
  border-top: 2px dashed var(--line-3);
}
.metric { display: flex; flex-direction: column-reverse; align-items: center; padding: 16px 8px 0; }
.metric + .metric { border-left: 2px dashed var(--line-2); }
.metric dt {
  font-family: var(--font-hand);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--brand);
}
.metric dd {
  font-family: var(--font-sign);
  font-size: clamp(1.3rem, 4.6vw, 1.75rem);
  font-variant-numeric: tabular-nums;
  margin-bottom: 2px;
}

/* Indicador de scroll */
/* En el flujo, debajo de los datos: nunca se encima con el contenido */
.hero__scroll {
  position: relative;
  align-self: center;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-top: 36px;
  color: var(--brand);
  transition: opacity .3s;
}
.hero__scroll-mouse {
  width: 26px;
  height: 40px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  display: flex;
  justify-content: center;
  padding-top: 7px;
  background: #fff;
}
.hero__scroll-mouse span {
  width: 4px;
  height: 8px;
  border-radius: 3px;
  background: var(--chile);
  animation: wheel 1.8s var(--ease-out) infinite;
}
.hero__scroll-text { font-family: var(--font-hand); font-size: 1.15rem; font-weight: 700; }

@media (min-width: 640px) {
  .hero__cta .btn { flex: 0 0 auto; }
}

@media (min-width: 1024px) {
  .hero { padding: calc(var(--header-h) + 28px) 0 40px; }
  .hero__display { font-size: clamp(4.6rem, 7.6vw, 7.4rem); }
  .hero__chips { margin-bottom: 20px; }
  .hero__lead { margin-top: 20px; }
  .hero__cta { margin-top: 28px; }
  .hero__metrics { margin-top: 30px; }
}

/* Introducción del hero (después del loader) */
.js [data-intro] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out), filter 1s var(--ease-out);
}
html.is-loaded [data-intro] { opacity: 1; transform: none; filter: none; }
html.is-loaded [data-intro="1"] { transition-delay: .55s; }
html.is-loaded [data-intro="2"] { transition-delay: .65s; }
html.is-loaded [data-intro="4"] { transition-delay: 1.35s; }
html.is-loaded [data-intro="5"] { transition-delay: 1.5s; }
html.is-loaded [data-intro="6"] { transition-delay: 1.65s; }
.js .hero__kicker[data-intro] { transform: translateY(26px) rotate(-1.5deg); }
html.is-loaded .hero__kicker[data-intro] { transform: rotate(-1.5deg); }

.js .hero__display .char {
  opacity: 0;
  transform: translateY(.6em) rotateX(-70deg);
  filter: blur(8px);
  transform-origin: 50% 100%;
  transition: opacity .8s var(--ease-out), transform 1.1s var(--ease-spring), filter .8s var(--ease-out);
  transition-delay: calc(.75s + var(--ci, 0) * 28ms);
}
html.is-loaded .hero__display .char { opacity: 1; transform: none; filter: none; }

.js .hero__display--accent {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.2s var(--ease-in-out) 1.15s;
}
html.is-loaded .hero__display--accent { clip-path: inset(-20% -5% -30% 0); }


/* --------------------------------------------------------------------------
   11. Cintas cruzadas (ticker)
   -------------------------------------------------------------------------- */
.ticker {
  position: relative;
  z-index: 2;
  padding-block: 34px;
  overflow: hidden;
}
.ticker__row {
  display: flex;
  width: 110%;
  margin-left: -5%;
  padding-block: 10px;
  border-block: var(--border);
  background: var(--brand);
  transform: rotate(-2.5deg) skewX(var(--skew, 0deg));
  box-shadow: 0 6px 0 var(--ink);
}
.ticker__row--reverse {
  position: relative;
  margin-top: -22px;
  background: var(--gold);
  transform: rotate(2deg) skewX(var(--skew, 0deg));
}
.ticker__track {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  flex: none;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.ticker__row--reverse .ticker__track { animation-direction: reverse; animation-duration: 46s; }
.ticker span {
  font-family: var(--font-sign);
  font-size: clamp(1.15rem, 4.4vw, 2.3rem);
  line-height: 1.2;
  color: #fff;
}
.ticker i { font-style: normal; color: var(--gold); font-size: clamp(1rem, 3vw, 1.5rem); }
.ticker__row--outline span { color: var(--ink); -webkit-text-stroke: 0; }
.ticker__row--outline i { color: var(--chile); font-size: .9rem; }

/* --------------------------------------------------------------------------
   12. Menú
   -------------------------------------------------------------------------- */
.menu { padding-top: calc(var(--section-y) + 40px); }

/* Toldo a rayas del carrito, con orilla de ondas */
.awning {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 56px, #fff 56px 112px);
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% 46px no-repeat,
    radial-gradient(circle 28px at 28px 46px, #000 97%, transparent) 0 0 / 56px 74px repeat-x;
  mask:
    linear-gradient(#000 0 0) top / 100% 46px no-repeat,
    radial-gradient(circle 28px at 28px 46px, #000 97%, transparent) 0 0 / 56px 74px repeat-x;
  transform-origin: top;
  animation: awning 5s ease-in-out infinite;
  filter: drop-shadow(0 6px 0 rgba(10, 45, 50, .12));
}
.awning::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), transparent 30%, transparent 60%, rgba(0, 0, 0, .1));
}

.menu__group + .menu__group { margin-top: 72px; }
.menu__group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 20px;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 2px dashed var(--line-3);
}
.menu__group-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 4.2vw, 2rem);
  letter-spacing: -.03em;
}
.menu__group-title .i {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  border: var(--border);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-6deg);
}
.menu__group-note { font-family: var(--font-hand); font-size: 1.35rem; font-weight: 700; color: var(--brand); }

.menu__grid { display: grid; gap: 34px 22px; }

/* Tarjetas de producto */
.dish,
.drink {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: var(--border);
  box-shadow: var(--shadow-offset);
  isolation: isolate;
  transform-style: preserve-3d;
}
.dish:hover,
.drink:hover { box-shadow: var(--shadow-offset-gold); }

/* Spotlight que sigue al puntero (variables --sx / --sy desde JS) */
[data-spot] { position: relative; }
[data-spot]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 0%), rgba(255, 214, 136, .22), transparent 45%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
[data-spot]:hover::before { opacity: 1; }

.dish__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px) 0 0;
  border-bottom: var(--border);
  background: var(--surface-2);
}
.dish__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.dish:hover .dish__media img { transform: scale(1.07); }
.dish__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  font-family: var(--font-sign);
  font-size: .64rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-3deg);
}
.dish__badge .i { width: 14px; height: 14px; }
.dish__badge--teal { color: #fff; background: var(--brand); }

.dish__body,
.drink__body { position: relative; padding: 24px 22px 0; flex: 1; }
.dish__row { display: block; padding-right: 64px; }
.dish__name,
.drink__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -.03em;
  line-height: 1.15;
  text-wrap: balance;
}

/* Precio como sticker circular sobre la foto */
.dish__price {
  position: absolute;
  top: -40px;
  right: 16px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-family: var(--font-sign);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ink);
  background: var(--gold);
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-10deg);
  font-variant-numeric: tabular-nums;
  transition: transform .6s var(--ease-spring);
}
.dish:hover .dish__price,
.drink:hover .dish__price { transform: rotate(6deg) scale(1.08); }
.dish--cheese .dish__price { background: var(--chile); color: #fff; }

.dish__desc,
.drink__desc { margin-top: 10px; color: var(--muted); font-size: .96rem; }
.dish__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.dish__tags li {
  padding: 3px 10px;
  border-radius: 999px;
  border: 1.5px dashed var(--line-3);
  font-size: .76rem;
  font-weight: 600;
  color: var(--muted);
}
.dish__foot { padding: 20px 22px 22px; }

/* Bebidas: tarjetas completas, cada una con su color propio */
.drinks { display: grid; gap: 34px 22px; }
.drink--lime  { --d1: #ECFADF; --d2: #B9EBA2; --dc: #3E8A1E; }
.drink--grape { --d1: #F2EAFF; --d2: #CFB8F6; --dc: #6A3DBF; }
.drink--red   { --d1: #FFE8E5; --d2: #FFB7AF; --dc: #C8231B; }

.drink__visual {
  position: relative;
  height: 150px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: calc(var(--r-lg) - 2px) calc(var(--r-lg) - 2px) 0 0;
  border-bottom: var(--border);
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .8), transparent 55%),
    linear-gradient(135deg, var(--d1), var(--d2));
}
.drink__icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: var(--dc);
  background: #fff;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .8s var(--ease-spring);
}
.drink__icon .i { width: 38px; height: 38px; stroke-width: 1.8; }
.drink:hover .drink__icon { transform: translateY(-6px) rotate(-10deg) scale(1.06); }
.drink__bubbles i {
  position: absolute;
  bottom: -14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .95);
  background: rgba(255, 255, 255, .35);
  animation: bubble 5s linear infinite;
}
.drink__bubbles i:nth-child(1) { left: 18%; }
.drink__bubbles i:nth-child(2) { left: 34%; width: 6px; height: 6px; animation-delay: 1.6s; animation-duration: 4s; }
.drink__bubbles i:nth-child(3) { left: 70%; width: 8px; height: 8px; animation-delay: .8s; animation-duration: 4.6s; }
.drink__bubbles i:nth-child(4) { left: 84%; width: 12px; height: 12px; animation-delay: 2.4s; animation-duration: 5.6s; }

/* Stepper (agregar / quitar) */
.stepper { display: flex; }
.stepper__add {
  width: 100%;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .98rem;
  color: var(--ink);
  background: #fff;
  border: var(--border);
  box-shadow: 0 4px 0 var(--ink);
  transition: background-color .3s, color .3s, transform .2s var(--ease-out), box-shadow .2s;
}
.stepper__add:hover { background: var(--gold); transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.stepper__add:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.stepper__add .i { width: 18px; height: 18px; stroke-width: 2.4; }

.stepper__ctrl {
  width: 100%;
  height: 50px;
  display: grid;
  grid-template-columns: 50px 1fr 50px;
  align-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  border: var(--border);
  box-shadow: 0 4px 0 var(--ink);
  animation: pop-in .45s var(--ease-spring);
}
.stepper__btn {
  display: grid;
  place-items: center;
  height: 100%;
  border-radius: 999px;
  color: #fff;
  transition: background-color .25s;
}
.stepper__btn:hover { background: rgba(255, 255, 255, .18); }
.stepper__btn .i { width: 18px; height: 18px; stroke-width: 2.4; }
.stepper__qty {
  text-align: center;
  font-family: var(--font-sign);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.stepper__qty.is-tick { animation: tick .35s var(--ease-out); }

.stepper--sm .stepper__ctrl {
  height: 40px;
  width: 124px;
  grid-template-columns: 40px 1fr 40px;
  animation: none;
  color: var(--ink);
  background: #fff;
  border-width: 1.5px;
  box-shadow: 0 3px 0 var(--ink);
}
.stepper--sm .stepper__btn { color: var(--ink); }
.stepper--sm .stepper__btn:hover { background: var(--gold-2); }
.stepper--sm[data-qty]:not([data-qty="0"]) .stepper__ctrl { background: var(--brand); color: #fff; }
.stepper--sm[data-qty]:not([data-qty="0"]) .stepper__btn { color: #fff; }
.stepper--sm[data-qty]:not([data-qty="0"]) .stepper__btn:hover { background: rgba(255, 255, 255, .18); }

/* Combo */
.combo {
  position: relative;
  display: grid;
  margin-top: 72px;
  border-radius: var(--r-lg);
  background: var(--gold-2);
  border: var(--border);
  box-shadow: var(--shadow-offset);
  overflow: hidden;
  isolation: isolate;
}
.combo__border { display: none; }
.combo__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: var(--border); }
.combo__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.combo:hover .combo__media img { transform: scale(1.05); }
.combo__body {
  position: relative;
  padding: 28px 22px 30px;
  display: grid;
  gap: 16px;
  align-content: center;
  justify-items: start;
  background:
    linear-gradient(rgba(255, 214, 136, .9), rgba(255, 214, 136, .9)),
    var(--talavera) 0 0 / 80px 80px;
}
.combo__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.combo__title .text-gold { color: var(--chile); }
.combo__text { color: rgba(10, 45, 50, .78); max-width: 36rem; }
.combo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.combo__save { font-family: var(--font-hand); font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.combo__save strong { color: var(--chile); }
.combo .promo-chip { background: #fff; }

@media (min-width: 640px) {
  .menu__grid { grid-template-columns: repeat(2, 1fr); }
  .drinks { grid-template-columns: repeat(3, 1fr); }
  .combo { grid-template-columns: .9fr 1.1fr; }
  .combo__media { aspect-ratio: auto; min-height: 300px; border-bottom: 0; border-right: var(--border); }
  .combo__body { padding: 40px; }
}
@media (min-width: 1200px) {
  .menu__grid { grid-template-columns: repeat(4, 1fr); }
}

/* --------------------------------------------------------------------------
   13. Promoción
   -------------------------------------------------------------------------- */
.promo {
  position: relative;
  padding-block: calc(var(--section-y) + 20px);
  color: var(--ink);
  background:
    radial-gradient(70% 60% at 85% 20%, rgba(255, 246, 222, .8), transparent 60%),
    radial-gradient(60% 60% at 10% 100%, rgba(232, 140, 20, .45), transparent 60%),
    linear-gradient(135deg, #FFDB91 0%, #F7B648 50%, #EE9A22 100%);
  border-block: var(--border);
  overflow: hidden;
  isolation: isolate;
}
/* Franjas de talavera arriba y abajo */
.promo::before,
.promo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 40px;
  z-index: 0;
  background: var(--talavera) 0 0 / 40px 40px, #fff;
  border-block: var(--border);
}
.promo::before { top: 0; border-top: 0; }
.promo::after { bottom: 0; border-bottom: 0; }
.promo__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.promo__rays {
  position: absolute;
  top: 50%;
  left: 30%;
  width: 220vmax;
  height: 220vmax;
  margin: -110vmax 0 0 -110vmax;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .22) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 45%);
  mask-image: radial-gradient(circle, #000 0%, transparent 45%);
  animation: spin 90s linear infinite;
}
.promo__burst {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 45, 50, .14) 1.2px, transparent 1.6px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 40%, transparent);
}

.promo__inner { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }

.promo__figure {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-top: 40px;
  font-family: var(--font-sign);
  line-height: .9;
  color: #fff;
  -webkit-text-stroke: 3px var(--ink);
  paint-order: stroke fill;
  text-shadow: 6px 6px 0 var(--ink);
}
.promo__num { font-size: clamp(6rem, 28vw, 12rem); }
.promo__x {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(3.5rem, 14vw, 6.5rem);
  margin: 0 .06em;
  color: var(--chile);
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.promo__price { font-size: clamp(4rem, 18vw, 8.6rem); color: var(--brand); }
.promo__price span { font-variant-numeric: tabular-nums; }

.promo__stamp {
  position: absolute;
  top: -48%;
  right: 0;
  width: clamp(96px, 24vw, 132px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--chile);
  color: #fff;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  -webkit-text-stroke: 0;
  text-shadow: none;
  transform: rotate(-10deg);
  animation: wiggle 5s ease-in-out infinite;
}
.promo__stamp svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 18s linear infinite; }
.promo__stamp text { font-family: var(--font-sign); font-size: 8.5px; letter-spacing: .6px; fill: #fff; }
.promo__stamp b { font-family: var(--font-sign); font-weight: 400; font-size: clamp(.82rem, 3.2vw, 1.1rem); }

.promo__copy { display: grid; gap: 20px; justify-items: start; }
.promo__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 6.8vw, 3.8rem);
  line-height: 1;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.promo__text { font-size: 1.08rem; max-width: 34rem; color: rgba(10, 45, 50, .8); }
.promo__list { display: grid; gap: 10px; }
.promo__list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.promo__list .i {
  width: 24px;
  height: 24px;
  padding: 3px;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  border: 1.5px solid var(--ink);
  stroke-width: 2.6;
}
.promo__actions { margin-top: 6px; }

@media (min-width: 1024px) {
  .promo__inner { grid-template-columns: 1.1fr 1fr; gap: 72px; }
  .promo__figure { justify-content: flex-start; margin-top: 0; }
}

/* --------------------------------------------------------------------------
   14. Proceso
   -------------------------------------------------------------------------- */
.process { position: relative; padding-block: var(--section-y); background: var(--bg-alt); }
.process__head { margin-bottom: 48px; }
.process__head .sec-title { max-width: 820px; }
.process__meter { display: none; }

.process__track {
  display: grid;
  gap: 24px;
  padding-inline: var(--gutter);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
}
.pstep {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: var(--border);
  box-shadow: var(--shadow-offset);
  overflow: hidden;
}
.pstep__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; border-bottom: var(--border); }
.pstep__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pstep:hover .pstep__media img { transform: scale(1.06); }
.pstep__body { position: relative; padding: 0 22px 26px; }
.pstep__num {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-top: -32px;
  border-radius: 50%;
  font-family: var(--font-sign);
  font-size: 1.4rem;
  color: var(--ink);
  background: var(--gold);
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-8deg);
}
.pstep__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -.03em;
}
.pstep__title .i { color: var(--brand); }
.pstep__body p { margin-top: 8px; color: var(--muted); }

.pstep--cta {
  display: grid;
  place-items: center;
  min-height: 300px;
  color: #fff;
  background:
    linear-gradient(rgba(26, 135, 149, .92), rgba(14, 103, 115, .95)),
    var(--talavera) 0 0 / 80px 80px;
}
.pstep__cta { display: grid; justify-items: center; gap: 12px; padding: 32px 22px; text-align: center; }
.pstep__cta-kicker { font-family: var(--font-hand); font-size: 1.6rem; font-weight: 700; color: var(--gold-2); }
.pstep__cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 8vw, 3.6rem);
  letter-spacing: -.045em;
  line-height: 1;
  margin-bottom: 10px;
}
.pstep--cta .btn--primary { color: var(--ink); background: var(--gold); }

@media (min-width: 640px) {
  .process__track { grid-template-columns: repeat(2, 1fr); }
  .pstep--cta { grid-column: 1 / -1; }
}

/* Escritorio: sección fijada con desplazamiento horizontal (clase añadida por JS) */
@media (min-width: 1024px) {
  html.has-hscroll .process { padding: 0; }
  html.has-hscroll .process__pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(24px, 4vh, 40px);
    overflow: hidden;
  }
  html.has-hscroll .process__head { margin-bottom: 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px 40px; padding-top: var(--header-h); }
  html.has-hscroll .process__head .eyebrow { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
  html.has-hscroll .process__head .sec-title { max-width: none; font-size: clamp(2.2rem, 3.9vw, 3.6rem); }
  html.has-hscroll .process__meter {
    display: block;
    width: 220px;
    height: 12px;
    margin-bottom: 14px;
    border-radius: 12px;
    border: var(--border);
    background: #fff;
    overflow: hidden;
  }
  html.has-hscroll .process__meter span {
    display: block;
    height: 100%;
    transform-origin: left;
    transform: scaleX(var(--p, 0));
    background: repeating-linear-gradient(-45deg, var(--gold) 0 8px, #FFC560 8px 16px);
  }
  html.has-hscroll .process__track {
    display: flex;
    gap: 30px;
    max-width: none;
    width: max-content;
    margin: 0;
    padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2)) 12px;
    will-change: transform;
  }
  html.has-hscroll .pstep {
    width: clamp(340px, 30vw, 430px);
    height: min(56vh, 540px);
    flex: none;
  }
  html.has-hscroll .pstep__media { aspect-ratio: auto; flex: 1; }
  html.has-hscroll .pstep--cta { min-height: 0; }
}

/* --------------------------------------------------------------------------
   15. Galería
   -------------------------------------------------------------------------- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gitem {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-alt);
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
}
.gitem--tall { grid-row: span 2; }
.gitem--wide { grid-column: span 2; }
.gitem__btn { display: block; width: 100%; height: 100%; overflow: hidden; cursor: zoom-in; }
.gitem img {
  width: 100%;
  height: 120%;
  margin-top: -10%;
  object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0);
}
.gitem figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 2px 12px 4px;
  border-radius: 6px;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--ink);
  transform: rotate(-2deg);
  pointer-events: none;
  transition: transform .5s var(--ease-out), opacity .4s;
}

@media (min-width: 1024px) {
  .gallery__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 18px; }
  .gitem figcaption { opacity: 0; transform: translateY(10px) rotate(-2deg); }
  .gitem:hover figcaption { opacity: 1; transform: rotate(-2deg); }
}

/* --------------------------------------------------------------------------
   16. CTA intermedio (bloque oscuro con papel picado)
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding-block: clamp(150px, 18vw, 230px) clamp(100px, 14vw, 180px);
  text-align: center;
  color: var(--on-deep);
  background: radial-gradient(120% 120% at 50% 0%, var(--deep-2), var(--deep) 60%);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--talavera) 0 0 / 80px 80px;
  opacity: .1;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 55%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 70% at 50% 55%, #000, transparent 75%);
}
.cta-band__glow {
  position: absolute;
  top: 55%;
  left: 50%;
  z-index: -1;
  width: min(900px, 140vw);
  aspect-ratio: 2 / 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: conic-gradient(from var(--angle), rgba(34, 163, 178, .55), rgba(244, 174, 61, .45), rgba(226, 82, 44, .3), rgba(34, 163, 178, .55));
  filter: blur(90px);
  opacity: .65;
  animation: border-spin 12s linear infinite;
}

/* Papel picado */
.papel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 10px max(10px, 2vw) 0;
  pointer-events: none;
}
.papel::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, .5);
}
.papel__flag {
  width: clamp(36px, 7vw, 76px);
  height: auto;
  aspect-ratio: 60 / 70;
  transform-origin: top center;
  animation: sway 3.6s ease-in-out infinite;
}
.papel__flag:nth-child(5n + 1) { color: var(--brand-2); animation-delay: -.4s; }
.papel__flag:nth-child(5n + 2) { color: var(--gold); animation-delay: -1.2s; animation-duration: 4.2s; }
.papel__flag:nth-child(5n + 3) { color: var(--chile); animation-delay: -2s; }
.papel__flag:nth-child(5n + 4) { color: #fff; animation-delay: -.8s; animation-duration: 3.2s; }
.papel__flag:nth-child(5n + 5) { color: #7BD389; animation-delay: -2.6s; animation-duration: 4.6s; }
.papel__flag:nth-child(n + 9) { display: none; }
@media (min-width: 640px) {
  .papel__flag:nth-child(n + 9) { display: block; }
}

.cta-band__inner { display: grid; justify-items: center; }
.cta-band__title {
  max-width: 980px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8.6vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.cta-band__title em { color: var(--gold-2); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 40px; }

/* --------------------------------------------------------------------------
   17. Horario, pizarrón de precios, entrega y pago
   -------------------------------------------------------------------------- */
.cell {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: var(--border);
  box-shadow: 5px 5px 0 var(--brand-deep);
  overflow: hidden;
}
.cell--photo { padding: 0; min-height: 320px; justify-content: flex-end; }
.cell--contact { background: #EAF9EF; }

.cell__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cell__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  border: 1.5px solid var(--ink);
  transform: rotate(-6deg);
}
.cell__icon .i { width: 20px; height: 20px; }
.cell__icon--wa { background: #1FB957; }
.cell__label { font-family: var(--font-sign); font-size: .74rem; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.cell__clock {
  margin-left: auto;
  font-family: var(--font-hand);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--muted);
}
.cell__clock span { color: var(--brand); font-variant-numeric: tabular-nums; }

.cell__big {
  font-family: var(--font-sign);
  font-size: clamp(2.2rem, 9.5vw, 3.6rem);
  line-height: 1;
  color: var(--ink);
}
.cell__big span { color: var(--chile); margin: 0 .06em; }

.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.week li {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  max-height: 52px;
  border-radius: 12px;
  font-family: var(--font-sign);
  font-size: .86rem;
  background: var(--surface-2);
  border: 1.5px solid var(--ink);
}
.week abbr { text-decoration: none; }
.week li[data-day="1"]::after,
.week li[data-day="4"]::after {
  content: "";
  position: absolute;
  bottom: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-deep);
}
.week li.is-off { color: var(--dim); background: transparent; border-style: dashed; border-color: var(--line-3); }
.week li.is-off abbr { text-decoration: line-through; }
.week li.is-today { color: #fff; background: var(--brand); box-shadow: 2px 2px 0 var(--ink); transform: translateY(-2px); }
.week li.is-today.is-off { background: #FDE7E1; color: var(--chile); border: 1.5px dashed var(--chile); box-shadow: none; }

.cell__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.legend { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-hand); font-size: 1.1rem; font-weight: 700; color: var(--muted); }
.legend__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-deep); }

.cell--photo img {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translate3d(0, var(--py, 0px), 0);
}
.cell--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(4, 26, 30, .86));
}
.cell__photo-copy { position: relative; z-index: 1; display: grid; gap: 12px; justify-items: start; padding: 24px; color: #fff; }
.cell__photo-copy p { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1.15; }

/* Pizarrón con marco de madera */
.cell--prices {
  color: #F4F1E6;
  background:
    radial-gradient(120% 80% at 30% 0%, rgba(255, 255, 255, .07), transparent 60%),
    radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1.5px) 0 0 / 6px 6px,
    var(--board);
  box-shadow: inset 0 0 0 9px var(--wood), inset 0 0 0 11px var(--ink), 5px 5px 0 var(--brand-deep);
  padding: 32px 30px;
}
.cell--prices .cell__icon { background: var(--gold); color: var(--ink); }
.cell--prices .cell__label { color: var(--gold-2); }
.pricelist { display: grid; gap: 8px; }
.pricelist li { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-hand); font-size: 1.32rem; font-weight: 600; line-height: 1.15; }
.pricelist i { flex: 1; border-bottom: 2px dotted rgba(244, 241, 230, .35); transform: translateY(-5px); min-width: 12px; }
.pricelist strong { font-family: var(--font-sign); font-weight: 400; font-size: 1rem; color: var(--gold-2); }
.pricelist .pricelist__group {
  display: block;
  margin-top: 10px;
  font-family: var(--font-sign);
  font-size: .66rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #8FD3C8;
}
.pricelist .pricelist__group:first-child { margin-top: 0; }
.pricelist__promo { margin-top: 6px; padding-top: 12px; border-top: 2px dashed rgba(244, 241, 230, .3); color: var(--gold-2); }
.pricelist__promo strong { color: #fff; background: var(--chile); padding: 2px 8px; border-radius: 6px; }

.cell__title { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; line-height: 1.12; }
.cell__note { color: var(--muted); font-size: .96rem; }
.cell__list { display: grid; gap: 10px; margin-top: -6px; }
.cell__list li { position: relative; padding-left: 20px; color: var(--muted); font-size: .95rem; line-height: 1.45; }
.cell__list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); border: 1.5px solid var(--ink); }
.cell__list strong { color: var(--ink); font-weight: 700; }
.cell__phone { font-family: var(--font-sign); font-size: clamp(1.45rem, 6.4vw, 1.9rem); line-height: 1.1; }
.cell__phone a:hover { color: #128C4A; }

/* Horario: tarjeta grande + foto */
.hours-grid { display: grid; gap: 22px; }
.hours-grid .cell--hours { gap: 22px; }
.hours-grid .cell--photo { min-height: 340px; }

/* Pizarrón de precios a todo lo ancho */
.board-sec { background: var(--bg-alt); }
.board {
  max-width: 1000px;
  margin-inline: auto;
  gap: 24px;
  padding: 36px 26px 34px;
}
.board__head { justify-content: center; }
.board__head .cell__label { font-size: .86rem; }
.board__cols { display: grid; gap: 22px; }
.board .pricelist li { font-size: clamp(1.35rem, 3.6vw, 1.7rem); }
.board .pricelist strong { font-size: clamp(1rem, 2.6vw, 1.25rem); }
.board .pricelist .pricelist__group { font-size: .74rem; margin-bottom: 4px; }
.board__promo { padding-top: 6px; }
.board__promo .pricelist__promo { margin-top: 0; padding-top: 16px; }
.board__cta { display: flex; justify-content: center; margin-top: 6px; }
.board__cta .btn { width: 100%; max-width: 420px; white-space: normal; text-align: center; line-height: 1.2; padding-block: 12px; }

/* Entrega y pago: tres tarjetas */
.service-grid { display: grid; gap: 22px; }
.service-grid .cell { min-height: 230px; }

@media (min-width: 640px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid .cell--contact { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .cell { padding: 30px; }
  .hours-grid { grid-template-columns: 1.55fr 1fr; gap: 26px; }
  .hours-grid .cell--hours { padding: 40px; }
  .hours-grid .cell--hours .cell__big { font-size: clamp(3.6rem, 6vw, 5.4rem); }
  .board { padding: 54px 60px 50px; }
  .board__cols { grid-template-columns: 1fr 1fr; gap: 56px; }
  .board__cols .pricelist + .pricelist { padding-left: 56px; margin-left: -28px; border-left: 2px dashed rgba(244, 241, 230, .25); }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .service-grid .cell--contact { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   18. Opiniones (notas con cinta adhesiva)
   -------------------------------------------------------------------------- */
.reviews { background: var(--bg-alt); }
.reviews__grid { display: grid; gap: 34px 22px; padding-top: 12px; }
.review {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px 28px 28px;
  border-radius: 14px;
  background: var(--surface);
  border: var(--border);
  box-shadow: 5px 5px 0 var(--brand-deep);
  transform: rotate(-1.2deg);
}
.review:nth-child(2) { transform: rotate(1deg); }
.review:nth-child(3) { transform: rotate(-.6deg); }
/* Cinta adhesiva */
.review::after {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  width: 96px;
  height: 28px;
  margin-left: -48px;
  background: rgba(255, 214, 136, .85);
  border-left: 2px dashed rgba(10, 45, 50, .15);
  border-right: 2px dashed rgba(10, 45, 50, .15);
  transform: rotate(-4deg);
}
.review--feature { background: #FFF6DE; box-shadow: 5px 5px 0 var(--gold-deep); }
.review__quote { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; fill: none; stroke: var(--brand); stroke-width: 2; opacity: .4; }
.review__stars { display: flex; gap: 3px; color: var(--gold); }
.review__stars .i { width: 18px; height: 18px; }
.review blockquote {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -.015em;
  flex: 1;
}
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; font-weight: 700; }
.review figcaption small { font-family: var(--font-hand); font-size: 1.05rem; font-weight: 700; color: var(--brand); }
.review__avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-sign);
  font-size: .78rem;
  color: #fff;
  background: var(--brand);
  border: var(--border);
}

@media (min-width: 1024px) {
  .reviews__grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .review--feature { margin-top: -20px; }
}

/* --------------------------------------------------------------------------
   19. Preguntas frecuentes
   -------------------------------------------------------------------------- */
.faq__layout { display: grid; gap: 40px; }
.faq__head { margin-bottom: 0; }
.faq__head .btn { margin-top: 28px; }
.faq__list { display: grid; gap: 12px; }
.faq__item {
  border-radius: var(--r);
  background: var(--surface);
  border: var(--border);
  box-shadow: 4px 4px 0 var(--brand-deep);
  transition: box-shadow .3s, background-color .3s;
}
.faq__item[open] { background: #FFF6DE; box-shadow: 4px 4px 0 var(--gold-deep); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -.02em;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: var(--border);
  color: var(--ink);
  background: #fff;
  transition: transform .5s var(--ease-spring), background-color .3s, color .3s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .5s var(--ease-out);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(180deg); background: var(--chile); color: #fff; }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__answer { overflow: hidden; }
.faq__answer p { padding: 0 22px 22px; color: var(--muted); max-width: 60ch; }

@media (min-width: 1024px) {
  .faq__layout { grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* --------------------------------------------------------------------------
   20. Contacto (formulario como comanda)
   -------------------------------------------------------------------------- */
.contact { overflow: hidden; isolation: isolate; background: var(--bg-alt); }
.contact__bg { position: absolute; inset: 0; z-index: -1; filter: blur(80px); opacity: .5; pointer-events: none; }
.contact__bg .aurora--a { top: auto; bottom: -40vmax; right: -30vmax; }
.contact__bg .aurora--b { top: -20vmax; bottom: auto; }

.contact__layout { display: grid; gap: 56px; align-items: start; }
.contact__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 8.2vw, 5rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.contact__info { display: grid; gap: 4px; margin-top: 36px; }
.contact__info li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 2px dashed var(--line-2);
}
.contact__info small { display: block; font-family: var(--font-sign); font-size: .62rem; letter-spacing: .03em; text-transform: uppercase; color: var(--brand); }
.contact__info a { font-weight: 700; }
.contact__info a:hover { color: #128C4A; }
.contact__ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex: none;
  color: var(--ink);
  background: var(--gold);
  border: 1.5px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}
.contact__ico .i { width: 20px; height: 20px; }

/* Comanda: papel blanco con orillas dentadas arriba y abajo */
.form-card {
  position: relative;
  padding: 26px 22px 30px;
  background: #fff;
  filter: drop-shadow(6px 8px 0 rgba(8, 58, 65, .9));
  margin-block: 14px;
}
.form-card::before,
.form-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background:
    linear-gradient(-45deg, #fff 7px, transparent 0),
    linear-gradient(45deg, #fff 7px, transparent 0);
  background-size: 14px 14px;
  background-repeat: repeat-x;
}
.form-card::before { top: -13px; background-position: left bottom; transform: scaleY(-1); }
.form-card::after { bottom: -13px; background-position: left top; }
.form-card__border { display: none; }
.js .form-card[data-reveal].is-in { filter: drop-shadow(6px 8px 0 rgba(8, 58, 65, .9)); }

.ticket-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px dashed var(--line-3);
}
.ticket-head span:first-child { font-family: var(--font-sign); font-size: 1.4rem; color: var(--ink); }
.ticket-head span:last-child { font-family: var(--font-hand); font-size: 1.3rem; font-weight: 700; color: var(--chile); transform: rotate(-3deg); }

.form { display: grid; gap: 26px; }
.form__block { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 14px; }
.form__legend {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -.02em;
}
.form__legend span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: var(--font-sign);
  font-size: .8rem;
  color: var(--ink);
  background: var(--gold);
  border: 1.5px solid var(--ink);
}

.picker { display: grid; gap: 0; }
.picker__group {
  margin: 14px 0 4px;
  font-family: var(--font-sign);
  font-size: .66rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--brand);
}
.picker__group:first-child { margin-top: 0; }
.picker__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1.5px dashed var(--line-2);
}
.picker__row img,
.picker__icon { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; flex: none; border: 1.5px solid var(--ink); }
.picker__icon,
.drawer-item__icon {
  display: grid;
  place-items: center;
  color: var(--dc, var(--brand-ink));
  background: linear-gradient(135deg, var(--d1, #fff), var(--d2, #eee));
}
.picker__icon .i { width: 24px; height: 24px; stroke-width: 2; }
.picker__info { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.picker__info strong { font-weight: 700; font-size: .96rem; }
.picker__info small { font-family: var(--font-hand); font-size: 1.05rem; font-weight: 700; color: var(--brand); }

.totals { display: grid; gap: 8px; padding-top: 8px; }
.totals__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.totals__line--promo { color: var(--chile); font-size: .94rem; font-weight: 700; }
.totals__line--total { padding-top: 12px; border-top: 2px solid var(--ink); font-weight: 700; }
.totals__line--total strong { font-family: var(--font-sign); font-weight: 400; font-size: 1.6rem; }
.totals__hint { font-family: var(--font-hand); font-size: 1.1rem; font-weight: 700; color: var(--gold-deep); }

.field { position: relative; }
.field__input {
  width: 100%;
  height: 60px;
  padding: 24px 18px 8px;
  border-radius: 14px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  transition: box-shadow .25s, background-color .25s;
  -webkit-appearance: none;
  appearance: none;
}
.field__input:hover { background: #FFFDF6; }
.field__input:focus { outline: none; box-shadow: 4px 4px 0 var(--gold); }
.field__textarea { height: auto; min-height: 110px; padding-top: 30px; resize: vertical; line-height: 1.5; }
.field__select { padding-right: 46px; cursor: pointer; }
.field__label {
  position: absolute;
  left: 20px;
  top: 19px;
  font-size: 1rem;
  color: var(--muted);
  pointer-events: none;
  transform-origin: left top;
  transition: transform .3s var(--ease-out), color .3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% - 40px);
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field__label--fixed { transform: translateY(-10px) scale(.76); color: var(--brand); font-weight: 700; }
.field__chev { position: absolute; right: 18px; top: 50%; margin-top: -10px; width: 20px; height: 20px; color: var(--ink); pointer-events: none; }
.field__err { margin-top: 8px; font-size: .86rem; font-weight: 600; color: var(--danger); }
.field[data-invalid="true"] .field__input { border-color: var(--danger); box-shadow: 4px 4px 0 rgba(214, 69, 53, .35); }
.field[data-invalid="true"] { animation: shake .45s var(--ease-out); }

.form__submit { margin-top: 2px; }
.form__fine { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .82rem; color: var(--muted); text-align: center; }
.form__fine .i { width: 16px; height: 16px; }

.form-done {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 40px 10px;
  text-align: center;
  animation: pop-in .6s var(--ease-spring);
}
.form-done__check {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  color: #fff;
  background: var(--wa);
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
}
.form-done__check .i { width: 38px; height: 38px; stroke-width: 2.6; }
.form-done__title { font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; letter-spacing: -.03em; }
.form-done__text { color: var(--muted); max-width: 30ch; }
.form-done__text a { color: var(--brand-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 640px) {
  .form-card { padding: 32px 34px 36px; }
}
@media (min-width: 1024px) {
  .contact__layout { grid-template-columns: 1fr 1fr; gap: 72px; }
  .contact__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}


/* --------------------------------------------------------------------------
   20b. Sección "Haz tu pedido" (pasos) y ventana de pedido (comanda)
   -------------------------------------------------------------------------- */
/* Pasos dentro del ticket de la sección de contacto */
.howto { display: grid; gap: 0; margin-bottom: 26px; counter-reset: none; }
.howto__step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1.5px dashed var(--line-2);
}
.howto__step:last-child { border-bottom: 0; }
.howto__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-family: var(--font-sign);
  font-size: .9rem;
  color: var(--ink);
  background: var(--gold);
  border: 1.5px solid var(--ink);
  transform: rotate(-6deg);
}
.howto__plate {
  width: min(190px, 52%);
  aspect-ratio: 1;
  margin: 2px auto 18px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  border: var(--border);
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(-5deg);
  transition: transform .8s var(--ease-spring);
}
.form-card--steps:hover .howto__plate { transform: rotate(3deg) scale(1.04); }
.howto__plate img { width: 100%; height: 100%; object-fit: cover; }
.howto__text { display: grid; gap: 2px; color: var(--muted); font-size: .96rem; }
.howto__text strong { font-family: var(--font-display); font-size: 1.12rem; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }

/* Ventana de pedido */
.overlay--checkout { z-index: 1002; }
.checkout {
  position: fixed;
  inset: 0;
  z-index: 1003;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear .5s;
}
html.checkout-open .checkout { visibility: visible; pointer-events: auto; transition: none; }
.checkout__scroll {
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  justify-items: center;
  align-items: start;
  padding: 28px 14px 40px;
}
.checkout__ticket {
  position: relative;
  width: min(560px, 100%);
  margin-block: 14px;
  padding: 22px 20px 28px;
  background: #fff;
  filter: drop-shadow(6px 8px 0 rgba(8, 58, 65, .9));
  opacity: 0;
  transform: translateY(40px) rotate(-1.5deg);
  transition: opacity .4s, transform .6s var(--ease-spring);
}
html.checkout-open .checkout__ticket { opacity: 1; transform: none; }
/* Orillas dentadas de comanda */
.checkout__ticket::before,
.checkout__ticket::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  background:
    linear-gradient(-45deg, #fff 7px, transparent 0),
    linear-gradient(45deg, #fff 7px, transparent 0);
  background-size: 14px 14px;
  background-repeat: repeat-x;
}
.checkout__ticket::before { top: -13px; background-position: left bottom; transform: scaleY(-1); }
.checkout__ticket::after { bottom: -13px; background-position: left top; }
.checkout .ticket-head { align-items: center; }
.checkout__title { display: inline-flex; align-items: center; gap: 12px; }
.checkout__thumb { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); background: #fff; transform: rotate(-6deg); }
.checkout .ticket-head span { font-family: var(--font-sign); font-size: 1.5rem; color: var(--ink); }

/* Resumen del pedido */
.summary { display: grid; }
.summary li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1.5px dashed var(--line-2);
  font-size: .96rem;
}
.summary__qty {
  font-family: var(--font-sign);
  font-size: .82rem;
  color: #fff;
  background: var(--brand);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  padding: 1px 7px;
}
.summary__name { font-weight: 600; }
.summary__price { font-family: var(--font-sign); font-size: .92rem; }
.checkout__edit { justify-self: start; margin-top: 4px; }
.checkout .totals__hint { font-family: var(--font-hand); font-size: 1.15rem; font-weight: 700; color: var(--gold-deep); }

/* Selector domicilio / recoger */
.choice { display: grid; grid-template-columns: 1fr; gap: 12px; }
.choice__opt { position: relative; cursor: pointer; }
.choice__opt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.choice__card {
  display: grid;
  justify-items: center;
  gap: 4px;
  height: 100%;
  padding: 16px 10px 14px;
  border-radius: 16px;
  text-align: center;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 0 4px 0 var(--ink);
  transition: background-color .25s, transform .2s var(--ease-out), box-shadow .2s;
}
.choice__card strong { font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1.15; letter-spacing: -.02em; }
.choice__card small { font-family: var(--font-hand); font-size: 1.1rem; font-weight: 700; color: var(--brand); line-height: 1; }
/* Celular: tarjetas en fila (icono a la izquierda) para que se lean completas */
.choice__card { grid-template-columns: auto 1fr; justify-items: start; align-items: center; text-align: left; column-gap: 14px; row-gap: 0; padding: 14px 16px; }
.choice__card .choice__ico { grid-row: 1 / span 2; margin: 0; }
.choice__card strong { align-self: end; }
.choice__card small { align-self: start; }
@media (min-width: 640px) {
  .choice { grid-template-columns: repeat(3, 1fr); }
  .choice__card { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 16px 10px 14px; row-gap: 4px; }
  .choice__card .choice__ico { grid-row: auto; margin-bottom: 4px; }
  .choice__card strong, .choice__card small { align-self: auto; }
}
.choice__ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 4px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface-2);
  border: 1.5px solid var(--ink);
  transition: background-color .25s, color .25s, transform .5s var(--ease-spring);
}
.choice__ico .i { width: 24px; height: 24px; stroke-width: 2; }
.choice__opt:hover .choice__card { background: #FFFDF6; transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.choice__opt input:focus-visible + .choice__card { outline: 3px solid var(--gold); outline-offset: 3px; }
.choice__opt input:checked + .choice__card { background: var(--gold-2); transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.choice__opt input:checked + .choice__card .choice__ico { color: #fff; background: var(--brand); transform: rotate(-10deg) scale(1.06); }
.choice[data-invalid="true"] .choice__card { border-color: var(--danger); }
.choice[data-invalid="true"] { animation: shake .45s var(--ease-out); }

/* Campos de domicilio: aparecen al elegir "A domicilio" */
.delivery { display: grid; gap: 14px; padding: 14px; border-radius: 16px; background: var(--surface-2); border: 1.5px dashed var(--line-3); }
.delivery:not([hidden]) { animation: pop-in .45s var(--ease-spring); }
.checkout .form-done__title span { font-family: var(--font-sign); color: var(--brand); white-space: nowrap; }

@media (min-width: 640px) {
  .checkout__scroll { padding: 48px 24px 60px; }
  .checkout__ticket { padding: 28px 34px 34px; }
}

/* --------------------------------------------------------------------------
   21. Footer (bloque oscuro de marca)
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  padding-top: 80px;
  color: var(--on-deep);
  background: linear-gradient(180deg, var(--deep), #031A1E);
  border-top: 6px solid var(--gold);
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--talavera) 0 0 / 80px 80px;
  opacity: .06;
  pointer-events: none;
}
.footer__grid { position: relative; display: grid; gap: 40px; }
.footer__brand { display: grid; gap: 20px; justify-items: start; }
.footer__badge { width: 100px; height: 100px; border-radius: 50%; border: 3px solid var(--gold); transform: rotate(-8deg); }
.footer__tag { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.footer__tag em { color: var(--gold-2); }
.footer__title { margin-bottom: 14px; font-family: var(--font-sign); font-size: .7rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.footer__col ul { display: grid; gap: 10px; color: var(--on-deep-muted); }
.footer__col a { transition: color .25s; }
.footer__col a:hover { color: var(--gold-2); }

.footer__word {
  position: relative;
  margin-top: 64px;
  text-align: center;
  font-family: var(--font-sign);
  font-size: clamp(2.8rem, 12.5vw, 12rem);
  line-height: .85;
  white-space: nowrap;
  user-select: none;
}
.footer__word span {
  display: inline-block;
  background: linear-gradient(180deg, rgba(244, 174, 61, .5) 0%, rgba(26, 135, 149, .18) 60%, transparent 92%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translateY(var(--fy, 30%));
  transition: transform .2s linear;
}

.footer__bottom {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-block: 24px calc(24px + env(safe-area-inset-bottom));
  border-top: 2px dashed rgba(160, 236, 232, .15);
  font-size: .86rem;
  color: rgba(234, 246, 244, .55);
}
.footer__top { display: inline-flex; align-items: center; gap: 8px; color: var(--on-deep-muted); }
.footer__top:hover { color: #fff; }
.footer__top .i { width: 16px; height: 16px; }

@media (min-width: 640px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

/* --------------------------------------------------------------------------
   22. Panel de pedido, overlay, lightbox, toast
   -------------------------------------------------------------------------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6, 42, 48, .4);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity .4s;
}
.overlay.is-visible { opacity: 1; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  width: min(440px, 100%);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-left: var(--border);
  box-shadow: -10px 0 0 rgba(8, 58, 65, .15);
  transform: translateX(calc(100% + 40px));
  visibility: hidden;
  transition: transform .7s var(--ease-out), visibility 0s linear .7s;
}
html.cart-open .drawer { transform: none; visibility: visible; transition: transform .7s var(--ease-out); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 18px;
  background: var(--gold-2);
  border-bottom: var(--border);
}
.drawer__kicker { font-family: var(--font-hand); font-size: 1.2rem; font-weight: 700; color: var(--chile); line-height: 1; }
.drawer__title { font-family: var(--font-sign); font-weight: 400; font-size: 1.5rem; }

.drawer__empty {
  flex: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  padding: 30px;
  text-align: center;
  color: var(--muted);
}
.drawer__empty-ico {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin-bottom: 10px;
  border-radius: 50%;
  border: 2px dashed var(--ink);
  color: var(--brand);
  background: var(--surface-2);
  transform: rotate(-8deg);
}
.drawer__empty-ico .i { width: 34px; height: 34px; }
.drawer__empty-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: var(--text); }
.drawer__empty .btn { margin-top: 14px; }

.drawer__list { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 22px; display: grid; align-content: start; }
.drawer-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1.5px dashed var(--line-3);
  animation: slide-in .5s var(--ease-out);
}
.drawer-item img,
.drawer-item__icon { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; border: 1.5px solid var(--ink); }
.drawer-item__icon .i { width: 28px; height: 28px; stroke-width: 2; }
.drawer-item__top { display: flex; justify-content: space-between; gap: 10px; }
.drawer-item__name { font-weight: 700; line-height: 1.25; }
.drawer-item__price { font-family: var(--font-sign); white-space: nowrap; }
.drawer-item__unit { font-family: var(--font-hand); font-size: 1.05rem; font-weight: 700; color: var(--brand); }
.drawer-item .stepper { margin-top: 8px; }

.drawer__foot { display: grid; gap: 14px; padding: 18px 22px calc(22px + env(safe-area-inset-bottom)); border-top: var(--border); background: var(--surface-2); }
.drawer__foot .link-btn { justify-self: center; }

/* Lightbox */
.lightbox {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 70px 16px 30px;
  border: 0;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity .4s;
}
.lightbox:not([open]) { display: none; }
.lightbox.is-visible { opacity: 1; }
.lightbox::backdrop { background: rgba(4, 24, 28, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; max-width: min(1100px, 100%); }
.lightbox__figure img {
  max-height: 76vh;
  width: auto;
  border-radius: var(--r);
  border: 4px solid #fff;
  box-shadow: 8px 8px 0 var(--gold);
  animation: pop-in .5s var(--ease-out);
}
.lightbox__figure figcaption { font-family: var(--font-hand); font-size: 1.4rem; font-weight: 700; color: var(--gold-2); }
.lightbox__close { position: fixed; top: 16px; right: 16px; }
.lightbox__nav { position: fixed; top: 50%; margin-top: -22px; }
.lightbox__nav--prev { left: 12px; }
.lightbox__nav--next { right: 12px; }

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(24px + env(safe-area-inset-bottom));
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 120px);
  padding: 10px 18px 10px 10px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  background: #fff;
  border: var(--border);
  box-shadow: 4px 4px 0 var(--ink);
  transform: translate(-50%, 160%);
  opacity: 0;
  transition: transform .6s var(--ease-spring), opacity .4s;
  pointer-events: none;
}
.toast:empty { display: none; }
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); border: 1.5px solid var(--ink); color: var(--ink); flex: none; }
.toast__ico .i { width: 15px; height: 15px; stroke-width: 2.8; }

/* --------------------------------------------------------------------------
   23. Botones flotantes
   -------------------------------------------------------------------------- */
.fab {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 950;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  background: #22C55E;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .5s var(--ease-spring), box-shadow .3s, opacity .3s;
}
.fab:hover { transform: scale(1.08) rotate(-8deg); }
.fab > .i { width: 30px; height: 30px; position: relative; z-index: 1; }
.fab__ping {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--wa);
  animation: ping 2.4s var(--ease-out) infinite;
}
.fab__ping--2 { animation-delay: 1.2s; }
.fab__tip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  padding: 8px 14px;
  border-radius: 12px;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--ink);
  background: #fff;
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  opacity: 0;
  transform: translate(10px, -50%) rotate(-2deg);
  transition: opacity .4s, transform .6s var(--ease-out);
  pointer-events: none;
}
html.menu-open .fab,
html.cart-open .fab,
html.checkout-open .fab,
html.menu-open .fab-cart,
html.cart-open .fab-cart,
html.checkout-open .fab-cart,
html.menu-open .to-top,
html.cart-open .to-top,
html.checkout-open .to-top { opacity: 0; transform: scale(.6); pointer-events: none; }

/* Carrito flotante: justo arriba del botón de WhatsApp */
.fab-cart {
  position: fixed;
  right: 18px;
  bottom: calc(92px + env(safe-area-inset-bottom));
  z-index: 951;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--gold);
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .5s var(--ease-spring), box-shadow .3s, opacity .3s, background-color .3s;
}
.fab-cart > .i { width: 28px; height: 28px; stroke-width: 2; }
.fab-cart:hover { transform: scale(1.08) rotate(6deg); background: #FFC15A; }
.fab-cart:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.fab-cart.is-bump { animation: bump .6s var(--ease-spring); }
.fab-cart__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  font-family: var(--font-sign);
  font-size: .74rem;
  color: #fff;
  background: var(--chile);
  border: 2px solid var(--ink);
}
/* Etiqueta con el total a la izquierda del botón */
.fab-cart__pill {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  background: var(--brand);
  border: var(--border);
  box-shadow: 3px 3px 0 var(--ink);
  transform: translateY(-50%);
  animation: pill-in .5s var(--ease-spring);
  pointer-events: none;
}
.fab-cart__pill b { font-family: var(--font-sign); font-weight: 400; color: var(--gold-2); }
/* Pulso suave cuando hay productos, para invitar a terminar el pedido */
.fab-cart.has-items::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: ping 2.4s var(--ease-out) infinite;
}
.fab.show-tip .fab__tip,
.fab:hover .fab__tip { opacity: 1; transform: translate(0, -50%) rotate(-2deg); }

.to-top {
  position: fixed;
  right: 25px;
  bottom: calc(168px + env(safe-area-inset-bottom));
  z-index: 940;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
  border: var(--border);
  box-shadow: 2px 2px 0 var(--ink);
  opacity: 0;
  transform: translateY(16px) scale(.8);
  pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease-out), background-color .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold-2); }
.to-top .i { width: 18px; height: 18px; stroke-width: 2.4; }
.to-top__ring { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); transform: rotate(-90deg); }
.to-top__ring circle {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--progress, 0) * 100);
}

/* --------------------------------------------------------------------------
   24. Animaciones de entrada
   -------------------------------------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 44px;
  filter: blur(6px);
  transition:
    opacity 1s var(--ease-out),
    translate 1.2s var(--ease-out),
    filter 1s var(--ease-out),
    box-shadow .35s var(--ease-out),
    background-color .3s;
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="scale"] { translate: none; scale: .92; transition-property: opacity, scale, filter, box-shadow; transition-duration: 1s, 1.2s, 1s, .35s; }

/* El recorte se aplica al hijo: un clip-path en el propio elemento observado
   impediría que IntersectionObserver lo detecte. */
.js [data-reveal="clip"] { opacity: 1; filter: none; translate: none; }
.js [data-reveal="clip"] > :first-child {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1.4s var(--ease-in-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js [data-reveal="clip"] > :first-child img { scale: 1.25; transition: scale 1.8s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; translate: none; scale: none; filter: none; }
.js [data-reveal="clip"].is-in > :first-child { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"].is-in > :first-child img { scale: 1.02; }
.js [data-reveal="clip"].is-in:hover > :first-child img { scale: 1.08; }

/* Títulos partidos en palabras */
.js [data-split] .sw {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .14em;
  margin-bottom: -.14em;
}
.js [data-split] .sw__in {
  display: inline-block;
  transform: translate3d(0, 115%, 0) rotate(5deg);
  transform-origin: 0 100%;
  transition: transform 1.1s var(--ease-spring);
  transition-delay: calc(var(--wi, 0) * 55ms);
}
.js [data-split].is-in .sw__in { transform: none; }
/* La letra a mano sobresale de su caja: se le da aire para que no se recorte */
.js [data-split] em .sw {
  padding: .12em .14em .16em .06em;
  margin: -.12em -.14em -.16em -.06em;
}

/* El trazo dorado bajo la palabra destacada se "pinta" al entrar */
.js [data-split] em {
  background-size: 0% .32em;
  transition: background-size .9s var(--ease-out) .55s;
}
.js [data-split].is-in em { background-size: 100% .32em; }

/* --------------------------------------------------------------------------
   25. Keyframes
   -------------------------------------------------------------------------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes border-spin { to { --angle: 360deg; } }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes photo-drift { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.12) translate3d(-1.5%, 1%, 0); } }
@keyframes tile-pan { to { background-position: 80px 80px; } }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes label-in { from { opacity: 0; transform: translateY(8px) rotate(-3deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes wiggle { 0%, 100% { rotate: 0deg; } 10% { rotate: -6deg; } 20% { rotate: 5deg; } 30% { rotate: -3deg; } 40% { rotate: 0deg; } }
@keyframes wobble { 0%, 100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(6deg) scale(1.04); } }
@keyframes sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes awning { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.07); } }
@keyframes drift-a { to { transform: translate(-12vmax, 10vmax) scale(1.15); } }
@keyframes drift-b { to { transform: translate(14vmax, -8vmax) scale(1.2); } }
@keyframes drift-c { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-10vmax, 6vmax) scale(1.25); } 100% { transform: translate(6vmax, -6vmax) scale(.9); } }
@keyframes bubble {
  0% { transform: translateY(0) scale(.6); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: translateY(-180px) scale(1); opacity: 0; }
}
@keyframes pill-in { from { opacity: 0; transform: translate(12px, -50%) scale(.8); } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.25) rotate(-8deg); } 100% { transform: scale(1); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.9); } }
@keyframes tick { from { transform: translateY(-40%); opacity: 0; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(30px); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* --------------------------------------------------------------------------
   26. Movimiento reducido y Lenis
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .js [data-reveal],
  .js [data-intro],
  .js .hero__display .char { opacity: 1 !important; translate: none !important; scale: none !important; filter: none !important; }
  .js .hero__display .char { transform: none !important; }
  .js [data-reveal="clip"] > :first-child,
  .js .hero__display--accent { clip-path: none !important; }
  .js [data-split] .sw__in { transform: none !important; }
  .js [data-split] em,
  .hero__display--accent em { background-size: 100% .32em !important; }
}

html.lenis,
html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
