/* Pizzativa — neón rojo, chapa negra y fuego */
:root {
  --ink: #0b0b0d;
  --wall: #141417;
  --wall-2: #1c1c21;
  --paper: #f5f1ea;
  --mute: #b9b3aa;
  --red: #d4121b;
  --neon: #ff3434;
  --fire: #ff9b3d;
  --line: rgba(245, 241, 234, .16);
  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --pad: clamp(16px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 16px/1.55 var(--mono); overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--fire); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: .86; letter-spacing: -.01em; margin: 0; text-transform: uppercase; }
.eyebrow { font: 500 .78rem/1.2 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--fire); margin: 0 0 18px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; font: 500 .9rem/1 var(--mono); letter-spacing: .04em;
  text-decoration: none; border: 2px solid transparent; border-radius: 999px;
  transition: transform .2s, background-color .2s, box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 0 0 0 rgba(255, 52, 52, .0); }
.btn--red:hover { transform: translateY(-2px); box-shadow: 0 0 32px rgba(255, 52, 52, .55); }
.btn--line { border-color: var(--paper); color: var(--paper); }
.btn--line:hover { background: var(--paper); color: var(--ink); }
.btn--ghost { color: var(--paper); padding: 0 8px; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--neon); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--pad); background: linear-gradient(rgba(11, 11, 13, .92), rgba(11, 11, 13, 0)); transition: background-color .3s;
}
.top.is-solid { background: rgba(11, 11, 13, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 800 1.4rem/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.top__brand img { width: 40px; height: 40px; border-radius: 50%; }
.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.top__nav a:hover { opacity: 1; color: var(--neon); }
.status {
  display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  background: rgba(11, 11, 13, .6);
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mute); }
.status.is-open .status__dot { background: #3dff7a; box-shadow: 0 0 10px #3dff7a; }
.status.is-closed .status__dot { background: var(--neon); box-shadow: 0 0 10px var(--neon); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; padding: 110px var(--pad) 36px;
  display: grid; grid-template-rows: auto 1fr auto; isolation: isolate; overflow: hidden;
}
.hero__wall {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 50% at 50% 62%, rgba(255, 70, 40, .22), transparent 70%),
    repeating-linear-gradient(90deg, #121215 0 22px, #1d1d22 22px 26px, #0e0e11 26px 46px, #19191d 46px 48px);
}
.hero__wall::after { /* grano */
  content: ""; position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay;
  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)'/%3E%3C/svg%3E");
}
.hero__line {
  position: absolute; left: 0; right: 0; top: 58%; height: 4px; background: #ff4b4b;
  box-shadow: 0 0 8px #ff3434, 0 0 24px #ff2020, 0 0 60px rgba(255, 30, 30, .7);
}
.hero__kicker { margin: 0; text-align: center; font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.neon {
  position: relative; z-index: 2; align-self: start; text-align: center; margin-top: 2vh;
  font-size: clamp(4.4rem, 19vw, 19.5rem); font-weight: 900; font-style: italic; letter-spacing: -.02em; line-height: .8;
  color: #ffeaea;
  text-shadow: 0 0 .02em #fff, 0 0 .08em #ff4a4a, 0 0 .2em #ff2a2a, 0 0 .45em #e00000, 0 0 .9em rgba(224, 0, 0, .6);
}
.neon span { display: inline-block; }
.neon__flick { animation: flick 6s infinite steps(1); }
@keyframes flick { 0%, 7%, 9%, 52%, 54%, 100% { opacity: 1; } 8%, 53% { opacity: .3; } }
.hero__pizza {
  position: absolute; left: 50%; bottom: 0; width: min(38vw, 440px); margin: 0; transform: translateX(-50%); z-index: 0; mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 62%, transparent 100%);
          mask-image: radial-gradient(closest-side at 50% 50%, #000 62%, transparent 100%);
}
.hero__pizza img { width: 100%; height: auto; aspect-ratio: 360 / 640; object-fit: cover; filter: saturate(1.15) contrast(1.05); }
.hero__foot { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.hero__tag { margin: 0 0 10px; font: 800 clamp(1.4rem, 2.4vw, 2rem)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--fire); }
.hero__hours { margin: 0; color: var(--mute); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; }
.hero__hours strong { display: block; font: 900 clamp(2.4rem, 4vw, 3.6rem)/.9 var(--display); color: var(--paper); letter-spacing: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; max-width: 520px; }

/* ---------- Ticker ---------- */
.ticker { background: var(--red); color: #fff; overflow: hidden; padding: 14px 0; border-block: 2px solid #000; }
.ticker__in { display: flex; gap: 28px; width: max-content; animation: tick 34s linear infinite; font: 800 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.ticker i { font-style: normal; color: #000; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- El fuego (horizontal) ---------- */
.fuego { background: var(--wall); position: relative; }
.fuego__pin { display: flex; align-items: center; padding: 110px 0; min-height: 100vh; overflow-x: auto; }
.js .fuego__pin { overflow: hidden; }
.fuego__row { display: flex; align-items: center; gap: clamp(32px, 5vw, 80px); padding: 0 var(--pad); width: max-content; }
.fuego__head { flex: 0 0 clamp(260px, 26vw, 380px); }
.fuego__head h2 { font-size: clamp(3.6rem, 7vw, 6.5rem); }
.fuego__hint { margin-top: 28px; color: var(--mute); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.fuego__track { display: flex; gap: clamp(20px, 3vw, 48px); list-style: none; margin: 0; padding: 0; }
.paso { flex: 0 0 clamp(260px, 25vw, 340px); position: relative; }
.paso__n { position: absolute; top: -26px; right: -8px; z-index: 2; font: 900 5.5rem/1 var(--display); color: transparent; -webkit-text-stroke: 2px var(--fire); }
.paso figure { margin: 0 0 18px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; }
.paso img { width: 100%; height: 100%; object-fit: cover; }
.paso h3 { font-size: clamp(2.6rem, 4vw, 3.6rem); color: var(--paper); }
.paso p { margin: 8px 0 0; color: var(--mute); max-width: 30ch; }

/* ---------- La pared (frase gigante) ---------- */
.pared {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center;
  padding: clamp(80px, 12vw, 160px) var(--pad);
  background: radial-gradient(70% 60% at 80% 50%, rgba(212, 18, 27, .18), transparent 70%), var(--ink);
}
.pared__foto { margin: 0; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 80px rgba(255, 40, 40, .18); }
.pared__foto img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pared__frase { font-size: clamp(3.2rem, 8.2vw, 8.6rem); font-style: italic; }
.pared__frase span { display: block; }
.neon-txt { color: #ffeaea; text-shadow: 0 0 .03em #fff, 0 0 .12em #ff3a3a, 0 0 .35em #e00000; }
.pared__sub { margin: 26px 0 0; font-size: 1.05rem; color: var(--mute); }

/* ---------- La carta ---------- */
.carta { padding: clamp(80px, 10vw, 140px) var(--pad); background: var(--paper); color: var(--ink); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 5vw, 72px); }
.carta .eyebrow { color: var(--red); }
.carta__head { position: sticky; top: 100px; align-self: start; }
.carta__head h2 { font-size: clamp(4rem, 8vw, 7.5rem); }
.carta__note { margin: 26px 0; max-width: 38ch; }
.carta__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.carta .btn--line { border-color: var(--ink); color: var(--ink); }
.carta .btn--line:hover { background: var(--ink); color: var(--paper); }
.carta__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; align-items: start; }
.foto { margin: 0; }
.foto img { width: 100%; object-fit: cover; border-radius: 4px; }
.foto figcaption { margin-top: 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.foto figcaption::before { content: "— "; color: var(--red); }
.foto--a { grid-column: 1 / span 4; }
.foto--a img { aspect-ratio: 4 / 4.2; }
.foto--b { grid-column: 5 / span 2; margin-top: 120px; }
.foto--b img { aspect-ratio: 4 / 5; }
.foto--c { grid-column: 2 / span 3; margin-top: -40px; }
.foto--c img { aspect-ratio: 1; }
.foto--d { grid-column: 5 / span 2; margin-top: 20px; }
.foto--d img { aspect-ratio: 9 / 15; }

/* ---------- Comanda (momento firma) ---------- */
.comanda {
  padding: clamp(80px, 10vw, 140px) var(--pad); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center;
  background:
    radial-gradient(50% 60% at 15% 30%, rgba(255, 155, 61, .16), transparent 70%),
    repeating-linear-gradient(90deg, #121215 0 22px, #19191d 22px 24px);
}
.comanda__intro h2 { font-size: clamp(3.4rem, 6.6vw, 6.4rem); margin-bottom: 26px; }
.comanda__intro h2 em { font-style: italic; color: var(--fire); }
.comanda__intro p { max-width: 42ch; color: #ddd6cb; }
.comanda__small { font-size: .82rem; color: var(--mute) !important; }
.ticket {
  position: relative; background: #fbf8f2; color: #141414; padding: 30px clamp(20px, 3vw, 36px) 34px; max-width: 520px; width: 100%; justify-self: center;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .55); transform: rotate(1.2deg);
  --tooth: radial-gradient(circle at 10px 0, transparent 9px, #fbf8f2 10px);
}
.ticket::before, .ticket::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: radial-gradient(circle at 8px 12px, transparent 7px, #fbf8f2 8px) 0 0 / 16px 12px repeat-x; }
.ticket::before { top: -11px; }
.ticket::after { bottom: -11px; transform: scaleY(-1); }
.ticket__head { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 2px dashed #b5aea4; }
.ticket__head img { width: 56px; height: 56px; border-radius: 50%; }
.ticket__head p { margin: 0; font-size: .78rem; }
.ticket__name { font: 900 1.6rem/1 var(--display) !important; letter-spacing: .06em; }
.ticket__no { text-align: right; font-size: .7rem !important; letter-spacing: .14em; }
.ticket__no b { font-size: 1rem; letter-spacing: 0; }
.ticket__row { border: 0; margin: 0; padding: 18px 0 0; min-width: 0; }
.ticket__row legend { float: left; width: 100%; }
.ticket__row legend + * { clear: both; }
.ticket__row legend, .lbl { display: block; padding: 0; margin: 0 0 10px; font-size: .72rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #5b554d; }
.lbl small { letter-spacing: .04em; text-transform: none; }
.ticket__row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid #141414; border-radius: 999px; font-size: .85rem; transition: background-color .15s, color .15s; }
.chip input:checked + span { background: #141414; color: #fbf8f2; }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.stepper { display: inline-flex; align-items: center; border: 2px solid #141414; border-radius: 999px; }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font: 500 1.3rem/1 var(--mono); cursor: pointer; color: #141414; border-radius: 50%; }
.stepper button:hover { background: #ece6dc; }
.stepper output { min-width: 40px; text-align: center; font: 900 1.6rem/1 var(--display); }
.ticket select, .ticket input[type="text"], .ticket textarea {
  width: 100%; font: 400 .95rem/1.4 var(--mono); color: #141414; background: transparent;
  border: 0; border-bottom: 2px solid #141414; padding: 10px 2px; border-radius: 0;
}
.ticket select { min-height: 48px; cursor: pointer; }
.ticket textarea { resize: vertical; }
.ticket ::placeholder { color: #7a736a; }
.ticket__preview { margin: 22px 0 18px; padding: 14px; background: #efe9df; border-left: 4px solid var(--red); }
.ticket__preview pre { margin: 0; white-space: pre-wrap; font: 400 .82rem/1.5 var(--mono); }
.ticket__foot { margin: 16px 0 0; text-align: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #5b554d; }

/* ---------- El local ---------- */
.local { padding: clamp(80px, 10vw, 140px) var(--pad); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 90px); align-items: center; background: var(--ink); }
.local__fotos { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.local__fotos figure { margin: 0; overflow: hidden; border-radius: 4px; }
.local__fotos img { width: 100%; height: 100%; object-fit: cover; }
.local__f1 { grid-row: span 2; aspect-ratio: 619 / 1000; }
.local__f2 { aspect-ratio: 4 / 4.4; }
.local__f2 img { object-position: 50% 70%; }
.local__f3 { aspect-ratio: 4 / 4.4; }
.local__f3 img { object-position: 50% 62%; }
.local__info h2 { font-size: clamp(3.4rem, 6vw, 6rem); margin-bottom: 30px; }
.datos { margin: 0 0 30px; display: grid; gap: 0; }
.datos div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 13px 0; border-top: 1px solid var(--line); }
.datos dt { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.datos dd { margin: 0; }
.datos a { text-decoration-color: var(--neon); text-underline-offset: 4px; }
.datos small { color: var(--mute); }
.stars { color: var(--fire); letter-spacing: 2px; }
.local__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cierre ---------- */
.cierre {
  text-align: center; padding: clamp(90px, 12vw, 170px) var(--pad);
  background: radial-gradient(60% 70% at 50% 50%, rgba(212, 18, 27, .28), transparent 70%), repeating-linear-gradient(90deg, #121215 0 22px, #1b1b20 22px 25px);
}
.neon--sm { font-size: clamp(4rem, 13vw, 12rem); margin: 0 0 18px; }
.cierre p { margin: 0 0 30px; color: #ddd6cb; }
.cierre__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

.pie { padding: 30px var(--pad) 40px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .8rem; color: var(--mute); }
.pie p { margin: 0; }

/* ---------- Dock mobile ---------- */
.dock { display: none; }

/* ---------- Reveal (solo con JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .top__nav { display: none; }
  .top { justify-content: space-between; }
  .carta, .comanda, .local, .pared { grid-template-columns: 1fr; }
  .carta__head { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 15px; padding-bottom: 76px; }
  .top { padding-block: 10px; }
  .top__brand span { display: none; }
  .status { font-size: .68rem; padding: 7px 11px; }
  .hero { padding-top: 92px; padding-bottom: 24px; min-height: calc(100svh - 76px); }
  .hero__line { top: 46%; }
  .neon { font-size: 24vw; margin-top: 3vh; }
  .hero__pizza { width: 60vw; bottom: auto; top: 22%; }
  .hero__foot { flex-direction: column; align-items: stretch; margin-top: auto; }
  .hero__cta { justify-content: stretch; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__cta .btn--red { flex-basis: 100%; }
  .fuego__pin { padding: 80px 0; min-height: 0; }
  .fuego__row { flex-direction: column; align-items: stretch; width: 100%; padding: 0; }
  .fuego__head { flex: none; padding: 0 var(--pad); }
  .fuego__track { overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px var(--pad) 10px; scrollbar-width: none; }
  .fuego__track::-webkit-scrollbar { display: none; }
  .paso { flex: 0 0 76vw; scroll-snap-align: center; }
  .paso__n { font-size: 4rem; top: -20px; right: 4px; }
  .carta__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .foto--a { grid-column: 1 / -1; }
  .foto--b, .foto--d { grid-column: auto; margin-top: 0; }
  .foto--c { grid-column: 1 / -1; margin-top: 0; }
  .foto--c img { aspect-ratio: 4 / 3; }
  .ticket { transform: none; }
  .ticket__row--split { grid-template-columns: 1fr; }
  .local__fotos { grid-template-columns: 1fr 1fr; }
  .datos div { grid-template-columns: 92px 1fr; }
  .cierre__cta .btn { flex: 1 1 100%; }
  .dock {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 11, 13, .94); backdrop-filter: blur(8px); border-top: 1px solid var(--line);
  }
  .dock a { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 999px; border: 2px solid var(--paper); text-decoration: none; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
  .dock .dock__wa { background: var(--red); border-color: var(--red); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .neon__flick, .ticker__in { animation: none; }
  .btn { transition: none; }
}
