@charset "UTF-8";
/* ===== Переменные ===== */
:root {
  --color-navy: #1a2e1a;
  --color-navy-light: #243524;
  --color-white: #ffffff;
  --color-gray-50: #f7f8f7;
  --color-gray-100: #eef0ee;
  --color-gray-300: #d4d8d4;
  --color-gray-500: #8b938b;
  --color-gray-700: #4a524a;
  --color-text: #1c231c;
  --color-accent: #c9a84c;
  --color-accent-hover: #b8963e;
  --color-hero-cream: #faf8f3;
  --color-success: #16a34a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(15, 31, 61, 0.08);
  --shadow-hover: 0 8px 32px rgba(15, 31, 61, 0.14);
  --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Единая анимация появления блоков при скролле =====
   Общий класс для всего сайта (см. js/scroll-reveal.js). Тот же принцип,
   что и .js-reveal в "Блоке доверия" / .cnt-reveal на странице контактов:
   плавный fade-in + небольшой translateY, без масштабирования. */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section { padding: 80px 0; }
.section--gray { background: var(--color-gray-50); }
.section--navy { background: var(--color-navy); color: var(--color-white); }

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-gray-700);
  margin-bottom: 48px;
  max-width: 560px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section--navy .section-subtitle { color: var(--color-gray-300); }

/* section-head переопределяет выравнивание для блоков с кнопкой справа */
.section-head .section-title { text-align: left; }
.section-head .section-subtitle { text-align: left; margin-left: 0; }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn--primary:hover { background: var(--color-accent-hover); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn--outline:hover { border-color: var(--color-white); background: rgba(255,255,255,0.08); }

.btn--dark-outline {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-gray-300);
}
.btn--dark-outline:hover { border-color: var(--color-navy); }

.btn--block { width: 100%; }

/* ===== Шапка ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
}

.header__top { border-bottom: 1px solid var(--color-gray-100); }

.header__top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo { display: flex; align-items: center; }
.logo-svg { width: 120px; height: 36px; display: block; }

.header__right { display: flex; align-items: center; gap: 24px; }

.header__contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.header__phone { font-weight: 600; font-size: 15px; color: var(--color-navy); }
.header__phone:hover { color: var(--color-accent); }
.header__city {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
}
.header__city svg { flex-shrink: 0; color: #e02424; }

.header__cta { padding: 12px 24px; font-size: 14px; white-space: nowrap; }

.header__nav-row .container {
  display: flex;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  background: var(--color-gray-50);
  padding: 6px;
  border-radius: 999px;
  width: 100%;
}

.nav a {
  flex: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-navy);
  padding: 9px 18px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav a:hover { background: var(--color-white); }
.nav a.active { background: var(--color-navy); color: var(--color-white); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span { width: 22px; height: 2px; background: var(--color-navy); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: #f8f8f6;
  min-height: 560px;
  display: flex;
  flex-direction: column;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 100%;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  display: block;
}
.hero__bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 45%;
  background: linear-gradient(to right, rgba(248,248,246,0.92) 0%, rgba(248,248,246,0.7) 35%, rgba(248,248,246,0.3) 70%, rgba(248,248,246,0) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: 0;
  padding-left: 80px;
  max-width: 100%;
  margin-left: 0;
}

.hero__content {
  max-width: 48%;
  padding-bottom: 24px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.hero__title {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  color: var(--color-navy);
  white-space: nowrap;
}

.hero__title-accent {
  font-size: 44px;
  color: var(--color-accent);
}

.hero__sub {
  font-size: 18px;
  color: var(--color-gray-700);
  margin-bottom: 32px;
  line-height: 1.6;
  max-width: 520px;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
  align-items: center;
}
.hero__actions .btn--primary {
  padding: 16px 36px;
  font-size: 17px;
}

.hero__link {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.hero__link:hover { color: var(--color-accent); }

/* Карточки статистики поверх нижней части */
.hero__stats-cards {
  display: flex;
  gap: 16px;
  padding: 16px 0;
}


.hero__stat-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-width: 180px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.hero__stat-card-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}
.hero__stat-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  display: block;
}
.hero__stat-card-sub {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 8px;
  display: block;
  margin-top: 2px;
}
.hero__stat-card-desc {
  font-size: 14px;
  color: #4a524a;
  line-height: 1.5;
  margin-top: 8px;
  display: block;
}

/* Логотип */
.logo-svg {
  width: 120px;
  height: 36px;
  display: block;
}

@media (max-width: 960px) {
  .hero__bg { width: 100%; aspect-ratio: auto; height: 100%; }
  .hero__bg::before {
    background: rgba(245,244,240,0.92);
  }
  .hero__title { font-size: 34px; }
  .hero__stats-cards { flex-wrap: wrap; }
  .hero__stat-card { min-width: 140px; }
}

@media (max-width: 600px) {
  .hero__title { font-size: 28px; }
  .hero { min-height: auto; }
  .hero__stat-card { flex: 1; min-width: 120px; }
}

/* ===== Главная страница: точная шапка + Hero по ТЗ =====
   Используется ТОЛЬКО на index.html, не пересекается с .header/.nav других страниц */

/* Локальный контейнер по ТЗ: max-width 1440px, content = calc(100% - 160px) → 80px отступы слева/справа */
.home-container {
  max-width: 1440px;
  width: calc(100% - 160px);
  margin: 0 auto;
}

.home-header--transparent {
  background: none;
  box-shadow: none;
}

.home-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  height: 56px;
  padding-top: 18px;
  padding-bottom: 14px;
  box-sizing: content-box;
  border-radius: 22px;
  transition:
    width .28s cubic-bezier(.22,.61,.36,1),
    max-width .28s cubic-bezier(.22,.61,.36,1),
    height .28s cubic-bezier(.22,.61,.36,1),
    padding .28s cubic-bezier(.22,.61,.36,1),
    margin-top .28s cubic-bezier(.22,.61,.36,1),
    border-radius .28s cubic-bezier(.22,.61,.36,1);
}

/* Стеклянная подложка капсулы — отдельный слой, чтобы фон/тень плавно
   проявлялись (opacity/translateY/scale), не затрагивая видимость контента */
.home-header__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .35);
  box-shadow: 0 12px 40px rgba(16, 32, 22, .10);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  transform: translateY(-16px) scale(.98);
  transition: opacity .28s cubic-bezier(.22,.61,.36,1), transform .28s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
}

@media (min-width: 961px) {
  .home-header.is-scrolled .home-header__inner,
  .home-header--static .home-header__inner {
    width: calc(100% - 48px);
    max-width: 1320px;
    height: 72px;
    padding: 0 32px;
    box-sizing: border-box;
    margin-top: 16px;
    /* Симметричные поля: отступ слева до "Новостройки" = отступу справа
       от CTA до края капсулы. Между ними навигация растягивается на весь
       отрезок и распределяет свои 5 пунктов через space-between. */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
  }

  .home-header.is-scrolled .home-header__inner::before,
  .home-header--static .home-header__inner::before {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.home-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.22,.61,.36,1), opacity .2s ease;
}

.home-logo__img {
  display: block;
  height: 46px;
  width: auto;
}

@media (min-width: 961px) {
  .home-header.is-scrolled .home-logo__img,
  .home-header--static .home-logo__img {
    height: 34px;
  }
}

.home-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 30px;
  transition: gap .28s cubic-bezier(.22,.61,.36,1);
}

.home-nav a {
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: var(--color-navy);
  white-space: nowrap;
  transition: color 0.2s, font-size .28s cubic-bezier(.22,.61,.36,1);
}
.home-nav a:hover { color: var(--color-accent); }

@media (min-width: 961px) {
  .home-header.is-scrolled .home-nav {
    flex: 1;
    justify-content: space-between;
    margin-left: 0;
    gap: 16px;
  }
  .home-header--static .home-nav {
    flex: 1;
    justify-content: space-between;
    margin-left: 30px;
    gap: 16px;
  }
  .home-header.is-scrolled .home-nav a,
  .home-header--static .home-nav a { font-size: 13px; }
  .home-header.is-scrolled .home-nav__secondary { display: none; }
}

.home-header__right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  margin-left: auto;
  transition: gap .28s cubic-bezier(.22,.61,.36,1);
}

@media (min-width: 961px) {
  .home-header.is-scrolled .home-header__right,
  .home-header--static .home-header__right { margin-left: 0; }
}

.home-header__phone-block {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--color-navy);
  flex-shrink: 0;
}
.home-header__phone-block:hover .home-header__phone-icon { border-color: var(--color-accent); color: var(--color-accent); }
.home-header__phone-block:hover .home-header__phone-number { color: var(--color-accent); }

@media (min-width: 961px) {
  .home-header.is-scrolled .home-header__phone-block { display: none; }
}

.home-header__phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(26, 46, 26, 0.18);
  flex-shrink: 0;
  transition: border-color 0.2s, color 0.2s;
}
.home-header__phone-icon svg { width: 15px; height: 15px; }

.home-header__phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.home-header__phone-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  white-space: nowrap;
  transition: color 0.2s;
}
.home-header__phone-hours {
  font-size: 10.5px;
  color: var(--color-gray-500);
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 12px;
  white-space: nowrap;
  transition: height .28s cubic-bezier(.22,.61,.36,1), padding .28s cubic-bezier(.22,.61,.36,1), font-size .28s cubic-bezier(.22,.61,.36,1);
}

@media (min-width: 961px) {
  .home-header.is-scrolled .home-header__cta,
  .home-header--static .home-header__cta { height: 38px; padding: 0 16px; font-size: 11px; }
}

.home-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.home-burger span { width: 22px; height: 2px; background: var(--color-navy); }

/* ===== Главная страница: Hero + "Подборки лучших предложений" — один общий контейнер =====
   Оба блока лежат в одной section с единым светлым фоном (.home-showcase). Фото Hero —
   фон только своей верхней части (высота ограничена .home-hero, а не всей section), поэтому
   ниже него естественно продолжается общий светлый фон без отдельного "шва". */
.home-showcase {
  background: var(--color-gray-50);
}

.home-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 700px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Фото: правый + верхний край Hero, ширина 62% (левый край глубоко уходит под текстовый блок) */
.home-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  z-index: 0;
}
.home-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.24) translateX(-6%);
  transform-origin: center;
}

/* Градиент поверх фото: очень широкая, максимально плавная растяжка от середины Hero
   глубоко в фото — белый фон буквально растворяется в фотографии, без ощущения двух колонок
   (референс: Apple/Porsche hero). */
.home-hero__overlay {
  position: absolute;
  top: 0;
  left: 20%;
  width: 56%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(90deg,
    var(--color-gray-50) 0%,
    rgba(247, 248, 247, 0.97) 10%,
    rgba(247, 248, 247, 0.88) 20%,
    rgba(247, 248, 247, 0.74) 32%,
    rgba(247, 248, 247, 0.56) 44%,
    rgba(247, 248, 247, 0.38) 56%,
    rgba(247, 248, 247, 0.22) 68%,
    rgba(247, 248, 247, 0.1) 80%,
    rgba(247, 248, 247, 0.03) 92%,
    rgba(247, 248, 247, 0) 100%);
}

.home-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
}

/* Контент: обычный поток (не absolute) поверх фото/градиента, отступ = padding контейнера (80px) */
.home-hero__content {
  position: relative;
  z-index: 10;
  width: 620px;
  max-width: calc(100% - 160px);
  margin: 108px 0 0 80px;
}

.home-hero__eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 18px;
}

.home-hero__title {
  width: 620px;
  max-width: 100%;
  /* ТЗ просит 74px/80px, но реальный заголовок ("Новостройки Санкт-Петербурга
     от проверенного агента") при ширине 620px переносится на 3 строки вплоть до ~39px;
     38px/42px — минимальное уменьшение, при котором текст стабильно держит 2 строки. */
  font-size: 38px;
  line-height: 42px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  margin-bottom: 32px;
}

.home-hero__sub {
  width: 510px;
  max-width: 100%;
  font-size: 18px;
  line-height: 27px;
  color: #5a5a5a;
  margin-bottom: 36px;
}

.home-hero__points {
  display: flex;
  flex-direction: row;
  gap: 18px;
  flex-wrap: nowrap;
  margin-bottom: 42px;
}
.home-hero__points li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-navy);
}
.home-hero__point-text {
  display: block;
  width: 176px;
  flex-shrink: 0;
}
.home-hero__point-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-navy);
}
.home-hero__point-icon svg { width: 34px; height: 34px; stroke-width: 1.3; }

.home-hero__widget {
  width: 680px;
  box-sizing: border-box;
  background: #143528;
  border-radius: 24px;
  padding: 18px 26px;
  margin-top: 122px;
  box-shadow: 0 40px 100px rgba(16, 42, 32, 0.22), 0 12px 30px rgba(16, 42, 32, 0.12);
}

.home-hero__widget-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 10px;
  white-space: nowrap;
}

.home-hero__widget-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.home-hero__field {
  position: relative;
  flex-shrink: 0;
  width: 136px;
  height: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4px 16px 4px 10px;
  border-radius: 8px;
  background: var(--color-white);
}

.home-hero__field-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-hero__select {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: none;
  padding: 0;
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-hero__field-chevron {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  color: var(--color-gray-500);
  pointer-events: none;
}

.home-hero__widget-btn {
  flex-shrink: 0;
  width: 160px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: var(--color-accent);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.home-hero__widget-btn:hover { background: var(--color-accent-hover); }

.home-hero__widget-note {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

/* Карточки: floating над фото, с отступом от правого края (не вплотную) */
.home-hero__cards {
  position: absolute;
  z-index: 2;
  right: 40px;
  top: 245px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-hero__card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 298px;
  height: 86px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  box-sizing: border-box;
}

.home-hero__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--color-navy);
  flex-shrink: 0;
}
.home-hero__card-icon svg { width: 20px; height: 20px; stroke-width: 1.5; }

.home-hero__card-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.4;
  margin-bottom: 3px;
}

.home-hero__card-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-gray-700);
}

@media (max-width: 1200px) {
  .home-hero { height: auto; padding-bottom: 40px; }
  .home-hero__title { font-size: 40px; width: auto; line-height: 1.2; }
}

@media (max-width: 960px) {
  .home-header__inner { height: auto; flex-wrap: wrap; }
  .home-nav { display: none; }
  .home-header__phone-block { display: none; }

  .home-hero { height: auto; }
  .home-hero__bg { position: relative; right: 0; width: 100%; height: 360px; }
  .home-hero__overlay { display: none; }
  .home-header { position: relative; }
  .home-hero__content { position: relative; width: auto; max-width: none; margin: 0; padding: 24px; }
  .home-hero__title { width: auto; }
  .home-hero__sub { width: auto; }
  .home-hero__points { flex-wrap: wrap; }
  .home-hero__points li { width: auto; }
  .home-hero__point-text { width: auto; }
  .home-hero__cards {
    position: relative;
    right: 0;
    top: 0;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 24px 24px;
  }
  .home-hero__card { flex: 1; min-width: 220px; width: auto; }
  .home-hero__widget { width: auto; height: auto; }
  .home-hero__widget-row { flex-direction: column; align-items: stretch; flex-wrap: wrap; }
  .home-hero__field, .home-hero__widget-btn { width: 100%; }
}

@media (max-width: 600px) {
  .home-header__cta { width: auto; padding: 10px 18px; font-size: 13px; height: 48px; }
  .home-hero__title { font-size: 28px; }
  .home-hero__cards { flex-direction: column; }
  .home-hero__card { min-width: 0; }
  .home-hero__widget { padding: 22px 20px; }
}

/* ===== Почему нас выбирают (визуальное продолжение блока "Популярные новостройки") ===== */
.why-us { background: #F8F7F4; padding: 8px 0 24px; }

.why-us__inner {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.why-us__items {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  justify-content: space-between;
}

.why-us__item { text-align: center; }

.why-us__item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  color: var(--color-accent);
}
.why-us__item-icon svg { width: 38px; height: 38px; }

.why-us__item h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}
.why-us__item p {
  font-size: 12px;
  color: var(--color-gray-700);
  line-height: 1.3;
}

.why-us__promo {
  flex-shrink: 0;
  width: 220px;
  background: #f7f1e2;
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-us__promo h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 6px;
}
.why-us__promo p {
  font-size: 12px;
  color: var(--color-gray-700);
  line-height: 1.4;
  margin-bottom: 10px;
}
.why-us__promo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-navy);
  transition: color 0.2s;
}
.why-us__promo-link span { transition: transform 0.2s; }
.why-us__promo-link:hover { color: var(--color-accent-hover); }
.why-us__promo-link:hover span { transform: translateX(4px); }

@media (max-width: 900px) {
  .why-us__inner { flex-direction: column; }
  .why-us__items { grid-template-columns: repeat(2, 1fr); }
  .why-us__promo { width: 100%; }
}

/* ===== Подборки лучших предложений ===== */
.offers { padding: 40px 0; }
.offers__title { margin-bottom: 20px; text-align: center; font-size: 24px; }

.offers__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s;
}
.offer-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.offer-card__image {
  position: relative;
  aspect-ratio: 16 / 8;
  background: var(--color-gray-100);
}
.offer-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.offer-card__image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
}
.offer-card__image--placeholder svg { width: 64px; height: 64px; }
.offer-card__image--tone1 { background: linear-gradient(135deg, #2b3f2b, #1a2e1a); }
.offer-card__image--tone2 { background: linear-gradient(135deg, #3a3324, #241f16); }

.offer-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  color: var(--color-white);
}
.offer-card__badge--gold { background: var(--color-accent); }
.offer-card__badge--dark { background: rgba(26, 46, 26, 0.85); }

.offer-card__heart {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-navy);
  cursor: pointer;
  transition: color 0.2s;
}
.offer-card__heart svg { width: 14px; height: 14px; }
.offer-card__heart:hover { color: #e0455f; }

.offer-card__body { padding: 10px 12px 12px; }

.offer-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 3px;
}
.offer-card__meta {
  font-size: 12px;
  color: var(--color-gray-700);
  margin-bottom: 3px;
}
.offer-card__price {
  font-size: 15px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 4px;
}
.offer-card__district {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--color-gray-700);
}
.offer-card__district svg { width: 13px; height: 13px; flex-shrink: 0; }

.offer-cta {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-navy);
  border-radius: var(--radius);
  padding: 18px 16px;
  color: var(--color-white);
}
.offer-cta h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.offer-cta p { font-size: 12px; color: var(--color-gray-300); line-height: 1.4; margin-bottom: 12px; }
.offer-cta__btn { width: 100%; text-align: center; padding: 10px; }
.offer-cta__contact { margin-top: 14px; }
.offer-cta__contact p { font-size: 11px; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.offer-cta__icons { display: flex; gap: 8px; }
.offer-cta__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--color-white);
  transition: transform 0.2s;
}
.offer-cta__icon svg { width: 16px; height: 16px; }
.offer-cta__icon:hover { transform: translateY(-2px); }
.offer-cta__icon--whatsapp { background: #25d366; }
.offer-cta__icon--telegram { background: #29a9eb; }

@media (max-width: 960px) {
  .offers__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .offers__grid { grid-template-columns: 1fr; }
}

/* ===== Полоса статистики ===== */
.stats-bar {
  background: var(--color-navy);
  padding: 32px 0;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-bar__item {
  text-align: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stats-bar__item:last-child { border-right: none; }
.stats-bar__value {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
}
.stats-bar__label {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
}
@media (max-width: 600px) {
  .stats-bar__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats-bar__item { border-right: none; }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--color-navy);
}

.hero__sub {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-gray-700);
  margin-bottom: 32px;
  line-height: 1.5;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--color-gray-100);
  padding-top: 32px;
}

.hero__stat {
  flex: 1;
  padding-right: 24px;
  border-right: 1px solid var(--color-gray-100);
  margin-right: 24px;
}
.hero__stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }

.hero__stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-label { font-size: 13px; color: var(--color-gray-500); line-height: 1.4; }

/* Форма в Hero */
.hero-form {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--color-text);
  box-shadow: var(--shadow-hover);
}
.hero-form h3 { font-size: 20px; margin-bottom: 4px; }
.hero-form p { font-size: 14px; color: var(--color-gray-700); margin-bottom: 20px; max-width: none; }

.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}
.form-note {
  font-size: 12px;
  color: var(--color-gray-500);
  margin-top: 12px;
  text-align: center;
}

/* ===== Карточки ЖК / квартир ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.card__image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--color-gray-100);
  overflow: hidden;
}
.card__image img { width: 100%; height: 100%; object-fit: cover; }

.card__badge {
  background: var(--color-accent);
  color: var(--color-navy);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(201,168,76,0.45);
}
.card__image .card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
}

.card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.card__title { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.card__meta { font-size: 14px; color: var(--color-gray-700); margin-bottom: 14px; }
.card__rooms { margin-bottom: 14px; flex: 1; }
.card__room-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  border-top: 1px solid var(--color-gray-100);
}
.card__room-line:first-child { border-top: none; }
.card__room-line span:first-child { color: var(--color-gray-700); }
.card__room-line span:last-child { font-weight: 700; color: var(--color-navy); }
.card__room-na { font-weight: 400 !important; color: var(--color-gray-500) !important; font-size: 13px; }
.card__price { font-size: 20px; font-weight: 800; color: var(--color-navy); margin-top: auto; margin-bottom: 4px; }
.card__price-label { font-size: 12px; color: var(--color-gray-500); margin-bottom: 14px; }

/* ===== Доверие / статистика ===== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-item { text-align: center; }
.trust-item__value { font-size: 40px; font-weight: 800; color: var(--color-navy); }
.trust-item__label { font-size: 14px; color: var(--color-gray-700); margin-top: 6px; }

/* ===== Отзывы ===== */
.review-photo-preview { margin-top: 10px; }
.review-photo-preview img { width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); }

/* ===== Блок доверия ===== */
.trust-section {
  background: #FAF8F3;
  padding: 56px 0;
}
.trust-container {
  max-width: 1280px;
  text-align: center;
}
.trust-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #B68A2C;
  margin: 0;
}
.trust-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 45.3px;
  line-height: 102%;
  letter-spacing: -0.03em;
  color: #16241D;
  margin: 20px 0 0;
}
.trust-rating {
  margin-top: 48px;
}
.trust-rating__row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
}
.trust-rating__number {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 64px;
  color: #16241D;
}
.trust-rating__stars {
  color: #D4A017;
  font-size: 26px;
  letter-spacing: 2px;
}
.trust-rating__caption {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #6F756F;
  margin: 8px 0 0;
}
.trust-carousel {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 56px;
}
.trust-carousel__viewport {
  flex: 1;
  overflow: hidden;
}
.trust-carousel__track {
  display: flex;
  transition: transform .5s ease;
}
.trust-carousel__page {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  flex: 0 0 100%;
}
.trust-carousel__arrow {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  border-radius: 50%;
  color: #16241D;
  opacity: .5;
  cursor: pointer;
  transition: opacity .25s ease, background .25s ease, color .25s ease;
}
.trust-carousel__arrow svg { width: 32px; height: 32px; }
.trust-carousel__arrow:hover {
  opacity: 1;
  background: rgba(22, 36, 29, .05);
  color: #B68A2C;
}
.trust-carousel--single .trust-carousel__arrow { visibility: hidden; }
.trust-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.trust-carousel__dots--single { display: none; }
.trust-carousel__dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(22, 36, 29, .15);
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.trust-carousel__dot.is-active {
  background: #D4A017;
  transform: scale(1.3);
}
.trust-quote {
  flex: 1;
  max-width: 340px;
  padding: 0 24px;
  border-left: 1px solid rgba(22, 36, 29, .08);
  text-align: left;
}
.trust-quote:first-child {
  border-left: none;
  padding-left: 0;
}
.trust-quote__stars {
  display: block;
  color: #D4A017;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.trust-quote__text-wrap {
  position: relative;
  max-height: 79px;
  overflow: hidden;
  transition: max-height .4s ease;
}
.trust-quote__text-wrap::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 28px;
  background: linear-gradient(to bottom, rgba(250, 248, 243, 0), #FAF8F3);
  transition: opacity .3s ease;
  pointer-events: none;
}
.trust-quote__text-wrap.is-expanded::after { opacity: 0; }
.trust-quote__text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18.6px;
  line-height: 140%;
  color: #16241D;
  margin: 0 0 16px;
}
.trust-quote__toggle {
  display: inline-block;
  margin: 0 0 14px;
  padding: 0;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(182, 138, 44, .4);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #B68A2C;
  cursor: pointer;
  transition: color .2s ease, border-color .2s ease;
}
.trust-quote__toggle:hover { color: #8A6A20; border-color: #8A6A20; }
.trust-quote__name {
  display: block;
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-size: 15px;
  color: #8A8A8A;
}
.trust-cta {
  text-align: center;
  margin-top: 40px;
}
.trust-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  background: none;
  border: 1px solid rgba(22, 36, 29, .18);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #16241D;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.trust-cta__btn:hover {
  border-color: #D4A017;
  color: #B68A2C;
  background: rgba(212, 160, 23, .06);
}
.trust-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid rgba(22, 36, 29, .08);
  text-align: left;
}
.trust-footer__platforms {
  display: flex;
  gap: 32px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #6F756F;
}
.trust-footer__stars {
  color: #D4A017;
  letter-spacing: 1px;
}
.trust-footer__link {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #16241D;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, color .25s ease;
}
.trust-footer__link:hover {
  color: #B68A2C;
  border-bottom-color: #D4A017;
}

/* Плавное появление при скролле */
.trust-section .js-reveal,
.trust-section .trust-quote {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.trust-section .js-reveal.is-visible,
.trust-section .trust-quote.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .trust-title { font-size: 26.7px; }
  .trust-rating__number { font-size: 44px; }
  .trust-carousel__page { flex-direction: column; gap: 40px; }
  .trust-quote { max-width: 100%; border-left: none; padding: 0; }
  .trust-quote:first-child { padding-left: 0; }
  .trust-footer { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ===== Отзывы (отдельная страница) — тот же блок доверия, но развёрнутый шире ===== */
.trust-section--page { padding: 72px 0 100px; }
.trust-container--wide { max-width: 1360px; }
.trust-carousel--lg .trust-carousel__page { gap: 56px; }
.trust-quote--lg { max-width: 380px; padding: 0 28px; }
.trust-quote--lg .trust-quote__text { font-size: 19px; }

@media (min-width: 901px) {
  .trust-carousel--lg .trust-carousel__arrow { width: 108px; height: 108px; }
  .trust-carousel--lg .trust-carousel__arrow svg { width: 40px; height: 40px; }
}

/* ===== Квиз ===== */
.quiz-box {
  background: var(--color-gray-50);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.quiz-box--result { background: var(--color-white); border: 1px solid var(--color-gray-100); }
.quiz-progress {
  height: 4px;
  background: var(--color-gray-300);
  border-radius: 2px;
  margin-bottom: 20px;
  overflow: hidden;
}
.quiz-progress__bar { height: 100%; background: var(--color-accent); transition: width 0.3s; }
.quiz-step-label { font-size: 13px; color: var(--color-gray-500); margin-bottom: 12px; }
.quiz-question { font-size: 24px; font-weight: 700; margin-bottom: 28px; }
.quiz-options { display: flex; flex-direction: column; gap: 12px; }
.quiz-option {
  padding: 16px 20px;
  border: 1.5px solid var(--color-gray-300);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.quiz-option:hover { border-color: var(--color-accent); background: #f0f5ff; }
.quiz-back {
  margin-top: 20px;
  background: none;
  border: none;
  color: var(--color-gray-500);
  font-size: 14px;
  cursor: pointer;
}
.quiz-back:hover { color: var(--color-navy); }
.quiz-result-icon {
  width: 56px; height: 56px;
  background: #dcfce7; color: var(--color-success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700;
  margin: 0 auto 20px;
}

/* ===== Блок преимуществ с текстом ===== */
.trust-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.trust-feature__icon {
  width: 36px; height: 36px;
  background: rgba(37,99,235,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #93c5fd;
  font-weight: 700;
  margin-bottom: 12px;
}
.trust-feature h4 {
  color: var(--color-white);
  font-size: 16px;
  margin-bottom: 8px;
}
.trust-feature p { color: var(--color-gray-300); font-size: 14px; line-height: 1.6; }

@media (max-width: 960px) {
  .trust-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .trust-features { grid-template-columns: 1fr; }
}

/* ===== Виджет связи (floating button) ===== */
.chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
}
.chat-widget__btn {
  appearance: none;
  -webkit-appearance: none;
  width: 60px; height: 60px;
  background: transparent;
  background-color: transparent;
  border-radius: 0;
  border: none;
  outline: none;
  padding: 0;
  box-shadow: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease;
  position: relative;
}
.chat-widget__btn:hover { transform: scale(1.06); }
.chat-widget__btn svg {
  width: 38px; height: 40px;
  fill: #D2A013;
  filter: drop-shadow(0 0 6px rgba(207, 166, 58, 0.55)) drop-shadow(0 0 14px rgba(207, 166, 58, 0.4));
  transition: filter 0.3s ease;
  animation: chat-widget-glow 2.6s ease-in-out infinite;
}
.chat-widget__btn:hover svg {
  filter: drop-shadow(0 0 9px rgba(207, 166, 58, 0.85)) drop-shadow(0 0 22px rgba(207, 166, 58, 0.6));
  animation-play-state: paused;
}
@keyframes chat-widget-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(207, 166, 58, 0.55)) drop-shadow(0 0 14px rgba(207, 166, 58, 0.4)); }
  50% { filter: drop-shadow(0 0 9px rgba(207, 166, 58, 0.75)) drop-shadow(0 0 18px rgba(207, 166, 58, 0.55)); }
}
.chat-widget__pulse {
  position: absolute;
  top: -2px; right: -2px;
  width: 14px; height: 14px;
  background: #22c55e;
  border-radius: 50%;
  border: 2px solid white;
}
.chat-widget__popup {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 300px;
  background: var(--color-white);
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(15, 31, 61, 0.22), 0 4px 16px rgba(15, 31, 61, 0.08);
  padding: 0;
  overflow: hidden;
  display: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  animation: chat-widget-pop 0.22s ease;
}
@keyframes chat-widget-pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.chat-widget__popup.open { display: block; }
.chat-widget__header {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--color-navy);
  padding: 18px 20px;
}
.chat-widget__avatar {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-navy);
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.chat-widget__header-title { font-size: 15px; font-weight: 700; color: var(--color-white); }
.chat-widget__header-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--color-gray-300);
  margin-top: 2px;
}
.chat-widget__status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}
.chat-widget__bubble {
  margin: 18px 20px 4px;
  padding: 12px 14px;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: 14px 14px 14px 4px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-text);
}
.chat-options { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px 20px; }
.chat-option {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--color-gray-100);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 600;
  cursor: pointer; text-decoration: none; color: var(--color-text);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.chat-option:hover { border-color: var(--color-accent); background: var(--color-gray-50); transform: translateY(-1px); }
.chat-option__icon { font-size: 20px; line-height: 1; }

/* ===== Ипотечный калькулятор ===== */
.mortgage-calc-title {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 500;
  font-size: clamp(28px, 4.2vw, 45px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--color-navy);
  margin: 0 0 12px;
}
.mortgage-calc {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.mortgage-calc__inputs { padding: 40px; }
.mortgage-calc__result {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mortgage-calc__row { display: flex; flex-direction: column; gap: 28px; }
.mortgage-calc__field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 10px;
}
.mc-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-gray-200, #e5e7eb);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}
.mc-input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
  font-family: inherit;
  background: transparent;
}
.mc-input:focus { outline: none; }
.mc-unit {
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-500);
  background: var(--color-gray-50);
  border-left: 1.5px solid var(--color-gray-200, #e5e7eb);
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.mc-range {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--color-gray-200, #e5e7eb);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.mc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: var(--color-navy);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--color-navy);
}
.mc-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--color-navy);
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 0 0 1px var(--color-navy);
}
.mc-result-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.mc-result-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 28px;
  line-height: 1;
}
.mc-result-rows { flex: 1; }
.mc-result-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
}
.mc-result-row span:last-child {
  font-weight: 700;
  color: var(--color-white);
}

.mortgage-section { padding-top: 50px; }

/* Компактная версия калькулятора (главная страница /index.html) — увеличена в 1.3 раза от предыдущего размера и отцентрована */
.mortgage-calc--preview .mortgage-calc { grid-template-columns: 1fr 277px; max-width: 797px; margin: 0 auto; }
.mortgage-calc--preview .mortgage-calc__inputs { padding: 35px; }
.mortgage-calc--preview .mortgage-calc__result { padding: 35px; }
.mortgage-calc--preview .mortgage-calc__row { gap: 25px; }
.mortgage-calc--preview .mortgage-calc__field label { font-size: 12px; margin-bottom: 9px; }
.mortgage-calc--preview .mc-input-wrap { margin-bottom: 10px; }
.mortgage-calc--preview .mc-input { padding: 10px 12px; font-size: 16px; }
.mortgage-calc--preview .mc-unit { padding: 0 12px; font-size: 12px; }
.mortgage-calc--preview .mc-range { height: 4px; }
.mortgage-calc--preview .mc-range::-webkit-slider-thumb { width: 16px; height: 16px; border-width: 2px; }
.mortgage-calc--preview .mc-range::-moz-range-thumb { width: 16px; height: 16px; border-width: 2px; }
.mortgage-calc--preview .mc-result-label { font-size: 12px; margin-bottom: 7px; }
.mortgage-calc--preview .mc-result-value { font-size: 31px; margin-bottom: 25px; }
.mortgage-calc--preview .mc-result-row { font-size: 12px; padding: 9px 0; }
.mortgage-calc--preview .mortgage-calc__result .btn { padding: 13px 22px !important; font-size: 12px !important; }

@media (max-width: 960px) {
  .mortgage-calc--preview .mortgage-calc { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .mortgage-calc { grid-template-columns: 1fr; }
}

/* Версия калькулятора страницы /pages/mortgage.html — увеличена в 1.3 раза от предыдущего размера */
.mortgage-calc--page .mortgage-calc { grid-template-columns: 1fr 283px; max-width: 1066px; margin: 0 auto; }
.mortgage-calc--page .mortgage-calc__inputs { padding: 36px; }
.mortgage-calc--page .mortgage-calc__result { padding: 36px; }
.mortgage-calc--page .mortgage-calc__row { gap: 26px; }
.mortgage-calc--page .mortgage-calc__field label { font-size: 13px; margin-bottom: 8px; }
.mortgage-calc--page .mc-input-wrap { margin-bottom: 10px; }
.mortgage-calc--page .mc-input { padding: 10px 13px; font-size: 16px; }
.mortgage-calc--page .mc-unit { padding: 0 13px; font-size: 13px; }
.mortgage-calc--page .mc-range { height: 3px; }
.mortgage-calc--page .mc-range::-webkit-slider-thumb { width: 16px; height: 16px; border-width: 3px; }
.mortgage-calc--page .mc-range::-moz-range-thumb { width: 16px; height: 16px; border-width: 3px; }
.mortgage-calc--page .mc-result-label { font-size: 13px; margin-bottom: 8px; }
.mortgage-calc--page .mc-result-value { font-size: 31px; margin-bottom: 26px; }
.mortgage-calc--page .mc-result-row { font-size: 13px; padding: 8px 0; }
.mortgage-calc--page .mortgage-calc__result .btn { padding: 16px 26px !important; font-size: 13px !important; margin-top: 21px !important; }

@media (max-width: 960px) {
  .mortgage-calc--page .mortgage-calc { grid-template-columns: 1fr; }
}

/* ===== Подвал ===== */
.footer {
  background: var(--color-navy);
  color: var(--color-gray-300);
  padding: 56px 0 28px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer__logo { color: var(--color-white); font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.footer__desc { font-size: 14px; max-width: 280px; }
.footer h4 { color: var(--color-white); font-size: 14px; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a:hover { color: var(--color-white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
}

/* ===== Фильтры каталога ===== */
.filters-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid var(--color-gray-100);
  margin-bottom: 8px;
  justify-content: center;
  align-items: flex-end;
}
.filter-group { display: flex; flex-direction: column; gap: 6px; min-width: 160px; }
.filter-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.filter-group select {
  padding: 10px 14px;
  border: 1.5px solid var(--color-gray-200, #e5e7eb);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  background: var(--color-white);
  font-family: inherit;
  color: var(--color-navy);
  cursor: pointer;
  transition: border-color 0.2s;
}
.filter-group select:focus {
  outline: none;
  border-color: var(--color-accent);
}
.results-count { font-size: 14px; color: var(--color-gray-500); margin: 20px 0 16px; }
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-gray-700);
  font-size: 16px;
}
.empty-state a { color: var(--color-accent); font-weight: 600; }

/* ===== Страница ЖК (переработанный верх: Hero / Почему выбирают / Галерея) ===== */
.zkd-scope {
  --zkd-bg: #FAF8F3;
  --zkd-white: #FFFFFF;
  --zkd-text: #1F2D24;
  --zkd-text-secondary: #6F746E;
  --zkd-accent: #CFA63A;
  background: var(--zkd-bg);
}
.zkd-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Hero --- */
.zkd-hero {
  position: relative;
  height: 620px;
  max-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.zkd-hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.zkd-hero__gradient {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.58) 20%, rgba(0,0,0,0.3) 38%, rgba(0,0,0,0) 55%);
}
.zkd-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 48px;
}
.zkd-hero__left { color: var(--zkd-white); max-width: 620px; }
.zkd-hero__district {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zkd-accent);
  margin-bottom: 14px;
}
.zkd-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: 68px;
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 16px;
}
.zkd-hero__desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: #FFFFFF;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  max-width: 440px;
  margin: 0 0 22px;
}
.zkd-hero__price {
  font-family: 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--zkd-white);
  margin-bottom: 22px;
}
.zkd-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--zkd-accent);
  color: #1F2416;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.zkd-hero__cta:hover { background: #dcb84a; transform: translateY(-1px); }

.zkd-hero__card {
  flex-shrink: 0;
  width: 320px;
  background: var(--zkd-white);
  border-radius: 24px;
  padding: 18px 26px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.18);
}
.zkd-hero__rating {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  margin-bottom: 10px;
  border-bottom: 1px solid #EEEBE2;
}
.zkd-hero__rating-value { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--zkd-text); }
.zkd-hero__rating-stars { color: var(--zkd-accent); font-size: 13px; letter-spacing: 1px; }
.zkd-hero__rating-count { font-family: 'Inter', sans-serif; font-size: 12px; color: var(--zkd-text-secondary); display: block; margin-top: 2px; }

.zkd-hero__row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #F0EDE4;
}
.zkd-hero__row:last-child { border-bottom: none; }
.zkd-hero__row-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--zkd-accent-dark, #B08A2E);
}
.zkd-hero__row-icon svg { width: 22px; height: 22px; }
.zkd-hero__row-label {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: var(--zkd-text-secondary);
  margin-bottom: 2px;
}
.zkd-hero__row-value {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--zkd-text);
  line-height: 1.3;
}

/* --- Почему выбирают --- */
.zkd-why { padding: 64px 0 56px; }
.zkd-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--zkd-accent);
  margin-bottom: 8px;
}
.zkd-why__title {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--zkd-text);
  margin-bottom: 32px;
}
.zkd-why__grid {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.zkd-why__card {
  flex: 0.9;
  min-width: 0;
  background: var(--zkd-white);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.zkd-why__card:nth-child(1),
.zkd-why__card:nth-child(4) { flex: 1.3; }
.zkd-why__num {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--zkd-accent);
  margin-bottom: 8px;
}
.zkd-why__card-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--zkd-text);
  margin-bottom: 6px;
}
.zkd-why__card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: var(--zkd-text-secondary);
  margin: 0;
}
.zkd-why__card-img {
  height: 100px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 8px;
}
.zkd-why__card-img--lg { height: 200px; }
.zkd-why__card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Галерея (masonry) --- */
.zkd-gallery { padding: 0 0 64px; }
.zkd-gallery__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
}
.zkd-gallery__link {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--zkd-text);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}
.zkd-gallery__link:hover { color: var(--zkd-accent); }
.zkd-gallery__slideshow { position: relative; }
.zkd-gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 440px;
  transition: opacity 900ms ease;
}
.zkd-gallery__grid--fading { opacity: 0; }
.zkd-gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E4E0D3;
  background: #fff;
  color: var(--zkd-text, #1F2D24);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
  z-index: 2;
}
.zkd-gallery__arrow:hover { border-color: var(--zkd-accent, #CFA63A); }
.zkd-gallery__arrow--prev { left: -22px; }
.zkd-gallery__arrow--next { right: -22px; }
.zkd-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.zkd-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #E4E0D3;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.zkd-gallery__dot--active { background: var(--zkd-accent, #CFA63A); transform: scale(1.3); }
.zkd-gallery__item {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}
.zkd-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 250ms ease;
}
.zkd-gallery__item:hover img { transform: scale(1.02); }
.zkd-gallery__item--1 { grid-column: 1 / 3; grid-row: 1; }
.zkd-gallery__item--2 { grid-column: 1; grid-row: 2; }
.zkd-gallery__item--3 { grid-column: 2; grid-row: 2; }
.zkd-gallery__item--4 { grid-column: 3; grid-row: 1 / 3; }
@media (max-width: 900px) {
  .zkd-hero { height: auto; min-height: 560px; align-items: flex-start; }
  .zkd-hero__inner { flex-direction: column; align-items: flex-start; padding-top: 150px; padding-bottom: 32px; }
  .zkd-hero__title { font-size: 42px; }
  .zkd-hero__card { width: 100%; }
  .zkd-why__grid { flex-wrap: wrap; }
  .zkd-why__card { flex: 1 1 calc(50% - 10px); }
  .zkd-gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 200px); height: auto; }
  .zkd-gallery__item--1 { grid-column: 1 / 3; grid-row: 1; }
  .zkd-gallery__item--2 { grid-column: 1; grid-row: 2; }
  .zkd-gallery__item--3 { grid-column: 2; grid-row: 2; }
  .zkd-gallery__item--4 { grid-column: 1 / 3; grid-row: 3; }
  .zkd-gallery__arrow--prev { left: 4px; }
  .zkd-gallery__arrow--next { right: 4px; }
}

.zkd-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--zkd-text, #1F2D24);
  margin-bottom: 28px;
}

/* --- Планировки --- */
.zkd-layouts { padding: 64px 0; }
.zkd-layouts__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.zkd-layouts__tab {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--zkd-text-secondary, #6F746E);
  background: #F2EFE6;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.zkd-layouts__tab:hover { color: var(--zkd-text, #1F2D24); }
.zkd-layouts__tab--active {
  background: var(--zkd-text, #1F2D24);
  color: #fff;
}
.zkd-layouts__viewport {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}
.zkd-layouts__grid {
  flex: 1;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.zkd-layouts__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E4E0D3;
  background: #fff;
  color: var(--zkd-text, #1F2D24);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.zkd-layouts__arrow:hover:not(:disabled) { border-color: var(--zkd-accent, #CFA63A); }
.zkd-layouts__arrow:disabled { opacity: 0.3; cursor: default; }
.zkd-layout-card {
  height: 320px;
  background: #fff;
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.zkd-layout-card:hover { box-shadow: 0 16px 32px rgba(31,45,36,0.1); transform: translateY(-2px); }
.zkd-layout-card__img {
  position: relative;
  height: 176px;
  border-radius: 14px;
  background: #F7F4EB;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
  cursor: zoom-in;
}
.zkd-layout-card__img img { width: 100%; height: 100%; object-fit: contain; }
.zkd-layout-card__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: var(--zkd-text, #1F2D24);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
  z-index: 2;
}
.zkd-layout-card__img:hover .zkd-layout-card__nav { opacity: 1; }
.zkd-layout-card__nav:hover { background: #fff; }
.zkd-layout-card__nav--prev { left: 8px; }
.zkd-layout-card__nav--next { right: 8px; }
.zkd-layout-card__dots {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}
.zkd-layout-card__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(31,45,36,0.3);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.zkd-layout-card__dot--active { background: var(--zkd-accent, #CFA63A); transform: scale(1.3); }
.zkd-layout-card__placeholder {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--zkd-text-secondary, #6F746E);
}
.zkd-layout-card__type {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--zkd-text, #1F2D24);
  margin-bottom: 6px;
}
.zkd-layout-card__price {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--zkd-accent, #CFA63A);
  margin-bottom: 2px;
}
.zkd-layout-card__area {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--zkd-text-secondary, #6F746E);
}
/* --- Lightbox (фото на весь экран) --- */
.zkd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15,18,15,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.zkd-lightbox.is-open { opacity: 1; pointer-events: auto; }
.zkd-lightbox__stage {
  position: relative;
  max-width: 88vw;
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zkd-lightbox__img {
  max-width: 88vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}
.zkd-lightbox__counter {
  position: absolute;
  bottom: -34px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}
.zkd-lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.zkd-lightbox__close:hover { background: rgba(255,255,255,0.2); }
.zkd-lightbox__arrow {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.zkd-lightbox__arrow:hover { background: rgba(255,255,255,0.2); }
@media (max-width: 700px) {
  .zkd-lightbox { gap: 4px; }
  .zkd-lightbox__arrow { width: 40px; height: 40px; font-size: 20px; }
  .zkd-lightbox__close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 22px; }
}

.zkd-layouts__more { text-align: center; margin-top: 28px; }
.zkd-layouts__more a {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--zkd-text, #1F2D24);
}
.zkd-layouts__more a:hover { color: var(--zkd-accent, #CFA63A); }

/* --- Этот ЖК подойдёт вам --- */
.zkd-fit { padding: 8px 0 64px; }
.zkd-fit__inner {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}
.zkd-fit__title {
  flex-shrink: 0;
  width: 260px;
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--zkd-text, #1F2D24);
}
.zkd-fit__row {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
}
.zkd-fit__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 0 28px;
  border-left: 1px solid #EAE6D9;
}
.zkd-fit__item:first-child { padding-left: 0; border-left: none; }
.zkd-fit__icon { color: var(--zkd-accent, #CFA63A); }
.zkd-fit__icon svg { width: 24px; height: 24px; }
.zkd-fit__text {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--zkd-text-secondary, #6F746E);
}

@media (max-width: 900px) {
  .zkd-layouts__grid { grid-template-columns: repeat(2, 1fr); }
  .zkd-fit__inner { flex-direction: column; gap: 24px; }
  .zkd-fit__title { width: auto; }
  .zkd-fit__row { flex-wrap: wrap; gap: 24px; }
  .zkd-fit__item { flex: 1 1 calc(50% - 24px); border-left: none; padding-left: 0; }
}

/* --- Плюсы / Особенности + Рекомендация --- */
.zkd-prosfeatures { padding: 80px 0; }
.zkd-prosfeatures__grid {
  display: grid;
  grid-template-columns: 7fr 3fr;
  gap: 64px;
  align-items: start;
}
.zkd-prosfeatures__eyebrow--second { margin-top: 36px; }
.zkd-prosfeatures__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.zkd-prosfeatures__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--zkd-text, #1F2D24);
}
.zkd-prosfeatures__mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #F2EFE4;
  color: var(--zkd-accent, #CFA63A);
  font-size: 11px;
  font-weight: 700;
}
.zkd-prosfeatures__list--dash .zkd-prosfeatures__mark {
  background: transparent;
  color: var(--zkd-text-secondary, #6F746E);
}

.zkd-recommend {
  background: #F7F1E1;
  border-radius: 24px;
  padding: 32px 28px;
}
.zkd-recommend__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--zkd-text, #1F2D24);
  margin-bottom: 20px;
}
.zkd-recommend__list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.zkd-recommend__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--zkd-text, #1F2D24);
}
.zkd-recommend__mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--zkd-accent, #CFA63A);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.zkd-recommend__cta {
  width: 100%;
  border: none;
  border-radius: 14px;
  background: var(--zkd-text, #1F2D24);
  color: #fff;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.25s ease;
}
.zkd-recommend__cta:hover { background: #33453a; }

/* --- Способы покупки --- */
.zkd-purchase { padding: 0 0 64px; }
.zkd-purchase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.zkd-purchase__card {
  background: var(--zkd-white, #fff);
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 8px 27px rgba(31, 45, 36, 0.08);
}
.zkd-purchase__card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--zkd-text, #1F2D24);
  margin-bottom: 16px;
}
.zkd-purchase__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.zkd-purchase__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--zkd-text-secondary);
}
.zkd-purchase__mark {
  color: var(--zkd-accent, #CFA63A);
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .zkd-purchase__grid { grid-template-columns: 1fr; }
}

/* --- Расположение (карта) --- */
.zkd-map { padding: 0 0 88px; }
.zkd-map__row {
  position: relative;
  height: 420px;
}
.zkd-map__placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  background: #F1ECE1;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zkd-map__streets {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #E2DACB;
}
.zkd-map__pin {
  position: relative;
  width: 27px;
  height: 27px;
}
.zkd-map__card {
  position: absolute;
  top: 50%;
  right: 43px;
  width: 240px;
  min-height: 120px;
  background: var(--zkd-white, #fff);
  border-radius: 16px;
  padding: 21px;
  box-shadow: 0 8px 27px rgba(31, 45, 36, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateY(-50%);
}
.zkd-map__card-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--zkd-text, #1F2D24);
  margin: 0 0 8px;
}
.zkd-map__card-address {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--zkd-text-secondary, #6F746E);
  margin: 0;
}
@media (max-width: 900px) {
  .zkd-map__row { height: auto; }
  .zkd-map__placeholder { height: 240px; }
  .zkd-map__card {
    position: static;
    width: auto;
    margin: -32px 16px 0;
    transform: none;
  }
}

/* --- Похожие ЖК --- */
.zkd-similar { padding: 0 0 88px; }
.zkd-similar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}
.zkd-similar__card {
  position: relative;
  display: block;
  height: 190px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.zkd-similar__card:hover { transform: translateY(-4px); }
.zkd-similar__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.25s ease;
}
.zkd-similar__card:hover .zkd-similar__img { transform: scale(1.02); }
.zkd-similar__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,18,0.75) 0%, rgba(15,23,18,0.15) 55%, transparent 80%);
}
.zkd-similar__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 18px;
  color: #fff;
}
.zkd-similar__name {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.zkd-similar__district {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 6px;
}
.zkd-similar__price {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--zkd-accent, #CFA63A);
}

@media (max-width: 900px) {
  .zkd-prosfeatures__grid { grid-template-columns: 1fr; gap: 40px; }
  .zkd-similar__grid { grid-template-columns: repeat(2, 1fr); }
}

.zk-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}
.zk-sidebar { position: sticky; top: 100px; }

.zk-main { max-width: 880px; margin: 0 auto; }

.zk-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.zk-gallery img { aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-sm); }

.zk-infra-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.zk-infra-list li {
  font-size: 14px; color: var(--color-gray-700);
  padding-left: 22px; position: relative;
}
.zk-infra-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--color-success); font-weight: 700;
}

/* ===== Планировки и цены (master-detail браузер) ===== */
.layouts-browser__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.layouts-browser__tab {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--color-gray-100);
  background: var(--color-gray-50);
  color: var(--color-gray-700);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.layouts-browser__tab:hover { border-color: var(--color-accent); color: var(--color-navy); }
.layouts-browser__tab--active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-white);
}
.layouts-browser__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: 28px;
  align-items: stretch;
}
.layouts-browser__thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-content: start;
  gap: 14px;
  max-height: 100%;
  overflow-y: auto;
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--color-white);
}
.layouts-browser__thumb {
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.layouts-browser__thumb:hover { border-color: var(--color-accent); box-shadow: var(--shadow); }
.layouts-browser__thumb--active { border: 3px solid var(--color-accent); }
.layouts-browser__thumb img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-gray-50);
}
.layouts-browser__thumb-area {
  display: block;
  padding: 6px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-700);
  text-align: center;
}
.layouts-browser__detail {
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius);
  padding: 24px;
}
.layouts-browser__detail-title { font-weight: 700; font-size: 22px; color: var(--color-navy); }
.layouts-browser__detail-meta { font-size: 15px; color: var(--color-gray-500); margin: 8px 0 16px; }
.layouts-browser__detail-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 560px;
  padding: 24px;
}
.layouts-browser__detail-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.layouts-browser__detail-placeholder { font-size: 14px; font-weight: 600; color: var(--color-gray-500); }
.layouts-browser__detail-price { font-weight: 700; font-size: 26px; color: var(--color-navy); margin: 20px 0 16px; }
.layouts-browser__detail-cta { width: 100%; }

@media (max-width: 768px) {
  .layouts-browser__body { grid-template-columns: 1fr; }
  .layouts-browser__thumbs { grid-template-columns: repeat(4, 1fr); max-height: 280px; }
  .layouts-browser__detail-image { height: 280px; }
}

.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  z-index: 90;
  padding: 14px 0;
}
.sticky-cta__inner { display: flex; align-items: center; justify-content: space-between; }
.sticky-cta__text { display: flex; flex-direction: column; font-size: 14px; }
.sticky-cta__text strong { font-size: 16px; }

@media (min-width: 961px) {
  .sticky-cta { display: none; }
}
@media (max-width: 960px) {
  .zk-layout { grid-template-columns: 1fr; }
  .zk-sidebar { position: static; }
  .zk-gallery { grid-template-columns: repeat(2, 1fr); }
  .layouts-grid { grid-template-columns: 1fr 1fr; }
  .zk-infra-list { grid-template-columns: 1fr; }
}

/* ===== Контакты ===== */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
}
.contacts-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item h4 { font-size: 13px; color: var(--color-gray-500); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.03em; }
.contact-item a, .contact-item p { font-size: 17px; font-weight: 600; }
.contact-item a:hover { color: var(--color-accent); }

@media (max-width: 960px) {
  .contacts-layout { grid-template-columns: 1fr; }
}

/* ===== Утилиты ===== */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; }
.section-head .section-subtitle { margin-bottom: 0; }

/* ===== Адаптив ===== */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; min-height: auto; }
  .hero__content { padding: 48px 0 40px; }
  .hero__photo { height: 320px; }
  .hero h1 { font-size: 40px; }
  .hero__sub { font-size: 17px; }
  .hero__cards { grid-template-columns: 1fr; }
  .hero__card { border-right: none; border-bottom: 1px solid var(--color-gray-200, #e5e7eb); }
  .hero__card:last-child { border-bottom: none; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .header__nav-row .container { padding-top: 0; padding-bottom: 0; }
  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--color-white);
    border-radius: 0;
    padding: 8px 0;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav.nav--open {
    display: flex;
    margin-bottom: 12px;
  }
  .nav a { padding: 12px 16px; border-radius: 8px; }
  .header__city { display: none; }
  .header__cta { display: none; }
  .burger { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .cards-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero__stats { gap: 24px; flex-wrap: wrap; }
  .hero__actions { flex-direction: column; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--color-gray-100); }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 40px 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  position: relative;
  font-family: inherit;
  line-height: 1.4;
}
.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--color-accent);
  transition: transform 0.2s;
}
.faq-item.open .faq-question::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--color-gray-700);
  line-height: 1.6;
}
.faq-item.open .faq-answer { display: block; }

/* ===== Карта на странице контактов ===== */
.map-block {
  display: grid;
  grid-template-columns: 360px 1fr;
}
.map-block__text {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-white);
}
.map-block__map { min-height: 400px; }
.map-block__map iframe { width: 100%; height: 100%; min-height: 400px; display: block; }

@media (max-width: 960px) {
  .map-block { grid-template-columns: 1fr; }
  .map-block__text { padding: 40px 24px; }
}

/* ===== Полоса статистики ===== */
/* ===== Статистика внутри Hero ===== */
.hero__stats-row {
  border-top: 1px solid var(--color-gray-100);
  padding: 28px 0;
  background: var(--color-gray-50);
}
.hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero__stat-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid var(--color-gray-200, #e5e7eb);
}
.hero__stat-item:last-child { border-right: none; }
.hero__stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 4px;
}
.hero__stat-txt {
  font-size: 13px;
  color: var(--color-gray-500);
}
@media (max-width: 600px) {
  .hero__stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero__stat-item { border-right: none; }
}

/* ===== Inline статистика в Hero ===== */
.hero__inline-stats {
  display: flex;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--color-gray-200, #e5e7eb);
  margin-top: 4px;
}
.hero__inline-stat {
  display: flex;
  flex-direction: column;
}
.hero__inline-stat strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1;
}
.hero__inline-stat span {
  font-size: 12px;
  color: var(--color-gray-500);
  margin-top: 3px;
}

/* ===== Партнёры ===== */
.partners-section {
  padding: 40px 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-100);
  overflow: hidden;
}
.partners-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.partners-track {
  overflow: hidden;
  position: relative;
}
.partners-track::before,
.partners-track::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}
.partners-track::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}
.partners-track::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}
.partners-list {
  display: flex;
  align-items: center;
  gap: 56px;
  animation: scroll-partners 30s linear infinite;
  width: max-content;
}
.partners-list:hover { animation-play-state: paused; }
@keyframes scroll-partners {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.partner-item {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.partner-logo {
  height: 32px;
  width: auto;
  color: var(--color-gray-400, #9ca3af);
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
}
.partner-item:hover .partner-logo {
  opacity: 1;
  color: var(--color-navy);
}

/* ===== Партнёры (новый вид) ===== */
.partners-cats { display: flex; flex-direction: column; gap: 40px; }
.partners-cat__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray-500);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-gray-100);
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.partner-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.partner-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--color-gray-300);
}
.partner-card--accent {
  border-color: var(--color-accent);
  border-width: 1.5px;
}
.partner-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.partner-card__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.partner-card__desc {
  font-size: 13px;
  color: var(--color-gray-500);
  line-height: 1.4;
}

@media (max-width: 960px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .partners-grid { grid-template-columns: 1fr 1fr; } }

/* ===== Партнёры (premium-версия) ===== */
.partners-v2 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.partners-v2 .container {
  max-width: 1320px;
}

.partners-v2__title {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.partners-v2__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 56px;
}

.partners-v2__stat {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(15, 31, 61, 0.05);
  padding: 24px 22px;
}

.partners-v2__stat-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--color-accent);
  margin-top: 2px;
}
.partners-v2__stat-icon svg { width: 100%; height: 100%; }

.partners-v2__stat-body { min-width: 0; }

.partners-v2__stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  line-height: 1.1;
}

.partners-v2__stat-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-gray-700);
  margin-top: 2px;
}

.partners-v2__stat-desc {
  font-size: 12.5px;
  color: var(--color-gray-700);
  line-height: 1.4;
  margin-top: 6px;
}

.partners-v2__eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-gray-700);
  margin-bottom: 20px;
}

.partners-v2__logos-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(15, 31, 61, 0.05);
  padding: 48px 0;
  margin-bottom: 56px;
  overflow: hidden;
}

.partners-v2__marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-v2__marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: partners-marquee 34s linear infinite;
}

.partners-v2__marquee:hover .partners-v2__marquee-track {
  animation-play-state: paused;
  transition: animation-play-state .3s ease;
}

@keyframes partners-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.partners-v2__marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 128px;
  margin: 0 22px;
}

.partner-logo-mask {
  display: inline-block;
  width: 100%;
  max-width: 128px;
  height: 38px;
  background-color: var(--hover-color, var(--color-accent));
  -webkit-mask-image: var(--logo-url);
  mask-image: var(--logo-url);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.partner-logo-real {
  display: block;
  width: 100%;
  max-width: 128px;
  height: 38px;
  object-fit: contain;
}

.partners-v2__cta {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: 0 2px 14px rgba(15, 31, 61, 0.05);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.partners-v2__cta-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  color: var(--color-gray-500);
}
.partners-v2__cta-icon svg { width: 100%; height: 100%; }

.partners-v2__cta-text { flex: 1 1 auto; min-width: 0; }
.partners-v2__cta-text h3 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.partners-v2__cta-text p { font-size: 14px; color: var(--color-gray-500); }

.partners-v2__cta-btn { flex-shrink: 0; white-space: nowrap; }

.partners-v2__cta-contact {
  flex-shrink: 0;
  text-align: right;
  padding-left: 28px;
  border-left: 1px solid var(--color-gray-100);
}
.partners-v2__cta-contact p {
  font-size: 12px;
  color: var(--color-gray-500);
  margin-bottom: 10px;
}
.partners-v2__cta-icons { display: flex; gap: 8px; justify-content: flex-end; }
.partners-v2__cta-icon-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: transform 0.2s;
}
.partners-v2__cta-icon-link svg { width: 16px; height: 16px; }
.partners-v2__cta-icon-link:hover { transform: translateY(-2px); }
.partners-v2__cta-icon-link--whatsapp { background: #25d366; }
.partners-v2__cta-icon-link--telegram { background: #29a9eb; }
.partners-v2__cta-icon-link--viber { background: #7360f2; }

@media (max-width: 960px) {
  .partners-v2__stats { grid-template-columns: repeat(2, 1fr); }
  .partners-v2__logos-card { padding: 32px 0; }
  .partners-v2__cta { flex-wrap: wrap; }
  .partners-v2__cta-contact { border-left: none; padding-left: 0; text-align: left; margin-top: 8px; width: 100%; }
  .partners-v2__cta-icons { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .partners-v2__stats { grid-template-columns: 1fr; }
  .partners-v2__title { font-size: 30px; }
  .partner-logo-item { flex-basis: 104px; margin: 0 16px; }
}

/* ===== Страница О нас ===== */
.about-hero {
  background: var(--color-gray-50);
  padding: 72px 0;
  border-bottom: 1px solid var(--color-gray-100);
}
.about-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-hero__text h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.about-hero__text p {
  font-size: 17px;
  color: var(--color-gray-700);
  line-height: 1.6;
  margin-bottom: 28px;
}
.about-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.about-stat {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.about-stat__num {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.about-stat__label {
  font-size: 13px;
  color: var(--color-gray-500);
}

/* ===== Шаги работы ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-gray-100);
  z-index: 0;
}
.step-item {
  text-align: center;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px;
  height: 56px;
  background: var(--color-navy);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  margin: 0 auto 20px;
}
.step-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-navy);
}
.step-item p {
  font-size: 14px;
  color: var(--color-gray-700);
  line-height: 1.6;
}

@media (max-width: 960px) {
  .about-hero__inner { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
}

/* ===== Модальные окна ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,31,61,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  position: relative;
  transform: translateY(-16px);
  transition: transform 0.25s ease;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
}
.modal-overlay.open .modal-box { transform: translateY(0); }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--color-gray-500);
  cursor: pointer;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--color-gray-100); color: var(--color-navy); }
.modal-title { font-size: 22px; font-weight: 800; color: var(--color-navy); margin-bottom: 6px; }
.modal-subtitle { font-size: 14px; color: var(--color-gray-700); margin-bottom: 24px; }
.modal-form .form-group { margin-bottom: 14px; }

.hero__stat-top { display: flex; align-items: baseline; gap: 6px; }
.hero__stat-word { font-size: 22px; font-weight: 700; color: var(--color-navy); }
.hero__stat-word2 { font-size: 15px; font-weight: 600; color: var(--color-gray-700); margin-bottom: 8px; }

/* ===== Популярные новостройки — карусель ЖК ===== */

.promo {
  background: #F8F7F4;
  padding: 40px 0 72px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.promo__container {
  max-width: 1400px;
  width: calc(100% - 80px);
  margin: 0 auto;
}

.promo__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 16px;
}

.promo__title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.3px;
  color: #14211C;
  max-width: 590px;
  margin: 0 0 13px;
}

.promo__desc {
  font-size: 16px;
  line-height: 1.4;
  color: #5F6460;
  max-width: 600px;
  margin: 0;
}

.promo__all {
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  margin-top: 10px;
  transition: color .2s;
}
.promo__all span { transition: transform .2s; }
.promo__all:hover { color: var(--color-accent-hover); }
.promo__all:hover span { transform: translateX(4px); }

.promo__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 20px;
}

.promo-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(20, 33, 28, 0.07);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #14211C;
  cursor: pointer;
  transition: box-shadow .2s, background .2s, color .2s;
}
.promo-filter svg { width: 16px; height: 16px; flex-shrink: 0; }
.promo-filter:hover { box-shadow: 0 6px 22px rgba(20, 33, 28, 0.12); }
.promo-filter.is-active { background: #14211C; color: #ffffff; box-shadow: none; }

.promo-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.promo-carousel__viewport {
  position: relative;
  height: 432px;
  overflow: hidden;
}
.promo-carousel__viewport::before,
.promo-carousel__viewport::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 56px;
  z-index: 4;
  pointer-events: none;
}
.promo-carousel__viewport::before {
  left: 0;
  background: linear-gradient(to right, rgba(20, 33, 28, .16), rgba(20, 33, 28, 0));
}
.promo-carousel__viewport::after {
  right: 0;
  background: linear-gradient(to left, rgba(20, 33, 28, .16), rgba(20, 33, 28, 0));
}

.promo-card {
  position: absolute;
  top: 0;
  left: 0;
  height: 432px;
  border-radius: 21px;
  overflow: hidden;
  background: #14211C;
  box-shadow: 0 14px 30px rgba(20, 33, 28, 0.16);
  filter: brightness(0.7) saturate(0.92);
  will-change: transform;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), width .45s cubic-bezier(.22,.61,.36,1), opacity .4s ease, box-shadow .45s cubic-bezier(.22,.61,.36,1), filter .45s cubic-bezier(.22,.61,.36,1);
}

.promo-card.is-active {
  box-shadow: 0 40px 90px rgba(20, 33, 28, 0.34), 0 14px 28px rgba(20, 33, 28, 0.2);
  filter: brightness(1) saturate(1);
}

.promo-card__photo {
  position: relative;
  height: 100%;
  background: #e9e7df;
  overflow: hidden;
}
.promo-card__photo img { width: 100%; height: 100%; object-fit: cover; }

.promo-card__placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.promo-card__placeholder svg { width: 25%; height: 25%; max-width: 96px; max-height: 96px; }
.promo-card__placeholder--tone1 { background: linear-gradient(135deg, #2b3f2b, #1a2e1a); color: rgba(255,255,255,.35); }
.promo-card__placeholder--tone2 { background: linear-gradient(135deg, #3a3324, #241f16); color: rgba(255,255,255,.35); }
.promo-card__placeholder--tone3 { background: linear-gradient(135deg, #33302a, #1c1a16); color: rgba(255,255,255,.35); }
.promo-card__placeholder--tone4 { background: linear-gradient(135deg, #2a3a3d, #172325); color: rgba(255,255,255,.35); }
.promo-card__placeholder--tone5 { background: linear-gradient(135deg, #3c2f2b, #241c19); color: rgba(255,255,255,.35); }
.promo-card__placeholder--tone6 { background: linear-gradient(135deg, #2e3a2b, #1a2318); color: rgba(255,255,255,.35); }

.promo-card__photo-shade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(8,14,10,0) 0%, rgba(8,13,10,.32) 38%, rgba(6,10,8,.78) 72%, rgba(4,7,6,.94) 100%);
  pointer-events: none;
}

.promo-card__badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 11px;
  border-radius: 999px;
}

.promo-card__heart {
  position: absolute;
  top: 16px; right: 16px;
  width: 39px; height: 39px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: #14211C;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  transition: color .2s, transform .2s;
}
.promo-card__heart svg { width: 15px; height: 15px; }
.promo-card__heart:hover { color: #e0455f; transform: scale(1.06); }

.promo-card__photo-info {
  position: absolute;
  left: 22px; right: 22px; bottom: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  color: #ffffff;
  z-index: 2;
}
.promo-card__left {
  flex: 1;
  min-width: 0;
}
.promo-card__name {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 6px;
  text-shadow: 0 2px 10px rgba(0,0,0,.18);
}
.promo-card__loc {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  margin: 0;
}

.promo-card__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
  max-width: 190px;
  text-align: right;
}

.promo-card__price-col { flex-shrink: 0; margin-top: 12px; }
.promo-card__price { font-size: 22px; font-weight: 700; color: #ffffff; white-space: nowrap; }
.promo-card__price-sub { font-size: 11px; color: rgba(255,255,255,.78); margin-top: 3px; }

.promo-card__adv-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.promo-card__adv {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 7px;
}
.promo-card__adv-icon {
  flex-shrink: 0;
  width: 21px; height: 21px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.55);
  color: #ffffff;
  display: flex; align-items: center; justify-content: center;
}
.promo-card__adv-icon svg { width: 11px; height: 11px; }
.promo-card__adv-text { font-size: 10px; font-weight: 600; color: rgba(255,255,255,.94); line-height: 1.3; text-align: right; }

.promo-card__cta {
  align-self: flex-end;
  flex-shrink: 0;
  height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, transform .2s;
}
.promo-card__cta:hover { background: #1a2e1a; transform: translateY(-1px); }

/* Боковые (не активные) карточки — свёрнутая информация */
.promo-card:not(.is-active) .promo-card__bottom { display: none; }
.promo-card:not(.is-active) .promo-card__price-col { display: none; }
.promo-card:not(.is-active) .promo-card__heart { display: none; }
.promo-card:not(.is-active) .promo-card__name { font-size: 18px; }
.promo-card:not(.is-active) .promo-card__loc { font-size: 9px; }
.promo-card:not(.is-active) .promo-card__badge { font-size: 8px; padding: 4px 8px; top: 11px; left: 11px; }
.promo-card:not(.is-active) .promo-card__photo-info { left: 12px; right: 12px; bottom: 11px; }
.promo-card:not(.is-active) { cursor: pointer; }

.promo-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 43px; height: 43px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  color: #14211C;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(20,33,28,.16);
  z-index: 5;
  transition: box-shadow .2s, transform .2s, opacity .2s;
}
.promo-carousel__nav svg { width: 18px; height: 18px; }
.promo-carousel__nav:hover { box-shadow: 0 14px 36px rgba(20,33,28,.22); }
.promo-carousel__nav--prev { left: 16px; }
.promo-carousel__nav--next { right: 16px; }
.promo-carousel__nav.is-disabled { opacity: .35; pointer-events: none; }

.promo-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 24px;
}
.promo-carousel__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #D8D6CC;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.promo-carousel__dot.is-active {
  background: var(--color-accent);
  transform: scale(1.25);
}

@media (max-width: 960px) {
  .promo { padding: 40px 0 56px; }
  .promo__title { font-size: 32px; max-width: none; }
  .promo__desc { font-size: 14px; max-width: none; }
  .promo__all { font-size: 14px; }
  .promo__head { flex-direction: column; gap: 16px; }
  .promo-carousel__viewport { height: 368px; }
  .promo-card { height: 368px; }
  .promo-card__name { font-size: 27px; }
  .promo-card__adv-row { display: none; }
  .promo-carousel__nav { display: none; }
}

/* ===== Статичная капсула-шапка для внутренних страниц (pages/*.html) =====
   Тот же .home-header__inner/.home-nav, что и плавающая капсула на главной
   (см. правила ".home-header.is-scrolled ..." выше — для --static заведены
   те же значения напрямую, без зависимости от JS/скролла), но в обычном
   потоке документа (position: static) и без анимации появления. */
.home-header--static {
  position: sticky;
  top: 0;
  z-index: 50;
}

.home-nav a.active {
  color: var(--color-accent);
  font-weight: 700;
}

/* ===== Капсула поверх фото-Hero (страницы с полноэкранным фото сверху,
   напр. zk-detail.html) — плавает над фото вместо отдельной белой полосы.
   position: fixed (а не absolute), чтобы капсула оставалась на экране при
   скролле вниз, а не уезжала вместе с hero-фото за пределы видимой области. */
.home-header--on-hero {
  position: fixed;
  top: 0;
  background: none;
  z-index: 1000;
}
.home-header--on-hero .home-header__inner::before {
  opacity: 1;
  transform: none;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 40px rgba(16, 32, 22, 0.14);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.home-header--on-hero .home-nav a {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}
.home-header--on-hero .home-logo__img,
.home-header--on-hero .home-header__phone-icon,
.home-header--on-hero .home-burger span {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

/* Бургер-меню для .home-nav (используется и плавающей капсулой на главной,
   и статичной шапкой внутренних страниц) */
@media (max-width: 960px) {
  .home-burger { display: flex; }

  .home-nav.home-nav--open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: var(--color-white);
    padding: 12px 20px 16px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    z-index: 60;
  }
  .home-nav.home-nav--open a { padding: 10px 4px; width: 100%; }
}
