/* DÔM — лаунж-ресторан. Демо-сайт: тёмный зал, шампанское и неон. */

:root {
  --ink: #08080a;
  --ink-2: #0e0e11;
  --card: #14141a;
  --card-2: #191921;
  --fg: #efeae1;
  --muted: #9c958a;
  --line: rgba(239, 234, 225, .12);
  --gold: #f2a45c;
  --champ: #d9c596;
  --wine: #7c2f34;
  --fd: 'Cormorant Garamond', 'Times New Roman', serif;
  --fb: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(76px, 10vw, 150px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 400 16px/1.7 var(--fb);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--fd); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
p { margin: 0; }
::selection { background: var(--gold); color: #12100d; }

.wrap { width: min(1280px, 100% - 48px); margin: 0 auto; }

/* ---------- служебное ---------- */

.grain {
  position: fixed;
  inset: -60%;
  z-index: 90;
  pointer-events: none;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 1%); }
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-content: center;
  gap: 22px;
  background: var(--ink);
  transition: opacity .7s ease, visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark {
  font-family: var(--fd);
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: .16em;
  color: var(--champ);
}
.loader-line { width: min(240px, 52vw); height: 1px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.loader-line i { display: block; height: 100%; width: 0; background: var(--gold); animation: load 1.5s var(--ease) forwards; }
@keyframes load { to { width: 100%; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* ---------- кнопки и ссылки ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .7em;
  padding: 1.05em 1.9em;
  border-radius: 999px;
  background: var(--gold);
  color: #171208;
  font-weight: 600;
  font-size: .86rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn i { transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(242, 164, 92, .75); }
.btn:hover i { transform: translateX(5px); }
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%);
  transform: translateX(-110%);
  transition: transform .7s var(--ease);
}
.btn:hover::after { transform: translateX(110%); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--champ); box-shadow: none; color: var(--champ); }
.btn-ghost::after { display: none; }
.btn-sm { padding: .8em 1.35em; font-size: .72rem; }
.btn-full { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--champ);
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(217, 197, 150, .35);
  transition: color .3s, border-color .3s;
}
.link-arrow i { transition: transform .35s var(--ease); }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover i { transform: translateX(5px); }

.kicker {
  display: flex;
  align-items: center;
  gap: .8em;
  font-size: .74rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5em;
}
.kicker i { width: 34px; height: 1px; background: currentColor; }

.lead { color: var(--muted); font-size: 1.06rem; }

.head { max-width: 720px; margin-bottom: clamp(38px, 5vw, 66px); }
.head h2 { margin-bottom: .35em; }
.head-note { color: var(--muted); max-width: 52ch; }

/* ---------- плашка «демо-версия» ---------- */

.demo-note {
  position: fixed;
  left: 50%;
  bottom: clamp(14px, 2.6vh, 26px);
  z-index: 105;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(680px, calc(100vw - 32px));
  padding: 11px 12px 11px 20px;
  border: 1px solid rgba(242, 164, 92, .38);
  border-radius: 999px;
  background: rgba(10, 10, 12, .82);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 26px 60px -26px rgba(0, 0, 0, .95);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition: opacity .7s var(--ease) .9s, transform .7s var(--ease) .9s;
}
body.is-ready .demo-note { opacity: 1; transform: translate(-50%, 0); }
.demo-note.is-gone { pointer-events: none; }
body.is-ready .demo-note.is-gone { opacity: 0; transform: translate(-50%, 20px); transition-delay: 0s; }
.demo-note b { flex: 0 0 auto; font-family: var(--fd); font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.demo-note span { font-size: .78rem; line-height: 1.45; color: rgba(239, 234, 225, .74); }
.demo-note button { flex: 0 0 auto; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 1rem; line-height: 1; transition: color .3s, border-color .3s; }
.demo-note button:hover { color: var(--gold); border-color: var(--gold); }

@media (max-width: 640px) {
  .demo-note { left: 16px; right: 16px; bottom: 14px; display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; padding: 12px 12px 13px 16px; border-radius: 18px; transform: none; }
  body.is-ready .demo-note { transform: none; }
  body.is-ready .demo-note.is-gone { transform: none; }
  .demo-note b { grid-column: 1; }
  .demo-note button { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .demo-note span { grid-column: 1 / 2; }
}

/* ---------- навигация ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px clamp(20px, 3.2vw, 46px);
  transition: background .5s, padding .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  padding-top: 13px;
  padding-bottom: 13px;
  background: rgba(8, 8, 10, .78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav-logo { font-family: var(--fd); font-size: 1.7rem; letter-spacing: .18em; color: var(--champ); display: flex; align-items: baseline; gap: .6em; }
.nav-logo span { font: 500 .6rem/1 var(--fb); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 26px; margin: 0 auto; }
.nav-links a { position: relative; font-size: .84rem; letter-spacing: .04em; color: rgba(239, 234, 225, .72); padding: 6px 0; transition: color .3s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--fg); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav-phone { font-size: .88rem; font-weight: 600; letter-spacing: .02em; color: var(--fg); white-space: nowrap; transition: color .3s; }
.nav-phone:hover { color: var(--gold); }
.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger i { display: block; width: 22px; height: 1px; background: var(--fg); transition: transform .35s var(--ease), opacity .3s; }
.burger.is-open i:first-child { transform: translateY(3px) rotate(45deg); }
.burger.is-open i:last-child { transform: translateY(-3px) rotate(-45deg); }
.nav-progress { position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: rgba(255, 255, 255, .07); }
.nav-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--champ), var(--gold)); }

/* ---------- hero ---------- */

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 118px clamp(20px, 3.2vw, 46px) clamp(40px, 6vw, 74px); isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background: #050506; }
.hero-slide {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  will-change: opacity, transform;
}
.hero-slide.is-on { opacity: 1; animation: kenburns 9.5s ease-out forwards; }
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.14) translate3d(-1.4%, -1%, 0); }
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 15% 100%, rgba(8, 8, 10, .92) 0%, rgba(8, 8, 10, .35) 55%, transparent 75%),
    linear-gradient(180deg, rgba(8, 8, 10, .75) 0%, rgba(8, 8, 10, .15) 40%, rgba(8, 8, 10, .88) 100%);
}
.hero-inner { width: min(1280px, 100%); margin: 0 auto; }
.hero-title { font-size: clamp(2.5rem, 7.2vw, 6.1rem); letter-spacing: -.02em; margin-bottom: .28em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line span { display: block; transform: translateY(110%); transition: transform 1.15s var(--ease); }
.hero-title .line:nth-child(2) span { transition-delay: .1s; }
.hero-title .line:nth-child(3) span { transition-delay: .2s; }
.is-ready .hero-title .line span { transform: none; }
.hero-title .line:nth-child(1) span { color: var(--champ); font-size: 1.15em; }
.hero-title .line:nth-child(3) span { font-style: italic; color: rgba(239, 234, 225, .92); }
.hero-text { max-width: 44ch; color: rgba(239, 234, 225, .8); font-size: 1.02rem; margin-bottom: 1.7em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(22px, 3vw, 40px); }
.hero-facts { display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px); list-style: none; margin: 0; padding: clamp(16px, 2.4vw, 24px) 0 0; border-top: 1px solid var(--line); }
.hero-facts li { display: flex; align-items: baseline; gap: .7em; }
.hero-facts b { font-family: var(--fd); font-size: clamp(1.9rem, 3.4vw, 2.9rem); font-weight: 400; color: var(--gold); line-height: 1; }
.hero-facts span { font-size: .82rem; color: var(--muted); max-width: 17ch; }
.hero-scroll { position: absolute; right: clamp(20px, 3.2vw, 46px); bottom: clamp(48px, 7vw, 92px); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.hero-scroll span { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); overflow: hidden; position: relative; }
.hero-scroll span::after { content: ''; position: absolute; inset: 0; background: var(--champ); animation: drop 2.2s var(--ease) infinite; }
@keyframes drop { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero-dots { position: absolute; left: clamp(20px, 3.2vw, 46px); bottom: clamp(48px, 7vw, 92px); display: flex; gap: 10px; }
.hero-dots button { width: 34px; height: 2px; background: rgba(239, 234, 225, .25); transition: background .4s, transform .4s; }
.hero-dots button.is-on { background: var(--gold); transform: scaleX(1.25); transform-origin: left; }

/* ---------- бегущая строка ---------- */

.marquee { position: relative; z-index: 1; overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); padding: 21px 0; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: slide 32s linear infinite; }
.marquee-track span { font-family: var(--fd); font-size: clamp(1.2rem, 2.4vw, 1.9rem); color: rgba(239, 234, 225, .85); white-space: nowrap; }
.marquee-track i { color: var(--gold); font-style: normal; font-size: .8rem; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- о ресторане ---------- */

.about { padding: var(--pad) 0; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-media > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.about-media-back { position: absolute; width: 54% !important; aspect-ratio: 3 / 4 !important; right: -8%; bottom: -12%; border: 6px solid var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9); }
.about-badge {
  position: absolute;
  left: -6%;
  top: 8%;
  padding: 20px 22px;
  background: rgba(20, 20, 26, .82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  max-width: 210px;
}
.about-badge b { display: block; font-family: var(--fd); font-size: 1.5rem; letter-spacing: .16em; color: var(--champ); }
.about-badge span { font-size: .76rem; color: var(--muted); line-height: 1.5; }
.about-body h2 { margin-bottom: .5em; }
.about-body > .lead { margin-bottom: 2.4em; }
.about-points { display: grid; gap: 22px; margin-bottom: 2.6em; }
.point { display: flex; gap: 18px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.point:last-child { border-bottom: 0; padding-bottom: 0; }
.point-num { font-family: var(--fd); font-size: 1.1rem; color: var(--gold); opacity: .8; min-width: 30px; }
.point b { display: block; font-family: var(--fd); font-size: 1.35rem; font-weight: 500; margin-bottom: .2em; }
.point p { color: var(--muted); font-size: .93rem; }

/* ---------- залы ---------- */

.halls { padding: 0 0 var(--pad); }
.halls-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hall { position: relative; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), border-color .6s; }
.hall:hover { transform: translateY(-8px); border-color: rgba(242, 164, 92, .5); }
.hall-img { overflow: hidden; aspect-ratio: 4 / 3; }
.hall-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; }
.hall:hover .hall-img img { transform: scale(1.07); filter: saturate(1.15); }
.hall-body { padding: 26px 26px 30px; }
.hall-body h3 { margin-bottom: .35em; color: var(--champ); }
.hall-body p { color: var(--muted); font-size: .92rem; margin-bottom: 1.5em; min-height: 4.5em; }
.hall-pick { display: inline-flex; align-items: center; gap: .6em; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); border-bottom: 1px solid rgba(242, 164, 92, .35); padding-bottom: 5px; transition: gap .35s var(--ease); }
.hall-pick i { transition: transform .35s var(--ease); }
.hall-pick:hover { gap: 1em; }
.hall-pick:hover i { transform: translateX(4px); }

/* ---------- меню ---------- */

.menu { padding: var(--pad) 0; background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 45%, var(--ink) 100%); }
.menu-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(34px, 4vw, 54px); }
.menu-tabs button { padding: .68em 1.25em; border: 1px solid var(--line); border-radius: 999px; font-size: .82rem; color: rgba(239, 234, 225, .7); transition: color .3s, border-color .3s, background .3s; }
.menu-tabs button:hover { color: var(--fg); border-color: rgba(217, 197, 150, .5); }
.menu-tabs button.is-on { background: var(--gold); border-color: var(--gold); color: #171208; font-weight: 600; }
.menu-body { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(34px, 5vw, 70px); align-items: start; }
.menu-photo { position: sticky; top: 110px; overflow: hidden; aspect-ratio: 3 / 4; border: 1px solid var(--line); }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform 1.2s var(--ease); }
.menu-photo img.is-swap { opacity: 0; transform: scale(1.05); }
.menu-lists { min-width: 0; }
.menu-list { display: none; list-style: none; margin: 0; padding: 0; }
.menu-list.is-on { display: block; animation: fade .6s var(--ease) both; }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } }
.menu-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .7em; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.menu-list li:first-child { padding-top: 0; }
.menu-list .dish { order: 1; flex: 0 1 auto; font-family: var(--fd); font-size: clamp(1.2rem, 1.9vw, 1.5rem); }
.menu-list i { order: 2; flex: 1 1 30px; min-width: 26px; height: 1px; background: repeating-linear-gradient(90deg, rgba(239, 234, 225, .3) 0 2px, transparent 2px 8px); }
.menu-list .price { order: 3; font-size: .96rem; font-weight: 600; color: var(--gold); white-space: nowrap; }
.menu-list em { order: 4; flex: 100%; font-style: normal; font-size: .78rem; color: var(--muted); letter-spacing: .02em; }
.menu-note { margin-top: 26px; font-size: .84rem; color: var(--muted); }

/* ---------- акции ---------- */

.promos { padding: 0 0 var(--pad); }
.promos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.promo { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: border-color .5s, transform .6s var(--ease); }
.promo:hover { border-color: rgba(217, 197, 150, .45); transform: translateY(-6px); }
.promo-img { overflow: hidden; min-height: 240px; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.promo:hover .promo-img img { transform: scale(1.08); }
.promo-body { padding: clamp(24px, 3vw, 40px); }
.promo-tag { display: inline-block; margin-bottom: 1.3em; padding: .4em .9em; border: 1px solid rgba(242, 164, 92, .4); border-radius: 999px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.promo-body h3 { margin-bottom: .45em; }
.promo-body p { color: var(--muted); font-size: .92rem; margin-bottom: 1.6em; }

/* ---------- события ---------- */

.events { padding: 0 0 var(--pad); }
.events-card { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(30px, 5vw, 70px); padding: clamp(34px, 5vw, 68px); background: radial-gradient(120% 140% at 85% 10%, rgba(124, 47, 52, .5) 0%, rgba(20, 20, 26, .9) 55%, var(--card) 100%); border: 1px solid var(--line); position: relative; overflow: hidden; }
.events-card::after { content: ''; position: absolute; width: 340px; height: 340px; right: -120px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 164, 92, .35), transparent 65%); filter: blur(20px); pointer-events: none; }
.events-text h2 { margin-bottom: .5em; font-size: clamp(2rem, 4.2vw, 3.4rem); }
.events-text p { color: rgba(239, 234, 225, .78); max-width: 54ch; margin-bottom: 2em; }
.events-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.events-list { list-style: none; margin: 0; padding: 0; display: grid; align-content: center; gap: 16px; border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 40px); }
.events-list li { display: flex; flex-direction: column; gap: 3px; }
.events-list b { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.events-list span { font-family: var(--fd); font-size: 1.3rem; color: rgba(239, 234, 225, .9); }

/* ---------- галерея ---------- */

.gallery { padding: var(--pad) 0; }
.gallery .head { width: min(1280px, 100% - 48px); margin-inline: auto; }
.gal-grid { width: min(1280px, 100% - 48px); margin: 0 auto; columns: 3; column-gap: 18px; }
.gal-item { break-inside: avoid; margin: 0 0 18px; position: relative; overflow: hidden; cursor: pointer; background: var(--card); }
.gal-item img { width: 100%; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.86) brightness(.92); }
.gal-item:hover img { transform: scale(1.06); filter: saturate(1.1) brightness(1); }
.gal-item figcaption { position: absolute; inset: auto 0 0; padding: 44px 20px 18px; font-size: .8rem; letter-spacing: .04em; color: var(--fg); background: linear-gradient(transparent, rgba(8, 8, 10, .88)); opacity: 0; transform: translateY(12px); transition: opacity .5s, transform .5s var(--ease); }
.gal-item:hover figcaption { opacity: 1; transform: none; }
.gal-item:nth-child(3n+1) img { aspect-ratio: 4 / 5; object-fit: cover; }
.gal-item:nth-child(3n+2) img { aspect-ratio: 1 / 1; object-fit: cover; }
.gal-item:nth-child(3n) img { aspect-ratio: 3 / 4; object-fit: cover; }

/* ---------- бронирование ---------- */

.booking { padding: 0 0 var(--pad); }
.booking-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 84px); align-items: start; }
.booking-side h2 { margin-bottom: .4em; }
.booking-side > .lead { margin-bottom: 2.2em; }
.booking-facts { list-style: none; margin: 0 0 2.4em; padding: 0; display: grid; gap: 14px; }
.booking-facts li { display: flex; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.booking-facts b { min-width: 108px; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.booking-facts span { color: var(--muted); font-size: .92rem; }
.booking-photo { overflow: hidden; border: 1px solid var(--line); }
.booking-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.form { position: relative; padding: clamp(24px, 3.4vw, 46px); background: linear-gradient(180deg, var(--card-2), var(--card)); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: block; margin-bottom: 18px; }
.field > span { display: block; margin-bottom: 8px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.opt { text-transform: none; letter-spacing: 0; font-size: .95em; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .9em 1em;
  background: rgba(8, 8, 10, .55);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--fg);
  font: 400 .98rem/1.4 var(--fb);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--gold); background: rgba(8, 8, 10, .8); box-shadow: 0 0 0 3px rgba(242, 164, 92, .14); }
.field input::placeholder, .field textarea::placeholder { color: rgba(156, 149, 138, .6); }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 49%, var(--gold) 50%), linear-gradient(-45deg, transparent 49%, var(--gold) 50%); background-size: 7px 7px; background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-repeat: no-repeat; cursor: pointer; }
.field input[type='date'] { cursor: pointer; }
.field input[type='date']::-webkit-calendar-picker-indicator { filter: invert(1) opacity(.6); cursor: pointer; }
.err { display: none; margin-top: 7px; font-style: normal; font-size: .76rem; color: #e0736f; }
.field.is-bad input, .field.is-bad select { border-color: rgba(224, 115, 111, .8); }
.field.is-bad .err { display: block; }

.stepper { display: flex; align-items: center; border: 1px solid var(--line); background: rgba(8, 8, 10, .55); }
.stepper button { width: 46px; height: 46px; font-size: 1.3rem; color: var(--gold); transition: background .3s, color .3s; }
.stepper button:hover { background: rgba(242, 164, 92, .14); }
.stepper input { border: 0; border-radius: 0; text-align: center; font-family: var(--fd); font-size: 1.25rem; background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper:focus-within { border-color: var(--gold); }

.agree { display: flex; align-items: flex-start; gap: 12px; margin: 6px 0 8px; font-size: .82rem; color: var(--muted); cursor: pointer; }
.agree input { appearance: none; flex: 0 0 auto; width: 18px; height: 18px; margin: 2px 0 0; border: 1px solid var(--line); background: rgba(8, 8, 10, .6); display: grid; place-content: center; cursor: pointer; transition: border-color .3s, background .3s; }
.agree input:checked { background: var(--gold); border-color: var(--gold); }
.agree input:checked::after { content: '✓'; font-size: 12px; color: #171208; font-weight: 700; }
.err-agree { margin-bottom: 14px; }
.err-agree.is-show { display: block; }
.form-foot { margin-top: 14px; font-size: .76rem; color: rgba(156, 149, 138, .75); }

.form-done { position: absolute; inset: 0; display: grid; place-content: center; gap: 14px; text-align: center; padding: clamp(24px, 4vw, 50px); background: linear-gradient(180deg, rgba(25, 25, 33, .98), rgba(20, 20, 26, .98)); animation: fade .6s var(--ease) both; }
.form-done[hidden] { display: none; }
.done-mark { width: 58px; height: 58px; margin: 0 auto 6px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-content: center; color: var(--gold); font-size: 1.5rem; }
.form-done h3 { color: var(--champ); }
.form-done p { color: var(--muted); font-size: .92rem; max-width: 40ch; margin: 0 auto; }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.done-note { font-size: .78rem; }
.done-note a { color: var(--gold); border-bottom: 1px solid rgba(242, 164, 92, .4); }

/* ---------- подвал ---------- */

.footer { padding: clamp(50px, 6vw, 80px) 0 30px; border-top: 1px solid var(--line); background: var(--ink-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr .8fr; gap: clamp(28px, 4vw, 56px); margin-bottom: clamp(34px, 4vw, 56px); }
.footer-logo { font-family: var(--fd); font-size: 2.4rem; letter-spacing: .2em; color: var(--champ); margin-bottom: .3em; }
.footer-brand p { color: var(--muted); font-size: .9rem; max-width: 34ch; margin-bottom: 1.8em; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 44px; height: 44px; display: grid; place-content: center; border: 1px solid var(--line); border-radius: 50%; color: var(--champ); transition: color .3s, border-color .3s, background .3s, transform .3s; }
.footer-social a svg { width: 19px; height: 19px; display: block; fill: currentColor; }
.footer-social a:hover { color: var(--gold); border-color: var(--gold); background: rgba(242, 164, 92, .09); transform: translateY(-3px); }
.footer-col b { display: block; margin-bottom: 1em; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.footer-col p { color: var(--muted); font-size: .9rem; margin-bottom: 1.2em; }
.footer-col a { color: var(--fg); transition: color .3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .78rem; color: rgba(156, 149, 138, .7); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- лайтбокс ---------- */

.lightbox { position: fixed; inset: 0; z-index: 115; display: grid; place-content: center; gap: 16px; padding: 5vh 6vw; background: rgba(5, 5, 7, .94); backdrop-filter: blur(6px); animation: fade .35s ease both; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-height: 76vh; max-width: 100%; object-fit: contain; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .95); }
.lightbox figcaption { font-size: .84rem; color: var(--muted); letter-spacing: .04em; }
.lb-close, .lb-nav { position: absolute; display: grid; place-content: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; color: var(--fg); font-size: 1.5rem; transition: border-color .3s, color .3s, transform .3s; }
.lb-close:hover, .lb-nav:hover { border-color: var(--gold); color: var(--gold); }
.lb-close { top: 22px; right: 22px; font-size: 1.3rem; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) translateX(-4px); }
.lb-next:hover { transform: translateY(-50%) translateX(4px); }

/* ---------- адаптив ---------- */

@media (max-width: 1180px) {
  .nav-links { gap: 18px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gal-grid { columns: 2; }
}

@media (max-width: 980px) {
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 2px; margin: 0; padding: 18px clamp(20px, 5vw, 34px) 30px; background: #0a0a0c; border-bottom: 1px solid var(--line); box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .95); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s, transform .4s var(--ease), visibility .35s; }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { font-family: var(--fd); font-size: 1.55rem; padding: 9px 0; color: rgba(239, 234, 225, .8); }
  .burger { display: flex; }
  .nav-phone { display: none; }
  .about-grid, .menu-body, .booking-grid, .events-card, .halls-grid, .promos-grid { grid-template-columns: 1fr; }
  .about-media-back { display: none; }
  .about-badge { left: 16px; top: 16px; }
  .halls-grid { gap: 18px; }
  .hall-body p { min-height: 0; }
  .menu-photo { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .events-list { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0 0; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .events-card::after { display: none; }
  .promo { grid-template-columns: 1fr; }
  .promo-img { min-height: 200px; aspect-ratio: 16 / 10; }
  .hero-scroll { display: none; }
}

@media (max-width: 640px) {
  :root { --pad: 68px; }
  .wrap, .gallery .head, .gal-grid { width: calc(100% - 36px); }
  h2 { font-size: 2.35rem; }
  .hero { align-items: flex-end; padding-bottom: 96px; }
  .hero { padding-top: 104px; }
  .hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .hero-facts li { flex-direction: column; gap: 1px; }
  .hero-facts b { font-size: 1.35rem; }
  .hero-facts span { font-size: .68rem; line-height: 1.3; max-width: none; }
  .hero-text { font-size: .96rem; }
  .hero-dots { left: 50%; transform: translateX(-50%); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .gal-grid { columns: 1; }
  .events-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-logo span { display: none; }
  .btn { padding: .95em 1.4em; font-size: .78rem; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-slide { opacity: 0; }
  .hero-slide.is-on { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .line span { transform: none; }
}
