/* ==========================================================================
   THE MODUL — lounge bar & karaoke, Алматы
   Палитра и мотивы взяты из фирменных постеров: почти чёрный, тёплый янтарь,
   шампанское золото, арка из логотипа, тонкие золотые линии.
   ========================================================================== */

:root {
  --bg: #0a0807;
  --bg-2: #100c0a;
  --bg-3: #17110e;
  --ink: #f1e8da;
  --ink-2: #cdbfa9;
  --muted: #a5967f;
  --gold: #d6b88a;
  --gold-hi: #f2dcb0;
  --gold-lo: #a98552;
  --amber: #c27a3a;
  --wine: #a3161d;
  --line: rgba(214, 184, 138, 0.24);
  --line-soft: rgba(214, 184, 138, 0.12);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;

  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --section-y: clamp(72px, 9vw, 124px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) - 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 300 1.0625rem/1.7 var(--sans);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure { margin: 0; }

::selection { background: rgba(214, 184, 138, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 200;
  padding: 10px 18px; background: var(--gold); color: #1a120b;
  font-weight: 500; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--maxw) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* мелкая зернистость поверх всего — как плёнка */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- типографика ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 500 0.75rem/1 var(--sans);
  letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: ""; width: 36px; height: 1px;
  background: var(--gold); opacity: 0.7;
}
.eyebrow--center::after {
  content: ""; width: 36px; height: 1px;
  background: var(--gold); opacity: 0.7;
}

.h2 {
  font: 400 clamp(2.2rem, 5.2vw, 3.9rem)/1.06 var(--serif);
  letter-spacing: 0.01em;
  color: var(--ink);
}
.h2 em { font-style: italic; color: var(--gold-hi); font-weight: 400; }

.lead { color: var(--ink-2); font-size: 1.125rem; max-width: 52ch; }

.section { padding-block: var(--section-y); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h2 { margin-top: 20px; }
.section-head .lead { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- кнопки ---------- */

.btn {
  --pad-y: 17px; --pad-x: 30px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: var(--pad-y) var(--pad-x);
  border: 1px solid transparent; border-radius: 2px;
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s;
}
.btn .icon { width: 1.35em; height: 1.35em; }
.btn-gold {
  color: #1a120b;
  background: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 55%, var(--gold-lo) 100%);
  box-shadow: 0 10px 30px -12px rgba(214, 184, 138, 0.55);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(214, 184, 138, 0.7); }
.btn-ghost { color: var(--gold-hi); border-color: var(--line); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(214, 184, 138, 0.08); }
.btn-sm { --pad-y: 13px; --pad-x: 22px; font-size: 0.72rem; }

/* ==========================================================================
   Шапка
   ========================================================================== */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background 0.4s, backdrop-filter 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(10, 8, 7, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.header-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--gold); }
.brand-mark { width: 26px; height: 34px; }
.brand-name {
  font: 500 1.05rem/1 var(--sans);
  letter-spacing: 0.34em; color: var(--ink);
  padding-left: 0.1em;
}
.nav { display: flex; gap: clamp(22px, 3vw, 42px); margin-left: auto; }
.nav a {
  position: relative; padding: 8px 0;
  font: 400 0.8rem/1 var(--sans);
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2);
  transition: color 0.3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { color: var(--gold-hi); }
.nav a:hover::after { transform: scaleX(1); }

.burger {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
.site-header.is-open .burger span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.site-header.is-open .burger span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

.mobile-nav {
  position: absolute; top: var(--header-h); left: 0; right: 0;
  padding: 12px var(--gutter) 32px;
  background: rgba(10, 8, 7, 0.97);
  border-bottom: 1px solid var(--line-soft);
  display: none;
}
.mobile-nav a:not(.btn) {
  display: block; padding: 18px 0;
  font: 400 1.9rem/1 var(--serif);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav .btn { margin-top: 28px; width: 100%; }
.site-header.is-open .mobile-nav { display: block; }

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .nav, .header-cta { display: none; }
  .burger { display: block; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 36px) 0 110px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before {
  content: ""; position: absolute; inset: -4%;
  background: url("../assets/img/hero-bg.jpg") center / cover no-repeat;
  opacity: 0.85;
  animation: drift 26s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 8, 7, 0.5) 0%, rgba(10, 8, 7, 0.05) 38%, rgba(10, 8, 7, 0.72) 84%, var(--bg) 100%),
    radial-gradient(70% 70% at 22% 46%, rgba(10, 8, 7, 0.64), transparent 72%),
    radial-gradient(45% 55% at 82% 42%, rgba(194, 122, 58, 0.2), transparent 70%),
    radial-gradient(40% 45% at 4% 96%, rgba(163, 22, 29, 0.2), transparent 70%);
}
@keyframes drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.07) translate3d(-1.5%, 1%, 0); }
}

.hero-grid {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 6vw, 100px);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 16px 9px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10, 8, 7, 0.45);
  font: 400 0.72rem/1 var(--sans);
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2);
}
.hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 0 rgba(212, 34, 43, 0.7);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212, 34, 43, 0.6); }
  70%  { box-shadow: 0 0 0 9px rgba(212, 34, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 34, 43, 0); }
}

.hero-title {
  display: flex; flex-direction: column; align-items: flex-start;
  margin: 34px 0 0;
  font-family: var(--serif); font-weight: 400; line-height: 0.92;
}
.hero-the {
  font-size: clamp(1rem, 2.1vw, 1.5rem);
  letter-spacing: 0.9em; color: var(--gold);
  padding-left: 0.12em; margin-bottom: 0.35em;
}
.hero-modul {
  font-size: clamp(4rem, 11.5vw, 9.4rem);
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, var(--gold-hi) 8%, var(--gold) 55%, var(--gold-lo) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-left: -0.03em;
}
.hero-sub {
  margin-top: 26px;
  font: 400 0.82rem/1.4 var(--sans);
  letter-spacing: 0.44em; text-transform: uppercase; color: var(--gold);
}
.hero-tag {
  margin-top: 22px;
  font: italic 400 clamp(1.3rem, 2.3vw, 1.7rem)/1.3 var(--serif);
  color: var(--ink);
}
.hero-lead { margin-top: 18px; max-width: 46ch; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-facts {
  display: flex; flex-wrap: wrap; gap: 14px 34px;
  margin-top: 46px; padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.95rem; color: var(--ink-2);
}
.hero-facts li { display: inline-flex; align-items: center; gap: 10px; }
.hero-facts .icon { color: var(--gold); width: 1.15em; height: 1.15em; }
.hero-facts a:hover { color: var(--gold-hi); }

/* арка с фасадом */
.hero-visual { position: relative; justify-self: center; width: min(100%, 540px); }
.arch-frame {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 38% 38% 0 0 / 45% 45% 0 0;
  background: rgba(10, 8, 7, 0.35);
}
.arch {
  position: relative; overflow: hidden;
  border-radius: 37% 37% 0 0 / 44% 44% 0 0;
  aspect-ratio: 6 / 5;
  background: #120d0a;
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.arch::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 8, 7, 0.28) 0%, transparent 30%, transparent 70%, rgba(10, 8, 7, 0.35) 100%);
}
.hero-badge {
  position: absolute; left: -28px; bottom: 42px; z-index: 2;
  padding: 16px 22px 15px;
  background: rgba(10, 8, 7, 0.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--line);
}
.hero-badge small {
  display: block;
  font: 400 0.68rem/1 var(--sans);
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.hero-badge strong {
  display: block; margin-top: 8px;
  font: 500 1.7rem/1 var(--serif); letter-spacing: 0.04em; color: var(--gold-hi);
  font-variant-numeric: lining-nums;
}

.scroll-cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font: 400 0.66rem/1 var(--sans); letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--muted); padding-left: 0.4em;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 44px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* появление контента героя */
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
.hero-copy > *, .hero-visual { animation: rise 1s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: 0.15s; }
.hero-copy > *:nth-child(2) { animation-delay: 0.3s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.45s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.55s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.65s; }
.hero-copy > *:nth-child(6) { animation-delay: 0.75s; }
.hero-copy > *:nth-child(7) { animation-delay: 0.85s; }
.hero-visual { animation-delay: 0.4s; }

@media (max-width: 900px) {
  .hero { padding: calc(var(--header-h) + 28px) 0 64px; min-height: 0; }
  .hero-sub { letter-spacing: 0.26em; font-size: 0.74rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; width: min(86vw, 400px); }
  .hero-badge { left: -14px; bottom: 26px; padding: 12px 16px; }
  .hero-badge strong { font-size: 1.35rem; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-title { align-items: center; }
  .hero-the { padding-left: 0.9em; }
  .hero-modul { margin-left: 0; }
  .hero-actions { justify-content: center; }
  .hero-facts { justify-content: center; }
  .scroll-cue { display: none; }
}

/* ==========================================================================
   О нас
   ========================================================================== */

.about { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.about-grid {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(44px, 7vw, 110px);
}
.about-media { position: relative; height: clamp(440px, 50vw, 640px); }
.about-media .arch-a, .about-media .arch-b {
  position: absolute; overflow: hidden;
  border-radius: 999px 999px 0 0; background: #120d0a;
  box-shadow: 0 0 0 1px rgba(214, 184, 138, 0.38), 0 0 0 9px var(--bg-2), 0 0 0 10px rgba(214, 184, 138, 0.2);
}
.about-media .arch-a { left: 10px; top: 10px; width: 56%; height: 90%; }
.about-media .arch-b { right: 10px; bottom: 10px; width: 40%; height: 52%; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .arch-a img { object-position: 50% 60%; }
.about-media .arch-b img { object-position: 50% 45%; }

.about-copy .h2 { margin: 20px 0 24px; }
.about-copy p + p { margin-top: 16px; }
.pillars {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 40px; margin-top: 44px;
}
.pillar { padding-top: 22px; border-top: 1px solid var(--line); }
.pillar .icon { width: 30px; height: 30px; color: var(--gold); stroke-width: 1.2; }
.pillar h3 {
  margin: 16px 0 6px;
  font: 500 1.55rem/1.1 var(--serif); letter-spacing: 0.02em;
}
.pillar p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-media { height: 460px; max-width: 520px; margin-inline: auto; width: 100%; }
}
@media (max-width: 520px) {
  .about-media { height: 400px; }
  .pillars { grid-template-columns: 1fr; gap: 26px; }
}

/* ==========================================================================
   Сейчас у нас
   ========================================================================== */

.now { padding-block: clamp(56px, 8vw, 100px); background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.now-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.now-card {
  position: relative; overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(194, 122, 58, 0.14), transparent 60%),
    var(--bg-3);
}
.now-card--wine {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(163, 22, 29, 0.2), transparent 60%),
    var(--bg-3);
}
.now-card .icon { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.2; }
.now-tag {
  display: inline-block; margin-top: 22px;
  font: 500 0.7rem/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
}
.now-card h3 { margin-top: 12px; font: 400 clamp(1.8rem, 3.2vw, 2.4rem)/1.1 var(--serif); }
.now-card h3 .price { color: var(--gold-hi); font-variant-numeric: lining-nums; white-space: nowrap; }
.now-card p { margin-top: 12px; color: var(--ink-2); font-size: 1rem; max-width: 46ch; }
.now-card .meta {
  max-width: none; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 760px) { .now-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Меню
   ========================================================================== */

.menu { background: var(--bg); }
.menu::before, .gallery::before {
  content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 64px;
  background: linear-gradient(180deg, var(--gold), transparent); opacity: 0.6;
}

.menu-tabs {
  display: flex; width: fit-content; margin: 0 auto 30px;
  border: 1px solid var(--line); border-radius: 2px;
}
.menu-tab {
  padding: 15px clamp(18px, 4vw, 34px);
  background: none; border: 0; cursor: pointer;
  font: 500 0.78rem/1 var(--sans);
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2);
  transition: color 0.3s, background 0.3s;
}
.menu-tab + .menu-tab { border-left: 1px solid var(--line); }
.menu-tab:hover { color: var(--gold-hi); }
.menu-tab[aria-selected="true"] {
  color: #1a120b;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
}

.menu-cats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  max-width: 960px; margin: 0 auto 52px;
}
.chip {
  padding: 10px 20px;
  border: 1px solid var(--line-soft); border-radius: 999px;
  background: transparent; cursor: pointer;
  font: 400 0.95rem/1.2 var(--sans); color: var(--ink-2);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.chip:hover { color: var(--gold-hi); border-color: var(--line); }
.chip[aria-selected="true"] {
  color: var(--gold-hi); border-color: var(--gold);
  background: rgba(214, 184, 138, 0.09);
}

.menu-panel { max-width: 940px; margin-inline: auto; animation: panel-in 0.55s var(--ease); }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
.menu-panel-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding-bottom: 18px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.menu-panel-title { font: 400 clamp(2rem, 4.2vw, 3rem)/1 var(--serif); }
.menu-panel-note {
  font: 400 0.8rem/1.3 var(--sans); letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted); text-align: right;
}

.menu-groups { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 72px; }
.is-multi .menu-group { padding-top: 26px; }
.menu-group-title {
  margin-top: 0;
  font: 500 0.76rem/1 var(--sans); letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
}
.menu-list { margin-top: 8px; }
.menu-item {
  display: flex; align-items: baseline; gap: 14px;
  padding: 11px 0; break-inside: avoid;
  transition: color 0.25s;
}
.menu-item-name { color: var(--ink); font-size: 1.05rem; line-height: 1.4; }
.menu-item-vol { margin-left: 8px; color: var(--muted); font-size: 0.82rem; white-space: nowrap; letter-spacing: 0.04em; }
.menu-item-lead {
  flex: 1 1 24px; min-width: 24px;
  border-bottom: 1px dotted rgba(214, 184, 138, 0.3);
  transform: translateY(-5px);
}
.menu-item-price {
  font: 500 1.3rem/1 var(--serif); letter-spacing: 0.02em;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--gold-hi); white-space: nowrap;
}
.menu-item-price .cur { margin-left: 0.28em; font: 400 0.72em/1 var(--sans); color: var(--gold); opacity: 0.85; }
.menu-item:hover .menu-item-name { color: var(--gold-hi); }
.menu-footnote {
  max-width: 940px; margin: 34px auto 0;
  color: var(--muted); font-size: 0.92rem; text-align: center;
}

@media (min-width: 860px) {
  .menu-groups.is-multi { display: block; columns: 2; column-gap: 72px; }
  .menu-group { break-inside: avoid; }
  .menu-list.is-cols { columns: 2; column-gap: 72px; }
}
@media (max-width: 859px) {
  .menu-cats {
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scroll-snap-type: x proximity;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 var(--gutter), #000 calc(100% - var(--gutter)), transparent 100%);
  }
  .menu-cats::-webkit-scrollbar { display: none; }
  .chip { flex: none; scroll-snap-align: center; }
}
@media (max-width: 560px) {
  .menu-tab { padding-inline: 14px; letter-spacing: 0.14em; font-size: 0.72rem; }
  .menu-panel-head { flex-direction: column; gap: 8px; }
  .menu-panel-note { text-align: left; }
  .menu-item { gap: 10px; }
  .menu-item-price { font-size: 1.2rem; }
}

/* ==========================================================================
   Галерея
   ========================================================================== */

.gallery { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.gallery-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(60px, 7.4vw, 92px);
}
.tile {
  position: relative; overflow: hidden; padding: 0;
  border: 0; border-radius: 2px; background: #0d0a08; cursor: zoom-in;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease), filter 0.6s;
}
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(214, 184, 138, 0.16);
  transition: box-shadow 0.4s;
}
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 8, 7, 0.55));
  opacity: 0; transition: opacity 0.5s;
}
.tile:hover img { transform: scale(1.06); }
.tile:hover::before { box-shadow: inset 0 0 0 1px var(--gold); }
.tile:hover::after { opacity: 1; }

.t-hookah { grid-column: 1 / 4;  grid-row: 1 / 7; }
.t-facade { grid-column: 4 / 10; grid-row: 1 / 4; }
.t-lounge { grid-column: 10 / 13; grid-row: 1 / 7; }
.t-door   { grid-column: 4 / 7;  grid-row: 4 / 7; }
.t-sign   { grid-column: 7 / 10; grid-row: 4 / 7; }
.t-facade img { object-position: 50% 30%; }
.t-hookah img { object-position: 50% 60%; }
.t-sign img { object-position: 50% 45%; }

.gallery-note {
  margin-top: 26px; text-align: center; color: var(--muted); font-size: 0.9rem;
}
.gallery-note a { color: var(--gold); border-bottom: 1px solid var(--line); }
.gallery-note a:hover { color: var(--gold-hi); }

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 46vw; gap: 10px; }
  .gallery-grid .tile { grid-column: auto; grid-row: auto; }
  .gallery-grid .t-facade { grid-column: 1 / -1; }
  .gallery-grid .t-hookah, .gallery-grid .t-lounge { grid-row: span 2; }
}

/* лайтбокс */
.lightbox {
  width: 100vw; max-width: 100vw; height: 100vh; height: 100dvh; max-height: 100dvh;
  margin: 0; padding: 0; border: 0;
  background: rgba(6, 5, 4, 0.94); color: var(--ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox:not([open]) { display: none; }
.lightbox::backdrop { background: transparent; }
.lightbox-stage {
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 64px clamp(16px, 8vw, 110px) 72px;
}
.lightbox-stage img {
  max-width: 100%; width: auto; height: auto;
  max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px);
  object-fit: contain; border: 1px solid var(--line-soft);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.lightbox-cap {
  position: absolute; left: 0; right: 0; bottom: 22px; text-align: center;
  color: var(--ink-2); font-size: 0.95rem; letter-spacing: 0.04em; padding-inline: 70px;
}
.lb-btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(20, 15, 12, 0.7); border: 1px solid var(--line);
  color: var(--gold-hi); cursor: pointer;
  transition: background 0.3s, border-color 0.3s;
}
.lb-btn:hover { background: rgba(214, 184, 138, 0.14); border-color: var(--gold); }
.lb-btn .icon { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 14px; translate: none; width: 46px; height: 46px; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .lightbox-stage { padding: 68px 12px 84px; }
  .lightbox-stage img { max-height: calc(100vh - 156px); max-height: calc(100dvh - 156px); }
}

/* ==========================================================================
   Бронирование
   ========================================================================== */

.booking {
  background:
    radial-gradient(60% 60% at 8% 20%, rgba(163, 22, 29, 0.16), transparent 70%),
    radial-gradient(50% 60% at 100% 90%, rgba(194, 122, 58, 0.14), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line-soft);
}
.booking-grid {
  display: grid; align-items: start;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(40px, 7vw, 110px);
}
.booking-copy .h2 { margin: 20px 0 24px; }
.booking-call {
  margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line-soft);
}
.booking-call small {
  display: block; font: 400 0.72rem/1 var(--sans);
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.booking-phone {
  display: inline-block; margin-top: 12px;
  font: 400 clamp(2rem, 4vw, 2.9rem)/1.1 var(--serif);
  color: var(--gold-hi); letter-spacing: 0.02em;
  font-variant-numeric: lining-nums;
  transition: color 0.3s;
}
.booking-phone:hover { color: #fff; }
.booking-alt { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.booking-hours { margin-top: 26px; display: flex; align-items: center; gap: 12px; color: var(--ink-2); font-size: 0.98rem; }
.booking-hours .icon { color: var(--gold); }

.form-card {
  position: relative;
  padding: clamp(26px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(255, 240, 215, 0.045), rgba(255, 240, 215, 0.015));
  border: 1px solid var(--line);
}
.form-card::before, .form-card::after {
  content: ""; position: absolute; width: 22px; height: 22px; border: 1px solid var(--gold); opacity: 0.8;
}
.form-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.form-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 22px; }
.field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label {
  font: 500 0.7rem/1 var(--sans); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
}
.field .req { color: var(--wine); filter: brightness(1.5); }
.input {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: rgba(10, 8, 7, 0.55);
  border: 1px solid var(--line-soft); border-radius: 2px;
  color: var(--ink); font: 400 1rem/1.4 var(--sans);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: #7d705f; }
.input:hover { border-color: var(--line); }
.input:focus { outline: none; border-color: var(--gold); background: rgba(10, 8, 7, 0.8); box-shadow: 0 0 0 3px rgba(214, 184, 138, 0.14); }
select.input {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%23d6b88a' stroke-width='1.5'><path d='M1 1l6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 16px center;
}
select.input option, select.input optgroup { background: #17110e; color: var(--ink); }
input[type="date"].input::-webkit-calendar-picker-indicator { filter: invert(0.8) sepia(0.5) saturate(2); cursor: pointer; opacity: 0.8; }
textarea.input { min-height: 104px; resize: vertical; }
.field.is-invalid .input { border-color: #d0524a; }
.field-error { display: none; font-size: 0.82rem; color: #f0857d; }
.field.is-invalid .field-error { display: block; }

.stepper {
  display: grid; grid-template-columns: 52px 1fr 52px; align-items: stretch;
  border: 1px solid var(--line-soft); border-radius: 2px; background: rgba(10, 8, 7, 0.55);
  min-height: 52px;
}
.stepper button {
  display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--gold);
  transition: background 0.3s, color 0.3s;
}
.stepper button:hover { background: rgba(214, 184, 138, 0.1); color: var(--gold-hi); }
.stepper button .icon { width: 18px; height: 18px; }
.stepper output {
  display: grid; place-items: center; font: 500 1.35rem/1 var(--serif); font-variant-numeric: lining-nums;
}

.form-submit { grid-column: 1 / -1; margin-top: 6px; display: flex; flex-direction: column; gap: 16px; }
.form-submit .btn { width: 100%; --pad-y: 20px; }
.form-hint { color: var(--muted); font-size: 0.86rem; line-height: 1.55; text-align: center; }
.form-status {
  display: none; padding: 16px 18px; border: 1px solid var(--gold);
  background: rgba(214, 184, 138, 0.08); color: var(--gold-hi); font-size: 0.98rem; line-height: 1.5;
}
.form-status.is-visible { display: block; }

@media (max-width: 900px) { .booking-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px 28px; }
}

/* ==========================================================================
   Контакты
   ========================================================================== */

.contacts { background: var(--bg-2); border-top: 1px solid var(--line-soft); }
.contacts-grid {
  display: grid; align-items: stretch;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
}
.info-list { display: grid; gap: 0; }
.info-row {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 18px;
  padding: 22px 0; border-bottom: 1px solid var(--line-soft);
}
.info-row:first-child { border-top: 1px solid var(--line-soft); }
.info-row .icon { width: 26px; height: 26px; color: var(--gold); stroke-width: 1.3; margin-top: 2px; }
.info-row dt {
  font: 500 0.7rem/1 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
}
.info-row dd { margin: 9px 0 0; font: 400 1.35rem/1.35 var(--serif); font-variant-numeric: lining-nums; color: var(--ink); }
.info-row dd small { display: block; margin-top: 4px; font: 300 0.94rem/1.5 var(--sans); color: var(--muted); }
.info-row dd a:hover { color: var(--gold-hi); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.social {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border: 1px solid var(--line-soft); border-radius: 999px;
  font: 400 0.92rem/1 var(--sans); color: var(--ink-2);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.social .icon { width: 18px; height: 18px; color: var(--gold); }
.social:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(214, 184, 138, 0.07); }
.contacts-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.map-card {
  position: relative; min-height: 460px; height: 100%;
  border: 1px solid var(--line); background: #14100d; overflow: hidden;
}
.map-card iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: invert(92%) hue-rotate(180deg) brightness(0.92) contrast(0.92) saturate(0.55) sepia(0.25);
}
.map-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 60px 8px rgba(10, 8, 7, 0.55);
}
.map-badge {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  padding: 14px 18px; background: rgba(10, 8, 7, 0.9); border: 1px solid var(--line);
  font-size: 0.92rem; line-height: 1.4;
}
.map-badge strong { display: block; font: 500 1.2rem/1.2 var(--serif); color: var(--gold-hi); letter-spacing: 0.04em; }
.map-badge span { color: var(--muted); }

@media (max-width: 900px) {
  .contacts-grid { grid-template-columns: 1fr; }
  .map-card { min-height: 380px; }
}
@media (max-width: 560px) {
  .contacts-actions .btn { flex: 1 1 100%; }
}

/* ==========================================================================
   Подвал
   ========================================================================== */

.footer { padding: 64px 0 40px; border-top: 1px solid var(--line-soft); background: var(--bg); }
.footer-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px;
  padding-bottom: 36px; border-bottom: 1px solid var(--line-soft);
}
.footer .brand-mark { width: 30px; height: 40px; }
.footer .brand-name { font-size: 1.25rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 32px; }
.footer-nav a {
  font: 400 0.78rem/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2);
}
.footer-nav a:hover { color: var(--gold-hi); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 40px;
  padding-top: 28px; color: var(--muted); font-size: 0.85rem; line-height: 1.6;
}
.footer-legal { max-width: 62ch; }

/* ==========================================================================
   Мобильная плавающая панель + появление при скролле
   ========================================================================== */

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(10, 8, 7, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-soft);
  transform: translateY(110%); transition: transform 0.5s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta .btn { --pad-y: 15px; --pad-x: 12px; font-size: 0.72rem; letter-spacing: 0.16em; }
@media (max-width: 720px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: 72px; }
}

.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
