/* =========================================================
   Август13 — Новогодние корпоративы
   Макет: Figma «Главная4», 1280px. Адаптив до 320px.
   ========================================================= */

:root {
  /* цвета из макета */
  --green: #23423b;
  --green-light: #3a635a;
  --mint: #b4dad2;          /* ny 1 */
  --cream: #f2ead3;
  --be: #f3f1f0;            /* BE */
  --white: #fdfdfd;         /* ss white */
  --dark: #1a1a1a;          /* #212121 + 20% black */
  --dark-card: #262627;
  --dark-footer: #121212;
  --grey: #949494;          /* GRE DARK */
  --grey-light: #c4c4c4;    /* GRE */
  --input: #e8e8e8;
  --input-border: #e4e4e4;
  --ink: #201f1c;           /* av 2 */

  --f-head: "Playfair Display", "Times New Roman", serif;
  --f-ui: "Roboto", Arial, sans-serif;
  --f-text: "Proxima Nova", "Mulish", Arial, sans-serif;
  --f-num: "Prata", "Playfair Display", serif;

  --gutter: 40px;
  --container: 1280px;
  --ease: cubic-bezier(.7, 0, .3, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--f-ui);
  font-size: 14px;
  line-height: 1.43;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;               /* clip не ломает position: sticky */
}
h1, h2, h3, p, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- typography ---------- */
.h-section,
.h-xl,
.h-lg,
.h-card,
.hero__date,
.hero__title {
  font-family: var(--f-head);
  font-weight: 400;
  line-height: 1.333;
  text-transform: uppercase;
}
.h-section { font-size: clamp(26px, 3.125vw, 40px); }
.h-xl      { font-size: clamp(28px, 5.625vw, 72px); }
.h-lg      { font-size: clamp(28px, 4.6875vw, 60px); }
.h-card    { font-size: clamp(20px, 1.875vw, 24px); }

.text-l {
  font-family: var(--f-text);
  font-size: clamp(16px, 1.5625vw, 20px);
  line-height: 2;
  color: var(--be);
}

/* ---------- buttons (текст «перекатывается» при наведении, как в вариантах компонента) ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px 28px;
  border-radius: 3px;
  font-family: var(--f-ui);
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--white);
  transition: background-color .3s, border-color .3s;
}
.btn--outline { border: 1px solid var(--grey); }
.btn--dark { background: var(--dark-card); }

.btn__t {
  position: relative;
  display: block;
  transition: transform .5s var(--ease);
}
.btn__t::after {
  content: attr(data-t);
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 20px);
  color: var(--mint);
}
.btn:hover .btn__t,
.btn:focus-visible .btn__t { transform: translateY(calc(-100% - 20px)); }
.btn--outline:hover { border-color: var(--mint); }
.btn--dark:hover { background: #2e2e30; }

/* ---------- reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
/* фото в intro и карточки залов появляются в 4 раза быстрее (0.25s вместо 1s) и с меньшим сдвигом */
.js .intro__img.reveal,
.js .hall.reveal { transition-duration: .25s; transform: translateY(20px); }
.js .intro__img.reveal.is-visible,
.js .hall.reveal.is-visible { transform: none; }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color .4s, padding .4s, backdrop-filter .4s;
}
.header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 36px var(--gutter) 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: padding .4s var(--ease-out);
}
.header.is-scrolled {
  background: rgba(18, 18, 18, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.header.is-scrolled .header__inner { padding-top: 12px; padding-bottom: 12px; }

.header__logo { flex-shrink: 0; }
.header__logo img {
  width: 158px; height: 44px;
  font-family: var(--f-head); font-style: italic; font-size: 26px; color: var(--cream);
}

.nav { display: flex; align-items: center; }
.nav__link {
  position: relative;
  padding: 10px;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
  color: var(--cream);
  white-space: nowrap;
  transition: color .3s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__link:hover { color: var(--mint); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: none; }

.burger {
  display: none;
  position: relative;
  width: 40px; height: 40px;
  z-index: 2;
}
.burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--cream);
  transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease);
}
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; left: 18px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 19px; left: 8px; transform: rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 832px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0d1412;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  animation: heroZoom 2.4s var(--ease-out) both;
}
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .6);
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

.hero__content {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: clamp(32px, 10vw, 128px);
  row-gap: 35px;
  padding-top: 9px;
}
.hero__row { display: contents; }
.hero__date { font-size: clamp(22px, 3.125vw, 40px); color: var(--cream); white-space: nowrap; text-transform: none; }
.hero__title { font-size: clamp(22px, 3.125vw, 40px); color: #fff; max-width: 820px; }
.hero__title { --d: .12s; }
.hero__text {
  --d: .24s;
  grid-column: 2;
  max-width: 677px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
}
.hero__text p + p { margin-top: 10px; }
.hero__mobile-cta { display: none; }

.share {
  position: absolute;
  left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  bottom: 102px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 0 4px;
  mix-blend-mode: exclusion;
}
.share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  transition: transform .3s var(--ease-out), opacity .3s;
}
.share__btn--ring { border: 1px solid #888; }
.share__btn:hover { transform: scale(1.12); }

/* =========================================================
   «STACK» — липкий заголовок, на который наезжают фото
   ========================================================= */
.stack { position: relative; isolation: isolate; }
.stack__sticky { position: sticky; top: 0; z-index: 1; }
.stack__fade { position: relative; z-index: 2; height: 300px; pointer-events: none; }
.stack__media { position: relative; z-index: 3; }

/* =========================================================
   INTRO
   ========================================================= */
.intro {
  background: var(--green);
  display: grid;                  /* текст и фото в одной ячейке: первое фото стоит рядом с текстом */
}
.intro > .stack__sticky,
.intro > .stack__media { grid-area: 1 / 1; }
.intro .stack__sticky { height: auto; align-self: start; }
.intro .stack__fade { display: none; }
.intro__head { padding-top: 121px; }
.intro__text {
  width: min(511px, 100%);
  margin-left: 50.75%;
}
.intro__text .h-section { margin-bottom: 40px; }
.intro__p {
  --d: .1s;
  font-size: 14px;
  line-height: 30px;
}
.intro__p p + p { margin-top: 10px; }
.intro__cta {
  --d: .2s;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 42px;
  margin-top: 100px;
  margin-right: 25px;
}
.intro__note { font-size: 14px; line-height: 1; opacity: .7; }

.intro__media {
  align-self: start;
  width: 100%;
  max-width: var(--container);
  margin-left: auto; margin-right: auto;
  padding-top: var(--intro-photo-offset, 480px);   /* где начинается первое фото: 121px — вровень с заголовком, больше — ниже и позже */
  padding-bottom: 73px;           /* отступ внутри — фото держатся до самого конца блока */
}
.intro__img {
  position: sticky;               /* фото доезжает до верха и держится до конца блока */
  top: 0;
  width: 49.15%;
  aspect-ratio: 629 / 832;
  border-radius: 5px;
  overflow: hidden;
  background: #2a3a36;
}
.intro__img img { width: 100%; height: 100%; object-fit: cover; }
.intro__img--2 { width: 49.2%; margin: 98px 0 0 auto; }

/* =========================================================
   SHOW
   ========================================================= */
.show {
  position: relative;
  z-index: 4;
  background: linear-gradient(var(--green) 0 515px, var(--dark) 515px);
  padding: 120px 0 50px;
}
.show .container { position: relative; }
.show__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 64px;
}
.show__info {
  --d: .1s;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  margin: 28px 0 0;
}
.show__fact {
  padding-left: 20px;
  border-left: 1px solid rgba(180, 218, 210, .45);
}
.show__fact dt {
  font-size: 14px;
  line-height: 20px;
  text-transform: uppercase;
  color: var(--mint);
}
.show__fact dd {
  margin: 6px 0 0;
  font-family: var(--f-head);
  font-size: clamp(20px, 1.875vw, 24px);
  line-height: 1.3;
  text-transform: uppercase;
  color: #fff;
}
.show__fact dd span {
  font-family: var(--f-text);
  font-size: 16px;
  text-transform: none;
  color: var(--be);
  opacity: .8;
}
.show__arrows { --d: .1s; display: flex; gap: 10px; flex-shrink: 0; padding-bottom: 12px; }
.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--grey);
  border-radius: 50%;
  color: var(--white);
  transition: border-color .3s, color .3s, background-color .3s, transform .3s var(--ease-out);
}
.arrow:hover { border-color: var(--mint); color: var(--mint); }
#showPrev:hover { transform: translateX(-3px); }
#showNext:hover { transform: translateX(3px); }
.arrow:active { background: rgba(180, 218, 210, .12); }

.show__slider { display: grid; }
.show__slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 895fr) minmax(0, 285fr);
  gap: 20px;
  height: 481px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s var(--ease-out), visibility 0s .7s;
}
.show__slide.is-active { opacity: 1; visibility: visible; transition: opacity .7s var(--ease-out); }

.show__photo {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 64px 24px 48px;
  background: #2b2b2b;
}
.show__photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: bottom;
  transform: scale(1.06);
  transition: transform 1.4s var(--ease-out);
}
.show__slide.is-active .show__photo img { transform: scale(1); }
.show__photo .btn { position: relative; }

.show__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 64px 24px 48px;
  border-radius: 4px;
  background: var(--dark-card);
}
.show__card .h-card { color: #fff; }
.show__card > * {
  transform: translateY(16px);
  opacity: 0;
  transition: transform .8s var(--ease-out) .15s, opacity .8s var(--ease-out) .15s;
}
.show__slide.is-active .show__card > * { transform: none; opacity: 1; }

/* =========================================================
   MENU
   ========================================================= */
.menu { position: relative; z-index: 4; background: var(--dark); padding: 120px 0 50px; }
.menu__head { padding-bottom: 100px; }
.menu__title { color: var(--cream); margin-bottom: 40px; }
.menu__text { max-width: 769px; font-size: 14px; line-height: 30px; --d: .1s; }
.menu__img {
  height: 402px;
  border-radius: 4px;
  overflow: hidden;
  background: #2b2b2b;
}
.menu__img img { width: 100%; height: 100%; object-fit: cover; object-position: bottom; }

.menu__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.menu__card {
  min-height: 140px;
  padding: 10px;
  background: var(--dark-card);
  font-family: var(--f-text);
  font-size: clamp(16px, 1.5625vw, 20px);
  line-height: 2;
  color: var(--be);
}
.menu__card:nth-child(2) { --d: .1s; }
.menu__card:nth-child(3) { --d: .2s; }

.menu__btns {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding-bottom: 50px;
}
.menu__btns .btn { min-width: 268px; }

/* =========================================================
   HALLS
   ========================================================= */
.halls { background: var(--dark); }
.halls .stack__sticky { height: auto; padding-bottom: 40px; }   /* залы идут сразу после заголовка */
.halls__head { padding-top: 200px; }
.halls__head .h-lg { margin-left: 50.83%; }
.halls .stack__fade {
  margin-top: 0;
  background: linear-gradient(rgba(26, 26, 26, 0), var(--dark));
}
.halls__media {
  margin-top: -260px;                                    /* основной зал через 40px после заголовка */
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 22px;
  align-items: start;
  padding-bottom: 120px;
  background: linear-gradient(transparent 0 260px, var(--dark) 260px);
}
.hall { position: sticky; top: 0; background: var(--dark); }   /* зал доезжает до верха и держится до конца блока */
.hall--main { grid-column: 2; grid-row: 1; }
.hall--vip  { grid-column: 1; grid-row: 1; margin-top: 360px; margin-left: 3px; }

.hall__img {
  position: relative;
  aspect-ratio: 587 / 600;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 40px;
  background: #2b2b2b;
}
.hall__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.85);
  transform: scale(1.001);
  transition: filter .8s var(--ease-out), transform 1.2s var(--ease-out);
}
.hall__btn {
  position: absolute;
  left: 50%;
  bottom: 35px;
  transform: translate(-50%, 16px);
  opacity: 0;
  transition: opacity .4s, transform .5s var(--ease-out), background-color .3s;
}
.hall:hover .hall__img img { filter: none; transform: scale(1.04); }
.hall:hover .hall__btn,
.hall__btn:focus-visible { opacity: 1; transform: translate(-50%, 0); }
.hall .h-card { color: #fff; margin-bottom: 10px; }

/* =========================================================
   BOOKING
   ========================================================= */
.booking { position: relative; z-index: 4; background: var(--green); padding: 120px 0 150px; }
.booking__head {
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 80px;
  text-align: center;
}
.booking__head .h-xl { color: #fff; margin-bottom: 10px; }
.booking__head .text-l { --d: .1s; }

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 21px 16px;
}
.field {
  position: relative;
  display: flex;
  align-items: center;
  height: 68px;
  background: var(--input);
  border: 1px solid var(--input-border);
  border-radius: 3px;
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 20px;
  transition: border-color .3s, box-shadow .3s;
}
.field:focus-within { border-color: var(--mint); box-shadow: 0 0 0 3px rgba(180, 218, 210, .35); }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 100%;
  padding: 0 16px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: inherit;
  line-height: 1;
}
.field ::placeholder { color: var(--ink); opacity: 1; }
.field.is-error { border-color: #e31e24; }

.field--date select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 60px; }
.field--date select:invalid { color: var(--ink); }
.field__chev { position: absolute; right: 20px; pointer-events: none; }

.field--phone { gap: 0; }
.phone__code {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 4px 0 20px;
  color: #1b4332;
  flex-shrink: 0;
}
.phone__flag {
  width: 32px; height: 24px;
  border: 1px solid var(--input-border);
  border-radius: 4px;
  background: linear-gradient(var(--white) 0 33.3%, #2f80ed 33.3% 66.6%, #e31e24 66.6%);
}
.phone__input { flex: 1; height: 100%; }

.field--guests { padding-left: 16px; }
.guests__label { flex: 1; white-space: nowrap; }
.field--guests input {
  width: 64px;
  padding: 0;
  text-align: center;
  -moz-appearance: textfield;
}
.field--guests input::-webkit-outer-spin-button,
.field--guests input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.guests__btn {
  width: 50px; height: 50px;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
  border-radius: 3px;
  transition: background-color .2s;
}
.guests__btn:hover { background: rgba(35, 66, 59, .08); }

.field--area { height: 100px; align-items: stretch; }
.field--area textarea { padding: 16px; resize: none; }

.form__submit { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.form__agree { font-family: var(--f-text); font-size: 20px; line-height: 1; color: var(--input); }
.form__msg { font-family: var(--f-text); font-size: 16px; color: var(--mint); min-height: 0; }
.form__msg:empty { display: none; }
.form__msg.is-error { color: #ffb4a8; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form .btn.is-loading { pointer-events: none; opacity: .7; }
.form .btn.is-loading .btn__t { transform: none; }
.form .btn.is-loading .btn__t::before {
  content: "";
  display: inline-block;
  width: 12px; height: 12px;
  margin-right: 10px;
  vertical-align: -1px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--dark-footer); padding: 77px 0 82px; }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 32px;
}
.footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 10px 0;
  width: 183px;
}
.footer__logo {
  width: 156px; height: 37px;
  font-family: var(--f-head); font-style: italic; font-size: 24px; color: var(--cream);
}
.footer__meta {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  font-family: var(--f-text);
  font-size: 14px;
  line-height: 20px;
}
.footer__addr { color: var(--cream); }
.footer__copy { color: var(--grey-light); }
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; width: 176px; }
.footer__col--right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 72px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 183px;
  font-family: var(--f-text);
  font-size: 14px;
  line-height: 20px;
  color: var(--grey-light);
}
.footer__links a { text-decoration: underline; text-underline-offset: 3px; transition: color .3s; }
.footer__links a:hover { color: var(--mint); }

.d-only { display: inline; }

/* =========================================================
   ≤ 1200
   ========================================================= */
@media (max-width: 1200px) {
  .nav__link { padding: 10px 7px; }
  .nav__link::after { left: 7px; right: 7px; }
}

/* =========================================================
   ≤ 1024 — планшет: бургер-меню
   ========================================================= */
@media (max-width: 1024px) {
  :root { --gutter: 32px; }

  .burger { display: block; }
  .header__inner { gap: 16px; }
  .header__cta { margin-left: auto; }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    padding: 96px var(--gutter) 48px;
    background: var(--dark-footer);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-16px);
    transition: opacity .4s var(--ease-out), transform .5s var(--ease-out), visibility 0s .5s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
  }
  .nav .nav__link {
    padding: 10px 0;
    font-family: var(--f-head);
    font-size: clamp(24px, 5vw, 36px);
    line-height: 1.3;
  }
  .nav .nav__link::after { left: 0; right: 0; bottom: 8px; }
  .nav__cta { display: inline-flex; margin-top: 24px; }
  .header__logo { position: relative; z-index: 2; }

  .hero { min-height: 720px; }
  .hero__text { font-size: 13px; }

  .intro__text { margin-left: calc(49.15vw - var(--gutter) + 20px); width: auto; }   /* правее первого фото */
  .intro__cta { margin-right: 0; }

  .show__slide { height: 440px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .show__card { padding: 40px 20px 32px; }
  .show__card .text-l { line-height: 1.7; }

  .halls__head .h-lg { margin-left: 50%; }
}

/* =========================================================
   ≤ 768 — мобильная версия
   ========================================================= */
@media (max-width: 768px) {
  :root { --gutter: 16px; }

  .d-only { display: none; }

  /* header */
  .header__inner,
  .header.is-scrolled .header__inner { padding: 12px var(--gutter); }
  .header__logo img { width: 120px; height: 34px; }
  .header__cta { display: none; }
  .burger { margin-left: auto; }

  /* hero */
  .hero { min-height: 100vh; align-items: flex-end; }
  @supports (min-height: 100svh) { .hero { min-height: 100svh; } }
  .hero__content {
    grid-template-columns: 1fr;
    row-gap: 16px;
    padding-top: 120px;
    padding-bottom: 112px;
  }
  .hero__text { grid-column: 1; font-size: 12px; line-height: 18px; margin-top: 4px; }
  .hero__text p + p { margin-top: 6px; }
  .hero__mobile-cta { display: inline-flex; justify-self: start; margin-top: 12px; }
  .share {
    left: var(--gutter);
    bottom: 32px;
    flex-direction: row;
    gap: 12px;
    padding: 0;
  }

  /* stack: без липкости на телефоне */
  .stack__sticky { position: relative; height: auto !important; padding-bottom: 0 !important; }
  .stack__fade { display: none; }
  .stack__media { margin-top: 0 !important; background: none !important; }

  /* intro */
  .intro { padding-bottom: 0; display: block; }
  .intro__head { padding-top: 64px; }
  .intro__text { margin-left: 0; width: 100%; }
  .intro__text .h-section { margin-bottom: 24px; }
  .intro__p { font-size: 14px; line-height: 24px; }
  .intro__cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
  }
  .intro__note br { display: none; }
  .intro__media { padding: 40px 0 0; }
  .intro__img { width: 100%; aspect-ratio: 4 / 5; border-radius: 0; }
  .intro__img--2 { width: 100%; margin: 0; }

  /* show */
  .show { padding: 56px 0 48px; background: linear-gradient(var(--green) 0 340px, var(--dark) 340px); }
  /* стрелки на телефоне — сразу под слайдом, чтобы были на виду */
  .show .container { display: flex; flex-direction: column; }
  .show__head { display: contents; }
  .show__lead { order: 0; margin-bottom: 24px; }
  .show__info { margin-top: 16px; gap: 12px 28px; }
  .show__fact { padding-left: 14px; }
  .show__slider { order: 1; }
  .show__arrows { order: 2; align-self: flex-start; padding-bottom: 0; margin-top: 16px; gap: 12px; }
  .js .show__arrows.reveal { opacity: 1; transform: none; }   /* всегда видны, без анимации появления */
  .arrow { width: 48px; height: 48px; }
  .arrow:hover { transform: none !important; }
  section[id] { scroll-margin-top: 64px; }

  .show__slide {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
    gap: 12px;
  }
  .show__photo { height: clamp(320px, 110vw, 520px); padding: 16px; }
  .show__card { padding: 24px 16px; gap: 16px; justify-content: flex-start; }
  .show__card .text-l { line-height: 1.6; }

  /* menu */
  .menu { padding: 64px 0 24px; }
  .menu__head { padding-bottom: 32px; }
  .menu__title { margin-bottom: 20px; }
  .menu__text { font-size: 14px; line-height: 24px; }
  .menu__img { height: clamp(200px, 60vw, 320px); }
  .menu__cards { grid-template-columns: 1fr; gap: 12px; margin-top: 12px; }
  .menu__card { min-height: 0; padding: 16px; line-height: 1.6; }
  .menu__btns { align-items: stretch; margin-top: 32px; padding-bottom: 24px; gap: 12px; }
  .menu__btns .btn { min-width: 0; }

  /* halls */
  .halls__media { padding-bottom: 64px; }
  .halls__head { padding-top: 64px; }
  .halls__head .h-lg { margin-left: 0; }
  .halls__media { grid-template-columns: 1fr; row-gap: 40px; margin-top: 32px !important; }
  .hall--main, .hall--vip { grid-column: 1; grid-row: auto; margin: 0; }
  .hall__img { margin-bottom: 20px; aspect-ratio: 4 / 3.4; }
  .hall .text-l { line-height: 1.6; }

  /* booking */
  .booking { padding: 64px 0 80px; }
  .booking__head { padding-bottom: 32px; }
  .booking__head .text-l { line-height: 1.6; margin-top: 12px; }
  .form { grid-template-columns: 1fr; gap: 12px; }
  .field { height: 56px; font-size: 16px; }
  .field--area { height: 112px; }
  .phone__code { gap: 10px; padding-left: 16px; }
  .phone__flag { width: 26px; height: 19px; }
  .guests__btn { width: 44px; height: 44px; }
  .field--guests input { width: 44px; }
  .form__submit { gap: 12px; margin-top: 8px; }
  .form__submit .btn { width: 100%; }
  .form__agree { font-size: 13px; line-height: 1.4; }

  /* footer */
  .footer { padding: 48px 0 40px; }
  .footer__inner { flex-direction: column; gap: 32px; }
  .footer__col--brand { width: auto; gap: 24px; padding: 0; }
  .footer__meta { gap: 16px; }
  .footer__nav { width: auto; }
  .footer__nav .nav__link { padding-left: 0; padding-right: 0; }
  .footer__nav .nav__link::after { left: 0; right: 0; }
  .footer__col--right { gap: 32px; }
  .footer__links { width: auto; gap: 12px; }
}

/* =========================================================
   ≤ 400 — узкие телефоны (до 320px)
   ========================================================= */
@media (max-width: 400px) {
  .btn { padding: 10px 18px; font-size: 13px; white-space: normal; text-align: center; }
  .hero__date, .hero__title { font-size: 21px; }
  .h-xl, .h-lg { font-size: 26px; }
  .h-section { font-size: 23px; }
  .guests__label { font-size: 15px; }
  .phone__code { gap: 8px; padding-left: 12px; }
}

/* =========================================================
   Тач-устройства: без hover показываем залы в цвете и кнопку
   ========================================================= */
@media (hover: none) {
  .hall__img img { filter: none; }
  .hall__btn { opacity: 1; transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
