/* =========================================================
   Choripan Parrilla Argentina - León
   Tokens derived from the logo: charcoal slate ink, bun orange,
   chorizo coral, Argentine celeste. White page, as requested.
   Shape rule: interactive controls are pills, surfaces are 22px,
   everything outlined with the logo's thick ink stroke.
   ========================================================= */

:root {
  --paper: #ffffff;
  --humo: #f3f5f7;          /* smoke grey surface */
  --ink: #232b35;           /* logo charcoal */
  --ink-soft: #4d5865;
  --ink-mute: #6b7581;
  --brasa: #d63e26;         /* accent: CTAs (AA with white) */
  --chorizo: #ee5a3c;       /* illustration coral */
  --pan: #f2a03d;           /* bun orange */
  --pan-light: #f8c06a;
  --celeste: #74acdf;
  --celeste-soft: #e6f0fa;
  --chimi: #4e7a2a;
  --ok: #2f7d4a;

  --stroke: 3px;
  --r-surface: 22px;
  --r-pill: 999px;
  --shadow: 0 1px 0 rgb(35 43 53 / .04), 0 18px 40px -18px rgb(35 43 53 / .22);
  --hard: 5px 5px 0 var(--ink);

  --f-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --f-body: "Bricolage Grotesque", system-ui, sans-serif;
  --f-hand: "Caveat Brush", "Comic Sans MS", cursive;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Print-grain texture echoing the distressed logo */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: .05;
  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 type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--celeste); outline-offset: 3px; border-radius: 8px; }

.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill);
}
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: .92;
  letter-spacing: -.005em;
  margin: 0 0 18px;
}
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 52ch; margin: 0 0 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 28px; height: 10px; border-radius: 3px;
  background: linear-gradient(var(--celeste) 0 33%, #fff 33% 66%, var(--celeste) 66%);
  box-shadow: inset 0 0 0 1px rgb(35 43 53 / .15);
}
.hand { font-family: var(--f-hand); color: var(--brasa); font-size: 1.5rem; line-height: 1.1; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--paper); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  border: var(--stroke) solid var(--ink);
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  box-shadow: 0 0 0 var(--ink);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s;
  will-change: transform;
}
.btn i { font-size: 1.15em; }
.btn:hover { box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.btn:active { box-shadow: 0 0 0 var(--ink); transform: translate(1px, 1px) scale(.98); }
.btn--brasa { --bg: var(--brasa); --fg: #fff; }
.btn--ghost:hover { --bg: var(--celeste-soft); }
.btn--sm { padding: 9px 18px; font-size: .95rem; }
.btn--lg { padding: 17px 28px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .86);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { border-color: rgb(35 43 53 / .08); box-shadow: 0 10px 30px -20px rgb(35 43 53 / .35); }
.nav__inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark {
  width: 46px; height: 40px;
  background: url("logo.png") no-repeat 50% 22% / 190% auto;
  transition: transform .5s var(--ease-spring);
}
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.08); }
.brand__name { font-family: var(--f-display); font-weight: 900; font-size: 1.75rem; text-transform: uppercase; letter-spacing: .01em; }
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  text-decoration: none; font-weight: 500; position: relative; padding: 6px 0;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px;
  background: var(--pan); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: var(--stroke) solid var(--ink); background: var(--paper); font-size: 1.3rem; }
.mobile-menu {
  display: grid; gap: 4px; padding: 8px 16px 20px;
  border-top: 1px solid rgb(35 43 53 / .08);
}

.mobile-menu .btn { margin-top: 8px; font-family: var(--f-body); font-size: 1rem; text-transform: none; }
.mobile-menu a:not(.btn) { padding: 14px 4px; font-family: var(--f-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; text-decoration: none; }
.mobile-menu[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(40px, 6vw, 80px); }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  min-height: calc(100dvh - var(--nav-h) - 120px);
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(3.4rem, 7.4vw, 6.6rem);
  line-height: .9;
  margin: 0 0 24px;
  letter-spacing: -.01em;
}
.crunch {
  font-style: normal;
  color: var(--brasa);
  display: inline-block;
  position: relative;
  isolation: isolate;
}
.crunch::after {  /* hand-drawn underline in bun orange */
  content: ""; position: absolute; left: -2%; right: -4%; bottom: -.02em; height: .14em;
  background: var(--pan); border-radius: 40% 60% 50% 50%; z-index: -1;
  transform: rotate(-1.5deg) scaleX(0); transform-origin: left;
  animation: underline .9s .9s var(--ease-out) forwards;
}
@keyframes underline { to { transform: rotate(-1.5deg) scaleX(1); } }
.crunch.is-crunching { animation: crunch .5s var(--ease-out); }
@keyframes crunch {
  0%,100% { transform: none; }
  20% { transform: translate(-2px, 1px) rotate(-2deg); }
  40% { transform: translate(2px, -1px) rotate(2deg); }
  60% { transform: translate(-1px, 0) rotate(-1deg); }
}
.hero__sub { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-soft); max-width: 40ch; margin: 0 0 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__visual { position: relative; aspect-ratio: 924 / 980; max-height: 74dvh; justify-self: center; width: 100%; max-width: 560px; }
.hero__visual::before { /* warm ember glow behind the logo */
  content: ""; position: absolute; inset: 14% 8% 30%;
  background: radial-gradient(closest-side, rgb(242 160 61 / .32), rgb(238 90 60 / .12) 55%, transparent);
  filter: blur(10px);
  animation: glow 3.2s ease-in-out infinite;
}
@keyframes glow { 50% { opacity: .65; transform: scale(1.06); } }
.hero__smoke { position: absolute; inset: -18% -10% 0; width: 120%; height: 118%; pointer-events: none; z-index: 2; }
.hero__logo {
  position: relative; z-index: 1; display: block; width: 100%; height: 100%;
  border: 0; background: none; padding: 0;
  transform-style: preserve-3d;
  transition: transform .6s var(--ease-out);
  animation: logoIn 1.1s .15s var(--ease-spring) backwards;
}
.hero__logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 26px 30px rgb(35 43 53 / .16)); }
.hero__logo:active img { transform: scale(.98); }
@keyframes logoIn { from { opacity: 0; transform: translateY(30px) scale(.9) rotate(-4deg); } }
.hero__hint {
  position: absolute; left: -6%; top: 52%; margin: 0; z-index: 3;
  display: flex; align-items: flex-end; gap: 2px;
  transform: rotate(-8deg);
  pointer-events: none;
  animation: fadeIn .6s 1.6s both;
}
.hero__hint svg { transform: rotate(-20deg) scaleY(-1); margin-bottom: -18px; }
@keyframes fadeIn { from { opacity: 0; } }

/* ---------- Flag band marquee ---------- */
.band {
  position: relative; overflow: hidden;
  background: var(--celeste);
  border-block: var(--stroke) solid var(--ink);
  transform: rotate(-1.4deg);
  margin-inline: -20px;
}
.band__track {
  display: flex; align-items: center; gap: 28px; width: max-content;
  padding: 16px 0;
  animation: marquee 38s linear infinite;
}
.band span {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--ink); white-space: nowrap;
}
.band i { color: #fff; font-size: 1.6rem; -webkit-text-stroke: 1.5px var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }
.band:hover .band__track { animation-play-state: paused; }

/* ---------- Carta / Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}
.tile {
  --tbg: var(--paper); --tfg: var(--ink);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 250px; padding: 26px;
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-surface);
  background: var(--tbg); color: var(--tfg);
}
.tile:hover, .tile:focus-within, .tile:focus-visible { translate: -3px -4px; rotate: -.4deg; box-shadow: 6px 8px 0 var(--ink); }
.tile h3 {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem); line-height: .95; margin: 0 0 10px;
}
.tile p { margin: 0 0 20px; max-width: 34ch; opacity: .9; }
.tile__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--f-display); font-weight: 800; font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.add {
  width: 52px; height: 52px; flex: none;
  border-radius: 50%; border: var(--stroke) solid var(--ink);
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center; font-size: 1.35rem;
  transition: transform .35s var(--ease-spring), background .2s, color .2s;
}
.add:hover { transform: rotate(90deg) scale(1.08); background: var(--ink); color: #fff; }
.add:active { transform: scale(.9); }
.add.is-added { background: var(--ok); color: #fff; transform: scale(1.1); }

.tile--hero { grid-row: span 2; --tbg: var(--humo); padding: 0; }
.tile__img {
  flex: 1; min-height: 300px;
  background:
    url("logo.png") no-repeat 50% 18% / 118% auto,
    radial-gradient(60% 55% at 50% 45%, rgb(242 160 61 / .35), transparent 70%);
  transition: transform .8s var(--ease-out);
}
.tile--hero:hover .tile__img { transform: scale(1.05) rotate(-1.5deg); }
.tile__body { padding: 0 28px 28px; display: flex; flex-direction: column; }
.tile--hero h3 { font-size: clamp(2.6rem, 4.2vw, 3.6rem); }
.tag {
  align-self: flex-start;
  font-family: var(--f-hand); font-size: 1.3rem; color: var(--brasa);
  transform: rotate(-3deg); margin-bottom: 6px;
}
.tile--pan { --tbg: var(--pan); }
.tile--celeste {
  --tbg: linear-gradient(var(--celeste) 0 26%, #fff 26% 74%, var(--celeste) 74%);
  background: var(--tbg);
  justify-content: center;
}
.tile--celeste::before { /* sol de mayo hint */
  content: ""; position: absolute; right: -30px; top: 50%; width: 120px; height: 120px; translate: 0 -50%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgb(242 160 61 / .45) 0 6deg, transparent 6deg 18deg);
  mask: radial-gradient(circle, transparent 22px, #000 23px);
  -webkit-mask: radial-gradient(circle, transparent 22px, #000 23px);
  animation: spin 30s linear infinite;
}
.tile--celeste > * { position: relative; }
@keyframes spin { to { rotate: 360deg; } }
.tile--ink { --tbg: var(--ink); --tfg: #fff; }
.tile--ink .add { border-color: #fff; }
.tile--ink:hover { box-shadow: 6px 8px 0 var(--pan); }
.tile--brasa {
  --tbg: var(--chorizo);
  background:
    repeating-linear-gradient(115deg, transparent 0 34px, rgb(35 43 53 / .09) 34px 42px),
    var(--chorizo);
}

/* ---------- Builder ---------- */
.arma { background: linear-gradient(var(--paper), var(--humo) 30%, var(--humo) 70%, var(--paper)); }
.arma__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.arma__note { margin: 0 0 18px; transform: rotate(-2deg); display: inline-block; }
.arma__stage { position: sticky; top: calc(var(--nav-h) + 20px); }

.stage {
  position: relative;
  height: clamp(380px, 42vw, 470px);
  display: grid; place-items: end center;
  padding-bottom: 30px;
}
.chori {
  --w: min(400px, 82vw);
  position: absolute; left: 50%; bottom: 92px;
  width: var(--w); height: calc(var(--w) * .66);
  translate: -50% 0;
  z-index: 2;
  animation: bob 3.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-5px); } }
.chori.is-pop { animation: pop .5s var(--ease-spring); }
@keyframes pop { 40% { transform: scale(1.05, .95); } }

.layer {
  position: absolute;
  transition: opacity .35s, transform .7s var(--ease-spring);
}
.layer.is-off { opacity: 0; transform: translateY(-140px) rotate(-6deg); pointer-events: none; }

/* bun bottom */
.bun-bottom {
  left: 3%; right: 3%; bottom: 0; height: 30%;
  background: linear-gradient(var(--pan-light), var(--pan) 45%, #e08b2a);
  border: 4px solid var(--ink);
  border-radius: 18px 18px 50% 50% / 18px 18px 70% 70%;
  z-index: 1;
}
/* provoleta */
.provo {
  left: 9%; right: 9%; bottom: 26%; height: 11%;
  background: #f6d46b;
  border: 3px solid var(--ink);
  border-radius: 10px;
  z-index: 2;
}
.provo::before, .provo::after {
  content: ""; position: absolute; top: 70%; width: 18px; height: 30px; background: #f6d46b;
  border: 3px solid var(--ink); border-top: 0; border-radius: 0 0 12px 12px;
}
.provo::before { left: 18%; }
.provo::after { right: 26%; height: 22px; }
/* chorizo */
.chorizo {
  left: -2%; right: -2%; bottom: 27%; height: 27%;
  border: 4px solid var(--ink);
  border-radius: 999px;
  background:
    repeating-linear-gradient(118deg, transparent 0 30px, rgb(35 43 53 / .55) 30px 36px, transparent 36px 44px),
    linear-gradient(#f47b5c, var(--chorizo) 45%, #c9432b);
  z-index: 3;
  transition: background .4s, opacity .35s, transform .7s var(--ease-spring);
}
.chorizo::after { /* highlight */
  content: ""; position: absolute; left: 8%; right: 30%; top: 14%; height: 18%;
  border-radius: 999px; background: rgb(255 255 255 / .32);
}
.chorizo[data-kind="picante"] {
  background:
    repeating-linear-gradient(118deg, transparent 0 30px, rgb(35 43 53 / .6) 30px 36px, transparent 36px 44px),
    radial-gradient(circle at 20% 60%, #f6d46b 0 2px, transparent 3px) 0 0 / 22px 18px,
    linear-gradient(#e0533a, #b8301f 50%, #8f2216);
}
.chorizo[data-kind="morcilla"] {
  background:
    repeating-linear-gradient(118deg, transparent 0 30px, rgb(0 0 0 / .45) 30px 36px, transparent 36px 44px),
    radial-gradient(circle at 30% 40%, rgb(255 255 255 / .22) 0 2px, transparent 3px) 0 0 / 16px 14px,
    linear-gradient(#6a3640, #4a2430 50%, #331820);
}
/* cebolla caramelizada */
.cebolla {
  left: 12%; right: 14%; bottom: 44%; height: 10%;
  z-index: 4;
}
.cebolla i {
  position: absolute; height: 7px; border-radius: 6px;
  background: #b9742a; border: 2px solid var(--ink);
}
/* chimichurri & criolla: JS fills with bits */
.chimi { left: 6%; right: 6%; bottom: 37%; height: 20%; z-index: 5; }
.criolla { left: 8%; right: 8%; bottom: 39%; height: 18%; z-index: 5; }
.bit { position: absolute; border: 2px solid var(--ink); }
.chimi .bit { border-radius: 50% 40% 55% 45%; background: var(--chimi); }
.chimi .bit:nth-child(3n) { background: #77a33a; }
.chimi .bit:nth-child(5n) { background: #c9432b; } /* ají flakes */
.criolla .bit { border-radius: 3px; }
/* bun top */
.bun-top {
  left: 0; right: 0; bottom: 50%; height: 50%;
  border: 4px solid var(--ink);
  border-radius: 50% 50% 16px 16px / 90% 90% 16px 16px;
  background:
    radial-gradient(60% 50% at 38% 28%, rgb(255 236 190 / .8), transparent 60%),
    linear-gradient(var(--pan-light), var(--pan) 55%, #e08b2a);
  z-index: 6;
  transform-origin: 50% 100%;
}
.bun-top span { /* score marks like the logo */
  position: absolute; top: 24%; width: 20%; height: 30%;
  border-top: 4px solid var(--ink); border-radius: 50%;
  transform: rotate(-24deg);
}
.bun-top span:nth-child(1) { left: 20%; }
.bun-top span:nth-child(2) { left: 42%; top: 16%; }
.bun-top span:nth-child(3) { left: 64%; top: 20%; }
.bun-top.is-campo, .bun-bottom.is-campo { filter: saturate(.75) brightness(.9) sepia(.25); }
.bun-top.is-campo { background:
    radial-gradient(circle, rgb(255 255 255 / .55) 0 1.5px, transparent 2px) 0 0 / 14px 12px,
    radial-gradient(60% 50% at 38% 28%, rgb(255 236 190 / .7), transparent 60%),
    linear-gradient(#e9b467, #d58a35 55%, #b96d22); }

.grill {
  position: absolute; left: 50%; bottom: 30px; translate: -50% 0;
  width: min(480px, 92vw); height: 110px;
  border: 5px solid var(--ink);
  border-radius: 50%;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 26px),
    radial-gradient(70% 90% at 50% 70%, #ffb35c, #f26b3a 40%, #7a2b1c 75%, var(--ink));
  z-index: 1;
}
.grill canvas { position: absolute; inset: 0; width: 100%; height: 100%; mix-blend-mode: screen; }
.grill::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--ink) 0 5px, transparent 5px 26px); }

.sizzle {
  position: absolute; right: 0; top: 6px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: var(--r-pill);
  border: 2px solid var(--ink); background: var(--paper); font-weight: 700; font-size: .9rem;
  transition: background .2s, color .2s;
}
.sizzle[aria-pressed="true"] { background: var(--ink); color: #fff; }
.sizzle[aria-pressed="true"] i { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.2); } }

.builder { display: grid; gap: 26px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.45rem; margin-bottom: 12px; padding: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: var(--r-pill);
  border: 2px solid var(--ink); background: var(--paper);
  font-weight: 500; transition: background .2s, color .2s, transform .3s var(--ease-spring);
  user-select: none;
}
.chip small { font-size: .78rem; opacity: .75; font-variant-numeric: tabular-nums; }
.chip--check i { display: none; }
.chip input:hover + span { transform: translateY(-2px); }
.chip input:checked + span { background: var(--ink); color: #fff; }
.chip input:checked + span i { display: inline; color: var(--pan); }
.chip input:focus-visible + span { outline: 3px solid var(--celeste); outline-offset: 3px; }
.chip input:active + span { transform: scale(.96); }

.ticket {
  position: relative;
  background: var(--paper);
  border: var(--stroke) solid var(--ink);
  border-radius: var(--r-surface) var(--r-surface) 0 0;
  padding: 22px 22px 30px;
  box-shadow: var(--shadow);
  mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 22px 100%;
}
.ticket__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.ticket__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.6rem; }
.qty { display: inline-flex; align-items: center; gap: 4px; border: 2px solid var(--ink); border-radius: var(--r-pill); padding: 3px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--humo); display: grid; place-items: center; transition: background .2s; }
.qty button:hover { background: var(--pan); }
.qty output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.ticket__lines, .ticket__extras { list-style: none; margin: 0; padding: 0; }
.ticket__lines li, .ticket__extras li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 0; font-variant-numeric: tabular-nums; color: var(--ink-soft);
  animation: lineIn .4s var(--ease-out);
}
.ticket__lines li:first-child { color: var(--ink); font-weight: 700; }
.ticket__extras:not(:empty) { margin-top: 8px; padding-top: 8px; border-top: 2px dashed rgb(35 43 53 / .2); }
.ticket__extras button { border: 0; background: none; padding: 0 0 0 8px; color: var(--ink-mute); }
.ticket__extras button:hover { color: var(--brasa); }
@keyframes lineIn { from { opacity: 0; transform: translateX(-8px); } }
.ticket__total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin: 14px 0 18px; padding-top: 14px; border-top: 2px dashed rgb(35 43 53 / .25);
}
.ticket__total span { font-weight: 700; }
.ticket__total strong { font-family: var(--f-display); font-weight: 900; font-size: 2.4rem; font-variant-numeric: tabular-nums; }
.ticket__total strong.is-bump { animation: bump .4s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.15); color: var(--brasa); } }

/* ---------- Dónde ---------- */
.switch {
  position: relative; display: inline-flex; padding: 5px; margin: 10px 0 34px;
  border: var(--stroke) solid var(--ink); border-radius: var(--r-pill); background: var(--paper);
}
.switch__btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border: 0; background: none; border-radius: var(--r-pill);
  font-weight: 700; font-size: 1.02rem; transition: color .3s;
}
.switch__btn[aria-selected="true"] { color: #fff; }
.switch__pill {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0;
  background: var(--ink); border-radius: var(--r-pill);
  transition: transform .5s var(--ease-spring), width .5s var(--ease-spring);
}
.donde__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.panel { animation: panelIn .5s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.panel__title { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 3rem); line-height: .95; margin: 14px 0 12px; }
.panel__addr { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; font-size: 1.12rem; margin: 0 0 10px; }
.panel__addr i { color: var(--brasa); margin-top: 4px; }
.panel__desc { color: var(--ink-soft); margin: 0 0 22px; max-width: 46ch; }
.panel__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-pill);
  background: var(--humo); font-weight: 700; font-size: .9rem;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-mute); }
.status.is-open { background: #e3f2e8; color: #1f5a33; }
.status.is-open .status__dot { background: var(--ok); box-shadow: 0 0 0 0 rgb(47 125 74 / .5); animation: live 1.8s infinite; }
.status.is-closed { background: #fbe9e5; color: #8a2a1a; }
.status.is-closed .status__dot { background: var(--brasa); }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgb(47 125 74 / 0); } 100% { box-shadow: 0 0 0 0 rgb(47 125 74 / 0); } }

.hours { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 22px; max-width: 460px; }
.hours li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 12px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.hours li span:last-child { color: var(--ink-soft); }
.hours li.is-today { background: var(--celeste-soft); font-weight: 700; }
.hours li.is-today span:last-child { color: var(--ink); }

.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; max-width: 480px; }
.day {
  position: relative; aspect-ratio: 1; min-height: 44px;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--paper);
  font-family: var(--f-display); font-weight: 900; font-size: 1.25rem;
  display: grid; place-items: center;
  transition: transform .3s var(--ease-spring), background .2s, color .2s;
}
.day:hover:not(:disabled) { transform: translateY(-3px); }
.day[aria-checked="true"] { background: var(--ink); color: #fff; }
.day:disabled { border-style: dashed; color: var(--ink-mute); cursor: not-allowed; opacity: .6; }
.day.is-today::after {
  content: "hoy"; position: absolute; bottom: -20px; left: 50%; translate: -50% 0;
  font-family: var(--f-hand); font-size: 1rem; color: var(--brasa); font-weight: 400;
}
.stop {
  margin-top: 34px; padding: 20px 22px;
  border: var(--stroke) solid var(--ink); border-radius: var(--r-surface);
  background:
    linear-gradient(90deg, var(--pan) 0 10px, transparent 10px),
    var(--paper);
}
.stop__place { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.8rem; line-height: 1; margin: 0 0 6px; padding-left: 6px; }
.stop__time { margin: 0; color: var(--ink-soft); padding-left: 6px; }
.stop.is-swap { animation: panelIn .45s var(--ease-out); }

.map {
  position: relative; min-height: 440px;
  border: var(--stroke) solid var(--ink); border-radius: var(--r-surface); overflow: hidden;
  background: var(--humo);
  box-shadow: 8px 8px 0 var(--celeste);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity .5s; filter: saturate(.85); }
.map.is-loaded iframe { opacity: 1; }
.map__skeleton {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, transparent 30%, rgb(255 255 255 / .7) 50%, transparent 70%) 0 0 / 220% 100%,
    repeating-linear-gradient(0deg, transparent 0 46px, rgb(35 43 53 / .05) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 46px, rgb(35 43 53 / .05) 46px 48px),
    var(--humo);
  animation: shimmer 1.4s linear infinite;
}
.map.is-loaded .map__skeleton { display: none; }
@keyframes shimmer { to { background-position: -220% 0, 0 0, 0 0, 0 0; } }

/* ---------- Eventos ---------- */
.eventos__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(28px, 5vw, 60px);
  border: var(--stroke) solid var(--ink); border-radius: calc(var(--r-surface) * 1.6);
  background:
    radial-gradient(80% 120% at 0% 100%, rgb(242 160 61 / .28), transparent 60%),
    radial-gradient(60% 80% at 100% 0%, rgb(116 172 223 / .25), transparent 60%),
    var(--paper);
}
.eventos__note { transform: rotate(-3deg); display: inline-block; margin: 0; }
.form { display: grid; gap: 18px; background: var(--paper); padding: 26px; border-radius: var(--r-surface); border: 2px solid var(--ink); }
.field { display: grid; gap: 6px; }
.field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input {
  font: inherit; color: var(--ink);
  padding: 13px 16px; border-radius: 14px;
  border: 2px solid var(--ink-mute); background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
  min-width: 0;
}
.field input:hover { border-color: var(--ink); }
.field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgb(116 172 223 / .45); }
.field.has-error input { border-color: var(--brasa); }
.field__help { margin: 0; font-size: .85rem; color: var(--ink-mute); }
.field__error { margin: 0; font-size: .88rem; font-weight: 700; color: #b32d18; min-height: 0; }
.field__error:empty { display: none; }
.form__ok { margin: 0; display: flex; gap: 8px; align-items: center; color: #1f5a33; font-weight: 700; }

/* ---------- Footer ---------- */
.footer { padding-top: clamp(60px, 8vw, 100px); }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 30px 60px; align-items: start; padding-bottom: 40px; }
.footer__logo { width: 170px; height: auto; transition: transform .6s var(--ease-spring); }
.footer__logo:hover { transform: rotate(-4deg) scale(1.04); }
.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 30px; justify-content: end; }
.footer h4 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.4rem; margin: 0 0 12px; }
.footer__cols a { display: flex; gap: 8px; align-items: center; padding: 6px 0; text-decoration: none; color: var(--ink-soft); }
.footer__cols a:hover { color: var(--brasa); }
.footer__legal { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid rgb(35 43 53 / .1); color: var(--ink-mute); font-size: .9rem; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer__legal p { margin: 0; }
.footer__legal a { color: var(--ink); font-weight: 700; text-decoration-color: var(--pan); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--brasa); }
.flagline { display: grid; grid-template-rows: repeat(3, 8px); }
.flagline span:nth-child(odd) { background: var(--celeste); }
.flagline span:nth-child(2) { background: #fff; }

/* ---------- Floating cart ---------- */
.cart {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px 12px 16px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 700;
  border: var(--stroke) solid var(--ink);
  box-shadow: 4px 4px 0 var(--pan);
  animation: cartIn .5s var(--ease-spring);
}
.cart[hidden] { display: none; }
.cart i { font-size: 1.3rem; }
#cartCount {
  min-width: 26px; height: 26px; padding: 0 6px; border-radius: 13px;
  background: var(--brasa); display: grid; place-items: center; font-size: .9rem;
}
.cart.is-bump { animation: bump .45s var(--ease-spring); }
@keyframes cartIn { from { transform: translateY(120%); } }

/* ---------- Spark particles (DOM) ---------- */
.spark {
  position: fixed; z-index: 80; pointer-events: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle, #fff3c4, var(--pan) 50%, var(--chorizo));
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out) calc(var(--d, 0) * 90ms), transform .8s var(--ease-out) calc(var(--d, 0) * 90ms), translate .45s var(--ease-out), rotate .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .nav__links { gap: 18px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile--hero { grid-row: auto; grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; }
  .tile--hero .tile__body { padding: 28px; justify-content: center; }
  .tile--brasa { grid-column: span 2; }
}
@media (max-width: 860px) {
  .nav__links, .nav .btn--sm { display: none; }
  .nav__burger { display: grid; place-items: center; }
  .hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .hero__visual { order: -1; max-width: 380px; max-height: none; }
  .hero__hint { left: auto; right: -2%; top: auto; bottom: 8%; font-size: 1.2rem; }
  .hero__hint svg { display: none; }
  .arma__grid, .donde__grid, .eventos__inner { grid-template-columns: 1fr; }
  .arma__stage { position: relative; top: 0; }
  .map { min-height: 340px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile--hero, .tile--brasa { grid-column: auto; }
  .tile--hero { display: flex; }
  .tile__img { min-height: 240px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .switch { display: flex; }
  .switch__btn { flex: 1; justify-content: center; padding: 12px 10px; font-size: .95rem; }
  .field__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { justify-content: start; grid-template-columns: 1fr 1fr; }
  .sizzle span { display: none; }
  .sizzle { padding: 10px; }
  .days { gap: 5px; }
  .day { font-size: 1.05rem; }
  .hours { grid-template-columns: 1fr; }
  .cart .cart__label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .band__track { animation: none; }
}
