:root {
  --ink: #140c09;
  --bun: #fff4e4;
  --mustard: #ffc20e;
  --ketchup: #e10600;
  --muted: #6d584c;
  --line: rgba(20, 12, 9, 0.12);
  --font: "Outfit", "Segoe UI", sans-serif;
  --display: "Lilita One", "Arial Black", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(700px 320px at 100% -10%, rgba(255, 194, 14, 0.35), transparent 55%),
    var(--bun);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.progress { position: fixed; z-index: 40; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--ketchup), var(--mustard)); }

.nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 4vw;
  background: rgba(255, 244, 228, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; font-family: var(--display); letter-spacing: 0.02em; }
.brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: #000; }
.brand small { display: block; font-family: var(--font); font-weight: 600; color: var(--muted); font-size: 0.75rem; }
.nav-links { display: flex; align-items: center; gap: 1rem; }
.nav-links a { text-decoration: none; font-weight: 700; }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.6rem 1.05rem;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.nav-cta, .btn-hot { background: var(--ketchup); color: #fff; }
.btn-bun { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.nav-toggle { display: none; background: transparent; border: 2px solid var(--ink); border-radius: 999px; min-height: 42px; padding: 0 0.85rem; font: inherit; font-weight: 800; }

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
  width: min(1120px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 2.2rem 0 1rem;
}
.eyebrow { margin: 0 0 0.4rem; color: var(--ketchup); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.78rem; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 0.95; letter-spacing: 0.01em; }
h1 { margin: 0; font-size: clamp(3.4rem, 8vw, 6.4rem); }
.hero-lead { font-size: 1.15rem; max-width: 36rem; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1rem; }
.hero-mark {
  justify-self: end;
  width: min(440px, 100%);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 36px;
  background: #090909;
  box-shadow: 0 24px 50px rgba(20, 12, 9, 0.22);
  transform: rotate(-2.5deg);
}
.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  border-radius: 36px;
}

.marquee { overflow: hidden; background: var(--ink); color: var(--mustard); }
.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.75rem 0;
  animation: slide 18s linear infinite;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.wrap { width: min(1120px, calc(100% - 8vw)); margin: 0 auto; }
.section { padding: 3.4rem 0; }
.kicker { margin: 0 0 0.35rem; color: var(--ketchup); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.78rem; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.4rem; align-items: center; }
.poster {
  border-radius: 28px;
  background: #fff;
  padding: 0.7rem;
  box-shadow: 0 16px 36px rgba(20, 12, 9, 0.12);
  transform: rotate(1.5deg);
}
.poster img { width: 100%; border-radius: 20px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; margin-top: 1rem; }
.stat { background: #fff; border-radius: 18px; padding: 0.85rem; border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--display); font-size: 1.45rem; }
.stat span { color: var(--muted); font-size: 0.85rem; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.card, .food {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem;
  text-decoration: none;
}
.card h3, .food h3 { margin: 0.3rem 0; font-size: 1.55rem; }
.card p, .food p, .muted { color: var(--muted); }
.price { font-family: var(--display); font-size: 1.35rem; }
.tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--mustard);
  font-size: 0.75rem;
  font-weight: 800;
}

.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0.8rem 0 1rem; }
.filters button, .search {
  border: 2px solid var(--ink);
  background: #fff;
  border-radius: 999px;
  min-height: 42px;
  padding: 0.35rem 0.85rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.filters button.is-on { background: var(--ink); color: var(--bun); }
.search { border-radius: 14px; min-width: min(280px, 100%); }
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.food { display: grid; gap: 0.35rem; }
.food-top { display: flex; justify-content: space-between; gap: 0.8rem; align-items: start; }
.add { justify-self: start; }

.cart-bar[hidden] { display: none; }
.cart-bar {
  position: sticky;
  z-index: 15;
  bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(1120px, calc(100% - 8vw));
  margin: 0 auto 0.8rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bun);
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(20, 12, 9, 0.28);
}
.cart-bar b { color: var(--mustard); }

.order { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; align-items: start; }
.ticket, .panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1rem;
}
.line { display: grid; grid-template-columns: 1fr auto auto; gap: 0.7rem; align-items: center; padding: 0.75rem 0; border-top: 1px solid var(--line); }
.qty { display: flex; align-items: center; gap: 0.4rem; }
.qty button {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; font: inherit; font-weight: 800; cursor: pointer;
}
.times { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.times button {
  border: 2px solid var(--line);
  background: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: 0.3rem 0.7rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.times button.is-on { background: var(--mustard); border-color: var(--ink); }
.times button:disabled { text-decoration: line-through; opacity: 0.4; cursor: default; }
label { display: grid; gap: 0.3rem; margin: 0.7rem 0; font-size: 0.9rem; font-weight: 700; }
input, textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  background: #fffdf8;
}
textarea { min-height: 80px; resize: vertical; }
.is-bad { border-color: var(--ketchup); }
.field-error { color: var(--ketchup); min-height: 1.1rem; font-weight: 700; }
.total { display: flex; justify-content: space-between; font-family: var(--display); font-size: 1.6rem; }
.done-code { font-family: var(--display); font-size: 2rem; letter-spacing: 0.04em; }

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  width: min(1120px, calc(100% - 8vw));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.footer a { color: var(--ink); font-weight: 700; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 4vw;
    right: 4vw;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border-radius: 18px;
    background: #fff8ee;
    border: 1px solid var(--line);
  }
  .nav.is-open .nav-links { display: flex; }
  .hero, .split, .cards, .menu-grid, .order, .stats { grid-template-columns: 1fr; }
  .hero-mark { justify-self: center; transform: none; }
  h1 { font-size: 3.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
