/* =========================================================
   Лендинг 670 м², центр Мариуполя · АН «Аякс Мариуполь»
   ─────────────────────────────────────────────────────────
   Архитектура: mobile-first, четыре брейкпоинта.
     • Базовые стили  — мобильный (0–559px)
     • ≥ 560px        — крупный мобильный / узкий планшет
     • ≥ 900px        — планшет и лэптоп: включаются 2-колоночные сетки
     • ≥ 1200px       — десктоп: полная 3–4-колоночная композиция
   ========================================================= */

/* -------- 0. Токены -------- */
:root {
  --ink: #0e1622;
  --ink-soft: #16202f;
  --ink-line: rgba(255, 255, 255, .14);
  --gold: #c3a15e;
  --gold-soft: #d8bd86;
  --sand: #e9e0d1;
  --bg: #f7f6f3;
  --bg-alt: #efece6;
  --text: #1d2530;
  --text-muted: #5d6672;
  --white: #ffffff;
  --border: #dedad2;

  --font-display: "Playfair Display", "PT Serif", Georgia, serif;
  --font-body: "Inter", "Manrope", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1280px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --section-y: 64px;    /* мобильный дефолт, увеличивается на широких */
  --header-h: 64px;     /* высота видимой шапки для scroll-margin/anchor */
}

/* -------- 1. Reset -------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  font-weight: 400;
  width: 100%;
}

img, video, iframe, svg { max-width: 100%; display: block; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(30px, 6.4vw, 72px); }
h2 { font-size: clamp(24px, 4.6vw, 46px); }
h3 { font-size: clamp(19px, 2.4vw, 28px); }
p  { margin: 0 0 1.1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: var(--section-y) 0; }
.section--tight { padding: calc(var(--section-y) * .75) 0; }
.section--dark  { background: var(--ink); color: #eceef1; }
.section--alt   { background: var(--bg-alt); }

.section-head { max-width: 800px; margin-bottom: 40px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
}
.lead {
  font-size: clamp(15px, 1.6vw, 21px);
  color: var(--text-muted);
  line-height: 1.6;
}
.section--dark .lead { color: rgba(236, 238, 241, .7); }
.rule { width: 56px; height: 1px; background: var(--gold); border: 0; margin: 0 0 28px; }

/* Секции не должны прятаться под фиксированной шапкой */
.section, .hero, .final-cta { scroll-margin-top: calc(var(--header-h) + 8px); }

/* -------- 2. Кнопки -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
  text-align: center;
  line-height: 1.3;
}
.btn--gold { background: var(--gold); color: #10151d; }
.btn--gold:hover { background: var(--gold-soft); }
.btn--ghost-light {
  border-color: rgba(255, 255, 255, .45);
  color: var(--white);
  background: rgba(255, 255, 255, .04);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .13); border-color: #fff; }
.btn--ghost-dark { border-color: var(--ink); color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: var(--white); }
.btn--outline-gold {
  border-color: rgba(195, 161, 94, .55);
  color: var(--gold-soft);
  background: transparent;
}
.btn--outline-gold:hover {
  border-color: var(--gold);
  background: rgba(195, 161, 94, .12);
  color: var(--gold-soft);
}
.btn--wide { width: 100%; }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* -------- 3. Шапка -------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  padding: 12px 0;
  transition: background .35s var(--ease), padding .35s var(--ease),
              box-shadow .35s var(--ease);
}
.site-header.is-solid {
  background: rgba(14, 22, 34, .93);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: inset 0 -1px 0 rgba(195, 161, 94, .28);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Полоса идентификации лота — скрыта до скролла, появляется на десктопе */
.header-object {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-top: 1px solid transparent;
  transition: max-height .45s var(--ease), opacity .35s var(--ease),
              border-color .45s var(--ease), margin-top .45s var(--ease);
  pointer-events: none;
}
.header-object__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding-top: 11px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
  white-space: nowrap;
}
.header-object em { font-style: normal; color: var(--gold); margin: 0 7px; }
.header-object__price { color: rgba(255, 255, 255, .88); }

/* Логотип: инлайн-SVG с fill=currentColor. Никаких масок. */
.header-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  color: #ffffff;
  transition: color .3s var(--ease);
}
.header-logo:hover { color: var(--gold); }
.header-logo__svg {
  display: block;
  height: 38px;
  width: auto;
  fill: currentColor;
}
.header-logo img {   /* fallback для privacy/terms (там до сих пор <img>) */
  height: 38px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* На мобильном показываем только логотип + телефон-иконку */
.header-contact { display: flex; align-items: center; gap: 12px; }
.header-phone-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.header-phone {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.header-phone:hover { color: var(--gold-soft); }
.header-phone i { color: var(--gold); font-size: 14px; }
.header-phone__text { display: none; }         /* только иконка на мобиле */
.header-phone__note { display: none; }
.header-cta { display: none; padding: 10px 18px; font-size: 12px; }

/* -------- 3b. Бургер-кнопка + мобильное меню -------- */
.header-burger {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 42px; height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  flex: 0 0 auto;
}
.header-burger:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.header-burger:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.header-burger__box {
  position: relative;
  width: 18px; height: 12px;
  display: block;
}
.header-burger__line {
  position: absolute; left: 0; right: 0;
  height: 1.5px; background: currentColor;
  transition: transform .35s var(--ease), opacity .25s var(--ease), top .35s var(--ease);
}
.header-burger__line:nth-child(1) { top: 0; }
.header-burger__line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.header-burger__line:nth-child(3) { top: 100%; transform: translateY(-100%); }
.header-burger[aria-expanded="true"] .header-burger__line:nth-child(1) {
  top: 50%; transform: translateY(-50%) rotate(45deg);
}
.header-burger[aria-expanded="true"] .header-burger__line:nth-child(2) { opacity: 0; }
.header-burger[aria-expanded="true"] .header-burger__line:nth-child(3) {
  top: 50%; transform: translateY(-50%) rotate(-45deg);
}

/* Мобильное меню: полноэкранный оверлей */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 190;                            /* выше шапки (90) и куки (110), ниже лайтбокса (200) */
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s var(--ease), visibility .3s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu__scrim {
  position: absolute; inset: 0;
  background: rgba(6, 10, 16, .78);
  backdrop-filter: blur(4px);
}
.mobile-menu__panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 380px);
  height: 100%;
  background: #0e1622;
  color: #ecedf1;
  padding: 22px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
  transform: translateX(28px);
  transition: transform .35s var(--ease);
  box-shadow: -24px 0 48px rgba(0, 0, 0, .35);
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}
.mobile-menu.is-open .mobile-menu__panel { transform: none; }

.mobile-menu__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.mobile-menu__title {
  font-family: var(--font-display);
  font-size: 16px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.mobile-menu__close {
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: #fff;
  display: grid; place-items: center;
  cursor: pointer;
  font-size: 15px;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.mobile-menu__close:hover { background: rgba(255, 255, 255, .08); border-color: var(--gold); }

/* Якоря */
.mobile-menu__nav {
  display: flex; flex-direction: column;
  gap: 2px;
}
.mobile-menu__nav a {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 4px;
  font-family: var(--font-display);
  font-size: 17px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: color .25s var(--ease), padding .25s var(--ease);
}
.mobile-menu__nav a:last-child { border-bottom: 0; }
.mobile-menu__nav a span {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .18em;
  color: var(--gold);
  min-width: 22px;
}
.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus-visible {
  color: var(--gold);
  padding-left: 8px;
  outline: none;
}

/* Прямые контакты внизу */
.mobile-menu__contacts {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-direction: column;
  gap: 10px;
}
.mobile-menu__label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 4px;
}
.mobile-menu__contact {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .02);
  color: #fff;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.mobile-menu__contact:hover { border-color: var(--gold); background: rgba(195, 161, 94, .06); }
.mobile-menu__contact i {
  color: var(--gold);
  font-size: 16px;
  width: 22px;
  flex: 0 0 auto;
  text-align: center;
}
.mobile-menu__contact span {
  display: flex; flex-direction: column; gap: 2px;
  min-width: 0;
}
.mobile-menu__contact strong {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}
.mobile-menu__contact em {
  font-style: normal;
  font-size: 11px;
  color: rgba(236, 238, 241, .5);
  letter-spacing: .04em;
}
.mobile-menu__cta { margin-top: 4px; }

/* Блокируем скролл body, когда меню открыто */
body.is-menu-open { overflow: hidden; }

/* Навигация — скрыта на мобильном */
.header-nav { display: none; align-items: center; gap: 24px; }
.header-nav a {
  position: relative;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
  padding: 4px 0;
  transition: color .3s var(--ease);
}
.header-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--gold);
  transition: right .35s var(--ease);
}
.header-nav a:hover { color: #fff; }
.header-nav a:hover::after { right: 0; }
.header-nav a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* -------- 4. Hero -------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(8,13,20,.55) 0%, rgba(8,13,20,.18) 34%, rgba(8,13,20,.68) 78%, rgba(8,13,20,.90) 100%),
    linear-gradient(96deg, rgba(8,13,20,.72) 0%, rgba(8,13,20,.28) 46%, rgba(8,13,20,0) 78%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding: 92px 0 32px; }
.hero__content { max-width: 1060px; }

.hero__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .66);
  margin-bottom: 14px;
}
.hero__meta-dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }

.hero h1 { color: var(--white); margin-bottom: 14px; letter-spacing: -.018em; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }

.hero__sub {
  font-size: clamp(14px, 1.8vw, 20px);
  color: rgba(255, 255, 255, .82);
  max-width: 64ch;
  margin-bottom: 22px;
  line-height: 1.55;
}
.hero__actions {
  display: flex; flex-direction: column; gap: 10px;
}
.hero__actions .btn { width: 100%; }

/* Нижняя полоса Hero: цена + факты. Мобильный — стек. */
.hero__bar {
  display: flex; flex-direction: column;
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .17);
}
.hero__price {
  display: flex; flex-direction: column; gap: 4px;
  margin: 0;
}
.hero__price-label {
  font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
}
.hero__price-value {
  font-family: var(--font-display);
  font-size: clamp(24px, 5.5vw, 42px);
  line-height: 1;
  color: var(--white);
}
.hero__price-unit {
  font-size: 12px; letter-spacing: .04em; color: var(--gold-soft);
}
/* Факты на мобильном — 2×2 сетка */
.hero__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0;
}
.hero__fact { min-width: 0; }
.hero__facts dt {
  font-size: 9px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 4px;
}
.hero__facts dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(14px, 3vw, 21px);
  color: var(--white);
  line-height: 1.15;
}

/* -------- 5. Состав лота -------- */
.lot-levels {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.lot-level {
  background: var(--white);
  padding: 22px 20px;
}
.lot-level__tier {
  display: block;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.lot-level__name {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 27px);
  line-height: 1.16;
  margin: 0;
}
.lot-level__note {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}
.lot-level--accent { background: #fffdf9; box-shadow: inset 0 2px 0 var(--gold); }

.lot-total {
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 20px 20px;
}
.lot-total__label {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(236, 238, 241, .66);
}
.lot-total__value {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 34px);
  line-height: 1.1;
}

.lot-specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin: 36px 0 0;
}
.lot-spec { border-top: 1px solid var(--border); padding-top: 16px; }
.lot-spec dt {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.lot-spec dd {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.15;
}
.lot-spec p {
  margin: 8px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

.lot-extra {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 12px;
  background: var(--bg-alt);
  border-left: 2px solid var(--gold);
  padding: 22px 22px;
}
.lot-extra__label {
  margin: 0;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.lot-extra__body h3 {
  font-size: clamp(17px, 2vw, 21px);
  margin: 0 0 6px;
}
.lot-extra__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 78ch;
}

/* -------- 6. Три причины -------- */
.reasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--ink-line);
}
.reason {
  padding: 32px 22px;
  background: var(--ink);
}
.reason__num {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 18px;
  opacity: .95;
}
.reason h3 { color: var(--white); font-size: clamp(19px, 2.2vw, 26px); margin-bottom: 18px; }
.reason p { color: rgba(236, 238, 241, .72); font-size: 16px; margin: 0; }
.reason p + p { margin-top: .9em; }
.reason__figure {
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 0 14px;
  border-top: 1px solid rgba(195, 161, 94, .28);
  border-bottom: 1px solid rgba(195, 161, 94, .28);
  margin-bottom: 16px !important;
}
.reason__figure + .reason__figure { margin-top: -1px !important; border-top: 0; }
.reason__figure strong {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 34px);
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}
.reason__figure span { font-size: 13px; line-height: 1.4; color: rgba(236, 238, 241, .62); }

.reasons-horizon {
  margin-top: 28px;
  padding: 22px 22px;
  background: rgba(195, 161, 94, .06);
  border-left: 2px solid var(--gold);
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.reasons-horizon__label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.reasons-horizon__body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(236, 238, 241, .82);
}

/* -------- 7. Галерея -------- */
.gallery-hero { margin: 0 0 32px; position: relative; }
.gallery-hero img {
  width: 100%;
  height: clamp(220px, 60vw, 620px);
  object-fit: cover;
}
.gallery-hero figcaption {
  margin-top: 12px;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--text-muted);
}

.gallery-filter {
  display: flex; flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 24px;
  border-bottom: 1px solid var(--border);
}
.gallery-filter__btn {
  font-family: var(--font-body);
  font-size: 12px; line-height: 1;
  padding: 12px 14px 14px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  letter-spacing: .04em;
  position: relative;
  transition: color .3s var(--ease);
}
.gallery-filter__btn::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: -1px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s var(--ease);
}
.gallery-filter__btn:hover { color: var(--text); }
.gallery-filter__btn.is-active { color: var(--text); font-weight: 500; }
.gallery-filter__btn.is-active::after { transform: scaleX(1); }
.gallery-filter__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.gallery-plans { margin-bottom: 20px; }
.plan-scheme {
  margin: 0;
  padding: 22px;
  background: #fafaf8;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
.plan-scheme svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin: 0 auto;
}
.plan-scheme figcaption {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 46ch;
}

/* На мобильном галерея — 2 колонки, ряд 140px */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 140px;
  gap: 10px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border: 0; padding: 0; margin: 0;
  background: var(--ink-soft);
  cursor: zoom-in;
  display: block;
  width: 100%; height: 100%;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,13,20,.72) 100%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__caption {
  position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2;
  color: #fff; font-size: 12px; text-align: left;
  opacity: 0; transform: translateY(6px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  display: none;    /* на мобильном скрыто, на десктопе включается */
}
.gallery__item--wide { grid-column: span 2; }
.gallery__item:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(7, 11, 17, .96);
  display: none;
  align-items: center; justify-content: center;
  padding: 16px;
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 92vw;
  max-height: 78vh;
  object-fit: contain;
  margin: 0 auto;
}
.lightbox__caption {
  color: rgba(255,255,255,.75); text-align: center;
  margin-top: 14px; font-size: 13px;
}
.lightbox__nav, .lightbox__close {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: background .3s var(--ease);
}
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255,255,255,.2); }
.lightbox__nav--prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__close { top: 12px; right: 12px; }

/* -------- 8. Тур -------- */
.tour__frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--border);
  background: var(--ink);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.tour__frame iframe { width: 100%; height: 100%; border: 0; }
.tour__placeholder {
  position: absolute; inset: 0;
  overflow: hidden;
  color: #fff;
  cursor: pointer;
}
.tour__placeholder-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tour__placeholder:hover .tour__placeholder-bg { transform: scale(1.04); }
.tour__placeholder::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,16,24,.55) 0%, rgba(10,16,24,.78) 100%);
  z-index: 1;
}
.tour__placeholder-inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  padding: 28px 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.tour__play {
  position: relative;
  width: 68px; height: 68px;
  border-radius: 50%;
  border: 0; background: transparent; padding: 0;
  cursor: pointer;
  margin-bottom: 18px;
  display: grid; place-items: center;
}
.tour__play-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid var(--gold);
  transition: transform .5s var(--ease);
}
.tour__play-ring::before {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(195, 161, 94, .35);
  transition: inset .5s var(--ease);
}
.tour__play-icon {
  position: relative;
  width: 0; height: 0;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--gold);
  margin-left: 3px;
}
.tour__play:hover .tour__play-ring { transform: scale(1.06); }
.tour__play:hover .tour__play-ring::before { inset: 3px; }
.tour__play:focus-visible { outline: none; }
.tour__play:focus-visible .tour__play-ring {
  box-shadow: 0 0 0 3px rgba(195, 161, 94, .3);
}
.tour__caption {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  color: #fff;
  margin: 0 0 8px;
}
.tour__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
  margin: 0;
  max-width: 44ch;
  line-height: 1.55;
}

/* Метки трёх уровней. На мобильном — под кнопкой в ряд */
.tour__levels {
  position: static;
  transform: none;
  list-style: none; padding: 0; margin: 16px auto 0;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  box-sizing: border-box;
}
.tour__levels li {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.tour__levels li span {
  display: grid; place-items: center;
  width: 28px; height: 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 13px;
}

/* -------- 9. Город (статистика) -------- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--ink-line);
}
.stat {
  background: var(--ink-soft);
  padding: 28px 22px;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 54px);
  color: var(--gold);
  line-height: 1.05;
  margin-bottom: 12px;
}
.stat__label { font-size: 15px; color: rgba(236,238,241,.82); margin: 0 0 10px; line-height: 1.5; }
.stat__source { font-size: 12px; color: rgba(236,238,241,.42); margin: 0; }

.city-text {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.city-text p { color: rgba(236,238,241,.78); margin: 0; font-size: 15px; line-height: 1.65; }

/* -------- 10. Локация -------- */
.location-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.map-wrap {
  position: relative;
  min-height: 320px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  overflow: hidden;
}
#map-canvas { position: absolute; inset: 0; }
.map-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center; text-align: center;
  padding: 24px; color: var(--text-muted); font-size: 14px;
}

.radius-list--stepped {
  list-style: none; padding: 0; margin: 0;
  display: grid;
}
.radius-step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.radius-step:first-child { padding-top: 0; }
.radius-step:last-child  { border-bottom: 0; padding-bottom: 0; }
.radius-step__num {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.4vw, 58px);
  color: var(--gold);
  line-height: 1;
}
.radius-step__num em {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .08em;
  color: rgba(48, 55, 65, .55);
  margin-left: 4px;
}
.radius-step__body p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.radius-step__title {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 500;
}

.map-key {
  list-style: none; padding: 12px 0 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 12px 20px;
  font-size: 12px; color: var(--text-muted);
}
.map-key li { display: flex; align-items: center; gap: 8px; }
.map-key__dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: transparent;
  flex-shrink: 0;
}
.map-key__dot--r500  { background: rgba(195, 161, 94, .32); }
.map-key__dot--r1000 { background: rgba(195, 161, 94, .16); }
.map-key__dot--r2000 { background: transparent; }
.map-key__dot--plan  { border-radius: 3px; border-style: dashed; background: rgba(195, 161, 94, .08); }

.poi-legend { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.poi-chip {
  font-size: 12px; padding: 6px 12px;
  border: 1px solid var(--border); background: var(--white);
  color: var(--text-muted); border-radius: 100px;
}

.location-transport {
  margin-top: 40px;
  padding: 26px 22px;
  background: var(--bg-alt);
  border-top: 2px solid var(--gold);
}
.location-transport__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  margin: 0 0 20px;
  color: var(--text);
}
.location-transport__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.location-transport__item p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
.location-transport__key {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 500;
}

/* -------- 11. Форматы -------- */
.formats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  max-width: 1180px;
  margin: 0 auto;
}
.format-card {
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  transition: box-shadow .4s var(--ease);
}
.format-card:hover { box-shadow: 0 18px 44px rgba(14,22,34,.08); }
.format-card__media {
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 16 / 10;
}
.format-card__media img { width: 100%; height: 100%; object-fit: cover; }
.format-card__body { padding: 26px 22px; }
.format-card__index {
  display: flex; align-items: baseline; gap: 14px;
  margin-bottom: 14px;
  min-height: 40px;
}
.format-card__num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold);
  line-height: 1;
}
.format-card__badge {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.format-card h3 {
  font-size: clamp(20px, 2.6vw, 30px);
  margin: 0 0 14px;
  color: var(--ink);
}
.format-card__lead {
  font-size: 15px;
  color: var(--text);
  margin: 0 0 22px;
  line-height: 1.6;
}
.format-card__facts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.format-card__facts-group { display: flex; flex-direction: column; gap: 8px; }
.format-card__facts-label {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0;
}
.format-card__facts-group p { margin: 0; font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.format-card--primary {
  border: 1px solid var(--gold);
  box-shadow: 0 12px 32px rgba(195, 161, 94, .1);
}

/* -------- 12. Юр. статус -------- */
.legal-quickfacts {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  max-width: 1080px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(195, 161, 94, .32);
  border-bottom: 1px solid rgba(195, 161, 94, .32);
}
.legal-quickfacts li {
  padding: 24px 20px;
  text-align: center;
  border-top: 1px solid rgba(195, 161, 94, .18);
}
.legal-quickfacts li:first-child { border-top: 0; }
.legal-quickfacts strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 60px);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 10px;
}
.legal-quickfacts span {
  display: block;
  font-size: 13px;
  color: rgba(236, 238, 241, .72);
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto;
}

.legal-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--ink-line);
}
.legal-list li {
  background: var(--ink);
  padding: 24px 22px;
  display: flex; gap: 16px; align-items: flex-start;
  flex-direction: column;
}
.legal-list__icon {
  width: 40px; height: 40px; flex: 0 0 auto;
  border: 1px solid rgba(195, 161, 94, .4);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold); font-size: 14px;
}
.legal-list h3 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 8px;
  line-height: 1.3;
}
.legal-list p {
  margin: 0;
  color: rgba(236, 238, 241, .72);
  font-size: 14px;
  line-height: 1.6;
}

/* -------- 13. Об агентстве -------- */
.agent-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}
.agent-photo { display: flex; margin: 0; }
.agent-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--border);
}
.agent-body { display: flex; flex-direction: column; }
.agent-body .eyebrow { margin-bottom: 16px; }
.agent-body h2 { margin: 0 0 8px; }
.agent-role {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 22px;
  font-weight: 500;
}
.agent-bio {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 28px;
}
.agent-contacts {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column;
  gap: 10px;
}
.agent-contacts__phone {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 38px);
  color: var(--ink);
  line-height: 1.05;
  transition: color .3s var(--ease);
}
.agent-contacts__phone:hover { color: var(--gold); }
.agent-contacts__email {
  font-size: 15px;
  color: var(--text-muted);
  transition: color .3s var(--ease);
  word-break: break-all;
}
.agent-contacts__email:hover { color: var(--gold); }
.agent-contacts__messengers {
  margin: 6px 0 0;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px;
}
.agent-contacts__messengers a {
  color: var(--text);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
  font-weight: 500;
}
.agent-contacts__messengers a:hover { color: var(--gold); }
.agent-contacts__messengers span { color: var(--gold); opacity: .55; }

/* Карточка агентства — стек на мобильном */
.agency-card {
  margin-top: 44px;
  padding: 26px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.agency-card > div {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}
.agency-card > div:first-child { padding-top: 0; border-top: 0; }
.agency-card > div:last-child { padding-bottom: 0; }
.agency-card dt {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}
.agency-card dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

/* -------- 14. FAQ -------- */
.faq { max-width: 960px; margin: 0 auto; }
.faq__cluster {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.6vw, 15px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 40px 0 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.faq__cluster:first-child { margin-top: 0; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__h { margin: 0; font-weight: inherit; }
.faq__q {
  width: 100%; background: none; border: 0;
  padding: 22px 44px 22px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 23px);
  color: var(--text);
  position: relative;
  line-height: 1.35;
  display: flex;
  align-items: baseline;
  gap: 14px;
  cursor: pointer;
}
.faq__q-num {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--gold);
  font-weight: 500;
  min-width: 34px;
  padding-top: 4px;
}
.faq__q-text { flex: 1 1 auto; }
.faq__q::after {
  content: "\f067";
  font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 12px; color: var(--gold);
  transition: transform .35s var(--ease);
}
.faq__item.is-open .faq__q::after { content: "\f068"; }
.faq__q:hover { color: var(--gold); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq__a-inner {
  padding: 0 12px 24px 48px;
  color: var(--text-muted);
  font-size: 15px;
}
.faq__a-inner p:last-child { margin-bottom: 0; }

.faq-bridge {
  max-width: 960px;
  margin: 40px auto 0;
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.faq-bridge__text { min-width: 0; }
.faq-bridge__label {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  margin: 0 0 6px;
}
.faq-bridge__body { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.faq-bridge__cta { width: 100%; text-align: center; }

/* -------- 15. Финальный CTA -------- */
.final-cta {
  position: relative;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.final-cta__bg { position: absolute; inset: 0; }
.final-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(9,14,21,.94) 0%, rgba(9,14,21,.82) 100%);
}
.final-cta__inner { position: relative; z-index: 2; padding: 60px 0 90px; }
.final-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.final-cta h2 { color: #fff; }
.final-cta .lead { color: rgba(255, 255, 255, .82); }

.direct-contacts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.direct-contacts a,
.direct-contacts button {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  border: 1px solid var(--ink-line);
  padding: 14px 18px;
  background: transparent;
  color: #fff; font-size: 15px;
  font-family: var(--font-body);
  text-align: left;
  cursor: pointer;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.direct-contacts a:hover,
.direct-contacts button:hover { background: rgba(255,255,255,.08); border-color: var(--gold); }
.direct-contacts a:focus-visible,
.direct-contacts button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.direct-contacts i { color: var(--gold); width: 20px; text-align: center; flex: 0 0 auto; }
.direct-contacts span.muted { margin-left: auto; color: rgba(255,255,255,.5); font-size: 12px; }

/* -------- 16. Формы -------- */
.form-card {
  background: var(--white);
  color: var(--text);
  padding: 24px 20px;
  border: 1px solid var(--border);
}
.section--dark .form-card, .final-cta .form-card { border-color: transparent; }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card__note { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 12px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit; font-size: 16px; color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
}
.field input[aria-invalid="true"] { border-color: #b4553f; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; color: var(--text-muted); line-height: 1.5;
  margin: 16px 0 20px;
}
.consent input {
  width: 18px; height: 18px; margin: 2px 0 0; flex: 0 0 auto;
  accent-color: var(--gold);
}
.consent a { color: var(--text); border-bottom: 1px solid var(--border); }
.consent a:hover { color: var(--gold); }

.form-status { font-size: 14px; margin-top: 14px; min-height: 1.2em; }
.form-status.is-error   { color: #a4442c; }
.form-status.is-success { color: #2c6b4a; }

/* Модальное окно */
.modal {
  position: fixed; inset: 0; z-index: 180;
  display: none; align-items: flex-start; justify-content: center;
  padding: 20px 16px;
  background: rgba(8, 13, 20, .82);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}
.modal.is-open { display: flex; }
.modal__dialog {
  position: relative;
  width: 100%; max-width: 520px;
  background: var(--white);
  margin: auto;
  animation: modalIn .4s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.modal__close {
  position: absolute; top: 10px; right: 10px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; color: var(--text);
  display: grid; place-items: center;
  z-index: 2;
}
.modal__close:hover { background: var(--bg-alt); }

/* -------- 17. Футер -------- */
.site-footer {
  background: #0a1018;
  color: rgba(236,238,241,.62);
  padding: 44px 0 90px;   /* bottom увеличен под фиксированную mobile-bar */
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.site-footer h4 {
  font-family: var(--font-body); font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.site-footer a:hover { color: var(--gold-soft); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }

/* Логотип в футере (текстовый маркер + название) */
.site-footer .logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  margin-bottom: 18px;
}
.site-footer .logo__mark {
  display: grid; place-items: center;
  width: 36px; height: 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 18px;
  flex: 0 0 auto;
}
.site-footer .logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.site-footer .logo__name {
  font-family: var(--font-display);
  font-size: 18px;
  color: #fff;
}
.site-footer .logo__sub {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-bottom {
  margin-top: 32px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-direction: column;
  gap: 6px;
  font-size: 12px; color: rgba(236,238,241,.42);
}
.footer-disclaimer {
  margin-top: 16px; font-size: 12px;
  color: rgba(236,238,241,.35); max-width: 900px;
}

/* Плавающая мобильная панель — показываем везде, где нет header-nav */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: flex;
  background: rgba(14, 22, 34, .97);
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 8px 10px;
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  gap: 8px;
}
.mobile-bar a,
.mobile-bar button {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 6px;
  font-size: 13px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff; background: transparent;
}
.mobile-bar .is-primary {
  background: var(--gold);
  color: #10151d;
  border-color: var(--gold);
}

/* -------- 17b. Куки-информер -------- */
.cookie-notice {
  position: fixed;
  z-index: 110;                 /* выше mobile-bar (95), ниже модалок (180) */
  left: 12px;
  right: 12px;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px)); /* над mobile-bar на мобильном */
  max-width: 520px;
  padding: 18px 20px 20px;
  background: rgba(14, 22, 34, .97);
  color: #ecedf1;
  border: 1px solid rgba(195, 161, 94, .35);
  border-top: 2px solid var(--gold);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .28);
  font-size: 13px;
  line-height: 1.5;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: transform .45s var(--ease), opacity .35s var(--ease), visibility .35s;
  backdrop-filter: blur(6px);
}
.cookie-notice.is-visible {
  transform: none;
  opacity: 1;
  visibility: visible;
}
.cookie-notice__title {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 15px;
  color: #fff;
  font-weight: 500;
}
.cookie-notice__title i {
  color: var(--gold);
  font-size: 14px;
}
.cookie-notice__text {
  margin: 0 0 14px;
  color: rgba(236, 238, 241, .78);
  font-size: 12.5px;
}
.cookie-notice__text a {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(216, 189, 134, .4);
}
.cookie-notice__text a:hover { border-bottom-color: var(--gold); color: var(--gold); }
.cookie-notice__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cookie-notice__btn {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  text-align: center;
}
.cookie-notice__btn--accept {
  background: var(--gold);
  color: #10151d;
}
.cookie-notice__btn--accept:hover { background: var(--gold-soft); }
.cookie-notice__btn--reject {
  background: transparent;
  color: rgba(236, 238, 241, .72);
  border-color: rgba(255, 255, 255, .22);
}
.cookie-notice__btn--reject:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.cookie-notice__btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

@media (min-width: 560px) {
  .cookie-notice {
    left: auto;
    right: 20px;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    width: 400px;
  }
  .cookie-notice__actions {
    flex-direction: row;
    justify-content: flex-end;
  }
  .cookie-notice__btn { padding: 10px 18px; }
}

@media (min-width: 900px) {
  .cookie-notice {
    right: 24px;
    bottom: 24px;             /* mobile-bar скрыт — можно ниже */
    width: 440px;
    padding: 22px 24px 22px;
  }
}

/* -------- 18. Reveal-анимации -------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }
.reveal[data-delay="5"] { transition-delay: .45s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: .001s !important; }
}

/* -------- 19. Правовые страницы -------- */
.doc-page { padding: 100px 0 60px; }
.doc-page .container { max-width: 880px; }
.doc-page h1 { font-size: clamp(26px, 4vw, 44px); margin-bottom: 10px; }
.doc-page h2 { font-size: clamp(19px, 2.4vw, 27px); margin-top: 36px; }
.doc-page p, .doc-page li { color: var(--text-muted); font-size: 15px; }
.doc-page ul, .doc-page ol { padding-left: 20px; }
.doc-page li { margin-bottom: 8px; }
.doc-meta { font-size: 13px; color: var(--text-muted); margin-bottom: 28px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 32px;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
}
.back-link:hover { color: var(--gold); }
.header--doc { position: static; background: var(--ink); padding: 14px 0; }

/* =========================================================
   БРЕЙКПОИНТ ≥ 560px — крупный мобильный / узкий планшет
   ========================================================= */
@media (min-width: 560px) {
  :root { --section-y: 72px; --header-h: 72px; }
  body { font-size: 16px; }
  .container { padding: 0 24px; }

  .header-logo__svg,
  .header-logo img { height: 44px; }
  .header-phone { font-size: 15px; }
  .header-phone__text { display: inline; }

  /* Часы работы под телефоном — уже с 560px, чтобы номер не был «сиротой» */
  .header-phone__note { display: block; font-size: 10px; color: rgba(255,255,255,.5); letter-spacing: .04em; }

  .hero__inner { padding: 108px 0 40px; }
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .hero__actions .btn { width: auto; }

  /* Hero: цена уходит влево, факты вправо в одну строку */
  .hero__bar {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 32px;
  }
  .hero__facts { gap: 14px 28px; }

  .lot-levels { grid-template-columns: repeat(3, 1fr); }
  .lot-total { grid-column: 1 / -1; }
  .lot-specs { grid-template-columns: repeat(2, 1fr); }
  .lot-extra { grid-template-columns: auto 1fr; column-gap: 24px; row-gap: 0; }
  .lot-extra__label { white-space: nowrap; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .city-text { grid-template-columns: repeat(2, 1fr); gap: 22px 28px; }

  .legal-quickfacts { grid-template-columns: repeat(3, 1fr); }
  .legal-quickfacts li { border-top: 0; border-left: 1px solid rgba(195, 161, 94, .18); }
  .legal-quickfacts li:first-child { border-left: 0; }
  /* Модификатор --two: две равные колонки без пустой ячейки справа */
  .legal-quickfacts--two { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

  .final-cta__inner { padding: 80px 0 100px; }
  .form-card { padding: 32px 28px; }

  .gallery-filter__btn { padding: 14px 18px 16px; font-size: 13px; }
  .gallery-filter__btn::after { left: 18px; right: 18px; }
}

/* =========================================================
   БРЕЙКПОИНТ ≥ 900px — планшет / лэптоп
   Здесь появляются двухколоночные layouts (агент, финальный CTA,
   форматы, локация) и полноценная навигация в шапке.
   ========================================================= */
@media (min-width: 900px) {
  :root { --section-y: 96px; --header-h: 80px; }
  body { font-size: 17px; }
  .container { padding: 0 32px; }

  .site-header { padding: 18px 0; }
  .header-logo__svg,
  .header-logo img { height: 50px; }
  .header-phone { font-size: 17px; }
  .header-phone__note { font-size: 11px; }
  .header-cta { display: inline-flex; }
  .header-contact { gap: 22px; }

  /* Якорная навигация — включается с 900px, чтобы на ноутбуке
     покупатель видел, куда перейти, а не выбирал вслепую скроллом */
  .header-nav { display: flex; gap: 18px; }
  .header-nav a { font-size: 11px; letter-spacing: .12em; }
  .header-inner { gap: 20px; }

  /* На 900px+ бургер не нужен — работает обычная навигация */
  .header-burger { display: none; }
  .mobile-menu { display: none; }

  .site-header.is-solid .header-object { max-height: 46px; opacity: 1; margin-top: 12px; border-top-color: rgba(255,255,255,.1); }

  /* Мобильную панель убираем — есть шапка */
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 40px; }

  .hero__inner { padding: 140px 0 56px; }
  .hero__meta { font-size: 11px; letter-spacing: .2em; gap: 12px; margin-bottom: 18px; }
  .hero__facts { grid-template-columns: repeat(4, minmax(0, auto)); justify-content: end; gap: 0; }
  .hero__fact + .hero__fact {
    padding-left: 26px;
    margin-left: 26px;
    border-left: 1px solid rgba(255, 255, 255, .14);
  }
  .hero__facts dt { font-size: 10px; letter-spacing: .18em; margin-bottom: 6px; }
  .hero__facts dd { font-size: clamp(16px, 1.6vw, 21px); white-space: nowrap; }
  .hero__price { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
  .hero__price-label { flex: 0 0 100%; font-size: 11px; }

  .lot-specs { grid-template-columns: repeat(3, 1fr); gap: 36px 44px; margin-top: 48px; }
  .lot-level { padding: 32px 28px; }
  .lot-total { padding: 24px 28px; }

  .reasons { grid-template-columns: repeat(3, 1fr); }
  .reason { padding: 44px 34px; }
  .reasons-horizon {
    grid-template-columns: 160px 1fr;
    gap: 28px;
    padding: 28px 36px;
    margin-top: 40px;
  }

  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; gap: 12px; }
  .gallery__caption { display: block; }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 2; }

  .plan-scheme {
    grid-template-columns: minmax(260px, 400px) 1fr;
    gap: 32px;
    padding: 32px;
  }
  .plan-scheme svg { margin: 0; }

  .tour__frame { aspect-ratio: 16 / 9; min-height: 480px; }
  .tour__placeholder-inner { max-width: 560px; padding: 40px; }
  .tour__levels {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    gap: 16px;
    max-width: none;
  }
  .tour__play { width: 84px; height: 84px; margin-bottom: 24px; }
  .tour__play-icon { border-width: 12px 0 12px 18px; margin-left: 4px; }
  .tour__play-ring::before { inset: 8px; }

  .stats-grid { padding: 0; }
  .stat { padding: 40px 34px; }
  .city-text { grid-template-columns: repeat(3, 1fr); margin-top: 56px; gap: 28px 40px; }
  .city-text p { font-size: 16px; }

  .location-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
  }
  .map-wrap { min-height: 520px; }
  .location-transport { margin-top: 56px; padding: 36px 40px; }
  .location-transport__grid { grid-template-columns: repeat(3, 1fr); gap: 28px 36px; }
  /* Модификатор --two: две равные колонки с разделителем-линией по центру,
     чтобы блок не «провисал» справа и читался как цельная композиция */
  .location-transport__grid--two {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 48px;
    align-items: start;
  }
  .location-transport__grid--two .location-transport__item {
    padding: 4px 0;
  }
  .location-transport__grid--two .location-transport__item + .location-transport__item {
    padding-left: 48px;
    border-left: 1px solid var(--border);
  }

  .formats { gap: 28px; }
  .format-card { grid-template-columns: 1fr 1.15fr; }
  .format-card__media { aspect-ratio: auto; }
  .format-card__body { padding: 40px 42px; display: flex; flex-direction: column; justify-content: center; }
  .format-card__facts { grid-template-columns: 1fr 1fr; gap: 24px 36px; }

  .legal-list { grid-template-columns: repeat(2, 1fr); }
  .legal-list li { flex-direction: row; gap: 20px; padding: 28px 32px; }
  /* Модификатор --single: одна центрированная плашка на всю секцию.
     Отключаем фон-разделитель (--ink-line), иначе он виден полосами
     слева и справа от единственной ячейки, ограниченной по ширине. */
  .legal-list--single {
    grid-template-columns: minmax(0, 720px);
    justify-content: center;
    background: transparent;
    gap: 0;
  }

  .agent-layout { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .agent-photo img { max-width: 480px; }
  .agency-card {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 64px;
    padding: 36px 40px;
    gap: 0;
  }
  .agency-card > div {
    padding: 0 32px;
    border-top: 0;
    border-left: 1px solid var(--border);
  }
  .agency-card > div:first-child { padding-left: 0; border-left: 0; padding-top: 0; }
  .agency-card > div:last-child { padding-right: 0; padding-bottom: 0; }

  .faq__q { padding: 26px 56px 26px 0; gap: 18px; }
  .faq__q-num { min-width: 40px; padding-top: 5px; font-size: 13px; }
  .faq__a-inner { padding: 0 60px 28px 58px; font-size: 16px; }
  .faq__cluster { margin: 52px 0 4px; padding-bottom: 14px; }

  .faq-bridge {
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 30px 36px;
  }
  .faq-bridge__cta { width: auto; white-space: nowrap; }

  .final-cta__inner { padding: 108px 0; }
  .final-cta__bg::after {
    background: linear-gradient(90deg, rgba(9,14,21,.93) 0%, rgba(9,14,21,.74) 60%, rgba(9,14,21,.6) 100%);
  }
  .final-layout { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .direct-contacts { margin-top: 36px; gap: 12px; }
  .direct-contacts a, .direct-contacts button { padding: 16px 22px; font-size: 16px; }
  .form-card { padding: 40px 36px; }

  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
}

/* =========================================================
   БРЕЙКПОИНТ ≥ 1024px — шире навигация
   ========================================================= */
@media (min-width: 1024px) {
  .header-nav { gap: 24px; }
  .header-nav a { font-size: 12px; letter-spacing: .1em; }
}

/* =========================================================
   БРЕЙКПОИНТ ≥ 1200px — десктоп
   ========================================================= */
@media (min-width: 1200px) {
  :root { --section-y: 120px; --header-h: 84px; }

  .container { padding: 0 40px; }

  .hero__inner { padding: 150px 0 64px; }
  .hero__bar { margin-top: 48px; padding-top: 26px; }

  .lot-level { padding: 36px 32px; }
  .lot-total { padding: 26px 32px; }
  .lot-specs { gap: 38px 48px; margin-top: 54px; }
  .lot-extra { padding: 26px 32px; }

  .reason { padding: 52px 42px; }
  .reasons-horizon { padding: 32px 42px; grid-template-columns: 180px 1fr; }

  .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }

  .stat { padding: 48px 40px; }

  .location-layout { grid-template-columns: 1.6fr 1fr; }
  .map-wrap { min-height: 560px; }
  .location-transport { padding: 40px 44px; }
  .location-transport__grid--two { gap: 36px 64px; }
  .location-transport__grid--two .location-transport__item + .location-transport__item {
    padding-left: 64px;
  }

  .format-card__body { padding: 52px 56px; }
  .format-card__facts { padding-top: 26px; gap: 28px 40px; }

  .legal-list li { padding: 32px 36px; }

  .agent-layout { gap: 80px; }
  .agency-card { padding: 44px 52px; }
  .agency-card > div { padding: 0 36px; }

  .final-cta__inner { padding: 128px 0; }
  .final-layout { gap: 72px; }

  .footer-grid { gap: 44px; }
}

/* Тонкая корректировка узкого промежутка 900–1023: компактнее хедер */
@media (max-width: 1023px) {
  .header-cta { padding: 10px 16px; font-size: 12px; }
}

/* =========================================================
   Блок «Локация — визуальные опоры адреса»
   Три карточки над картой: визитка города / переход / остановка.
   Дизайн — светло-песочный фон, золотистая иконка сверху,
   компактный заголовок и абзац.
   ========================================================= */
.location-hero {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.location-hero__item {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}
.location-hero__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(195, 161, 94, .14);
  color: var(--gold);
  font-size: 18px;
  margin-bottom: 14px;
}
.location-hero__item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.25;
  color: var(--text);
  margin: 0 0 8px;
  font-weight: 600;
}
.location-hero__item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (min-width: 560px) {
  .location-hero { gap: 16px; margin-top: 36px; }
  .location-hero__item { padding: 26px 24px; }
  .location-hero__item h3 { font-size: 19px; }
  .location-hero__item p { font-size: 15px; }
}

@media (min-width: 900px) {
  .location-hero {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0 48px;
  }
  /* Модификатор --two: две равные колонки без пустой ячейки справа */
  .location-hero--two { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .location-hero__item { padding: 30px 28px; }
  .location-hero__icon {
    width: 50px; height: 50px; font-size: 20px; margin-bottom: 18px;
  }
  .location-hero__item h3 { font-size: 20px; margin-bottom: 10px; }
}

@media (min-width: 1200px) {
  .location-hero { gap: 24px; margin: 48px 0 56px; }
  .location-hero__item { padding: 34px 30px; }
}
