/* ═══════════════════════════════════════════
   Кафе «Трактир» — демо-макет
   ═══════════════════════════════════════════ */

:root {
  --bg:            #0f0d0b;
  --bg-soft:       #15110e;
  --bg-card:       #1b1612;
  --line:          rgba(232, 214, 190, .14);
  --line-strong:   rgba(232, 214, 190, .26);
  --cream:         #f3ebdf;
  --muted:         #a2907c;
  --gold:          #c8934f;
  --gold-light:    #e0b47a;
  --wine:          #7c2f28;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --radius: 2px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

::selection { background: var(--gold); color: #17110a; }

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: #17110a;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ── Иконки ───────────────────────────────── */
.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Типографика ──────────────────────────── */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  opacity: .7;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.01em;
}

h1 em { font-style: italic; color: var(--gold-light); }

h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  margin-bottom: 26px;
}

.lead {
  font-size: clamp(1.02rem, 1.4vw, 1.14rem);
  line-height: 1.7;
  color: #ddd0bf;
  max-width: 46ch;
  margin-bottom: 18px;
}

/* ── Кнопки ───────────────────────────────── */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--cream);
  --btn-bd: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .015em;
  cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn .icon { width: 17px; height: 17px; transition: transform .25s; }
.btn:hover .icon { transform: translateX(3px); }

.btn--gold {
  --btn-bg: var(--gold);
  --btn-fg: #17110a;
  --btn-bd: var(--gold);
  font-weight: 600;
}
.btn--gold:hover { --btn-bg: var(--gold-light); --btn-bd: var(--gold-light); }

.btn--ghost { --btn-bd: rgba(243, 235, 223, .28); }
.btn--ghost:hover {
  --btn-bd: var(--gold);
  --btn-fg: var(--gold-light);
  background: rgba(200, 147, 79, .08);
}

.btn--lg { padding: 16px 30px; font-size: .95rem; }
.btn--full { width: 100%; }

/* ══════════ Header ══════════ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .35s, border-color .35s, height .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 66px;
  background: rgba(15, 13, 11, .94);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--gold);
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand__text strong {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.brand__text small {
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav { margin-inline: auto; }
.nav__list {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
}
.nav__list a {
  position: relative;
  font-size: .875rem;
  color: #d8ccbc;
  transition: color .2s;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav__list a:hover { color: var(--cream); }
.nav__list a:hover::after { transform: scaleX(1); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
  color: #ded2c2;
  white-space: nowrap;
  transition: color .2s;
}
.phone .icon { width: 15px; height: 15px; color: var(--gold); }
.phone:hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--cream);
  transition: transform .3s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════ Hero ══════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(28px, 4vw, 44px);
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.04);
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 2%, rgba(15, 13, 11, .82) 34%, rgba(15, 13, 11, .42) 70%, rgba(15, 13, 11, .62) 100%),
    radial-gradient(120% 90% at 12% 40%, rgba(15, 13, 11, .55), transparent 65%);
}

.hero__inner {
  position: relative;
  margin-top: auto;
  padding-bottom: clamp(34px, 5vw, 56px);
}

.hero h1 {
  font-size: clamp(2.9rem, 8.2vw, 6.2rem);
  line-height: .94;
  margin-bottom: 22px;
}
.hero h1 em { font-weight: 500; }

.hero__lead {
  max-width: 40ch;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.65;
  color: #e2d6c6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__meta {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.hero__meta-item > .icon {
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--gold);
}
.hero__meta-label {
  display: block;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.hero__meta-value {
  display: block;
  font-size: .94rem;
  color: #e6dac9;
}
.hero__meta-sub {
  display: block;
  font-size: .8rem;
  color: var(--muted);
  margin-top: 2px;
}
a.hero__meta-value:hover { color: var(--gold-light); }
.hero__meta-value.is-open { color: var(--gold-light); }
.hero__meta-value.is-closed { color: #b8a693; }

/* ══════════ Секции ══════════ */
.section {
  padding-block: clamp(64px, 9vw, 118px);
  scroll-margin-top: 80px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 84px);
  align-items: center;
}
.split--reverse .split__text { order: 1; }
.split--reverse .split__media { order: 2; }

.split__text p + p { margin-top: 14px; color: #c3b6a5; max-width: 46ch; }

.split__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1);
}
.split__media--wide img { aspect-ratio: 5 / 4; }
.split__media:hover img { transform: scale(1.03); }
.split__media figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  padding: 26px 20px 16px;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(243, 235, 223, .82);
  background: linear-gradient(to top, rgba(10, 8, 7, .75), transparent);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 48px);
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.facts li {
  display: flex;
  flex-direction: column;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
  max-width: 130px;
}
.facts span {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.section-head h2 { margin-bottom: 0; }
.section-head__note {
  max-width: 34ch;
  font-size: .875rem;
  line-height: 1.6;
  color: var(--muted);
  padding-bottom: 8px;
}

/* ══════════ Меню ══════════ */
.section--menu { background: var(--bg); }

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.tab {
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: transparent;
  color: #cbbdab;
  font-size: .875rem;
  cursor: pointer;
  transition: color .2s, background .2s, border-color .2s;
}
.tab:hover { color: var(--cream); border-color: var(--gold); }
.tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #17110a;
  font-weight: 600;
}

.panel[hidden] { display: none; }
.panel { animation: panelIn .45s ease both; }

@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.menu-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(32px, 6vw, 72px);
}
.menu-list--cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.dish {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.dish__head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.dish__head h3 {
  font-size: clamp(1.2rem, 1.7vw, 1.4rem);
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--cream);
}
.dish__dots {
  flex: 1;
  min-width: 18px;
  height: 0;
  border-bottom: 1px dotted rgba(232, 214, 190, .28);
  transform: translateY(-5px);
}
.dish__price {
  font-size: 1.02rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--gold-light);
  white-space: nowrap;
}
.dish__price i {
  font-style: normal;
  font-size: .78em;
  opacity: .8;
}
.dish__meta {
  margin-top: 5px;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}

.menu-footnote {
  margin-top: 34px;
  font-size: .82rem;
  color: var(--muted);
}

/* ══════════ Сеты ══════════ */
.sets {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.price-list {
  margin-top: 30px;
  margin-bottom: 34px;
}
.price-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.price-list span {
  font-family: var(--font-display);
  font-size: 1.22rem;
  color: #e9dfd1;
}
.price-list li::after {
  content: "";
  flex: 1;
  order: 2;
  border-bottom: 1px dotted rgba(232, 214, 190, .25);
  transform: translateY(-4px);
}
.price-list b {
  order: 3;
  font-size: .96rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--gold-light);
  white-space: nowrap;
}

/* ══════════ Бар ══════════ */
.bar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.bar-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
}
.bar-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2, .7, .2, 1);
}
.bar-card:hover img { transform: scale(1.04); }
.bar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 8, .96) 6%, rgba(12, 10, 8, .62) 42%, transparent 76%);
  pointer-events: none;
}
.bar-card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: clamp(18px, 2vw, 26px);
}
.bar-card__body h3 {
  font-size: clamp(1.3rem, 1.9vw, 1.55rem);
  margin-bottom: 8px;
}
.bar-card__body p {
  font-size: .855rem;
  line-height: 1.55;
  color: #cdc0af;
}

.bar-cta { margin-top: 34px; }

/* ══════════ Галерея ══════════ */
.gallery { padding-block: 0 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 10px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2, .7, .2, 1);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ══════════ Бронирование ══════════ */
.booking {
  margin-top: clamp(64px, 9vw, 118px);
  padding-block: clamp(64px, 9vw, 110px);
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  scroll-margin-top: 80px;
}

.split--booking { align-items: start; }

.contact-list { margin-top: 34px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list .icon { color: var(--gold); margin-top: 3px; }
.contact-list span {
  display: block;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-list p { font-size: .95rem; }
.contact-list p + p { margin-top: 3px; }
.contact-list__sub,
.contact-list__sub a { font-size: .82rem; color: var(--muted); }
.contact-list__sub a:hover { color: var(--gold-light); }
.contact-list a:hover { color: var(--gold-light); }

.split__text p a {
  color: var(--gold-light);
  white-space: nowrap;
  border-bottom: 1px solid rgba(224, 180, 122, .35);
  transition: border-color .2s;
}
.split__text p a:hover { border-bottom-color: var(--gold-light); }

.link-vk {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: .9rem;
  color: #d8ccbc;
  transition: color .2s;
}
.link-vk:hover { color: var(--gold-light); }
.link-vk__badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--gold-light);
  transition: border-color .2s, background .2s;
}
.link-vk:hover .link-vk__badge { border-color: var(--gold); background: rgba(200, 147, 79, .1); }

/* ── Форма ───────────────────────────────── */
.booking-form {
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field { margin-bottom: 18px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field__hint {
  letter-spacing: 0;
  text-transform: none;
  font-size: 11px;
  color: #b8a693;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  background: #14100d;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--cream);
  font: inherit;
  font-size: .93rem;
  transition: border-color .2s, background .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(162, 144, 124, .65); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: #17120f;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select {
  appearance: none;
  cursor: pointer;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a2907c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field select option { background: #14100d; color: var(--cream); }

.field.has-error input { border-color: #a2503f; }
.field__error {
  display: none;
  margin-top: 6px;
  font-size: .78rem;
  color: #d08a78;
}
.field.has-error .field__error { display: block; }

/* дата/время — светлые иконки в тёмной теме */
.field input[type="date"],
.field input[type="time"] { color-scheme: dark; }

.form-note {
  margin-top: 14px;
  font-size: .75rem;
  line-height: 1.5;
  color: rgba(162, 144, 124, .85);
}

/* ══════════ Footer ══════════ */
.site-footer {
  padding-block: 54px 26px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-footer__brand .brand__mark {
  width: 46px;
  height: 46px;
  color: var(--gold);
}
.site-footer__brand p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  line-height: 1.2;
}
.site-footer__brand small {
  font-family: var(--font-body);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: .875rem;
  color: #cbbdab;
}
.site-footer__nav a:hover { color: var(--gold-light); }

.site-footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: .9rem;
  text-align: right;
}
.site-footer__contacts span { font-size: .8rem; color: var(--muted); }
.site-footer__contacts a:hover { color: var(--gold-light); }

.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .75rem;
  color: var(--muted);
}

/* ══════════ Toast ══════════ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  max-width: min(420px, calc(100vw - 40px));
  padding: 15px 22px;
  background: #241d17;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--cream);
  font-size: .875rem;
  line-height: 1.5;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity .3s, transform .3s;
}
.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ══════════ Появление при скролле ══════════ */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ══════════ Адаптив ══════════ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .nav.is-open { display: block; }
  .nav-toggle { display: flex; }

  .nav.is-open {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    padding: 18px clamp(20px, 4vw, 40px) 28px;
    background: rgba(15, 13, 11, .98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }
  .nav.is-open .nav__list {
    flex-direction: column;
    gap: 0;
  }
  .nav.is-open .nav__list li { border-bottom: 1px solid var(--line); }
  .nav.is-open .nav__list a {
    display: block;
    padding: 15px 0;
    font-size: 1rem;
  }
  .nav.is-open .nav__list a::after { display: none; }

  .site-header.is-scrolled .nav.is-open { top: 66px; }

  .phone { display: none; }
  .site-header__actions .btn { padding: 11px 18px; font-size: .82rem; }

  .bar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bar-card:last-child { grid-column: span 2; }
  .bar-card:last-child img { aspect-ratio: 16 / 9; }
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__text { order: 0; }
  .split--reverse .split__media { order: 1; }
  .split__media img { aspect-ratio: 4 / 3; }
  .split__media--wide img { aspect-ratio: 16 / 10; }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .section-head__note { padding-bottom: 0; }

  .menu-list,
  .menu-list--cols { grid-template-columns: 1fr; }

  .facts { gap: 24px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .gallery__item--wide { grid-column: span 2; }

  .split--booking { gap: 40px; }
  .booking-form { order: 2; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }

  .hero { min-height: 92svh; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__meta {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .hero__meta-item { align-items: center; }

  .brand__text strong { font-size: 1.2rem; }
  .brand__text small { display: none; }
  .site-header__actions { gap: 10px; }
  .site-header__actions .btn { display: none; }

  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(-1 * clamp(20px, 4vw, 40px));
    padding-inline: clamp(20px, 4vw, 40px);
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }

  .bar-grid { grid-template-columns: 1fr; }
  .bar-card:last-child { grid-column: auto; }
  .bar-card:last-child img { aspect-ratio: 4 / 5; }

  .gallery { padding-block: 0; }
  .gallery-grid { grid-auto-rows: 140px; gap: 8px; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .site-footer__inner { flex-direction: column; align-items: flex-start; }
  .site-footer__contacts { text-align: left; }
  .site-footer__bottom { flex-direction: column; gap: 6px; }
}

/* ══════════ Уважение к настройкам ══════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
}
