/* Гозба — menu site. Warm paper, editorial serif, prices that line up. */

@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('/fonts/fraunces-latin.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/manrope-latin.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('/fonts/manrope-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

:root {
  --paper: #FAF5EC;
  --ink: #1A1712;
  --olive: #3C4A32;
  --tomato: #C0442A;
  --line: #E3D8C6;
  --muted: #6E6353;
  --card: #FFFDF8;
  --radius: 14px;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  padding-bottom: env(safe-area-inset-bottom);
  background-image: radial-gradient(circle at 12% -10%, #F3E7D2 0%, transparent 46%);
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.015em; margin: 0; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 22px 20px 40px; }

/* ---------- top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 20px; background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--serif); font-size: 19px; font-weight: 600; }
.brand.small { font-size: 15px; }
.mark { width: 11px; height: 11px; border-radius: 50%; background: var(--tomato); box-shadow: 0 0 0 3px rgba(192,68,42,.16); flex: 0 0 auto; }
.langs { display: inline-flex; gap: 2px; background: rgba(26,23,18,.05); border-radius: 999px; padding: 3px; }
.lang { padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: var(--muted); min-height: 32px; display: inline-flex; align-items: center; }
.lang.is-active { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero { padding: 34px 0 26px; }
.hero h1 { font-size: clamp(38px, 9vw, 68px); line-height: .96; letter-spacing: -.03em; }
.hero h1 em { font-style: italic; color: var(--olive); }
.lede { max-width: 46ch; margin: 16px 0 0; color: var(--muted); font-size: 15.5px; }

@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 54px; align-items: end; padding: 54px 0 34px; }
  .hero-copy h1 { font-size: clamp(52px, 5.4vw, 76px); }
}

/* the panel that proves the point: prices straight off a till */
.hero-live {
  margin-top: 26px; padding: 20px 20px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--card); box-shadow: 0 18px 40px -32px rgba(26,23,18,.45);
}
@media (min-width: 900px) { .hero-live { margin-top: 0; } }
.hl-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hero-live h2 { font-size: 24px; margin: 8px 0 12px; line-height: 1.1; }
.hero-live h2 a:hover { color: var(--tomato); }
.hl-items { list-style: none; margin: 0 0 8px; padding: 0; }
.hl-items li { display: flex; align-items: baseline; gap: 6px; padding: 7px 0; border-bottom: 1px dotted rgba(227,216,198,.9); font-size: 14.5px; }
.hl-items b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hl-link { display: inline-block; font-size: 13px; font-weight: 800; color: var(--tomato); min-height: 44px; line-height: 44px; }

.search { position: relative; margin-top: 22px; }
.search svg { position: absolute; left: 2px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; }
.search input {
  width: 100%; padding: 13px 6px 13px 30px; border: 0; border-bottom: 1.5px solid var(--ink);
  background: transparent; font-family: var(--sans); font-size: 16px; color: var(--ink); min-height: 48px;
}
.search input::placeholder { color: #A29684; }
.search input:focus { outline: none; border-bottom-color: var(--tomato); }

/* ---------- sections ---------- */
.kicker { font-family: var(--sans); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 30px 0 12px; }
.cities, .featured { margin-top: 8px; }
.city-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 8px; }
.city-tile {
  display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
  padding: 13px 14px; min-height: 48px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--card); font-weight: 600; font-size: 15px;
}
.city-tile span { font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; }
.city-tile:hover { border-color: var(--ink); }
.city-tile.is-off { opacity: .42; background: transparent; border-style: dashed; }
.city-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip { font-size: 12px; font-weight: 700; color: var(--muted); border: 1px dashed var(--line); border-radius: 999px; padding: 6px 11px; }
.chip i { font-style: normal; font-weight: 600; opacity: .6; margin-left: 4px; font-size: 11px; }

/* ---------- venue cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.card {
  display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 13px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
  min-height: 118px; transition: transform .16s ease, border-color .16s ease;
}
.card:hover { transform: translateY(-2px); border-color: var(--ink); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.kind { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card h3 { font-size: 21px; line-height: 1.15; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--muted); }
.card-foot .go { color: var(--tomato); font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.badge.live { color: var(--olive); }
.badge.live i { width: 6px; height: 6px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 3px rgba(60,74,50,.15); }

/* ---------- city page ---------- */
.back { display: inline-block; margin: 18px 0 6px; font-size: 13px; font-weight: 700; color: var(--muted); min-height: 44px; line-height: 44px; }
.city-head h1, .v-head h1 { font-size: clamp(32px, 7.5vw, 52px); line-height: 1.02; }
.city-head .lede { margin-top: 6px; }

/* ---------- venue page ---------- */
.v-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 4px 0 6px; }
.v-head h1 { margin: 4px 0 8px; }
.menu { margin-top: 26px; display: grid; gap: 26px; }
@media (min-width: 760px) { .menu { grid-template-columns: 1fr 1fr; align-items: start; } }
.m-cat h2 { font-size: 15px; font-family: var(--sans); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.m-cat ul { list-style: none; margin: 12px 0 0; padding: 0; }
.m-cat li { display: flex; align-items: baseline; gap: 6px; padding: 9px 0; border-bottom: 1px dotted rgba(227,216,198,.9); }
.m-name { font-size: 15.5px; font-weight: 600; }
.m-name em { display: block; font-style: normal; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.dots { flex: 1 1 auto; border-bottom: 1px dotted #CDBFA8; transform: translateY(-4px); min-width: 12px; }
.m-price { font-variant-numeric: tabular-nums; font-weight: 800; white-space: nowrap; }
.note { color: var(--muted); }

/* ---------- claim ---------- */
.claim { margin-top: 30px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.claim h2 { font-size: 22px; }
.claim p { margin: 8px 0 16px; color: var(--muted); font-size: 14.5px; max-width: 48ch; }
.claim.small { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.claim.small p { margin: 0; }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--paper); font-weight: 800; font-size: 14px; }
.cta.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }

/* ---------- table QR ---------- */
.view-qr { background: #EFE7D8; }
.qr-sheet { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.qr-inner { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 34px 28px; text-align: center; max-width: 420px; width: 100%; }
.qr-inner h1 { font-size: clamp(26px, 7vw, 34px); margin: 14px 0 2px; }
.qr-hint { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.qr { width: 100%; max-width: 300px; height: auto; border-radius: 8px; }
.qr-link { font-size: 11px; color: var(--muted); word-break: break-all; margin: 14px 0 0; }

/* ---------- footer ---------- */
.foot { max-width: 1040px; margin: 0 auto; padding: 26px 20px 40px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot-note { font-size: 12.5px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
