:root {
  --coal: #15110e;
  --ash: #241c17;
  --ash-2: #33281f;
  --ember: #ff6b1a;
  --fire: #ffb22e;
  --paper: #fffdf6;
  --ink: #1b1511;
  --smoke: #c9bcb0;
  --slab: "Alfa Slab One", Rockwell, serif;
  --mono-f: "Courier Prime", ui-monospace, monospace;
  --pad: clamp(18px, 4vw, 60px);
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--coal); color: #f6efe7; font: 400 17px/1.55 var(--mono-f); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--fire); outline-offset: 3px; }
.mono { font-family: var(--mono-f); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--fire); color: var(--ink); padding: 10px 14px; z-index: 99; }
.skip:focus { top: 12px; }
.eyebrow { margin: 0 0 14px; font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--fire); }
.h2 { margin: 0 0 18px; font: 400 clamp(2.6rem, 6vw, 5.6rem)/.92 var(--slab); letter-spacing: -.01em; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; font: 700 .95rem/1 var(--mono-f); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; border-radius: 4px; transition: translate .15s, background-color .2s; }
.btn:hover { translate: 0 -2px; }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: .82rem; }
.btn--ember { background: var(--ember); color: var(--ink); }
.btn--ember:hover { background: var(--fire); }
.btn--line { border-color: rgba(246,239,231,.6); color: #f6efe7; background: rgba(21,17,14,.35); }
.btn--line:hover { border-color: var(--fire); }

/* Top */
.top { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 18px; padding: 12px var(--pad); transition: background-color .3s; }
.top.is-solid { background: rgba(21,17,14,.92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,107,26,.25); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.3rem/1 var(--slab); white-space: nowrap; }
.brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.top__now { margin: 0 0 0 auto; font-size: .82rem; letter-spacing: .08em; display: flex; align-items: center; gap: 8px; }
.top__now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--smoke); }
.top__now.on::before { background: #3ddc6a; box-shadow: 0 0 0 4px rgba(61,220,106,.2); }

/* Hero */
.hero { position: relative; min-height: 100svh; overflow: hidden; display: grid; justify-items: center; align-content: end; padding: 100px var(--pad) 48px; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(.5) contrast(1.15) brightness(.42) sepia(.5) hue-rotate(-12deg) saturate(1.6); scale: 1.06; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(255,107,26,.45), transparent 70%), linear-gradient(180deg, rgba(21,17,14,.7), rgba(21,17,14,.15) 40%, rgba(21,17,14,.85)); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; 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'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.hero__type { position: absolute; inset: 88px 0 auto; display: grid; justify-items: center; line-height: .8; font-family: var(--slab); color: #f6efe7; pointer-events: none; }
.hero__type span:first-child { font-size: clamp(3rem, 8vw, 8rem); color: var(--fire); }
.hero__type span:last-child { font-size: clamp(5rem, 19.5vw, 19rem); letter-spacing: -.02em; text-shadow: 0 10px 60px rgba(0,0,0,.5); }
.printer { position: relative; width: min(400px, 100%); display: grid; justify-items: center; margin-top: clamp(150px, 30vw, 330px); }
.printer__slot { width: 112%; height: 16px; border-radius: 8px; background: #0b0908; box-shadow: inset 0 3px 6px rgba(0,0,0,.8), 0 1px 0 rgba(255,255,255,.08); z-index: 2; }
.ticket { position: relative; width: 100%; margin-top: -8px; padding: 26px 24px 20px; background: var(--paper); color: var(--ink); font-size: .92rem; line-height: 1.4; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7);
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; }
.ticket__brand { margin: 0; text-align: center; font-weight: 700; font-size: 1.15rem; letter-spacing: .14em; line-height: 1.15; }
.ticket__sm { margin: 6px 0 0; text-align: center; font-size: .8rem; color: #4a3f36; }
.ticket__rule { margin: 10px 0; text-align: center; color: #8b7d70; letter-spacing: .05em; white-space: nowrap; overflow: hidden; font-size: .8rem; }
.ticket__items { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ticket__items li { display: flex; justify-content: space-between; gap: 14px; }
.ticket__items b { white-space: nowrap; }
.ticket__big { margin: 4px 0 0; text-align: center; font: 400 1.45rem/1.05 var(--slab); color: var(--ember); }
.ticket__bar { height: 34px; margin: 14px 18px 8px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 7px, transparent 7px 9px, var(--ink) 9px 10px, transparent 10px 13px); }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Marquee */
.marq { background: var(--ember); color: var(--ink); overflow: hidden; padding: 12px 0; font: 400 1.25rem/1 var(--slab); }
.marq__t { display: flex; width: max-content; animation: mq 30s linear infinite; }
.marq span { padding: 0 26px; white-space: nowrap; }
.marq span::after { content: "✦"; margin-left: 52px; }
@keyframes mq { to { transform: translateX(-50%); } }

/* Carta + comanda */
.carta { padding: clamp(80px, 11vw, 150px) var(--pad); }
.carta__head { max-width: 900px; margin-bottom: 44px; }
.carta__lede { max-width: 58ch; margin: 0; color: var(--smoke); }
.carta__lede b { color: var(--fire); }
.carta__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 3vw, 44px); align-items: start; }
.menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; grid-auto-flow: dense; }
.dish { position: relative; display: grid; grid-template-rows: 220px auto; background: var(--ash); border-radius: 6px; overflow: hidden; transition: box-shadow .2s; }
.dish--xl { grid-column: span 2; grid-row: span 2; grid-template-rows: 1fr auto; }
.dish--tall { grid-row: span 2; grid-template-rows: 1fr auto; }
.dish--wide { grid-column: span 2; }
.dish img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.dish__b { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 4px 12px; padding: 14px 16px 16px; align-items: end; }
.dish h3 { grid-column: 1 / -1; margin: 0; font: 400 1.15rem/1.15 var(--slab); }
.dish--xl h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.price { margin: 0; font: 400 1.5rem/1 var(--slab); color: var(--fire); }
.dish--xl .price { font-size: 2.6rem; }
.price--q { font: 700 .9rem/1 var(--mono-f); letter-spacing: .1em; text-transform: uppercase; color: var(--smoke); }
.qty { display: flex; align-items: center; gap: 4px; background: var(--coal); border-radius: 999px; padding: 3px; }
.qty button { width: 40px; height: 40px; border-radius: 50%; border: 0; font: 700 1.3rem/1 var(--mono-f); cursor: pointer; background: transparent; color: #f6efe7; }
.qty .q\+ { background: var(--ember); color: var(--ink); }
.qty button:hover { background: var(--fire); color: var(--ink); }
.qty output { min-width: 22px; text-align: center; font-weight: 700; }
.dish.has { box-shadow: 0 0 0 3px var(--ember); }

.comanda { position: sticky; top: 84px; }
.comanda__paper { background: var(--paper); color: var(--ink); padding: 22px 20px 26px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.8);
  -webkit-mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; mask: conic-gradient(from 135deg at top, #0000, #000 1deg 89deg, #0000 90deg) 50% / 16px 100%; }
.comanda__h { margin: 4px 0 0; text-align: center; font: 400 1.6rem/1 var(--slab); letter-spacing: .08em; }
.comanda__sm { margin: 6px 0 0; text-align: center; font-size: .78rem; color: #4a3f36; }
.comanda__list { list-style: none; margin: 0; padding: 0; min-height: 70px; display: grid; gap: 6px; font-size: .9rem; }
.comanda__list li { display: grid; grid-template-columns: 26px 1fr auto; gap: 6px; }
.comanda__empty { display: block !important; color: #7a6b5e; font-style: italic; }
.comanda__tot { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-weight: 700; text-transform: uppercase; font-size: .85rem; }
.comanda__tot b { font: 400 1.9rem/1 var(--slab); }
.comanda__how { border: 0; padding: 0; margin: 18px 0 10px; display: flex; gap: 8px; }
.comanda__how label { position: relative; flex: 1; }
.comanda__how input { position: absolute; opacity: 0; }
.comanda__how span { display: grid; place-items: center; min-height: 44px; border: 2px solid var(--ink); border-radius: 4px; font-weight: 700; font-size: .85rem; cursor: pointer; text-align: center; padding: 0 6px; }
.comanda__how input:checked + span { background: var(--ink); color: var(--paper); }
.comanda__how input:focus-visible + span { outline: 3px solid var(--ember); outline-offset: 2px; }
.comanda__name input { width: 100%; min-height: 46px; padding: 0 12px; border: 2px dashed #8b7d70; border-radius: 4px; background: transparent; font: inherit; color: var(--ink); }
.comanda__go { width: 100%; margin-top: 12px; font-size: .86rem; }
.comanda__note { margin: 10px 0 0; text-align: center; font-size: .74rem; color: #4a3f36; }

/* Noche */
.noche { position: relative; min-height: 88vh; display: grid; align-items: center; overflow: hidden; }
.noche__bg { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; filter: blur(6px) brightness(.55) saturate(1.4); }
.noche::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21,17,14,.92) 10%, rgba(21,17,14,.3) 70%); }
.noche__in { position: relative; z-index: 1; padding: 80px var(--pad); }
.noche__k { margin: 0 0 18px; display: inline-flex; gap: 10px; align-items: center; padding: 8px 14px; border: 1.5px solid var(--fire); border-radius: 999px; color: var(--fire); font-weight: 700; font-size: .9rem; }
.noche__t { margin: 0; font: 400 clamp(3.2rem, 10vw, 10rem)/.86 var(--slab); }
.noche__t span { color: var(--ember); }
.noche__sm { margin: 20px 0 0; color: var(--smoke); }

/* Pasado */
.pasado { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; padding: clamp(80px, 11vw, 150px) var(--pad); background: var(--ash); }
.pasado__img { position: relative; margin: 0; rotate: -2deg; }
.pasado__img img { width: 100%; aspect-ratio: 1.1; object-fit: cover; filter: grayscale(.85) contrast(1.05); border-radius: 6px; }
.pasado__stamp { position: absolute; top: 50%; left: 50%; translate: -50% -50%; rotate: -14deg; padding: 10px 22px; border: 4px solid var(--ember); color: var(--ember); font-weight: 700; font-size: clamp(1.6rem, 4vw, 3rem); letter-spacing: .12em; background: rgba(21,17,14,.6); }
.pasado p { color: var(--smoke); max-width: 44ch; }

/* Dónde */
.donde { padding: clamp(80px, 11vw, 150px) var(--pad) 60px; }
.donde__t { margin: 0 0 50px; font: 400 clamp(3rem, 14vw, 14rem)/.82 var(--slab); color: var(--fire); }
.donde__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 70px); }
.donde__data { margin: 0; }
.donde__data > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px dashed rgba(246,239,231,.25); }
.donde__data dt { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fire); padding-top: 3px; }
.donde__data dd { margin: 0; font-weight: 700; }
.donde__data small { font-weight: 400; color: var(--smoke); }
.donde__map { position: relative; min-height: 320px; border-radius: 6px; overflow: hidden; background: var(--ash); }
.donde__map > a { position: absolute; inset: 0; display: grid; place-items: center; color: var(--fire); font-weight: 700; }
.donde__map iframe { position: relative; width: 100%; height: 100%; min-height: 320px; border: 0; filter: invert(.9) hue-rotate(180deg) contrast(.9); }
.donde__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.foot { display: flex; gap: 14px; align-items: center; padding: 28px var(--pad) 110px; border-top: 1px solid rgba(246,239,231,.12); color: var(--smoke); font-size: .82rem; }
.foot img { border-radius: 50%; }
.foot p { margin: 0; }
.dock { display: none; }

.js .reveal { opacity: 0; }

@media (max-width: 1100px) {
  .carta__grid { grid-template-columns: 1fr; }
  .comanda { position: static; max-width: 460px; justify-self: center; width: 100%; }
}
@media (max-width: 900px) {
  .menu { grid-template-columns: 1fr 1fr; }
  .dish--xl { grid-row: span 1; grid-template-rows: 260px auto; }
  .pasado, .donde__grid { grid-template-columns: 1fr; }
  .dock { display: grid; grid-template-columns: 1fr 1.3fr 1fr; position: fixed; inset: auto 0 0; z-index: 60; background: var(--coal); border-top: 2px solid var(--ember); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 6px; }
  .dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; text-decoration: none; font-weight: 700; font-size: .85rem; text-transform: uppercase; border-radius: 4px; }
  .dock__main { background: var(--ember); color: var(--ink); }
  .dock__main span { background: var(--ink); color: var(--fire); border-radius: 999px; min-width: 24px; height: 24px; display: grid; place-items: center; font-size: .8rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top__now { font-size: .68rem; text-align: right; line-height: 1.25; }
  .top .btn { display: none; }
  .hero { padding-bottom: 124px; }
  .ticket__bar, .ticket .ticket__sm:nth-of-type(2) { display: none; }
  .ticket { padding: 20px 18px 22px; font-size: .86rem; }
  .hero__type span:last-child { font-size: 22vw; }
  .printer { margin-top: 120px; }
  .hero__cta .btn { width: 100%; }
  .hero__cta .btn:last-child { display: none; }
  .menu { grid-template-columns: 1fr; }
  .dish, .dish--xl, .dish--tall { grid-column: auto; grid-row: auto; grid-template-rows: 210px auto; }
  .dish--wide { grid-column: auto; }
  .donde__data > div { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marq__t { animation: none; }
  .btn { transition: none; }
}
