/* La Bocatoma · base clara, amarillo del logo, bandera y trazo a mano */
:root {
  --ink: #1B1008;
  --bg: #FFFBF0;
  --bg-2: #F5ECD6;
  --card: #FFFFFF;
  --gold: #FFD21F;
  --star: #F0A800;
  --paper: #FFF3D6;
  --muted: rgba(27, 16, 8, .66);
  --line: rgba(27, 16, 8, .14);
  --blue: #1D3FA0;
  --red: #D8281F;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --script: "Lobster", "Brush Script MT", cursive;
  --sans: "Barlow", system-ui, sans-serif;
  --gutter: clamp(20px, 6vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body { overflow-x: clip; } /* nada (cinta girada, tarjetas que entran de lado) ensancha la página en el móvil */
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.i--flip { transform: scaleX(-1); }

/* iconos por máscara (heredan color) */
.ico { display: inline-block; width: 1.2em; height: 1.2em; background: currentColor; flex: none; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ico--wa { --m: url(assets/marcas/whatsapp.svg); }
.ico--ig { --m: url(assets/marcas/instagram.svg); }
.ico--ta { --m: url(assets/marcas/tripadvisor.svg); width: 1.5em; height: 1.5em; }
.ico--tel { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 006.6 6.6l2.2-2.2a1 1 0 011-.25c1.1.37 2.3.57 3.6.57a1 1 0 011 1V20a1 1 0 01-1 1C10.6 21 3 13.4 3 4a1 1 0 011-1h3.5a1 1 0 011 1c0 1.25.2 2.45.57 3.57a1 1 0 01-.25 1z'/%3E%3C/svg%3E"); }
.ico--pin { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 010-5 2.5 2.5 0 010 5z'/%3E%3C/svg%3E"); }
.ico--trash { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zM19 4h-3.5l-1-1h-5l-1 1H5v2h14V4z'/%3E%3C/svg%3E"); }
.ico--bag { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm0 10c-2.76 0-5-2.24-5-5h2c0 1.66 1.34 3 3 3s3-1.34 3-3h2c0 2.76-2.24 5-5 5z'/%3E%3C/svg%3E"); }

/* ── Botones ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px; border: 2px solid var(--ink);
  font: 700 1rem/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--block { width: 100%; }
.btn:active { transform: scale(.97); }
@media (hover: hover) {
  .btn--gold:hover { background: var(--ink); border-color: var(--ink); color: var(--gold); }
  .btn--ghost:hover { background: var(--ink); color: var(--paper); }
}
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta--center { justify-content: center; }

/* ── Nav fija (aparece al salir del hero) ────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; gap: 10px;
  padding: max(8px, env(safe-area-inset-top)) 14px 8px;
  background: rgba(255, 251, 240, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%); transition: transform .35s var(--ease);
}
.nav--on { transform: none; }
.nav__logo img { width: 58px; height: auto; }
.nav__links { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav__links::-webkit-scrollbar { display: none; }
.nav__links a {
  padding: 8px 12px; border-radius: 999px; white-space: nowrap;
  font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--muted);
}
.nav__links a[aria-current="true"] { background: var(--gold); color: var(--ink); }
.nav__cta {
  padding: 10px 16px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font: 700 .85rem/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: max(28px, env(safe-area-inset-top)) var(--gutter) 56px;
  background: radial-gradient(64% 40% at var(--mx, 50%) var(--my, 16%), rgba(255, 210, 31, .5), transparent 72%), var(--bg);
}
.hero::after { /* grano */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__flag { /* bandera grande por detrás de logo y letras; se desvanece hacia abajo */
  position: absolute; z-index: 0; inset: -8% -12% auto -12%; width: 124%; height: 82%;
  opacity: .34; transform: rotate(-4deg); transform-origin: 50% 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 50%, transparent 94%);
  mask-image: linear-gradient(to bottom, #000 0, #000 50%, transparent 94%);
}
.hero__flag .fold { animation: none; }
.hero__inner { position: relative; z-index: 1; }
.hero .cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; } /* móvil: reservar arriba; carta y tiendita debajo */
.hero .cta .btn { min-width: 0; padding-inline: 12px; min-height: 50px; white-space: nowrap; }
.hero .cta .btn--gold { grid-column: 1 / -1; }
@media (min-width: 700px) { .hero .cta { grid-template-columns: 1.3fr 1fr 1fr; } .hero .cta .btn--gold { grid-column: auto; } }

/* nota de opiniones y accesos rápidos */
.proof { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; text-decoration: none; font-size: .95rem; color: var(--muted); }
.proof b { color: var(--ink); font-size: 1.05rem; }
.proof .stars { width: 86px; height: 17px; flex: none; }
.proof__txt { display: grid; line-height: 1.25; }
.proof__txt small { font-size: .82rem; color: var(--muted); }
@media (hover: hover) { .proof:hover { color: var(--ink); } }
.quick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.quick a {
  display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 12px;
  border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem;
  background: rgba(255, 255, 255, .72); transition: border-color .2s, background-color .2s, transform .2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.quick .ico { color: var(--ink); width: 1.1em; height: 1.1em; }
.quick a:active { transform: scale(.97); }
@media (hover: hover) { .quick a:hover { border-color: var(--gold); background: var(--gold); } }
.emblem {
  width: min(100%, 460px); margin: 0 auto;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .25s var(--ease);
  filter: drop-shadow(0 22px 28px rgba(70, 35, 0, .3));
}
.hero__copy { margin-top: 18px; }
.headline {
  font: 400 clamp(2.6rem, 13vw, 5.2rem)/.96 var(--display);
  text-transform: uppercase; letter-spacing: .005em; text-wrap: balance;
}
/* palabra en cursiva recta, a nivel del texto, con marcador amarillo DETRÁS (sin subrayado pegado) */
.headline em, .sec__head h2 em {
  position: relative; isolation: isolate; display: inline-block;
  font: 400 1.08em/1 var(--script); text-transform: none; letter-spacing: 0; color: var(--ink);
  padding-inline: .12em;
}
.headline em::before, .sec__head h2 em::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: .08em; height: .44em;
  background: var(--gold); border-radius: .12em;
}
.sec--gold .sec__head h2 em::before { background: #fff; }
.headline em { display: block; width: max-content; font-size: 1.2em; margin: 0 0 0 -.12em; }
.lede { margin-top: 16px; max-width: 28ch; font-size: 1.2rem; color: var(--muted); }

/* ── Cinta rodante ───────────────────────────────── */
.ribbon {
  position: relative; z-index: 2; overflow: hidden; white-space: nowrap;
  background: var(--gold); color: var(--ink);
  transform: rotate(-1.6deg) scale(1.04); margin: -14px 0 0;
  border-block: 3px solid var(--ink);
  box-shadow: 0 10px 28px rgba(70, 35, 0, .22);
}
.ribbon__track { display: flex; width: max-content; }
.ribbon__track span { padding: 13px 0; font: 400 1.3rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; }
.ribbon.on .ribbon__track { animation: ribbon 38s linear infinite; }
@keyframes ribbon { from { transform: translateX(-33.3333%); } to { transform: translateX(-66.6667%); } }

/* ── Tira de carteles ───────────────────────────── */
.strip { --sh: 190px; overflow-x: auto; scrollbar-width: none; padding: 30px 0 22px; }
.strip::-webkit-scrollbar { display: none; }
.strip.on { overflow: hidden; }
.strip__track { display: flex; align-items: center; gap: 14px; width: max-content; padding-inline: var(--gutter); }
.strip.on .strip__track { padding-inline: 0; animation: strip 70s linear infinite; padding-right: 14px; }
.strip.on:hover .strip__track { animation-play-state: paused; }
@keyframes strip { from { transform: translateX(-66.6667%); } to { transform: translateX(-33.3333%); } }
.strip a { display: block; flex: none; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 26px rgba(70, 35, 0, .32); transition: transform .3s var(--ease); }
.strip a:nth-child(odd) { rotate: -1.6deg; }
.strip a:nth-child(even) { rotate: 1.4deg; margin-top: 14px; }
.strip img { height: var(--sh); width: auto; max-width: none; }
@media (hover: hover) { .strip a:hover { transform: translateY(-8px) scale(1.04); } }

/* ── Secciones ───────────────────────────────────── */
.sec { padding: 72px var(--gutter); scroll-margin-top: 56px; overflow-x: clip; } /* lo que entra desde los lados no ensancha la página en el móvil */
.sec--coal { background: var(--bg-2); }
.sec--gold { /* bordes en diagonal, como la cinta del logo */
  --cut: 6vw; position: relative; z-index: 1; background: var(--gold); color: var(--ink);
  clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%);
  margin-block: calc(var(--cut) * -1); padding-block: calc(72px + var(--cut));
}
.sec__head { margin-bottom: 30px; }
.kicker { font: 700 .8rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.sec--gold .kicker, .sec--gold .sec__sub { color: rgba(27, 16, 8, .74); }
.sec__head h2 { font: 400 clamp(2.7rem, 14vw, 5rem)/.95 var(--display); text-transform: uppercase; }
.sec--gold .sec__head h2 em { color: var(--ink); }
.sec__sub { margin-top: 14px; max-width: 34ch; color: var(--muted); }

/* ── Apps de reparto ─────────────────────────────── */
.apps { display: grid; gap: 14px; }
.app {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: 1fr auto; align-items: end; column-gap: 12px; row-gap: 16px;
  min-height: 190px; padding: 24px 22px 22px;
  border-radius: 22px; text-decoration: none; color: var(--c-fg);
  background: var(--c-bg);
  transition: transform .3s var(--ease), box-shadow .3s;
  -webkit-tap-highlight-color: transparent;
}
.app::before { /* aro decorativo */
  content: ""; position: absolute; z-index: -1; right: -70px; top: 50%; width: 300px; aspect-ratio: 1;
  border-radius: 50%; transform: translateY(-50%); border: 2px solid currentColor; opacity: .14;
}
.app__mark { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: center; margin-right: 6px;
  width: var(--ms, 124px); height: var(--ms, 124px); background: var(--c-mark);
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
  transform: rotate(6deg); transition: transform .45s var(--ease);
}
.app__body { display: grid; gap: 4px; align-self: start; }
.app__go { justify-self: start; }
.app__name { font: 400 clamp(2.4rem, 12vw, 3.2rem)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.app__tag { font-weight: 600; opacity: .78; }
.app__go {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 999px; background: var(--c-btn-bg); color: var(--c-btn-fg);
  font: 700 .9rem/1 var(--sans); letter-spacing: .05em; text-transform: uppercase;
}
.app__go .i { transition: transform .25s var(--ease); }
.app:active { transform: scale(.985); }
@media (hover: hover) {
  .app:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(70, 35, 0, .28); }
  .app:hover .app__mark { transform: rotate(-4deg) scale(1.08); }
  .app:hover .app__go .i { transform: translateX(4px); }
}
/* cada marca con su identidad */
.app--glovo { --c-bg: #FFC244; --c-fg: #1A1A1A; --c-mark: #00A082; --c-btn-bg: #00A082; --c-btn-fg: #fff; --m: url(assets/marcas/glovo.svg); }
.app--uber  { --c-bg: #000;    --c-fg: #fff;    --c-mark: #06C167; --c-btn-bg: #06C167; --c-btn-fg: #000; --m: url(assets/marcas/ubereats.svg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.app--just  { --c-bg: #FF8000; --c-fg: #fff;    --c-mark: rgba(255, 255, 255, .92); --c-btn-bg: #fff; --c-btn-fg: #E65F00; --m: url(assets/marcas/justeat.svg); }
.app--uber { --ms: 138px; }

/* ── Manifiesto ──────────────────────────────────── */
.sec--manifest { padding-block: 88px 72px; }
.manifest { font: 400 clamp(2.1rem, 9.6vw, 4.6rem)/1.06 var(--display); text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; max-width: 18ch; }
.manifest span { transition: color .35s, opacity .35s; }
.manifest .hl { background: linear-gradient(transparent 58%, var(--gold) 58% 94%, transparent 94%); padding-inline: .06em; }
.m .manifest span { opacity: .16; }
.m .manifest span.on { opacity: 1; }
.heart { width: 64px; margin-top: 28px; color: var(--red); }
.m .heart path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
.m .heart.done path { stroke-dashoffset: 0; }

/* ── Carta ───────────────────────────────────────── */
.sec--coal .cta { margin-top: 32px; }

/* ── Carta pedible ───────────────────────────────── */
.catnav {
  position: sticky; top: 56px; z-index: 6; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 4px; padding: 10px var(--gutter);
  background: rgba(245, 236, 214, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.catnav::-webkit-scrollbar { display: none; }
.catnav a { flex: none; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .2s, border-color .2s; }
.catnav a[aria-current="true"] { background: var(--gold); border-color: var(--gold); }
.cat { padding-top: 30px; scroll-margin-top: 124px; }
.cat__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cat h3 { font: 400 clamp(2.1rem, 9vw, 3rem)/1 var(--display); text-transform: uppercase; }
.cat__tag { padding: 6px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.cat__intro { margin-top: 8px; max-width: 52ch; color: var(--muted); }
.dishes { display: grid; gap: 10px; margin-top: 16px; }
.dish { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 14px; padding: 14px 14px 14px 18px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.dish.has { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold); }
.dish__name { display: block; font: 700 1.1rem/1.25 var(--sans); }
.dish__desc { display: block; margin-top: 3px; color: var(--muted); font-size: .92rem; line-height: 1.35; }
.dish__buy { display: grid; justify-items: end; gap: 8px; }
.dish__price { font: 400 1.4rem/1 var(--display); letter-spacing: .01em; white-space: nowrap; }
.dish--short .dish__buy { display: flex; align-items: center; gap: 12px; }
.qty { display: inline-flex; align-items: center; border-radius: 999px; background: var(--ink); color: var(--paper); }
.qty button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: inherit; font: 600 1.6rem/1 var(--sans); -webkit-tap-highlight-color: transparent; }
.qty button:active { background: rgba(255, 255, 255, .18); }
.qty output { min-width: 24px; text-align: center; font: 700 1.05rem/1 var(--sans); }
.qty .add { background: var(--gold); color: var(--ink); font-size: 1.7rem; }
.qty .add:active { background: #fff; }

.cartbar {
  position: fixed; z-index: 40; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); width: min(calc(100% - 24px), 560px);
  translate: -50% 160%; visibility: hidden; transition: translate .45s var(--ease), visibility 0s .45s;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 9px 9px 22px;
  border-radius: 999px; background: var(--ink); color: var(--paper); box-shadow: 0 16px 40px rgba(40, 20, 0, .4);
}
.cartbar.on { translate: -50% 0; visibility: visible; transition-delay: 0s; }
.cartbar__sum { display: grid; flex: 1; line-height: 1.15; }
.cartbar__sum span { font-size: .85rem; opacity: .75; }
.cartbar__sum b { font: 400 1.5rem/1.1 var(--display); letter-spacing: .01em; }
.cartbar__clear { flex: none; display: grid; place-items: center; min-width: 48px; height: 48px; padding: 0 12px; border: 1.5px solid rgba(255, 243, 214, .3); border-radius: 999px; background: none; color: var(--paper); font: 700 .8rem/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; -webkit-tap-highlight-color: transparent; }
.cartbar__clear .ico { width: 1.35em; height: 1.35em; }
.cartbar__clear.ask { background: #C4221A; border-color: #C4221A; color: #fff; }
.cartbar__btn { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font: 700 .95rem/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; }

.sheet { width: min(100%, 560px); max-width: none; max-height: 92svh; margin: auto auto 0; padding: 0; border: 0; border-radius: 26px 26px 0 0; background: var(--bg); color: var(--ink); box-shadow: 0 -20px 60px rgba(40, 20, 0, .35); overflow: hidden; }
.sheet::backdrop { background: rgba(27, 16, 8, .55); }
.sheet__in { display: grid; gap: 14px; padding: 22px 22px max(22px, env(safe-area-inset-bottom)); max-height: 92svh; overflow-y: auto; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; }
.sheet__head h3 { font: 400 2.2rem/1 var(--display); text-transform: uppercase; }
.sheet__x { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); font-size: 1.6rem; line-height: 1; }
.lines { display: grid; }
.line { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line__name { font-weight: 600; line-height: 1.25; }
.line__price { min-width: 72px; text-align: right; font: 400 1.2rem/1 var(--display); }
.sheet__total { display: flex; justify-content: space-between; align-items: baseline; }
.sheet__total b { font: 400 2rem/1 var(--display); }
.field textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: 500 1.05rem var(--sans); resize: vertical; }
.field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 210, 31, .35); }
.field__label i { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .7; }
.agree { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); font-size: .92rem; line-height: 1.4; cursor: pointer; }
.agree input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.agree small { display: block; margin-top: 6px; font-size: .82rem; color: var(--muted); }
.agree:has(input[aria-invalid="true"]) { border-color: var(--red); }
.sheet__note { font-size: .85rem; color: var(--muted); text-align: center; }
.sheet__clear { justify-self: center; border: 0; background: none; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 8px; }
@media (min-width: 700px) { .sheet { margin: auto; border-radius: 26px; } }

/* ── Tiendita ────────────────────────────────────── */
.railwrap { position: relative; }
.rail {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 10px;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { scroll-snap-type: none; cursor: grabbing; }
.rail.is-drag * { pointer-events: none; }
.shot {
  flex: none; height: clamp(360px, 56svh, 500px); padding: 0; border: 0; background: var(--ink);
  border-radius: 18px; overflow: hidden; scroll-snap-align: center;
  box-shadow: 0 16px 34px rgba(70, 35, 0, .35); cursor: zoom-in;
  transition: transform .3s var(--ease);
}
.shot img { height: 100%; width: auto; max-width: none; }
.shot--sq { height: auto; width: min(86vw, 520px); align-self: center; }
.shot--sq img { width: 100%; height: auto; }
.sec__head h2 + .sec__sub { margin-top: 22px; }
.shot:active { transform: scale(.985); }
@media (hover: hover) { .shot:hover { transform: translateY(-5px) rotate(-.6deg); } }
.rail__ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.rail__hint { font: 700 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.round {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 2px solid currentColor; background: transparent; transition: transform .2s var(--ease), background-color .2s, color .2s;
}
.round:active { transform: scale(.92); }
@media (hover: hover) { .round:hover { background: currentColor; } .round:hover .i { color: var(--bg); } .sec--gold .round:hover .i { color: var(--gold); } }

/* ── Reserva ─────────────────────────────────────── */
.resv {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px;
  padding: 22px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(70, 35, 0, .08);
}
.field { position: relative; display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--wide, .field--date, .resv .btn, .resv__err { grid-column: 1 / -1; }
.field__label { font: 700 .76rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input {
  width: 100%; min-height: 54px; padding: 0 14px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--bg); color: var(--ink);
  font: 500 1.05rem var(--sans); color-scheme: light;
  min-width: 0; max-width: 100%; display: block; -webkit-appearance: none; appearance: none; /* iOS: que fecha y hora no se salgan del marco */
}
.field input[type="date"], .field input[type="time"] { height: 54px; padding-block: 0; text-align: left; line-height: 1.2; }
/* Safari (Mac e iOS) pone la fecha y la hora arriba del todo: se centran en vertical como el resto de campos */
.field input::-webkit-datetime-edit { display: inline-flex; align-items: center; height: 100%; padding: 0; }
.field input::-webkit-date-and-time-value { text-align: left; margin: 0; min-height: 0; height: 100%; display: flex; align-items: center; }
.field__ph { position: absolute; left: 2px; right: 50px; bottom: 2px; height: 50px; padding-left: 13px; display: flex; align-items: center; border-radius: 12px 0 0 12px; background: var(--bg); color: rgba(27, 16, 8, .42); font: 500 1.05rem var(--sans); white-space: nowrap; overflow: hidden; pointer-events: none; }
.field__ph[hidden], .field:focus-within .field__ph { display: none; } /* tapa el «--:--» nativo mientras el campo está vacío */
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 210, 31, .25); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.stepper { display: flex; align-items: center; min-height: 54px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg); overflow: hidden; }
.stepper button { width: 54px; height: 54px; border: 0; background: none; font: 400 1.7rem/1 var(--display); transition: background-color .15s; }
.stepper button:active { background: rgba(255, 210, 31, .2); }
.stepper output { flex: 1; text-align: center; font: 400 1.7rem/1 var(--display); }
.resv__err { color: #C4221A; font-weight: 600; }

/* ── Opiniones ───────────────────────────────────── */
.score { display: grid; gap: 22px; margin-bottom: 34px; }
.score__num { font: 400 clamp(5.5rem, 28vw, 8rem)/.85 var(--display); color: var(--ink); }
.score__big { display: grid; gap: 10px; justify-items: start; }
.score__meta { font-size: 1.1rem; }
.score__rank { color: var(--muted); }
.stars { position: relative; display: inline-block; width: 110px; height: 22px; }
.stars--lg { width: 160px; height: 32px; }
.stars__bg, .stars__fg { position: absolute; inset: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.9L12 17.8 5.8 21 7 14.1l-5-4.9 6.9-1z'/%3E%3C/svg%3E") 0 0 / 20% 100% repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.1 6.3 6.9 1-5 4.9 1.2 6.9L12 17.8 5.8 21 7 14.1l-5-4.9 6.9-1z'/%3E%3C/svg%3E") 0 0 / 20% 100% repeat-x; }
.stars__bg { background: rgba(27, 16, 8, .16); }
.stars__fg { background: var(--star); clip-path: inset(0 calc(100% - var(--p, 100%)) 0 0); }
.bars { display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 78px 1fr 34px; align-items: center; gap: 12px; font-size: .95rem; }
.bars span { color: var(--muted); }
.bars i { position: relative; height: 10px; border-radius: 99px; background: rgba(27, 16, 8, .1); overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: inherit; background: var(--star); transform-origin: left; }
.m .bars i::after { transform: scaleX(0); transition: transform 1.1s var(--ease) .2s; }
.m .score.in .bars i::after { transform: none; }
.bars b { text-align: right; font-weight: 600; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .95rem; }
.pills b { color: var(--ink); margin-left: 4px; }

.rail--reviews .quote, .rail--reviews .quote--more { scroll-snap-align: start; }
.quote {
  flex: 0 0 82%; max-width: 360px; display: grid; align-content: space-between; gap: 18px;
  padding: 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(70, 35, 0, .08);
}
.quote blockquote { font: 600 1.3rem/1.3 var(--sans); }
.quote blockquote::before { content: "“"; display: block; font: 400 4.2rem/.6 var(--display); height: .42em; margin-top: 6px; color: var(--star); }
.quote figcaption { display: grid; gap: 2px; }
.quote figcaption b { font-weight: 700; }
.quote figcaption span { color: var(--muted); font-size: .9rem; }
.quote--more {
  display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; text-decoration: none;
  background: var(--gold); color: var(--ink); border-color: var(--gold);
  font: 400 1.7rem/1.05 var(--display); text-transform: uppercase;
}
.quote--more .i { width: 1.4em; height: 1.4em; }

.rate { margin-top: 44px; padding: 28px 22px; border-radius: 22px; border: 2px dashed rgba(232, 168, 0, .75); text-align: center; }
.rate h3 { font: 400 clamp(2rem, 9vw, 2.8rem)/1 var(--display); text-transform: uppercase; }
.picker { display: flex; justify-content: center; gap: 4px; margin: 18px 0 8px; }
.picker button { width: 56px; height: 56px; padding: 8px; border: 0; background: none; color: rgba(27, 16, 8, .2); transition: transform .2s var(--ease), color .15s; }
.picker button.on { color: var(--star); }
.picker button:active { transform: scale(.88); }
@media (hover: hover) { .picker button:hover { transform: scale(1.15) rotate(-6deg); } }
.picker .i { width: 100%; height: 100%; fill: currentColor; }
.rate__msg { min-height: 1.5em; color: var(--muted); }

/* ── Dónde ───────────────────────────────────────── */
.where { display: grid; gap: 16px; }
.map { overflow: hidden; border-radius: 22px; border: 1px solid var(--line); aspect-ratio: 4 / 3.4; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.9); }
.where__card { font-style: normal; padding: 24px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(70, 35, 0, .08); }
.where__addr { font: 400 clamp(1.8rem, 8vw, 2.4rem)/1.08 var(--display); text-transform: uppercase; }
.where__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.where__btns .btn { padding-inline: 12px; min-width: 0; }
.where__btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.where__btns .btn:last-child { grid-column: 1 / -1; }
.where__btns .btn--gold { grid-column: 1 / -1; }

/* ── Pie ─────────────────────────────────────────── */
.foot { margin-top: 72px; padding: 0 var(--gutter) max(36px, env(safe-area-inset-bottom)); text-align: center; color: var(--muted); background: var(--bg-2); }
.flag { display: flex; height: 8px; margin: 0 calc(var(--gutter) * -1) 44px; transform: translateY(-8px); }
.flag i { flex: 1; }
.flag i:nth-child(1) { background: var(--gold); }
.flag i:nth-child(2) { background: var(--blue); }
.flag i:nth-child(3) { background: var(--red); }
.foot__logo { width: 190px; margin: 0 auto 18px; }
.foot a { text-underline-offset: 3px; }
.foot__motion { margin-top: 14px; padding: 8px 12px; border: 0; background: none; color: var(--muted); font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.foot__small { margin-top: 10px; font-size: .85rem; opacity: .7; }

/* ── Visor ampliado ──────────────────────────────── */
.lb { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 5, 3, .96); color: var(--paper); }
.lb::backdrop { background: rgba(8, 5, 3, .96); }
.lb[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lb__stage { grid-column: 1 / -1; grid-row: 1; height: 100%; overflow: auto; display: grid; padding: 64px 0 128px; }
.lb__stage img { margin: auto; max-width: 100%; max-height: calc(100svh - 192px); width: auto; height: auto; object-fit: contain; cursor: zoom-in; }
.lb__stage.zoom img { max-width: none; max-height: none; cursor: zoom-out; }
.lb__x { position: absolute; z-index: 3; top: max(14px, env(safe-area-inset-top)); right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); font-size: 1.9rem; line-height: 1; }
.lb__nav { position: relative; z-index: 2; grid-row: 1; margin: 0 10px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255, 210, 31, .92); color: var(--ink); }
.lb__prev { grid-column: 1; } .lb__next { grid-column: 3; }
.lb__cta { position: absolute; z-index: 3; left: 50%; bottom: max(48px, calc(env(safe-area-inset-bottom) + 34px)); translate: -50% 0; width: max-content; max-width: calc(100% - 32px); box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }
.lb__count { position: absolute; z-index: 3; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); text-align: center; font: 700 .85rem/1 var(--sans); letter-spacing: .16em; color: var(--gold); text-shadow: 0 1px 8px #000; pointer-events: none; }

/* ── Movimiento: solo con html.m (ver script de <head>) ── */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.sec--coal::before { /* grano de pizarra */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.sec--coal { position: relative; }
.sec--coal > * { position: relative; }

@keyframes lineUp { from { transform: translateY(108%); } }
@keyframes wipe { from { clip-path: inset(-40% 100% -40% -8%); } to { clip-path: inset(-40% -10% -40% -8%); } }
@keyframes drop { from { opacity: 0; transform: translateY(46px) scale(.7) rotate(-9deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }
@keyframes flagIn { from { opacity: 0; transform: rotate(-4deg) translateY(-36px); } }
@keyframes fold { to { transform: translateX(200px); } }

/* entrada del hero */
.ln { display: block; }
.m .ln:not(.ln--script) { overflow: hidden; padding-block: .22em .06em; margin-block: -.22em -.06em; } /* margen extra arriba: que no corte la tilde de Ó */
.ln--script { margin-block: .02em .1em; }
.m .ln:not(.ln--script) > span { display: block; animation: lineUp .85s var(--ease) both; animation-delay: calc(.35s + var(--k, 0) * .09s); }
.m .ln--script em { animation: wipe .9s .6s var(--ease) both; }
.m .emblem img { animation: drop 1s cubic-bezier(.2, 1.2, .3, 1) .05s both; }
.m .hero .lede { animation: rise .8s var(--ease) .8s both; }
.m .hero .cta { animation: rise .8s var(--ease) .95s both; }
.m .hero__flag { animation: flagIn 1.4s var(--ease) .1s both; }
.m .hero__flag .fold { animation: fold 8s linear infinite; }

/* parallax del hero al salir (--hp lo pone el script) */
.m .emblem { translate: 0 calc(var(--hp, 0) * 46px); scale: calc(1 - var(--hp, 0) * .1); }
.m .hero__copy { translate: 0 calc(var(--hp, 0) * 20px); opacity: calc(1 - var(--hp, 0) * .65); }
.m .hero__flag { translate: 0 calc(var(--hp, 0) * 60px); }

/* revelado al hacer scroll */
.m .rv { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.m .rv.in { opacity: 1; transform: none; }
.m .sec__head.in h2 em { animation: wipe .8s .3s var(--ease) both; }

/* tarjetas de reparto: entran por los lados y el logo hace pop */
.m .apps .app:nth-child(odd) { transform: translateX(-44px); }
.m .apps .app:nth-child(even) { transform: translateX(44px); }
.m .apps .app.in { transform: none; }
.m .apps .app:nth-child(2) { transition-delay: .1s; }
.m .apps .app:nth-child(3) { transition-delay: .2s; }
.m .app__mark { scale: .35; opacity: 0; transition: scale .8s cubic-bezier(.2, 1.4, .3, 1) .4s, opacity .4s .4s, transform .45s var(--ease); }
.m .app.in .app__mark { scale: 1; opacity: 1; }

/* carruseles con profundidad (--d y --ad los pone el script) */
.m .shot { scale: calc(1 - var(--ad, 0) * .09); rotate: calc(var(--d, 0) * 2.6deg); opacity: calc(1 - var(--ad, 0) * .3); }
.m .quote { scale: calc(1 - var(--ad, 0) * .06); opacity: calc(1 - var(--ad, 0) * .4); }

@keyframes nudge { 0%, 100% { transform: none; } 35% { transform: translateX(-34px) rotate(-1.5deg); } 65% { transform: translateX(-10px); } }
.m .rail.hint .shot:first-child { animation: nudge 1.3s var(--ease) .2s; }

/* puntuación: estrellas y barras se llenan */
.m .score .stars__fg { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s var(--ease) .3s; }
.m .score.in .stars__fg { clip-path: inset(0 calc(100% - var(--p, 100%)) 0 0); }

/* ── Escritorio ──────────────────────────────────── */
@media (min-width: 900px) {
  :root { --gutter: clamp(40px, 7vw, 120px); }
  body { font-size: 1.125rem; }
  .nav { padding-inline: 28px; gap: 28px; }
  .nav__links { justify-content: center; }
  .hero { padding-block: 64px 96px; }
  .hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; max-width: 1280px; margin-inline: auto; min-height: calc(100svh - 160px); }
  .emblem { grid-column: 2; grid-row: 1; width: 100%; }
  .hero__copy { grid-column: 1; grid-row: 1; margin: 0; }
  .headline { font-size: clamp(3.8rem, 6.4vw, 6.6rem); }
  .hero__flag { height: 96%; }
  .sec { padding-block: 104px; }
  .sec > * { max-width: 1280px; margin-inline: auto; }
  .sec--gold { --cut: 3vw; padding-block: calc(104px + var(--cut)); }
  .sec--manifest { padding-block: 120px 96px; }
  .sec--manifest > * { margin-inline: max(0px, calc((100% - 1280px) / 2)); }
  .manifest { max-width: 20ch; font-size: clamp(3.4rem, 6vw, 6.2rem); }
  .quick { grid-template-columns: repeat(4, auto); justify-content: start; }
  .sec__head h2 { font-size: clamp(4rem, 6.6vw, 6.4rem); }
  .apps { grid-template-columns: repeat(3, 1fr); }
  .app { min-height: 300px; padding: 30px; }
  .app__mark { --ms: 170px; margin-right: 0; }
  .app--uber { --ms: 190px; }
  .dishes { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shot { height: clamp(460px, 66svh, 620px); }
  .rail { margin-inline: 0; padding-inline: 0; }
  .rail__ctrl { justify-content: flex-start; gap: 16px; }
  .rail__hint { order: 3; }
  .resv { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 880px; padding: 32px; }
  .field--date { grid-column: auto; }
  .score { grid-template-columns: auto 1fr auto; align-items: center; gap: 56px; }
  .pills { flex-direction: column; flex-wrap: nowrap; }
  .quote { flex-basis: 360px; }
  .rate { max-width: 880px; margin-inline: auto; }
  .where { grid-template-columns: 1.4fr 1fr; align-items: stretch; }
  .map { aspect-ratio: auto; min-height: 420px; }
  .where__card { display: grid; align-content: space-between; }
}

/* ── Dos opciones: ver la carta / hacer el pedido ── */
.choices { display: grid; gap: 14px; }
.choice { position: relative; display: grid; align-items: center; gap: 16px; padding: 18px; border-radius: 22px; text-align: left; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.choice__main { display: grid; gap: 4px; justify-items: start; border: 0; background: none; padding: 0; text-align: left; color: inherit; }
.choice__title { font: 400 clamp(2rem, 9vw, 2.6rem)/1 var(--display); text-transform: uppercase; }
.choice__sub { color: var(--muted); font-size: .98rem; line-height: 1.35; max-width: 30ch; }
.choice__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 16px; border-radius: 999px; background: var(--gold); font: 700 .88rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.choice__go .i { transition: transform .25s var(--ease); }
.choice--look { grid-template-columns: auto 1fr; background: var(--card); border: 1.5px solid var(--line); box-shadow: 0 14px 34px rgba(70, 35, 0, .08); }
.choice__thumbs { display: flex; padding-left: 10px; }
.thumb { padding: 0; border: 0; background: var(--ink); border-radius: 10px; overflow: hidden; width: 66px; box-shadow: 0 8px 18px rgba(70, 35, 0, .3); cursor: zoom-in; transition: transform .3s var(--ease); }
.thumb img { width: 100%; height: auto; }
.thumb:nth-child(1) { rotate: -5deg; }
.thumb:nth-child(2) { rotate: 4deg; margin-left: -18px; margin-top: 8px; }
.choice--order { grid-template-columns: auto 1fr; width: 100%; border: 0; background: var(--gold); box-shadow: 0 14px 34px rgba(70, 35, 0, .18); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.choice--order .choice__sub { color: rgba(27, 16, 8, .78); }
.choice__go--dark { background: var(--ink); color: var(--gold); }
.choice__ico { width: 54px; height: 54px; padding: 15px; border-radius: 50%; background: var(--ink); color: var(--gold); box-sizing: content-box; }
.choice--order:active { transform: scale(.985); }
@media (hover: hover) {
  .choice--order:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(70, 35, 0, .26); }
  .choice--order:hover .choice__go .i, .choice__main:hover .choice__go .i { transform: translateX(4px); }
  .thumb:hover { transform: translateY(-4px) scale(1.04); }
}

/* ── Ventana de pedido (pantalla completa en móvil) ── */
.menu { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: var(--bg-2); color: var(--ink); overflow: hidden; }
.menu[open] { display: flex; flex-direction: column; }
.menu::backdrop { background: rgba(27, 16, 8, .55); }
.menu__head { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: max(14px, env(safe-area-inset-top)) var(--gutter) 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
.menu__head h2 { font: 400 clamp(1.9rem, 8vw, 2.5rem)/1 var(--display); text-transform: uppercase; }
.menu__head p { margin-top: 2px; color: var(--muted); font-size: .9rem; }
.menu__x { flex: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); font-size: 1.7rem; line-height: 1; }
.menu__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 var(--gutter) 132px; }
.menu .catnav { top: 0; background: rgba(245, 236, 214, .96); }
.menu .cat { scroll-margin-top: 76px; }
.cartbar--in { position: absolute; }
@media (min-width: 900px) {
  .choices { grid-template-columns: 1fr 1fr; max-width: 980px; }
  .choice { min-height: 200px; padding: 26px; }
  .thumb { width: 96px; }
  .menu { width: min(1000px, 94vw); height: min(90svh, 920px); margin: auto; border-radius: 26px; box-shadow: 0 30px 80px rgba(40, 20, 0, .45); }
  .menu__head { padding-inline: 32px; }
  .menu__body { padding-inline: 32px; }
  .menu .catnav { margin-inline: -32px; padding-inline: 32px; }
}

/* ── Pantalla de entrada: preview ofrecido por Nukleo ── */
.splash { display: none; position: fixed; inset: 0; z-index: 200; place-items: center; padding: 24px; text-align: center; background: #14140f; color: #faf9f6; transition: transform .9s cubic-bezier(.7, 0, .2, 1); }
html.splash-on { overflow: hidden; }
html.splash-on .splash { display: grid; }
.splash--out { display: grid; transform: translateY(-101%); }
.splash__in { display: grid; justify-items: center; gap: 12px; max-width: 440px; }
.splash__mark { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 18px 50px rgba(255, 75, 62, .18); }
.splash__brand { font: 600 1.5rem/1 "Instrument Sans", var(--sans); letter-spacing: -.01em; }
.splash__brand span { color: #ff4b3e; }
.splash__msg { margin-top: 20px; font: 500 clamp(1.55rem, 6.4vw, 2.1rem)/1.18 "Instrument Sans", var(--sans); letter-spacing: -.015em; text-wrap: balance; }
.splash__msg b { font-weight: 600; }
.splash__sub { font: 500 .78rem/1.5 "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .08em; text-transform: uppercase; color: rgba(250, 249, 246, .62); }
.splash__bar { width: min(240px, 62vw); height: 3px; margin-top: 24px; border-radius: 3px; background: rgba(250, 249, 246, .16); overflow: hidden; }
.splash__bar i { display: block; height: 100%; background: #ff4b3e; transform-origin: left; }
.m .splash__bar i { transform: scaleX(0); animation: splashLoad 1.9s cubic-bezier(.3, .6, .2, 1) .2s forwards; }
@keyframes splashLoad { to { transform: scaleX(1); } }
.m .splash__in > * { animation: rise .7s var(--ease) both; }
.m .splash__in > :nth-child(2) { animation-delay: .08s; }
.m .splash__in > :nth-child(3) { animation-delay: .18s; }
.m .splash__in > :nth-child(4) { animation-delay: .28s; }
.m .splash__in > :nth-child(5) { animation-delay: .38s; }
/* mientras se ve la pantalla de entrada, la web espera: sus animaciones arrancan al levantarse la cortina */
html.splash-on body > :not(.splash), html.splash-on body > :not(.splash) * { animation-play-state: paused !important; }

/* ── Modo suave: el sistema pide menos movimiento. La web sigue viva, pero sin parallax, giros ni desplazamientos grandes ── */
@keyframes fadeIn { from { opacity: 0; } }
.soft .rv { transform: none; }
.soft .apps .app:nth-child(odd), .soft .apps .app:nth-child(even) { transform: none; }
.soft .emblem img, .soft .hero .lede, .soft .hero .cta, .soft .hero__flag { animation-name: fadeIn; }
.soft .hero__flag .fold { animation: none; }
.soft .emblem, .soft .hero__copy, .soft .hero__flag { translate: none; scale: none; }
.soft .hero__copy { opacity: 1; }
.soft .app__mark { scale: 1; }
.soft .shot, .soft .quote { scale: none; rotate: none; }
.soft .rail.hint .shot:first-child { animation: none; }
.soft .ribbon.on .ribbon__track { animation-duration: 90s; }
.soft .strip.on .strip__track { animation-duration: 170s; }
.soft .splash { transition: opacity .7s ease; }
.soft .splash--out { transform: none; opacity: 0; pointer-events: none; }

/* ════════════ v5 (19-10-2026): menú del día, tiendita pedible, recibo, eventos, patrocinadores, horario ════════════ */
.ico--receipt { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 2h14v20l-2.33-1.5L14.33 22 12 20.5 9.67 22l-2.34-1.5L5 22V2zm3 5v2h8V7H8zm0 4v2h8v-2H8zm0 4v2h5v-2H8z'/%3E%3C/svg%3E"); }
.ico--down { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M11 3h2v10.17l3.59-3.58L18 11l-6 6-6-6 1.41-1.41L11 13.17V3zM5 19h14v2H5z'/%3E%3C/svg%3E"); }

/* Estado del horario («Abierto ahora · hasta las 16:00») */
.now, .hours__now { display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; padding: 9px 14px 9px 12px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); font: 700 .8rem/1.1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.now { margin-top: 16px; }
.now[hidden], .hours__now[hidden] { display: none; }
.now i, .hours__now i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #C4221A; box-shadow: 0 0 0 4px rgba(196, 34, 26, .16); }
.now.is-open i, .hours__now.is-open i { background: #1F9D55; box-shadow: 0 0 0 4px rgba(31, 157, 85, .2); }
.m:not(.soft) .now.is-open i, .m:not(.soft) .hours__now.is-open i { animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 85, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(31, 157, 85, 0); } }
.hours { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 18px; }
.menus > *, .where > *, .event > * { min-width: 0; }
.hours__list { border-top: 1px solid var(--line); }
.hours__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours__list span { color: var(--muted); }
.hours__list b { font-weight: 700; text-align: right; }
.hours__list .is-off b { color: var(--red); }
.resv__hours { grid-column: 1 / -1; font-size: .9rem; color: var(--muted); text-align: center; }

/* Menú del día */
.menus { display: grid; gap: 26px; }
.menus__hoy { position: relative; justify-self: center; width: min(100%, 400px); padding: 0; border: 0; border-radius: 22px; overflow: hidden; background: var(--ink); box-shadow: 0 22px 50px rgba(70, 35, 0, .24); cursor: zoom-in; rotate: -2deg; transition: rotate .45s var(--ease), transform .45s var(--ease); }
.menus__hoy img { width: 100%; height: auto; }
.menus__tag { position: absolute; left: 14px; top: 14px; padding: 8px 12px; border-radius: 999px; background: var(--gold); color: var(--ink); font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.menus__h { margin: 4px 0 12px; font: 400 clamp(1.8rem, 7vw, 2.4rem)/1 var(--display); text-transform: uppercase; }
.specials { display: grid; gap: 8px; margin-bottom: 24px; }
.specials li { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); }
.specials b { font: 700 1.1rem/1.2 var(--sans); }
.specials span { color: var(--muted); font-size: .92rem; }
.sides { display: flex; flex-wrap: wrap; gap: 8px; }
.sides li { padding: 9px 14px; border-radius: 999px; background: var(--gold); font: 600 .95rem/1 var(--sans); }
.hours--inline { margin-top: 24px; padding: 18px; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); }
.menus .cta { margin-top: 22px; }
#menus .railwrap { margin-top: 44px; }
@media (hover: hover) { .menus__hoy:hover { rotate: 0deg; transform: translateY(-4px); } }
@media (min-width: 900px) {
  .menus { grid-template-columns: minmax(0, 400px) 1fr; align-items: start; gap: 56px; max-width: 1100px; }
  .specials { grid-template-columns: 1fr 1fr; }
}

/* Tiendita: dos opciones como la carta (sobre amarillo, la de pedir va en oscuro) */
.choices--shop { margin-bottom: 36px; }
.sec--gold .choice--order { background: var(--ink); color: var(--paper); }
.sec--gold .choice--order .choice__sub { color: rgba(255, 243, 214, .78); }
.sec--gold .choice--order .choice__go--dark, .sec--gold .choice--order .choice__ico { background: var(--gold); color: var(--ink); }

/* Productos con foto en la ventana de pedido */
.dish--img { grid-template-columns: auto 1fr auto; padding-left: 10px; }
.dish__img { width: 76px; height: 76px; border-radius: 14px; object-fit: cover; background: var(--ink); }
.dish__price--ask { font: 700 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.line__price small { font: 600 .8rem/1 var(--sans); color: var(--muted); }

/* Hoja del pedido: tipo, horario y paso del recibo */
.sheet__in[hidden] { display: none; }
.sheet__kind { margin-top: -6px; font: 700 .76rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sheet__hours { padding: 10px 14px; border-radius: 14px; background: var(--paper); font-size: .92rem; }
.sheet__hours.is-closed { background: #FBE3DF; color: #8A1C14; }
.rcpt { min-height: 240px; max-height: 56svh; overflow-y: auto; padding: 10px; border-radius: 16px; background: var(--ink); }
.rcpt__img { display: block; width: 100%; height: auto; border-radius: 6px; }
.rcpt__img:not([src]) { display: none; }
.is-loading .rcpt { background: linear-gradient(90deg, #2a1b10, #3d2a17, #2a1b10) 0 0 / 200% 100%; animation: sk 1.1s linear infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.rcpt__more { display: flex; justify-content: space-between; gap: 12px; }
.sheet__rcpt .btn--ghost { background: var(--card); }

/* Barras flotantes de carta y tiendita: si hay dos, se apilan */
.cartbar--page { bottom: calc(max(14px, env(safe-area-inset-bottom)) + var(--stack, 0) * 78px); }

/* Eventos */
.event { display: grid; gap: 22px; margin-top: 52px; padding: 18px; border-radius: 26px; background: var(--ink); color: var(--paper); box-shadow: 0 24px 54px rgba(40, 20, 0, .28); }
.event__img { justify-self: center; width: min(100%, 340px); padding: 0; border: 0; background: none; border-radius: 16px; overflow: hidden; cursor: zoom-in; }
.event__img img { width: 100%; height: auto; }
.event .kicker { color: rgba(255, 243, 214, .7); }
.event__h { font: 400 clamp(2.4rem, 11vw, 3.6rem)/.95 var(--display); text-transform: uppercase; }
.event__h em { font: 400 1.05em/1 var(--script); text-transform: none; color: var(--gold); }
.event__list { display: grid; gap: 12px; margin: 20px 0 16px; }
.event__list li { display: grid; gap: 2px; padding-left: 16px; border-left: 3px solid var(--gold); }
.event__list b { font: 700 1.08rem/1.2 var(--sans); }
.event__list span { color: rgba(255, 243, 214, .75); font-size: .95rem; }
.event__claim { margin-bottom: 20px; font: 400 1.45rem/1.2 var(--script); color: var(--gold); }
@media (min-width: 900px) { .event { grid-template-columns: 300px 1fr; align-items: center; gap: 44px; max-width: 1000px; padding: 28px; } }

/* Patrocinadores oficiales */
.crests { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 980px; }
.crest { display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; }
.crest__ring { position: relative; display: block; width: 100%; max-width: 230px; aspect-ratio: 1; border-radius: 50%; background: var(--card); box-shadow: 0 16px 34px rgba(70, 35, 0, .16), inset 0 0 0 3px var(--gold); transition: transform .45s var(--ease); }
.crest__ring img { position: absolute; inset: 7%; width: 86%; height: 86%; max-width: none; border-radius: 50%; object-fit: cover; }
.crest__ring::after { content: "Oficial"; position: absolute; z-index: 1; left: 50%; bottom: -12px; translate: -50% 0; padding: 6px 11px; border-radius: 999px; background: var(--ink); color: var(--gold); font: 700 .62rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.crest__name { margin-top: 20px; font: 400 clamp(1rem, 4.6vw, 1.6rem)/1.05 var(--display); text-transform: uppercase; }
.crest__sport { color: var(--muted); font-size: .82rem; line-height: 1.25; }
.m .crests .crest { opacity: 0; transform: translateY(26px) scale(.92); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--k) * .12s); }
.m .crests.in .crest { opacity: 1; transform: none; }
@media (hover: hover) { .crest:hover .crest__ring { transform: translateY(-6px) rotate(-4deg); } }
@media (min-width: 900px) { .crests { gap: 40px; } .crest__ring::after { font-size: .72rem; } }

/* Tiendita: todos los carteles a la misma altura y separados por grupos (dulces, snacks, bebidas, la tienda) */
#tienda .shot--sq { height: clamp(360px, 56svh, 500px); width: auto; align-self: auto; }
#tienda .shot--sq img { height: 100%; width: auto; }
.rail__sep { flex: none; align-self: stretch; display: grid; place-items: center; width: 46px; border-radius: 14px; background: var(--ink); color: var(--gold);
  font: 400 1.25rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; writing-mode: vertical-rl; rotate: 180deg; scroll-snap-align: none; }

