/* ============ Fuentes (alojadas en la propia web, sin Google Fonts) ============ */
@font-face { font-family: "Tanker"; src: url("fonts/tanker-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ============ Tokens de diseño ============ */
:root {
  --paper: oklch(96.4% 0.036 101);     /* papel de la carta, amarillo limón muy suave */
  --paper-2: oklch(92.4% 0.058 103);
  --paper-3: oklch(88% 0.07 104);
  --ink: oklch(23% 0.035 155);         /* tinta verde casi negra */
  --ink-2: oklch(40% 0.04 150);        /* texto secundario sobre papel */
  --line: oklch(84% 0.05 110);
  --green: oklch(44% 0.115 152);       /* verde halal: color de marca */
  --green-d: oklch(33% 0.085 155);
  --on-green: oklch(97% 0.03 110);
  --on-green-2: oklch(87% 0.06 135);
  --chili: oklch(52% 0.185 33);        /* salsa roja: solo acciones de pedido */
  --chili-d: oklch(46% 0.17 32);
  --star: oklch(74% 0.16 75);

  --font-d: "Tanker", "Arial Narrow", sans-serif;
  --font-b: "Satoshi", ui-sans-serif, system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --r-s: 10px; --r-m: 18px; --r-l: 28px;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --shadow: 0 1px 2px oklch(23% 0.035 155 / .06), 0 12px 32px -12px oklch(23% 0.035 155 / .22);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 500 1.0625rem/1.6 var(--font-b);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--on-green); }
html { scrollbar-color: var(--green) var(--paper-2); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper-2); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 99px; border: 3px solid var(--paper-2); }
:focus-visible { outline: 3px solid var(--chili); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.display { font-family: var(--font-d); font-weight: 400; text-transform: uppercase; letter-spacing: .005em; line-height: .92; margin: 0; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 99px; text-decoration: none; font-weight: 700; transition: transform 200ms var(--ease-out); }
.skip:focus { transform: translateY(72px); }

/* ============ Botones ============ */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.5em; border-radius: 999px; border: 0;
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 1rem; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease, opacity 200ms ease;
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }
.btn--action { --bg: var(--chili); --fg: #fff; box-shadow: 0 10px 24px -12px oklch(52% 0.185 33 / .7); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--paper { --bg: var(--paper); --fg: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 1.1em; font-size: .9375rem; }
.btn--grow { flex: 1; }
@media (hover: hover) and (pointer: fine) {
  .btn--action:hover { --bg: var(--chili-d); }
  .btn--ghost:hover { --bg: var(--ink); --fg: var(--paper); }
  .btn--paper:hover { --bg: var(--paper-2); }
}
.btn.is-loading { pointer-events: none; opacity: .8; }

/* ============ Cabecera ============ */
.top { position: sticky; top: 0; z-index: 40; background: oklch(96.4% 0.036 101 / .9); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 200ms ease; }
.top.is-stuck { border-bottom-color: var(--line); }
.top__in { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--green); }
.logo__txt { font-family: var(--font-d); font-size: 1.45rem; text-transform: uppercase; color: var(--ink); line-height: 1; letter-spacing: .01em; }
.logo__txt b { font-weight: 400; color: var(--green); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 10px 12px; text-decoration: none; font-weight: 700; font-size: .9375rem; border-radius: 99px; color: var(--ink-2); transition: color 200ms ease, background-color 200ms ease; }
.nav a[aria-current="true"] { color: var(--ink); background: var(--paper-2); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--ink); } }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink-2); box-shadow: 0 0 0 4px oklch(40% 0.04 150 / .14); }
.status.is-open i { background: oklch(60% 0.16 150); box-shadow: 0 0 0 4px oklch(60% 0.16 150 / .2); }
.status.is-closed i { background: var(--chili); box-shadow: 0 0 0 4px oklch(52% 0.185 33 / .16); }
.top__cart { position: relative; }
.count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 99px; background: #fff; color: var(--chili); font-size: .8125rem; display: inline-grid; place-items: center; font-variant-numeric: tabular-nums; }
.count[hidden], .mbar__total[hidden] { display: none; }
.count.bump { animation: bump 320ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.25); } }

/* ============ Portada ============ */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero__t { font-size: clamp(2.9rem, 5.9vw, 5.8rem); }
.hero__t .ln { display: block; white-space: nowrap; }
.hero__t .ln--green { color: var(--green); }
.hero__sub { max-width: 46ch; margin: 26px 0 0; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__proof { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: .9375rem; color: var(--ink-2); }
.hero__proof a { text-decoration: none; }
.hero__proof b { color: var(--ink); }
.stars { color: var(--star); letter-spacing: 2px; font-size: 1.05rem; margin: 0; }
.stars__half { background: linear-gradient(90deg, var(--star) 30%, var(--paper-3) 30%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__media { position: relative; margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--r-l) var(--r-l) 160px var(--r-l); box-shadow: var(--shadow); }
.stamp { position: absolute; left: -38px; bottom: 34px; width: 150px; aspect-ratio: 1; display: grid; place-items: center; }
.stamp svg { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.stamp__ring { fill: var(--on-green); font: 700 15.5px var(--font-b); letter-spacing: 2.6px; text-transform: uppercase; }
.stamp__c { position: relative; font: 700 2rem/1 "Segoe UI", "Geeza Pro", "Noto Naskh Arabic", sans-serif; color: var(--on-green); }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__copy > * { animation: rise 700ms var(--ease-out) both; }
.hero__t .ln { animation: rise 700ms var(--ease-out) both; }
.hero__t .ln:nth-child(2) { animation-delay: 60ms; }
.hero__t .ln:nth-child(3) { animation-delay: 120ms; }
.hero__sub { animation-delay: 200ms !important; }
.hero__cta { animation-delay: 260ms !important; }
.hero__proof { animation-delay: 320ms !important; }
.hero__media img { animation: unveil 1000ms var(--ease-io) both 100ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0 round var(--r-l)); } to { clip-path: inset(0 0 0 0 round 0); } }

/* ============ Cinta de precios ============ */
.ticker { background: var(--green); color: var(--on-green); overflow: hidden; border-block: 1px solid var(--green-d); }
.ticker__track { display: flex; width: max-content; animation: slide 46s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 14px; padding: 16px 0 16px 28px; font: 400 1.5rem/1 var(--font-d); text-transform: uppercase; white-space: nowrap; }
.ticker__track em { font-style: normal; color: var(--paper-3); }
.ticker__track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--on-green-2); margin-left: 14px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============ Encabezados de sección ============ */
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 12px 48px; align-items: end; margin-bottom: 32px; }
.sec-t { font-size: clamp(2.8rem, 6.4vw, 5.2rem); }
.sec-lead { margin: 0; max-width: 52ch; color: var(--ink-2); justify-self: end; }

/* ============ Carta ============ */
.carta { padding: clamp(56px, 8vw, 112px) 0; }
.tabs-wrap { position: sticky; top: 72px; z-index: 20; padding: 10px 0; margin: 0 calc(-1 * var(--gut)); padding-inline: var(--gut); background: linear-gradient(var(--paper) 78%, transparent); }
.tabs { position: relative; display: flex; gap: 4px; padding: 5px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--paper-2); border-radius: 999px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 0 20px; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: .9375rem; color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color 200ms ease; }
.tabs button[aria-selected="true"] { color: var(--paper); }
.tabs__pill { position: absolute; z-index: 0; top: 5px; left: 0; height: calc(100% - 10px); border-radius: 999px; background: var(--ink); transition: transform 320ms var(--ease-out), width 320ms var(--ease-out); }
.cat-note { margin: 14px 0 8px; color: var(--ink-2); font-size: .9375rem; }

.menu-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.dish { display: grid; grid-template-columns: 92px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); animation: rise 380ms var(--ease-out) both; }
.dish:nth-child(2) { animation-delay: 40ms; } .dish:nth-child(3) { animation-delay: 80ms; } .dish:nth-child(4) { animation-delay: 120ms; }
.dish:nth-child(5) { animation-delay: 160ms; } .dish:nth-child(6) { animation-delay: 200ms; } .dish:nth-child(n+7) { animation-delay: 240ms; }
.dish__img { width: 92px; height: 92px; border-radius: 16px; object-fit: cover; background: var(--paper-2); }
.dish__n { font: 400 1rem/1 var(--font-d); color: var(--green); }
.dish__name { margin: 2px 0 2px; font-size: 1.125rem; font-weight: 700; line-height: 1.25; }
.dish__desc { margin: 0; font-size: .9375rem; color: var(--ink-2); line-height: 1.45; }
.dish__price { margin: 6px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.dish__price small { font-weight: 500; color: var(--ink-2); font-size: .8125rem; margin-right: 3px; }
.dish__price .sep { color: var(--line); margin: 0 6px; }
.add { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.add svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; fill: none; }
.add:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .add:hover { background: var(--chili); } }

.allergy { margin: 24px 0 0; padding: 14px 18px; border-radius: 14px; background: var(--paper-2); color: var(--ink-2); font-size: .9375rem; max-width: 80ch; }
.allergy a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

/* ============ Menús ============ */
.menus { background: var(--green); color: var(--on-green); padding: clamp(56px, 8vw, 112px) 0; overflow: hidden; }
.menus__in { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.menus__media img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: 160px var(--r-l) var(--r-l) var(--r-l); }
.menus__t { font-size: clamp(2.8rem, 6vw, 5rem); }
.price-xl { display: inline-block; color: var(--paper-3); }
.menus__lead { color: var(--on-green-2); max-width: 48ch; margin: 22px 0 28px; }
.menus__list { list-style: none; padding: 0; margin: 0; border-top: 1px solid oklch(97% 0.03 110 / .2); }
.menus__list li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid oklch(97% 0.03 110 / .2); }
.menus__list h3 { margin: 0; font-size: 1.125rem; }
.menus__list p { margin: 2px 0 0; color: var(--on-green-2); font-size: .9375rem; }
.menus__list .pr { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.menus__list .pr small { display: block; font-weight: 500; color: var(--on-green-2); font-size: .8125rem; }
.menus .add { background: var(--paper); color: var(--ink); }

/* ============ Bento ============ */
.why { padding: clamp(56px, 8vw, 112px) 0; }
.why .sec-t { margin-bottom: 32px; }
.bento { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.bento__photo { grid-row: span 2; margin: 0; border-radius: var(--r-l); overflow: hidden; min-height: 420px; }
.bento__photo img { width: 100%; height: 100%; object-fit: cover; }
.bento__card { border-radius: var(--r-l); padding: clamp(22px, 2.6vw, 34px); background: var(--paper-2); display: flex; flex-direction: column; justify-content: flex-end; min-height: 240px; }
.bento__card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.bento__card p { margin: 0; color: var(--ink-2); }
.bento__card--green { background: var(--green); color: var(--on-green); }
.bento__card--green p { color: var(--on-green-2); }
.bento__card--ink { background: var(--ink); color: var(--paper); }
.bento__card--ink p { color: oklch(84% 0.04 120); }
.bento__card--ink .big-num { color: var(--paper-3); }
.bento__card--paper2 { background: var(--paper-3); }
.big-num { font: 400 clamp(3.4rem, 6vw, 5rem)/.9 var(--font-d) !important; color: var(--green) !important; margin: 0 0 auto !important; padding-bottom: 18px; }
.halal { font: 700 3rem/1 "Segoe UI", "Geeza Pro", "Noto Naskh Arabic", sans-serif; margin-bottom: auto; padding-bottom: 18px; color: var(--paper-3); }
.reveal { clip-path: inset(0 0 100% 0 round var(--r-l)); transition: clip-path 1000ms var(--ease-io); }
.reveal.is-in { clip-path: inset(0 0 0 0 round var(--r-l)); }

/* ============ Opiniones ============ */
.reviews { padding: clamp(56px, 8vw, 112px) 0; background: var(--paper-2); }
.reviews__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.rating { display: flex; align-items: center; gap: 14px; }
.rating__n { font: 400 4.2rem/.9 var(--font-d); margin: 0; }
.rating .stars__half { background: linear-gradient(90deg, var(--star) 30%, var(--line) 30%); -webkit-background-clip: text; background-clip: text; }
.rating__src { margin: 2px 0 0; color: var(--ink-2); font-size: .9375rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; list-style: none; margin: 0; padding: 4px 0; animation: slide 60s linear infinite; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.rv { width: min(380px, 78vw); padding: 26px; border-radius: var(--r-m); background: var(--paper); display: flex; flex-direction: column; gap: 16px; }
.rv blockquote { margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.rv footer { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .9375rem; }
.rv .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: var(--on-green); font-weight: 700; font-size: .875rem; }
.rv .who b { display: block; }
.rv .who span { color: var(--ink-2); font-size: .8125rem; }
.rv .stars { font-size: .95rem; }
.rv .stars .off { color: var(--line); }
.reviews__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.link-arrow { font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.link-arrow span { display: inline-block; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .link-arrow:hover span { transform: translateX(4px); } }

/* ============ Dónde ============ */
.where { padding: clamp(56px, 8vw, 112px) 0; }
.where__in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.where__status { margin: 18px 0 0; font-weight: 700; font-size: 1.125rem; display: flex; align-items: center; gap: 10px; }
.where__status i { width: 11px; height: 11px; border-radius: 50%; background: var(--ink-2); }
.where__status.is-open i { background: oklch(60% 0.16 150); box-shadow: 0 0 0 5px oklch(60% 0.16 150 / .2); }
.where__status.is-closed i { background: var(--chili); box-shadow: 0 0 0 5px oklch(52% 0.185 33 / .16); }
.where__addr { font-style: normal; margin: 14px 0 22px; font-size: 1.125rem; }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-weight: 700; }
.hours tr.is-today td { color: var(--green); font-weight: 700; }
.hours tr.is-today td:first-child::after { content: " · hoy"; font-weight: 500; color: var(--ink-2); }
.where__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.map { position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 420px; background: var(--ink); }
.map { background:
  linear-gradient(115deg, transparent 46%, oklch(97% 0.03 110 / .16) 46.4%, oklch(97% 0.03 110 / .16) 48.6%, transparent 49%),
  linear-gradient(18deg, transparent 60%, oklch(97% 0.03 110 / .12) 60.3%, oklch(97% 0.03 110 / .12) 61.8%, transparent 62.1%),
  repeating-linear-gradient(0deg, transparent 0 46px, oklch(97% 0.03 110 / .06) 46px 47px),
  repeating-linear-gradient(90deg, transparent 0 46px, oklch(97% 0.03 110 / .06) 46px 47px),
  var(--green-d); }
.map__veil { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; color: var(--on-green); }
.map__veil p { margin: 0; max-width: 32ch; font-weight: 500; color: var(--on-green-2); }
.map__veil p b { color: var(--on-green); font-size: 1.125rem; }
.map__pin { width: 56px; height: 56px; fill: var(--chili); stroke: var(--on-green); stroke-width: 2; }
.map__pin circle { fill: var(--on-green); stroke: none; }
.tags { list-style: none; margin: 0 0 auto; padding: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 6px 12px; border-radius: 99px; background: var(--paper); font-weight: 700; font-size: .8125rem; }
.tags li:nth-child(2n) { background: var(--ink); color: var(--paper); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ============ Cierre ============ */
.final { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 128px) 0; }
.final__in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.final__media { margin: 0; border-radius: var(--r-l) 160px var(--r-l) var(--r-l); overflow: hidden; }
.final__media.reveal { clip-path: inset(0 0 100% 0); }
.final__media.reveal.is-in { clip-path: inset(0 0 0 0); }
.final__media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.final__t { font-size: clamp(3rem, 6.4vw, 5.8rem); max-width: 14ch; }
.final p { color: oklch(84% 0.04 120); max-width: 44ch; margin: 22px 0 30px; font-size: 1.125rem; }
.final__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ Pie ============ */
.foot { background: var(--ink); color: oklch(84% 0.04 120); padding: 0 0 40px; font-size: .9375rem; }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; padding-top: 44px; border-top: 1px solid oklch(97% 0.03 110 / .14); }
.foot p { margin: 0 0 6px; }
.foot a { text-underline-offset: 3px; }
.foot__brand { font: 400 1.6rem/1 var(--font-d); text-transform: uppercase; color: var(--paper); margin-bottom: 12px !important; }
.foot__h { color: var(--paper); font-weight: 700; }
.foot__legal { margin-top: 36px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .8125rem; color: oklch(72% 0.04 125); }

/* ============ Barra móvil ============ */
.mbar { display: none; }

/* ============ Hoja de personalizar ============ */
.sheet, .drawer { position: fixed; inset: 0; z-index: 80; }
.sheet[hidden], .drawer[hidden] { display: none; }
.sheet__scrim, .drawer__scrim { position: absolute; inset: 0; background: oklch(23% 0.035 155 / .5); opacity: 0; transition: opacity 260ms ease; }
.is-open > .sheet__scrim, .is-open > .drawer__scrim { opacity: 1; }
.sheet__panel {
  position: absolute; left: 50%; top: 50%; width: min(560px, calc(100% - 32px)); max-height: min(88dvh, 820px);
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-l); box-shadow: var(--shadow);
  transform: translate(-50%, -48%) scale(.97); opacity: 0; transition: transform 260ms var(--ease-out), opacity 200ms ease;
}
.sheet.is-open .sheet__panel { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.sheet__grab { display: none; }
.sheet__head { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.sheet__head img { width: 76px; height: 76px; border-radius: 16px; object-fit: cover; }
.sheet__head h3 { margin: 0; font-size: 1.25rem; line-height: 1.2; }
.sheet__n { margin: 0; font: 400 .95rem/1 var(--font-d); color: var(--green); }
.sheet__d { margin: 2px 0 0; color: var(--ink-2); font-size: .9375rem; }
.x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper-2); display: grid; place-items: center; cursor: pointer; align-self: start; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.x svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; }
.x:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .x:hover { background: var(--paper-3); } }
.sheet__body { overflow-y: auto; padding: 8px 22px 12px; overscroll-behavior: contain; }
.opt-g { border: 0; margin: 0; padding: 14px 0 10px; }
.opt-g legend { padding: 0; font-weight: 700; margin-bottom: 10px; display: flex; gap: 8px; align-items: baseline; }
.opt-g legend small { font-weight: 500; color: var(--ink-2); font-size: .8125rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--paper-2); font-weight: 700; font-size: .9375rem; cursor: pointer; transition: background-color 180ms ease, color 180ms ease, transform 160ms var(--ease-out); }
.chips span small { font-weight: 500; opacity: .8; }
.chips input:checked + span { background: var(--ink); color: var(--paper); }
.chips input:focus-visible + span { outline: 3px solid var(--chili); outline-offset: 2px; }
.chips label:active span { transform: scale(.97); }
.extra-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.extra-row p { margin: 0; color: var(--ink-2); font-size: .9375rem; }
.sheet__foot { display: flex; gap: 12px; align-items: center; padding: 14px 22px 22px; border-top: 1px solid var(--line); }
.qty { display: inline-flex; align-items: center; background: var(--paper-2); border-radius: 999px; padding: 4px; }
.qty button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; font-size: 1.35rem; font-weight: 700; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 180ms ease; }
.qty button:active { transform: scale(.92); }
.qty button:disabled { opacity: .35; cursor: not-allowed; }
@media (hover: hover) and (pointer: fine) { .qty button:not(:disabled):hover { background: var(--paper-3); } }
.qty output { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty--sm button { width: 36px; height: 36px; font-size: 1.1rem; }

/* ============ Cajón del pedido ============ */
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%);
  display: flex; flex-direction: column; background: var(--paper);
  transform: translateX(100%); transition: transform 380ms var(--ease-drawer);
  box-shadow: -20px 0 60px -30px oklch(23% 0.035 155 / .5);
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 8px; }
.drawer__head h2 { margin: 0; font: 400 2.2rem/1 var(--font-d); text-transform: uppercase; }
.steps { list-style: none; margin: 4px 22px 8px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
.steps li { padding-top: 10px; border-top: 3px solid var(--paper-3); transition: border-color 260ms ease, color 260ms ease; }
.steps li.is-on { border-color: var(--green); color: var(--ink); }
.drawer__step { flex: 1; overflow-y: auto; padding: 8px 22px 16px; overscroll-behavior: contain; animation: stepIn 260ms var(--ease-out); }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.line h3 { margin: 0; font-size: 1rem; line-height: 1.3; }
.line p { margin: 2px 0 0; font-size: .875rem; color: var(--ink-2); line-height: 1.4; }
.line__r { display: grid; justify-items: end; gap: 8px; }
.line__p { font-weight: 700; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 40px 10px; display: grid; justify-items: center; gap: 4px; }
.empty svg { width: 64px; height: 64px; fill: none; stroke: var(--green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.empty p { margin: 0; color: var(--ink-2); }
.empty p b { color: var(--ink); }
.empty .btn { margin-top: 18px; }
.field { border: 0; margin: 0 0 18px; padding: 0; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; }
.opt { font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fffef6; transition: border-color 180ms ease, box-shadow 180ms ease; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px oklch(44% 0.115 152 / .18); }
.field input[aria-invalid="true"] { border-color: var(--chili); }
.field__err { color: var(--chili-d); font-size: .875rem; margin: 6px 0 0; font-weight: 700; }
.field__hint { color: var(--ink-2); font-size: .875rem; margin: 6px 0 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 999px; background: var(--paper-2); }
.seg label { position: relative; margin: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 44px; border-radius: 999px; font-weight: 700; font-size: .9375rem; color: var(--ink-2); cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.seg input:focus-visible + span { outline: 3px solid var(--chili); outline-offset: 2px; }
.pays { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pays label { position: relative; margin: 0; font-weight: 700; }
.pays input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pays span { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fffef6; font-size: .9375rem; cursor: pointer; transition: border-color 180ms ease, background-color 180ms ease, transform 160ms var(--ease-out); }
.pays span::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--line); transition: border-color 180ms ease, box-shadow 180ms ease; }
.pays input:checked + span { border-color: var(--green); background: oklch(44% 0.115 152 / .08); }
.pays input:checked + span::before { border-color: var(--green); box-shadow: inset 0 0 0 4px #fffef6, inset 0 0 0 9px var(--green); }
.pays input:focus-visible + span { outline: 3px solid var(--chili); outline-offset: 2px; }
.pays label:active span { transform: scale(.98); }
.pay-note { margin: 10px 0 0; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); font-size: .9375rem; color: var(--ink-2); }
.done { text-align: center; padding: 30px 6px; display: grid; justify-items: center; gap: 6px; }
.done svg { width: 64px; height: 64px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 8px; }
.done svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 500ms var(--ease-out) 150ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h3 { margin: 0; font-size: 1.375rem; }
.done p { margin: 0; color: var(--ink-2); max-width: 34ch; }
.done .btn { margin-top: 18px; }
.done__small { font-size: .875rem; margin-top: 10px !important; }
.drawer__foot { padding: 14px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-weight: 700; }
.total output { font: 400 2rem/1 var(--font-d); font-variant-numeric: tabular-nums; }
.drawer__btns { display: flex; gap: 10px; }
.trust { margin: 10px 0 0; text-align: center; font-size: .8125rem; color: var(--ink-2); }

/* ============ Aviso ============ */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 16px); opacity: 0; visibility: hidden; padding: 14px 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 700; font-size: .9375rem; box-shadow: var(--shadow); transition: transform 300ms var(--ease-out), opacity 200ms ease, visibility 0s linear 300ms; pointer-events: none; max-width: calc(100% - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform 300ms var(--ease-out), opacity 200ms ease, visibility 0s; }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .nav { display: none; }
  .status { margin-left: auto; }
}
@media (max-width: 900px) {
  .hero__in, .menus__in, .where__in, .final__in { grid-template-columns: 1fr; }
  .final__media img { aspect-ratio: 16 / 10; }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 4 / 3.3; border-radius: var(--r-l) var(--r-l) 120px var(--r-l); }
  .stamp { left: auto; right: 14px; bottom: -40px; width: 120px; }
  .stamp__c { font-size: 1.6rem; }
  .menu-list { grid-template-columns: 1fr; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-lead { justify-self: start; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__photo { grid-column: span 2; grid-row: auto; min-height: 0; aspect-ratio: 16/10; }
  .menus__media img { aspect-ratio: 16 / 10; border-radius: 100px var(--r-l) var(--r-l) var(--r-l); }
  .map { min-height: 340px; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__in > :first-child { grid-column: span 2; }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .top__in { min-height: 64px; gap: 12px; }
  html { scroll-padding-top: 76px; }
  .tabs-wrap { top: 64px; }
  .logo__txt { font-size: 1.2rem; }
  .logo__mark svg { width: 30px; height: 30px; }
  .top__cart { display: none; }
  .status span { font-size: .8125rem; }
  .hero { padding-top: 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; }
  .bento__photo { grid-column: auto; }
  .bento__card { min-height: 0; }
  .dish { grid-template-columns: 76px 1fr auto; gap: 14px; }
  .dish__img { width: 76px; height: 76px; }
  .menus__list li { grid-template-columns: 1fr auto; }
  .menus__list .pr { grid-column: 1; grid-row: 2; text-align: left; }
  .menus__list .pr small { display: inline; margin-left: 6px; }
  .menus__list .add { grid-column: 2; grid-row: 1 / span 2; }
  .foot { padding-bottom: 100px; }
  .foot__in { grid-template-columns: 1fr; }
  .foot__in > :first-child { grid-column: auto; }

  .mbar {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px; position: fixed; z-index: 60; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 999px; background: var(--ink); box-shadow: var(--shadow);
    transform: translateY(160%); transition: transform 320ms var(--ease-out);
  }
  .mbar.is-on { transform: translateY(0); }
  .mbar__call { display: inline-flex; align-items: center; gap: 8px; min-height: 50px; padding: 0 14px; border-radius: 999px; color: var(--paper); text-decoration: none; font-weight: 700; }
  .mbar__order { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 50px; padding: 0 8px 0 18px; border: 0; border-radius: 999px; background: var(--chili); color: #fff; font-weight: 700; cursor: pointer; white-space: nowrap; transition: transform 160ms var(--ease-out); }
  .mbar__order:active { transform: scale(.97); }
  .mbar__total { font-variant-numeric: tabular-nums; background: oklch(100% 0 0 / .18); padding: 4px 10px; border-radius: 99px; font-size: .9375rem; }
  .toast { bottom: calc(86px + env(safe-area-inset-bottom)); }

  .sheet__panel { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 92dvh; border-radius: var(--r-l) var(--r-l) 0 0; transform: translateY(100%); opacity: 1; transition: transform 380ms var(--ease-drawer); }
  .sheet.is-open .sheet__panel { transform: translateY(0); }
  .sheet__grab { display: block; width: 44px; height: 5px; border-radius: 99px; background: var(--line); margin: 10px auto 0; }
  .sheet__head { padding-top: 10px; grid-template-columns: 64px 1fr auto; }
  .sheet__head img { width: 64px; height: 64px; }
  .sheet__foot { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .drawer__panel { top: auto; height: 94dvh; width: 100%; border-radius: var(--r-l) var(--r-l) 0 0; transform: translateY(100%); }
  .drawer.is-open .drawer__panel { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
  .reveal { clip-path: none; }
  .ticker__track, .marquee__track, .stamp svg { animation: none !important; }
  .marquee { overflow-x: auto; }
  .ticker__track { flex-wrap: wrap; width: auto; }
}
