/* Draft Bar — стили сайта */

/* ---------- Шрифты (локально, OFL: Manrope, Unbounded) ---------- */
@font-face { font-family: "Manrope"; src: url("fonts/manrope-cyrillic.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("fonts/manrope-latin-ext.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-cyrillic.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; src: url("fonts/unbounded-latin.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #15110e;          /* тёмное дерево */
  --ink-2: #1f1915;
  --ink-3: #2a221c;
  --cream: #f1e8d8;        /* текст на тёмном */
  --cream-dim: #b9ab95;
  --line-dark: rgba(241, 232, 216, .14);

  --paper: #f5efe4;        /* фон меню */
  --paper-2: #ebe2d2;
  --text: #241c16;
  --text-dim: #6f6255;
  --line: #ddd2bf;

  --amber: #e0a43a;        /* пиво и латунь */
  --amber-deep: #c2862a;
  --red: #9b2a22;          /* красный из старого меню */

  --font-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.1; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 4.2vw, 46px); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--cream-dim); }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--amber);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 26px; border-radius: 999px;
  font: 700 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #ecb552; }
.btn-ghost { border-color: rgba(241, 232, 216, .45); color: var(--cream); background: rgba(21, 17, 14, .25); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(241, 232, 216, .08); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Шапка ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled, .site-header.is-open {
  background: rgba(21, 17, 14, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--cream); opacity: .85; padding: 6px 0; position: relative; }
.nav a:hover { opacity: 1; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--amber); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .header-inner { gap: 12px; }
  .brand img { height: 38px; }
  .header-call { margin-left: auto; }
  .header-call span { display: none; }
  .header-call { width: 44px; min-height: 44px; padding: 0; }
  .nav-toggle {
    display: grid; place-content: center; gap: 6px;
    width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; width: 22px; height: 2px; background: var(--cream); transition: transform .25s; }
  .is-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .is-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0;
    background: rgba(21, 17, 14, .97); padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .is-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { font-size: 20px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
  .nav a::after { display: none; }
}

/* ---------- Первый экран ---------- */
.hero {
  position: relative; min-height: min(100svh, 860px); display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 48px) 0 clamp(48px, 9vh, 96px); overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(21,17,14,.55) 0%, rgba(21,17,14,.15) 30%, rgba(21,17,14,.75) 70%, var(--ink) 100%),
    linear-gradient(90deg, rgba(21,17,14,.85) 0%, rgba(21,17,14,.2) 70%);
}
.hero h1 { font-size: clamp(48px, 9vw, 112px); line-height: .95; margin-bottom: 24px; }
.hero-lead { max-width: 560px; font-size: clamp(17px, 1.6vw, 20px); color: #e6dccb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.open-status { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; font-size: 15px; color: var(--cream-dim); }
.open-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--cream-dim); }
.open-status.is-open { color: var(--cream); }
.open-status.is-open::before { background: #6fcf7a; box-shadow: 0 0 0 4px rgba(111, 207, 122, .2); }

@media (max-width: 520px) {
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Секции ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 18px; }
.section-head p:last-child { color: var(--cream-dim); }

/* О баре */
.about { background: var(--ink); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-text h2 { margin-bottom: 24px; }
.about-text p { color: #d9cdb9; }
.about-side { display: grid; gap: 12px; }
.about-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.facts li { background: var(--ink-2); padding: 28px 24px; display: flex; flex-direction: column; gap: 8px; }
.facts strong { font-family: var(--font-display); font-size: clamp(34px, 4vw, 48px); color: var(--amber); line-height: 1; }
.facts span { color: var(--cream-dim); font-size: 15px; line-height: 1.4; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- Меню ---------- */
.menu-section { background: var(--paper); color: var(--text); padding: clamp(72px, 10vw, 120px) 0 0; }
.menu-section .eyebrow { color: var(--red); }
.menu-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 24px; }
.menu-search { position: relative; flex: 0 1 380px; }
.menu-search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: var(--text-dim); pointer-events: none; }
.menu-search input {
  width: 100%; height: 52px; padding: 0 18px 0 46px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fffaf2; color: var(--text);
  font: 500 16px var(--font-body);
}
.menu-search input:focus { outline: none; border-color: var(--amber-deep); box-shadow: 0 0 0 4px rgba(224, 164, 58, .2); }
@media (max-width: 640px) { .menu-search { flex: 1 1 100%; } }

.menu-tabs {
  position: sticky; top: var(--header-h); z-index: 20; scroll-margin-top: var(--header-h);
  background: rgba(245, 239, 228, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.menu-tabs-scroll { position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.menu-tabs-scroll::-webkit-scrollbar { display: none; }
.menu-tab {
  flex: none; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent;
  color: var(--text); font: 600 15px var(--font-body); white-space: nowrap; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.menu-tab:hover { border-color: var(--text-dim); }
.menu-tab.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.menu-tabs.is-dimmed .menu-tab, .is-dimmed .menu-tab { opacity: .45; }
.is-dimmed .menu-tab.is-active { background: transparent; color: var(--text); border-color: var(--line); }

.menu-body { padding-top: 8px; min-height: 40vh; }
.menu-loading, .menu-empty { padding: 48px 0; color: var(--text-dim); font-size: 18px; }

.cat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 28px 0 14px; border-bottom: 2px solid var(--text); }
.cat-head h3 { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 34px); }
.cat-head p { margin: 0; color: var(--text-dim); font-size: 14px; white-space: nowrap; }
.is-searching .group-chips { display: none; }

.group-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.chip {
  padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: #fffaf2;
  color: var(--text); font: 600 14px var(--font-body); cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--text-dim); }
.chip.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.menu-group { margin-top: 20px; }
.group-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); padding: 12px 0 4px; }

.menu-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
@media (max-width: 860px) { .menu-items { grid-template-columns: 1fr; } }

.item { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.item-main { min-width: 0; }
.item-name { font-size: 18px; font-weight: 700; line-height: 1.3; }
.item-en { margin: 2px 0 0; font-size: 14px; color: var(--text-dim); }
.item-desc { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: #4b3f34; }
.tag {
  display: inline-block; vertical-align: 2px; margin-left: 8px; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--amber); color: var(--ink);
}
.tag-острое { background: var(--red); color: #fff; }
.tag-на-компанию { background: var(--paper-2); color: var(--text); }

.item-prices { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.price { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.price .portion { font-size: 13px; color: var(--text-dim); }
.price .amount { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }

mark { background: rgba(224, 164, 58, .45); color: inherit; border-radius: 3px; padding: 0 1px; }

.menu-note { margin: 40px 0 0; padding-bottom: clamp(56px, 8vw, 96px); font-size: 14px; color: var(--text-dim); }

/* ---------- Залы ---------- */
.halls { background: var(--ink-2); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.gallery figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 14px;
  background: linear-gradient(transparent, rgba(21,17,14,.8)); font-weight: 600; font-size: 15px;
}
@media (max-width: 860px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
}
@media (max-width: 520px) {
  .gallery { grid-auto-rows: 140px; gap: 8px; }
  .gallery figcaption { font-size: 13px; padding: 24px 10px 10px; }
}

/* ---------- Контакты ---------- */
.contacts { background: var(--ink); }
.contacts-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.contacts-info h2 { margin-bottom: 32px; }
.contact-list { margin: 0 0 32px; display: grid; gap: 22px; }
.contact-list dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 4px; }
.contact-list dd { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.5; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--amber); }
.contact-list .muted { font-size: 16px; font-weight: 500; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map-link { margin: 20px 0 0; font-size: 15px; }
.map-link a { color: var(--amber); font-weight: 600; }
.map { min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); border: 1px solid var(--line-dark); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
@media (max-width: 860px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 340px; }
}

/* ---------- Подвал ---------- */
.site-footer { border-top: 1px solid var(--line-dark); padding: 40px 0 48px; font-size: 15px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.footer-inner img { width: 200px; height: auto; margin-bottom: 12px; }
.footer-inner p { margin: 0; }
.footer-inner a { text-decoration: none; }
.footer-inner .muted { font-size: 13px; }

/* ---------- 18+ ---------- */
.age-gate {
  width: min(440px, calc(100% - 32px)); padding: 36px 28px 28px; border: 1px solid var(--line-dark);
  border-radius: 20px; background: var(--ink-2); color: var(--cream); text-align: center;
}
.age-gate::backdrop { background: rgba(10, 8, 6, .82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.age-gate img { margin: 0 auto 20px; width: 200px; height: auto; }
.age-gate h2 { font-size: 26px; margin-bottom: 12px; }
.age-gate p { color: var(--cream-dim); font-size: 15px; }
.age-actions { display: flex; gap: 10px; margin-top: 24px; }
.age-actions .btn:first-child { flex: 1; }
