/* Собрано build.py из config/site.json (brand.colors) — правьте конфигурацию. */
:root {
  --mu-emerald: #0d5a44;
  --mu-night: #103d35;
  --mu-champagne: #e3d2a4;
  --mu-frost: #eff2f5;
  --mu-dove: #dde3e9;
  --mu-white: #ffffff;
  --mu-black: #000000;
  --mu-malachite: #287252;
  --mu-sage: #adc9ba;
  --mu-mint: #d4e5dd;
  --mu-error: #a4442f;
}
/* ============================================================
   MURA — стили лендинга.
   Каркас и сетка — общие с объектными сайтами RSG; цвет, шрифт и форма — по гайду MURA:
   изумруд, ночь и шампань; Mulish; прямые углы у плашек, скругление — только у кликабельного;
   без теней и рамок вокруг карточек и фото.
   Палитра --mu-<цвет> собирается build.py из config/site.json (brand.colors).
   Файл собирает tools/port_css.py — правки вносите в него или в mura-additions.css.
   ============================================================ */

/* ---------- Шрифт: Mulish, вариативный (200–1000), лицензия SIL OFL 1.1 — fonts/OFL.txt ---------- */
@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("../fonts/mulish-variable.woff2") format("woff2");
}

/* ---------- Токены ---------- */
:root {
  /* Светлый фон: акцент и главная кнопка — изумруд с белым текстом. */
  --mu-accent: var(--mu-emerald);
  --mu-on-accent: var(--mu-white);
  --mu-cta-bg: var(--mu-emerald);
  --mu-cta-text: var(--mu-white);
  --mu-cta-hover: var(--mu-night);
  --mu-heading: var(--mu-night);

  --mu-gradient-night-emerald: linear-gradient(135deg, var(--mu-night) 0%, var(--mu-emerald) 100%);
  --mu-overlay-night-bottom: linear-gradient(to bottom, rgba(16, 61, 53, 0) 0%, rgba(16, 61, 53, 0.04) 15%, rgba(16, 61, 53, 0.17) 30%, rgba(16, 61, 53, 0.38) 45%, rgba(16, 61, 53, 0.6) 60%, rgba(16, 61, 53, 0.74) 75%, rgba(16, 61, 53, 0.82) 90%, rgba(16, 61, 53, 0.85) 100%);

  /* Типографика: трекинг и интерлиньяж — по гайду, в долях кегля. */
  --mu-font: "Mulish", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mu-lh-heading: 1.06;
  --mu-lh-body: 1.4;
  --mu-lh-note: 1.3;
  --mu-tracking-caps: 0.14em;

  /* Форма: плашки и карточки — прямой угол, кнопки — полное скругление. */
  --mu-radius-card: 0px;
  --mu-radius-pill: 999px;
  --mu-container: 1180px;
  --mu-gutter: 20px;

  /* Шаг отступов */
  --mu-space-1: 5px;
  --mu-space-2: 10px;
  --mu-space-3: 15px;
  --mu-space-4: 20px;
  --mu-space-5: 30px;
  --mu-space-6: 40px;
  --mu-space-7: 50px;
  --mu-space-8: 70px;
  --mu-space-9: 100px;

  /* Статусы помещений */
  --mu-status-free: var(--mu-emerald);
  --mu-status-booked: var(--mu-champagne);
  --mu-status-rented: var(--mu-night);
  --mu-status-sold: var(--mu-dove);
}

/* Тёмный фон (изумруд, ночь, градиент, фото): акцент — шампань, главная кнопка — шампань с текстом «ночь». */
.hero,
.section--dark,
.section--price,
.quiz-cta {
  --mu-accent: var(--mu-champagne);
  --mu-on-accent: var(--mu-night);
  --mu-cta-bg: var(--mu-champagne);
  --mu-cta-text: var(--mu-night);
  --mu-cta-hover: var(--mu-white);
  --mu-heading: var(--mu-white);
}

/* Светлые карточки внутри тёмных секций возвращают светлую схему. */
.price__card,
.doc__frame--ready {
  --mu-accent: var(--mu-emerald);
  --mu-on-accent: var(--mu-white);
  --mu-cta-bg: var(--mu-emerald);
  --mu-cta-text: var(--mu-white);
  --mu-cta-hover: var(--mu-night);
  --mu-heading: var(--mu-night);
}

/* ---------- База ---------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--mu-white);
  color: var(--mu-black);
  font-family: var(--mu-font);
  font-weight: 400;
  font-size: 16px;
  line-height: var(--mu-lh-body);
  -webkit-font-smoothing: antialiased;
}

/* Перенос как в макете — только на широком экране. На телефоне строка ломается сама. */
@media (max-width: 899px) {
  .break-wide {
    display: none;
  }
}

@media (min-width: 900px) {
  .nowrap-wide {
    white-space: nowrap;
  }
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--mu-emerald);
  text-decoration: none;
}

a:hover, a:focus-visible {
  color: var(--mu-night);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--mu-emerald);
  outline-offset: 2px;
}

h1, h2, h3, p, ul, ol, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}

::-webkit-scrollbar-thumb {
  background: rgba(13, 90, 68, 0.28);
  border-radius: var(--mu-radius-pill);
}

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

/* Атрибут hidden должен скрывать блок даже при display: flex/grid в стилях. */
[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: var(--mu-radius-pill);
  background: var(--mu-emerald);
  color: var(--mu-white);
  font-size: 14px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  color: var(--mu-white);
  text-decoration: none;
  transform: translateY(0);
}

/* ---------- Каркас ---------- */
.container {
  max-width: var(--mu-container);
  margin: 0 auto;
  padding: 0 var(--mu-gutter);
}

.section {
  padding: var(--mu-space-8) 0;
  scroll-margin-top: 70px;
  position: relative;
  overflow: hidden;
}

/* Появление секций при прокрутке — мягкий сдвиг снизу. */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-inview {
  opacity: 1;
  transform: none;
}

.section--tint {
  background: var(--mu-frost);
}

.section--dark {
  background: var(--mu-emerald);
  color: var(--mu-white);
}

.section--gradient {
  background: var(--mu-frost);
}

.section--divided {
  border-top: 1px solid var(--mu-dove);
}

.section--compact {
  padding: var(--mu-space-7) 0;
}

/* Фоновый элемент — розетка */
.watermark {
  position: absolute;
  height: auto;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.watermark--loc {
  width: 560px;
  opacity: 0.1;
  top: -18%;
  right: -12%;
}

.watermark--price {
  width: 480px;
  opacity: 0.07;
  bottom: -34%;
  left: -8%;
}

.watermark--docs {
  width: 560px;
  opacity: 0.16;
  top: -20%;
  right: -10%;
}

.watermark--quiz {
  width: 320px;
  opacity: 0.18;
  top: -34%;
  right: -4%;
}

/* ---------- Типографика ---------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--mu-space-4);
}

.eyebrow__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 28px;
  border-radius: 0;
  background: var(--mu-accent);
  color: var(--mu-on-accent);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow__text {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-heading);
  min-width: 0;
}

.eyebrow__rule {
  flex: 1;
  height: 1px;
  background: var(--mu-dove);
}

.section--dark .eyebrow__text {
  color: var(--mu-white);
}

.section--dark .eyebrow__rule {
  background: rgba(255, 255, 255, 0.25);
}

.section-title {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 400;
  line-height: var(--mu-lh-heading);
  color: var(--mu-heading);
  text-wrap: balance;
}

.section--dark .section-title {
  color: var(--mu-white);
}

.section-lead {
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
  max-width: 64ch;
}

.section--dark .section-lead {
  color: var(--mu-white);
}

.note {
  font-size: 11px;
  font-style: normal;
  line-height: var(--mu-lh-note);
  color: var(--mu-black);
  opacity: 0.65;
}

.section--dark .note {
  color: rgba(255, 255, 255, 0.65);
  opacity: 1;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--mu-space-4);
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--mu-radius-pill);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--mu-cta-bg);
  color: var(--mu-cta-text);
  width: 100%;
  max-width: 380px;
}

/* В окнах заявок кнопка на всю ширину диалога — как в макете. */
.modal .btn--accent {
  max-width: none;
}

.btn--accent:hover {
  background: var(--mu-cta-hover);
  color: var(--mu-cta-text);
}

.btn--primary {
  background: var(--mu-emerald);
  color: var(--mu-white);
}

.btn--primary:hover {
  background: var(--mu-night);
  color: var(--mu-white);
}

.btn--outline {
  background: transparent;
  border-color: var(--mu-emerald);
  color: var(--mu-emerald);
  border-width: 1.5px;
}

.btn--outline:hover {
  background: var(--mu-emerald);
  color: var(--mu-white);
}

.btn--outline-light {
  background: transparent;
  border-color: var(--mu-white);
  color: var(--mu-white);
  border-width: 1.5px;
}

.btn--outline-light:hover {
  background: var(--mu-white);
  color: var(--mu-night);
}

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

.btn--s {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 14px;
}

.btn--l {
  min-height: 56px;
  font-size: 17px;
}

.btn-round {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--mu-radius-pill);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: var(--mu-white);
  font-family: inherit;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}

.btn-round:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-round:disabled {
  opacity: 0.35;
  cursor: default;
}

.btn-link {
  padding: 7px 0;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--mu-black);
  cursor: pointer;
  text-align: left;
}

.btn-link:hover {
  text-decoration: underline;
}

.inline-link {
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
}

/* ---------- Заглушки изображений ---------- */
.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  background: var(--mu-frost);
  border-radius: var(--mu-radius-card);
  color: var(--mu-black);
  font-size: 13px;
  font-weight: 600;
  line-height: var(--mu-lh-body);
  text-align: center;
  min-height: 120px;
}

/* Иконка «изображение» по центру плейсхолдера */
.placeholder::before {
  content: "";
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  opacity: 0.55;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 12H5V7h14v10zm-3.2-3.2l-2.3-3.1-2.7 3.5-1.9-2.4L6.8 15h10.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M19 5H5c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 12H5V7h14v10zm-3.2-3.2l-2.3-3.1-2.7 3.5-1.9-2.4L6.8 15h10.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.placeholder--fill {
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: 0;
}

.placeholder--circle {
  border-radius: var(--mu-radius-pill);
  aspect-ratio: 1 / 1;
  min-height: 0;
  padding: 8px;
  font-size: 13px;
}

.placeholder--square {
  aspect-ratio: 1 / 1;
}

.placeholder--dark {
  background: var(--mu-emerald);
  border: 0;
  color: var(--mu-white);
}

.section--dark .placeholder {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--mu-white);
}

/* ---------- Липкое меню ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--mu-white);
  border-bottom: 1px solid var(--mu-dove);
}

.nav-toggle {
  display: none;
}

.site-header__inner {
  max-width: var(--mu-container);
  margin: 0 auto;
  padding: 10px var(--mu-gutter);
  display: flex;
  align-items: center;
  gap: var(--mu-space-4);
  min-width: 0;
}

.site-header__home {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header__logo {
  height: 40px;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  flex: 1;
  min-width: 0;
  font-size: 13px;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.site-nav a {
  flex: 0 0 auto;
  color: var(--mu-night);
}

.site-header__phone {
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--mu-black);
  white-space: nowrap;
}

/* На внутренних страницах телефон в шапке тоже не показываем — в макете его нет. */
.site-header .site-header__phone {
  display: none;
}

/* ---------- 01 Первый экран ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background: var(--mu-night);
  color: var(--mu-white);
}

.hero__media {
  position: relative;
  margin-top: -140px;
  aspect-ratio: 1920 / 756;
}

.hero__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero__scrim {
  display: none;
}

.hero__content {
  position: relative;
  max-width: var(--mu-container);
  width: 100%;
  margin: 0 auto;
  padding: 36px var(--mu-gutter) 0;
  z-index: 2;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--mu-space-2);
  margin-bottom: 14px;
}

.hero__kicker {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-white);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 0;
  background: var(--mu-champagne);
  border: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--mu-night);
  white-space: nowrap;
}

.hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: var(--mu-night);
}

.hero__title {
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: var(--mu-lh-heading);
  font-weight: 400;
  margin-bottom: 20px;
  max-width: 22ch;
  text-wrap: wrap;
  color: var(--mu-white);
}

.hero__lead {
  margin-bottom: var(--mu-space-4);
  max-width: 44ch;
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--mu-white);
}

@media (min-width: 900px) {
  .hero__lead {
    max-width: 56ch;
  }
}

.hero__cta {
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: var(--mu-space-2);
}

.hero__cta-note {
  font-size: 11px;
  line-height: var(--mu-lh-note);
  color: var(--mu-black);
}

.hero__note {
  position: absolute;
  bottom: 12px;
  left: auto;
  max-width: calc(100% - (var(--mu-gutter) * 2));
  margin: 0;
  font-size: 10px;
  line-height: var(--mu-lh-note);
  color: var(--mu-white);
  opacity: 0.8;
  text-align: right;
  pointer-events: none;
  z-index: 2;
  right: var(--mu-gutter);
}

/* ---------- 02 Три двери ---------- */
.doors {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mu-space-2);
}

.door {
  flex: 1 1 280px;
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--mu-white);
  border-radius: var(--mu-radius-card);
  padding: 22px;
  color: var(--mu-black);
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.door:hover {
  transform: translateY(-2px);
  color: var(--mu-black);
  text-decoration: none;
  background: var(--mu-dove);
}

.door__label {
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 400;
  line-height: var(--mu-lh-heading);
}

.door__arrow {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: var(--mu-radius-pill);
  background: var(--mu-accent);
  color: var(--mu-on-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.door__arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ---------- 03–05 Сегменты ---------- */
.segments {
  display: flex;
  flex-direction: column;
  gap: var(--mu-space-2);
  position: relative;
}

.segment {
  scroll-margin-top: 70px;
  background: var(--mu-white);
  border-radius: var(--mu-radius-card);
  padding: 32px 30px;
}

.segment__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: var(--mu-space-5) var(--mu-space-6);
  align-items: stretch;
}

.segment__col {
  display: flex;
  flex-direction: column;
}

.segment__kicker {
  font-size: 18px;
  font-weight: 400;
  line-height: var(--mu-lh-heading);
  margin-bottom: var(--mu-space-2);
  color: var(--mu-heading);
}

.segment__title {
  font-size: clamp(26px, 2.7vw, 36px);
  font-weight: 400;
  line-height: var(--mu-lh-heading);
  margin-bottom: 14px;
  color: var(--mu-heading);
  text-wrap: balance;
}

.segment__text {
  font-size: 14.5px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
  max-width: 46ch;
}

.segment__cta {
  margin-top: auto;
  padding-top: 26px;
  width: 100%;
  max-width: 380px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.checklist li {
  display: flex;
  gap: 11px;
  font-size: 14px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 0;
  background: var(--mu-accent);
  margin-top: 5px;
  -webkit-mask: url("../img/brand/quatrefoil-fill-emerald.svg") center / contain no-repeat;
  mask: url("../img/brand/quatrefoil-fill-emerald.svg") center / contain no-repeat;
}

.bullets {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.bullets li {
  display: flex;
  gap: 11px;
  font-size: 14px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.bullets li::before {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 11px;
  border-radius: 0;
  background: var(--mu-emerald);
  margin-top: 5px;
  -webkit-mask: url("../img/brand/quatrefoil-fill-emerald.svg") center / contain no-repeat;
  mask: url("../img/brand/quatrefoil-fill-emerald.svg") center / contain no-repeat;
}

/* ---------- 06 Стадии ---------- */
#stages-title {
  max-width: 22ch;
  margin-bottom: 24px;
  text-wrap: wrap;
  font-size: clamp(32px, 3.6vw, 52px);
}

.stages-block {
  margin-top: 56px;
}

/* Кружки таймлайна чуть выходят за край колонки — секцию не обрезаем. */
#stages {
  overflow: visible;
}

.stages-rail, .stages--wide, .stages--wide .stages__item, .stages__dot-slot {
  overflow: visible;
}

/* Широкий таймлайн: линия под углом, точки на разной высоте — как в макете. */
.stages-rail {
  position: relative;
}

@media (max-width: 999px) {
  [data-rail="wide"] {
    display: none !important;
  }
}

@media (min-width: 1000px) {
  [data-rail="narrow"] {
    display: none !important;
  }
}

.stages-rail__svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 102px;
  overflow: visible;
  pointer-events: none;
}

.stages--wide {
  position: relative;
  display: flex;
  align-items: stretch;
  margin: 0;
}

.stages--wide .stages__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
}

.stages__spacer--top, .stages__now-slot, .stages__dot-slot, .stages__spacer--bottom {
  flex-shrink: 0;
}

.stages__spacer--top {
  height: var(--pad-top);
}

.stages__now-slot {
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stages__dot-slot {
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stages__spacer--bottom {
  height: var(--pad-bottom);
}

.stages--wide .stages__dot {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 0;
  border: 2px solid var(--mu-dove);
  background: var(--mu-white);
  color: var(--mu-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  box-sizing: border-box;
  transform-origin: center;
}

.stages--wide .stages__item--done .stages__dot {
  width: 24px;
  height: 24px;
  background: var(--mu-emerald);
  border-color: var(--mu-emerald);
}

.stages--wide .stages__item--current .stages__dot {
  width: 32px;
  height: 32px;
  background: var(--mu-emerald);
  border: 0;
}

.stages--wide .stages__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  width: 100%;
}

.stages--wide .stages__date {
  margin-top: auto;
  padding-top: 6px;
}

/* Узкий таймлайн — вертикальный, для экранов уже 1000px */
.stages--narrow {
  position: relative;
  margin: 0;
}

.stages--narrow::before, .stages--narrow::after {
  content: "";
  position: absolute;
  left: 15px;
  width: 2px;
  top: var(--rail-top, 12px);
  pointer-events: none;
  z-index: 0;
}

.stages--narrow::before {
  height: var(--rail-height, 0px);
  background: var(--mu-dove);
}

.stages--narrow::after {
  height: var(--rail-past, 0px);
  background: var(--mu-emerald);
}

.stages--narrow .stages__item {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 0 18px;
  padding-bottom: 24px;
}

.stages--narrow .stages__item:last-child {
  padding-bottom: 0;
}

.stages--narrow .stages__item:not(:last-child)::before {
  content: none;
}

.stages--narrow .stages__dot {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  border-radius: 0;
  border: 2px solid var(--mu-dove);
  background: var(--mu-white);
  color: var(--mu-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  justify-self: center;
  align-self: start;
  box-sizing: border-box;
  transform-origin: center;
}

.stages--narrow .stages__item--done .stages__dot {
  width: 24px;
  height: 24px;
  background: var(--mu-emerald);
  border-color: var(--mu-emerald);
}

.stages--narrow .stages__item--current .stages__dot {
  width: 32px;
  height: 32px;
  background: var(--mu-emerald);
  border: 0;
}

.stages__now {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-emerald);
  white-space: nowrap;
}

.stages--narrow .stages__now {
  margin: 0 0 4px;
}

.stages__name {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.stages--wide .stages__name {
  font-size: clamp(15px, 1.35vw, 18px);
}

.stages__item--next .stages__name {
  color: var(--mu-black);
  opacity: 0.6;
}

.stages__date {
  margin: 4px 0 0;
  font-size: 15px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.stages--wide .stages__date {
  font-size: clamp(14px, 1.15vw, 16px);
}

.stages-block__link {
  margin-top: 32px;
  font-size: 15px;
}

/* Появление таймлайна: линия 700 мс, кружки каскадом по 70 мс, текущий — последним. */
.stages-block.is-pending .stages__dot {
  opacity: 0;
  transform: scale(0.6);
}

.stages-block.is-drawn .stages__dot {
  opacity: 1;
  transform: scale(1);
  transition: opacity 300ms cubic-bezier(0.32, 0.72, 0, 1),
    transform 300ms cubic-bezier(0.32, 0.72, 0, 1);
  transition-delay: var(--dot-delay, 0ms);
}

.stages-block.is-pending .stages-rail__svg path {
  stroke-dasharray: var(--path-len);
  stroke-dashoffset: var(--path-len);
}

.stages-block.is-drawn .stages-rail__svg path {
  stroke-dasharray: var(--path-len);
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.stages-block.is-pending [data-rail="narrow"]::before, .stages-block.is-pending [data-rail="narrow"]::after {
  transform: scaleY(0);
  transform-origin: top;
}

.stages-block.is-drawn [data-rail="narrow"]::before, .stages-block.is-drawn [data-rail="narrow"]::after {
  transform: scaleY(1);
  transform-origin: top;
  transition: transform 700ms cubic-bezier(0.32, 0.72, 0, 1);
}

.price-entry {
  margin-top: var(--mu-space-8);
}

.price-entry__hint {
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--mu-black);
  max-width: 52ch;
}

.price-entry__label {
  margin-bottom: var(--mu-space-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-heading);
}

.price-entry__value {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--mu-accent);
}

.price-entry__left {
  margin-top: 12px;
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--mu-black);
}

.price-entry__left strong {
  font-weight: 600;
  color: var(--mu-black);
}

.stage-actions {
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.stage-actions .btn {
  min-width: 0;
  width: 100%;
  max-width: 380px;
}

.stage-actions__note {
  font-size: 14px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
  max-width: 52ch;
}

/* ---------- 07 Расположение ---------- */
.loc__title {
  margin-bottom: 12px;
  max-width: 26ch;
  font-size: clamp(22px, 3.2vw, 36px);
  text-wrap: wrap;
  color: var(--mu-heading);
}

@media (min-width: 900px) {
  .loc__title {
    max-width: none;
  }
}

.loc__subtitle {
  margin-bottom: var(--mu-space-5);
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
  max-width: 34ch;
}

.loc__media {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mu-space-4);
  align-items: stretch;
  min-height: 360px;
}

.loc__media-item {
  flex: 1 1 380px;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 240px;
  border-radius: var(--mu-radius-card);
  overflow: hidden;
  background: var(--mu-frost);
}

.loc__media-item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.loc__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.loc__media-item .placeholder {
  flex: 1;
  min-height: 240px;
}

.loc__media-item--video {
  border: 0;
  background: var(--mu-night);
}

.loc__traffic {
  position: absolute;
  left: 14px;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: baseline;
  gap: var(--mu-space-2);
  background: var(--mu-white);
  border-radius: var(--mu-radius-card);
  padding: 12px 15px;
  pointer-events: none;
}

.loc__traffic-value {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1;
  color: var(--mu-emerald);
  white-space: nowrap;
}

.loc__traffic-text {
  font-size: 13px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.loc__traffic-text strong {
  font-weight: 700;
  color: var(--mu-black);
}

.loc__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.loc__play span {
  width: 64px;
  height: 64px;
  border-radius: var(--mu-radius-pill);
  background: var(--mu-champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  color: var(--mu-night);
  padding-left: 5px;
}

.loc__facts {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--mu-dove);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.loc__facts-main {
  flex: 1 1 460px;
  min-width: 0;
}

.loc__facts-label {
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-night);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--mu-space-2);
  margin-bottom: var(--mu-space-2);
}

.kpi {
  background: var(--mu-frost);
  border-radius: var(--mu-radius-card);
  padding: 18px;
}

.kpi__value {
  margin-bottom: 6px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1;
  color: var(--mu-accent);
}

.kpi__name {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.kpi__note {
  font-size: 13px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.why-card {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 100%;
  background: var(--mu-frost);
  border-radius: var(--mu-radius-card);
  padding: var(--mu-space-4);
}

.why-card__title {
  margin-bottom: 16px;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  line-height: var(--mu-lh-heading);
  color: var(--mu-heading);
}

.why-card__rule {
  height: 1px;
  background: var(--mu-dove);
  margin-bottom: 16px;
}

/* ---------- 08 Состав комплекса ---------- */
.complex__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 6px 26px;
  margin-bottom: var(--mu-space-5);
}

.complex__area {
  font-size: clamp(42px, 7.4vw, 86px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--mu-accent);
}

.complex__area-note {
  margin-bottom: var(--mu-space-2);
  max-width: 19ch;
  font-size: clamp(15px, 1.7vw, 19px);
  line-height: var(--mu-lh-body);
  color: var(--mu-white);
}

.complex__figure {
  position: relative;
  margin-bottom: 34px;
  height: clamp(220px, 26vw, 360px);
  border-radius: var(--mu-radius-card);
  overflow: hidden;
  background: var(--mu-night);
}

.complex__figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(132px, 100%), 1fr));
  gap: var(--mu-space-4) var(--mu-space-4);
  margin-bottom: var(--mu-space-6);
}

.stat {
  border-top: 2px solid var(--mu-champagne);
  padding-top: 13px;
}

.stat__value {
  margin-bottom: 5px;
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1;
  color: var(--mu-accent);
}

.stat__name {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-white);
}

.block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: var(--mu-space-4);
}

.block-head__title {
  max-width: none;
  text-wrap: wrap;
  color: var(--mu-white);
}

@media (min-width: 900px) {
  .block-head__title {
    white-space: nowrap;
  }
}

.block-head__controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.block-head__counter {
  font-size: 13px;
  font-weight: 700;
  color: var(--mu-white);
}

.space-track {
  display: flex;
  gap: var(--mu-space-2);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--mu-space-2);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.space-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 22px;
  min-width: 0;
  max-width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--mu-radius-card);
}

.space-card__media {
  flex: 1 1 360px;
  min-width: 0;
  max-width: 100%;
  min-height: 270px;
  aspect-ratio: 3 / 2;
  height: auto;
  align-self: flex-start;
  position: relative;
  border-radius: var(--mu-radius-card);
  overflow: hidden;
  background: var(--mu-night);
}

.space-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.space-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.space-card__media .placeholder {
  position: absolute;
  inset: 0;
  min-height: 0;
  height: auto;
  width: auto;
}

.space-card__body {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.space-card__group {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-accent);
}

.space-card__title {
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 400;
  line-height: var(--mu-lh-heading);
  color: var(--mu-white);
}

.space-card__text {
  font-size: 14.5px;
  line-height: var(--mu-lh-body);
  color: var(--mu-white);
}

.space-card__meta {
  font-size: 13px;
  font-weight: 600;
  color: var(--mu-white);
}

.space-card__cta {
  display: flex;
  margin-top: 4px;
}

.space-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.space-dot {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  display: block;
  flex: 0 0 auto;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  width: 8px;
  height: 8px;
  min-width: 8px;
  min-height: 8px;
  max-height: 8px;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.15s ease, background 0.15s ease;
}

.space-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.space-dot--active {
  width: 28px;
  min-width: 28px;
  height: 8px;
  background: var(--mu-champagne);
}

.facade {
  margin-top: var(--mu-space-6);
  padding-top: var(--mu-space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.facade__label {
  margin-bottom: var(--mu-space-4);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-accent);
}

.facade__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(128px, 100%), 1fr));
  gap: var(--mu-space-2);
}

.facade__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  text-align: center;
}

.facade__frame {
  width: 100%;
  max-width: 170px;
  aspect-ratio: 1 / 1;
  border-radius: var(--mu-radius-card);
  overflow: hidden;
  position: relative;
}

.facade__frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.facade__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.facade__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--mu-white);
}

.facade+.note {
  margin-top: 20px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 09 Помещения ---------- */
.units__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: var(--mu-space-4);
}

.units__count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--mu-black);
}

.units__count::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: var(--mu-radius-pill);
  background: var(--mu-status-free);
}

.units__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.tabs {
  display: inline-flex;
  background: var(--mu-frost);
  border: 0;
  border-radius: 0;
  padding: 0;
}

.tabs__btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--mu-radius-pill);
  background: transparent;
  color: var(--mu-black);
}

.tabs__btn[aria-selected="true"] {
  background: var(--mu-emerald);
  color: var(--mu-white);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mu-black);
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 0;
  background: var(--mu-status-free);
}

.legend li[data-status="booked"]::before {
  background: var(--mu-status-booked);
}

.legend li[data-status="rented"]::before {
  background: var(--mu-status-rented);
}

.legend li[data-status="sold"]::before {
  background: var(--mu-status-sold);
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(268px, 100%), 1fr));
  gap: var(--mu-space-2);
}

.unit-card {
  border-radius: var(--mu-radius-card);
  padding: 18px;
  background: var(--mu-white);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.unit-card--sold {
  background: var(--mu-dove);
}

.unit-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--mu-space-2);
}

.unit-card__number {
  margin-bottom: 4px;
  font-size: 21px;
  font-weight: 700;
  color: var(--mu-black);
}

.unit-card__meta {
  font-size: 13px;
  color: var(--mu-black);
}

.unit-card__badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 7px 11px;
  border-radius: 0;
  background: var(--mu-frost);
  color: var(--mu-black);
}

.unit-card__badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: var(--mu-status-free);
}

.unit-card--free .unit-card__badge {
  background: var(--mu-emerald);
  border: 0;
  color: var(--mu-white);
}

.unit-card--free .unit-card__badge::before {
  background: var(--mu-champagne);
}

.unit-card--booked .unit-card__badge {
  background: var(--mu-champagne);
  border: 0;
  color: var(--mu-night);
}

.unit-card--booked .unit-card__badge::before {
  background: var(--mu-night);
}

.unit-card--rented .unit-card__badge {
  background: var(--mu-night);
  border: 0;
  color: var(--mu-white);
}

.unit-card--rented .unit-card__badge::before {
  background: var(--mu-champagne);
}

.unit-card--sold .unit-card__badge {
  background: var(--mu-white);
  border: 0;
  color: var(--mu-night);
}

.unit-card--sold .unit-card__badge::before {
  background: var(--mu-night);
}

.unit-card__tenant {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--mu-frost);
  border-radius: var(--mu-radius-card);
  padding: 10px 12px;
}

.unit-card__tenant-name {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 0;
  background: var(--mu-night);
  color: var(--mu-white);
  font-size: 13px;
  font-weight: 700;
}

.unit-card__tenant-note {
  font-size: 13px;
  line-height: var(--mu-lh-body);
  font-weight: 600;
  color: var(--mu-black);
}

.unit-card__use {
  font-size: 13.5px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.unit-card__price {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mu-black);
}

.unit-card__cta {
  margin-top: auto;
}

.unit-card .btn {
  min-height: 38px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

.unit-card .btn--accent {
  max-width: none;
}

.units__note {
  margin-top: 16px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--mu-black);
  opacity: 0.65;
}

.units__plan-note {
  margin-top: var(--mu-space-4);
  font-size: 13px;
  color: var(--mu-black);
}

.units-more {
  display: none;
}

/* ---------- Схема этажей ---------- */
.units-plan {
  background: var(--mu-white);
  border: 1px solid var(--mu-dove);
  border-radius: var(--mu-radius-card);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.units-plan__hint {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-heading);
}

.units-plan__sub {
  margin: -6px 0 6px;
  font-size: 13px;
  line-height: var(--mu-lh-body);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--mu-black);
}

.floor__title {
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mu-heading);
}

.floor__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mu-space-2);
}

.plan-unit {
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  border: 1px solid var(--mu-dove);
  border-radius: var(--mu-radius-card);
  padding: 14px 10px;
  min-width: 88px;
  flex: 1 1 88px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: transform 0.15s ease;
}

.plan-unit:hover {
  transform: translateY(-2px);
}

.plan-unit--free {
  background: var(--mu-status-free);
  color: var(--mu-black);
}

.plan-unit--booked {
  background: var(--mu-status-booked);
  color: var(--mu-white);
}

.plan-unit--rented {
  background: var(--mu-status-rented);
  color: var(--mu-white);
}

.plan-unit--sold {
  background: var(--mu-status-sold);
  color: var(--mu-black);
}

.plan-unit__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
}

.plan-unit__number {
  white-space: nowrap;
}

.plan-unit__levels {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.8;
}

.plan-unit__area {
  font-size: 13px;
  opacity: 0.85;
}

.plan-unit__tenant {
  margin-top: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  opacity: 0.95;
}

.quiz-cta {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  background: var(--mu-emerald);
  color: var(--mu-white);
  border-radius: var(--mu-radius-card);
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

#quiz .quiz-cta {
  margin-top: 0;
}

.quiz-cta__body {
  position: relative;
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quiz-cta__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-accent);
}

.quiz-cta__title {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  line-height: var(--mu-lh-heading);
  max-width: 26ch;
}

.quiz-cta__steps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mu-space-2) var(--mu-space-4);
}

.quiz-cta__steps li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mu-white);
}

.quiz-cta__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 0;
  border: 1px solid rgba(227, 210, 164, 0.6);
  font-size: 13px;
  font-weight: 700;
  color: var(--mu-accent);
}

.quiz-cta__action {
  position: relative;
  flex: 0 1 260px;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
}

.quiz-cta__note {
  font-size: 13px;
  line-height: var(--mu-lh-body);
  color: var(--mu-white);
}

/* ---------- 10 Цена ---------- */
.price {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.price>div:first-child {
  flex: 1 1 440px;
  min-width: 0;
}

.price .eyebrow {
  margin-bottom: 14px;
}

.price__value {
  margin-bottom: 12px;
  font-size: clamp(32px, 6vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: var(--mu-champagne);
}

.price__note {
  font-size: 15px;
  color: var(--mu-white);
}

.price__badge {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 20px;
  border-radius: 0;
  background: var(--mu-champagne);
  color: var(--mu-night);
  font-family: var(--mu-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  max-width: 100%;
}

.price__badge-br {
  display: block;
}

@media (min-width: 768px) {
  .price__badge {
    font-size: 13.5px;
    text-align: left;
  }

  .price__badge-br {
    display: none;
  }
}

.price__card {
  flex: 0 1 360px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--mu-white);
  border-radius: var(--mu-radius-card);
  padding: var(--mu-space-4);
}

.price__card-notice {
  border-left: 3px solid var(--mu-emerald);
  padding-left: 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

/* ---------- 11 О компании ---------- */
#dev-title {
  margin: 0 0 24px;
  max-width: 24ch;
}

.dev-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
  margin-bottom: 34px;
}

.dev-stat {
  border-top: 2px solid var(--mu-emerald);
  padding-top: 12px;
}

.dev-stat__value {
  margin-bottom: 4px;
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
  color: var(--mu-accent);
}

.dev-stat__name {
  font-size: 13px;
  color: var(--mu-black);
}

.cases {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mu-space-2);
  margin-bottom: 34px;
}

.case {
  flex: 1 1 300px;
  min-width: 0;
  max-width: 100%;
  border-radius: var(--mu-radius-card);
  overflow: hidden;
  background: var(--mu-frost);
}

.case__media {
  height: 170px;
}

.case__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case__body {
  padding: 16px;
}

.case__title {
  margin-bottom: 6px;
  font-size: 16px;
  font-weight: 400;
  color: var(--mu-heading);
  line-height: var(--mu-lh-heading);
}

.case__text {
  font-size: 13px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.team {
  background: var(--mu-frost);
  border-radius: var(--mu-radius-card);
  padding: 30px;
  margin-bottom: 34px;
}

.team__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 20px;
  margin: 0 0 20px;
}

.team__label {
  margin: 0;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-heading);
}

.team__lead {
  margin: 0;
  font-size: 13.5px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 16px;
}

.team-card {
  background: var(--mu-white);
  border-radius: var(--mu-radius-card);
  overflow: hidden;
  min-width: 0;
}

.team-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--mu-frost);
}

.team-card__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__body {
  padding: 18px 18px 20px;
}

.team-card__name {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 700;
  line-height: var(--mu-lh-heading);
  color: var(--mu-black);
}

.team-card__role {
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  line-height: var(--mu-lh-body);
  color: var(--mu-emerald);
}

.team-card__desc {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--mu-black);
}

.dev-link {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  background: var(--mu-frost);
  border-radius: var(--mu-radius-card);
  padding: 18px var(--mu-space-4);
}

.dev-link p {
  flex: 1 1 260px;
  font-size: 13.5px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

/* ---------- 12 Документы ---------- */
.docs__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.docs__head .section-title {
  max-width: 22ch;
}

.docs__head p {
  flex: 1 1 300px;
  max-width: 44ch;
  font-size: 14.5px;
  line-height: var(--mu-lh-body);
  color: var(--mu-white);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: var(--mu-space-2);
}

.docs__note {
  margin-top: 24px;
  font-size: 11px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.7);
}

.doc {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.doc__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--mu-radius-card);
  overflow: hidden;
  background: var(--mu-white);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.doc__frame--pending {
  background: rgba(255, 255, 255, 0.06);
  cursor: default;
}

.doc__frame--pending:hover {
  transform: none;
}

.doc__frame--ready {
  cursor: pointer;
}

.doc__frame--ready .placeholder, .section--dark .doc__frame--ready .placeholder {
  background: var(--mu-white);
  border: 0;
  color: var(--mu-black);
}

.doc__frame--ready:hover {
  transform: translateY(-4px);
}

.doc__open {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  border: 0;
  display: inline-flex;
  align-items: center;
  background: var(--mu-champagne);
  border-radius: var(--mu-radius-pill);
  padding: 9px 15px;
  font-size: 13px;
  font-weight: 700;
  color: var(--mu-night);
  text-decoration: none;
}

a.doc__open:hover, a.doc__open:focus-visible {
  color: var(--mu-black);
  text-decoration: none;
}

.doc__preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.doc__pending {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--mu-space-2);
  padding: var(--mu-space-4);
  text-align: center;
}

.doc__pending-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-champagne);
}

.doc__pending-text {
  font-size: 13px;
  line-height: var(--mu-lh-body);
  color: var(--mu-white);
}

.doc__title {
  font-size: 16px;
  font-weight: 400;
  line-height: var(--mu-lh-heading);
  color: var(--mu-white);
  margin: 0 0 8px;
  /* Две строки: короткие названия не сдвигают плашку относительно длинных. */
  min-height: calc(var(--mu-lh-heading) * 2em);
}

.doc__status {
  flex: 0 0 auto;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 8px;
  background: var(--mu-champagne);
  border-radius: 0;
  padding: 5px 11px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-night);
}

.doc__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 0;
  background: var(--mu-night);
}

.doc__sub {
  font-size: 13px;
  line-height: var(--mu-lh-body);
  color: var(--mu-white);
}

/* ---------- 13 Механика сделки ---------- */
.deal-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.deal-step {
  flex: 1 1 260px;
  min-width: 0;
  max-width: 100%;
  background: var(--mu-white);
  border-radius: var(--mu-radius-card);
  padding: var(--mu-space-4);
}

.deal-step__num {
  margin-bottom: var(--mu-space-2);
  font-size: 13px;
  font-weight: 700;
  color: var(--mu-accent);
  letter-spacing: var(--mu-tracking-caps);
}

.deal-step__title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--mu-night);
}

.deal-step__text {
  font-size: 13.5px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.deal__exit {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--mu-black);
}

/* ---------- 14 Подписка ---------- */
.subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mu-space-4);
  align-items: stretch;
}

.subscribe__main {
  flex: 1 1 520px;
  min-width: 0;
  background: var(--mu-frost);
  border-radius: var(--mu-radius-card);
  padding: var(--mu-space-5);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.subscribe__title {
  margin-bottom: var(--mu-space-2);
  font-size: clamp(26px, 2.7vw, 36px);
  font-weight: 400;
  line-height: var(--mu-lh-heading);
  color: var(--mu-heading);
  max-width: 20ch;
  text-wrap: balance;
}

.subscribe__text {
  font-size: 14.5px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
  max-width: 52ch;
}

.subscribe__hint {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
  max-width: 48ch;
}

.field-label {
  margin-bottom: var(--mu-space-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-heading);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips--rows {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0;
  border-radius: var(--mu-radius-card);
  overflow: hidden;
  background: var(--mu-white);
}

.chip {
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--mu-radius-pill);
  background: var(--mu-white);
  color: var(--mu-black);
  border: 1px solid var(--mu-dove);
}

.chip:hover {
  border-color: var(--mu-emerald);
}

.chip[aria-pressed="true"] {
  background: var(--mu-night);
  border-color: var(--mu-night);
  color: var(--mu-white);
}

.chip__mark {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.85;
}

.chip--row {
  width: 100%;
  box-sizing: border-box;
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--mu-dove);
  min-height: 56px;
  padding: 14px 18px;
  justify-content: space-between;
  gap: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: var(--mu-lh-body);
  background: none;
  color: var(--mu-black);
  text-align: left;
}

.chip--row:first-child {
  border-top: 0;
}

.chip--row:hover {
  background: var(--mu-frost);
  border-color: var(--mu-dove);
}

.chip--row[aria-pressed="true"], .chip--row[aria-pressed="false"] {
  background: none;
  color: var(--mu-black);
  border-top-color: var(--mu-dove);
}

.chip--row:first-child[aria-pressed="true"], .chip--row:first-child[aria-pressed="false"] {
  border-top: 0;
}

.chip--row[aria-pressed="false"] {
  color: var(--mu-black);
}

.chip--row:hover, .chip--row[aria-pressed="true"]:hover, .chip--row[aria-pressed="false"]:hover {
  background: var(--mu-frost);
}

.chip--row .chip__mark {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: var(--mu-radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--mu-black);
  background: var(--mu-white);
  border: 1px solid var(--mu-dove);
  opacity: 1;
}

.chip--row[aria-pressed="true"] .chip__mark {
  background: var(--mu-accent);
  border-color: var(--mu-accent);
  color: var(--mu-white);
}

.subscribe__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--mu-dove);
  padding-top: 18px;
}

.subscribe__form .field-label, .subscribe__side .field-label {
  font-size: 11px;
}

.subscribe__form .field-label {
  margin-bottom: 0;
}

.subscribe__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subscribe__channels .btn {
  flex: 1 1 220px;
  min-width: 0;
}

.subscribe__email .subscribe__row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}

.subscribe__email .input {
  flex: 1 1 110px;
  min-width: 110px;
  height: 48px;
  padding: 0 15px;
}

.subscribe__email .btn {
  flex: 0 0 auto;
  width: auto;
  min-width: 132px;
  height: 48px;
  align-self: stretch;
}

/* Ширину поле берёт от родителя. Без width: 100% в колонке flex растянул бы поле по высоте. */
.input {
  width: 100%;
  min-width: 0;
  font-family: inherit;
  font-size: 15px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
  padding: 13px 15px;
  border-radius: var(--mu-radius-card);
  border: 1px solid var(--mu-dove);
  background: var(--mu-white);
}

.input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.subscribe__wa {
  flex: 1 1 240px;
}

.subscribe__consent {
  margin-top: 10px;
  font-size: 10px;
  line-height: 1.35;
  font-style: normal;
  color: var(--mu-black);
  opacity: 0.65;
}

.subscribe__done {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--mu-white);
  border-radius: var(--mu-radius-card);
  padding: 13px 15px;
}

.subscribe__done p {
  margin: 0;
  font-size: 13.5px;
  line-height: var(--mu-lh-body);
  font-weight: 600;
  color: var(--mu-black);
}

.subscribe__side {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--mu-space-4);
  justify-content: center;
  background: var(--mu-dove);
  border-radius: var(--mu-radius-card);
  padding: var(--mu-space-5);
}

.subscribe__side-group+.subscribe__side-group {
  border-top: 1px solid rgba(16, 61, 53, 0.15);
  padding-top: var(--mu-space-4);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: var(--mu-radius-pill);
  background: transparent;
  border: 1.5px solid var(--mu-emerald);
  color: var(--mu-emerald);
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease;
}

a.social-tag:hover {
  border-color: var(--mu-emerald);
  color: var(--mu-white);
  text-decoration: none;
  background: var(--mu-emerald);
}

.social-tag--muted {
  color: var(--mu-night);
  opacity: 0.7;
  border-style: dashed;
  border-color: rgba(16, 61, 53, 0.35);
}

/* ---------- 15 Финальный призыв ---------- */
#contact {

}

#contact::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--mu-accent);
  pointer-events: none;
  z-index: 2;
  display: none;
}

.final {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mu-space-5);
}

.final__col {
  flex: 1 1 320px;
  min-width: 0;
}

.final__manager {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.final__manager-photo {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
}

.final__manager-title {
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
}

.final__manager-note {
  font-size: 13px;
  color: var(--mu-white);
}

.final__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
}

.final__actions .btn {
  width: 100%;
  max-width: none;
}

.final__follow {
  align-self: flex-start;
  font-size: 13px;
  color: var(--mu-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 2px;
}

.final__follow:hover {
  color: var(--mu-white);
  text-decoration: none;
}

.final__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mu-space-2) var(--mu-space-4);
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
}

.final__contacts a {
  color: var(--mu-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.final__side {
  flex: 1 1 260px;
  min-width: 0;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
}

.final__disclaimer {
  font-size: 11px;
  line-height: 1.35;
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
}

.final__brand {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.final__brand img {
  height: 28px;
  width: auto;
}

.final__brand span {
  font-size: 13px;
  line-height: var(--mu-lh-body);
  color: var(--mu-white);
}

/* ---------- Подвал ---------- */
.site-footer {
  background: var(--mu-frost);
  padding: var(--mu-space-6) 0 var(--mu-space-5);
  color: var(--mu-black);
  font-size: 13px;
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mu-space-5);
  justify-content: space-between;
}

.site-footer__col {
  flex: 1 1 260px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-night);
}

.site-footer__entity {
  font-weight: 700;
  color: var(--mu-black);
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mu-space-2) 18px;
}

.site-footer__bottom {
  margin-top: var(--mu-space-5);
  padding-top: var(--mu-space-4);
  border-top: 1px solid var(--mu-dove);
  display: flex;
  flex-wrap: wrap;
  gap: var(--mu-space-2) var(--mu-space-4);
  justify-content: space-between;
  font-size: 11px;
}

/* ---------- Всплывающее окно ---------- */
body.is-modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--mu-space-4);
}

.modal[hidden] {
  display: none;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 61, 53, 0.72);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--mu-white);
  border-radius: var(--mu-radius-card);
}

.modal__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px var(--mu-space-4);
  background: var(--mu-white);
  border-bottom: 1px solid var(--mu-dove);
}

.modal__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-night);
}

.modal__close {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: var(--mu-radius-pill);
  background: var(--mu-frost);
  color: var(--mu-black);
  font-family: inherit;
  font-size: 15px;
  cursor: pointer;
}

.modal__close:hover {
  background: var(--mu-dove);
}

.modal__body {
  padding: var(--mu-space-4);
}

.modal__note {
  font-size: 13px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.modal__consent {
  margin-top: 10px;
  margin-bottom: 8px;
  font-size: 10px;
  font-style: normal;
  line-height: 1.35;
  color: var(--mu-black);
  opacity: 0.65;
}

.modal-form .modal__consent, .modal-wa__actions .modal__consent {
  margin-top: 0;
  margin-bottom: 0;
}

.modal__consent a {
  color: var(--mu-black);
  text-decoration: underline;
}

.modal__consent a:hover {
  color: var(--mu-heading);
}

/* Предпросмотр сообщения для WhatsApp */
.modal-wa {
  display: flex;
  flex-direction: column;
  gap: var(--mu-space-3);
  min-height: 260px;
  padding: var(--mu-space-4);
  margin: calc(var(--mu-space-4) * -1);
  background: var(--mu-frost);
}

.modal-wa__note {
  font-size: 13px;
  text-align: center;
  color: var(--mu-black);
}

.modal-wa__bubble {
  align-self: flex-end;
  max-width: 86%;
  background: var(--mu-white);
  border-radius: var(--mu-radius-card);
  padding: 13px 15px;
}

.modal-wa__text {
  font-size: 14px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.modal-wa__ready {
  margin-top: 6px;
  font-size: 13px;
  text-align: right;
  color: rgba(0, 0, 0, 0.45);
}

.modal-wa__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--mu-space-2);
  text-align: center;
}

/* Формы в окне */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: var(--mu-space-3);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field-error {
  font-size: 13px;
  font-weight: 600;
  line-height: var(--mu-lh-body);
  color: var(--mu-error);
}

.channel {
  display: flex;
  flex-wrap: wrap;
  gap: var(--mu-space-2);
}

.channel__option {
  flex: 1 1 140px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--mu-dove);
  border-radius: var(--mu-radius-card);
  background: var(--mu-white);
  font-size: 13px;
  font-weight: 600;
  color: var(--mu-black);
  cursor: pointer;
}

.channel__option:hover {
  border-color: var(--mu-emerald);
}

.channel__option:has(input:checked) {
  border-color: var(--mu-emerald);
  background: var(--mu-frost);
}

/* Документ в окне */
.modal-doc {
  display: flex;
  flex-direction: column;
  gap: var(--mu-space-3);
}

.modal-doc__title {
  font-size: 17px;
  font-weight: 400;
  line-height: var(--mu-lh-heading);
  color: var(--mu-heading);
}

.modal-doc__sub {
  font-size: 13px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.placeholder--doc {
  aspect-ratio: 3 / 4;
}

.modal-doc__preview-wrap {
  position: relative;
  width: 100%;
  max-height: 52vh;
  overflow: auto;
  border: 1px solid var(--mu-dove);
  border-radius: var(--mu-radius-card);
  background: var(--mu-white);
}

.modal-doc__preview-wrap a {
  display: block;
}

.modal-doc__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Квиз */
.quiz__bars {
  display: flex;
  gap: 6px;
  margin-bottom: var(--mu-space-3);
}

.quiz__bar {
  flex: 1;
  height: 3px;
  border-radius: 0;
  background: var(--mu-dove);
}

.quiz__bar--done {
  background: var(--mu-accent);
}

.quiz__step {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-heading);
  margin-bottom: 6px;
}

.quiz__title {
  font-size: 20px;
  font-weight: 400;
  line-height: var(--mu-lh-heading);
  color: var(--mu-heading);
  margin-bottom: var(--mu-space-3);
}

.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.quiz__option {
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  border: 0;
  background: var(--mu-frost);
  border-radius: var(--mu-radius-card);
  padding: 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mu-black);
}

.quiz__option:hover {
  background: var(--mu-dove);
}

.quiz__summary {
  font-size: 14px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
  margin-bottom: var(--mu-space-3);
}

.quiz__matches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--mu-space-3);
}

.quiz__match {
  flex: 1 1 120px;
  border-radius: var(--mu-radius-card);
  padding: 13px;
  background: var(--mu-frost);
}

.quiz__match-number {
  margin-bottom: 3px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mu-accent);
}

.quiz__match-meta {
  font-size: 13px;
  color: var(--mu-black);
}

.quiz__restart {
  margin-top: var(--mu-space-2);
  align-self: flex-start;
  font-size: 13px;
  text-decoration: underline;
}

/* ---------- Внутренние страницы: спасибо и юридические документы ---------- */
.site-header__home {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-header__home:hover {
  text-decoration: none;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--mu-space-4);
  font-size: 13px;
  color: var(--mu-black);
}

.thanks {
  display: flex;
  align-items: center;
  min-height: 70vh;
}

.thanks__container {
  position: relative;
  display: flex;
  justify-content: center;
}

.thanks__card {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--mu-space-3);
  padding: var(--mu-space-7) var(--mu-space-5);
  text-align: center;
  background: var(--mu-white);
  border-radius: var(--mu-radius-card);
}

.thanks__logo {
  height: 40px;
  width: auto;
}

.thanks__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 0;
  background: var(--mu-emerald);
  color: var(--mu-white);
  font-size: 26px;
  font-weight: 700;
}

.thanks__title {
  font-size: clamp(21px, 3vw, 28px);
  font-weight: 400;
  line-height: var(--mu-lh-heading);
  color: var(--mu-heading);
  text-wrap: balance;
}

.thanks__text {
  font-size: 14.5px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
  max-width: 46ch;
}

.thanks__actions {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: var(--mu-space-2);
  margin-top: var(--mu-space-2);
}

.thanks__contacts {
  font-size: 13px;
  color: var(--mu-black);
}

.legal-page__container {
  max-width: 900px;
}

.legal-page__head {
  margin-bottom: var(--mu-space-5);
}

.legal-page__title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 400;
  line-height: var(--mu-lh-heading);
  color: var(--mu-heading);
  margin-bottom: var(--mu-space-3);
  text-wrap: balance;
}

.legal-page__lead {
  font-size: 15px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
  max-width: 62ch;
}

.legal-page__meta {
  margin-top: var(--mu-space-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: var(--mu-tracking-caps);
  text-transform: uppercase;
  color: var(--mu-heading);
}

.legal-doc {
  display: flex;
  flex-direction: column;
  gap: var(--mu-space-2);
}

.legal-doc__block {
  background: var(--mu-frost);
  border-radius: var(--mu-radius-card);
  padding: var(--mu-space-4) var(--mu-space-5);
  display: flex;
  flex-direction: column;
  gap: var(--mu-space-2);
}

.legal-doc__title {
  font-size: 16px;
  font-weight: 400;
  line-height: var(--mu-lh-heading);
  color: var(--mu-heading);
}

.legal-doc__note, .legal-doc__contacts {
  font-size: 13.5px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.legal-doc__facts {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13.5px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
  font-weight: 600;
}

.legal-doc__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
  margin: 0;
  font-size: 13.5px;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.legal-doc__list li {
  list-style-type: disc;
}

/* Место под юридический текст — заметная, но аккуратная заглушка */
.legal-doc__slot {
  border-radius: var(--mu-radius-card);
  background: var(--mu-frost);
  padding: var(--mu-space-3) var(--mu-space-4);
  font-size: 13px;
  font-style: italic;
  line-height: var(--mu-lh-body);
  color: var(--mu-black);
}

.legal-page__foot {
  margin-top: var(--mu-space-5);
  padding-top: var(--mu-space-4);
  border-top: 1px solid var(--mu-dove);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--mu-space-3);
}

/* ---------- Адаптив ---------- */
@media (min-width: 1000px) {
  .space-card {
    flex: 0 0 100%;
  }
}

/* Веб: одинаковый отступ от верха секции до номера в круге — как у секции 09. Телефон не меняем. */
@media (min-width: 769px) {

  #stages, #loc, #complex, #quiz, #price, #dev, #docs, #deal, #keepme, #contact {
    padding-top: var(--mu-space-8);
  }

  /* Линия сверху секции занимает 1px — вычитаем, чтобы номер стоял как у 09. */
  #dev, #keepme, #contact {
    padding-top: calc(var(--mu-space-8) - 1px);
  }

  .hero__meta {
    margin-bottom: 16px;
  }

  .hero__lead {
    margin-bottom: 24px;
  }

  #doors {
    padding-top: 34px;
    padding-bottom: 40px;
  }

  #doors .eyebrow {
    margin-bottom: 18px;
  }

  #loc {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  #units {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  #price {
    padding-top: 88px;
    padding-bottom: 88px;
  }

  .price__value {
    white-space: nowrap;
  }

  #units .eyebrow {
    margin-bottom: 18px;
  }

  #docs {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  #docs .eyebrow {
    margin-bottom: 22px;
  }

  #loc .eyebrow {
    margin-bottom: 18px;
  }
}

/* ---------- Адаптив: телефон и планшет до 768px. Широкий экран не меняется. ---------- */
@media (max-width: 768px) {
  :root {
    --mu-gutter: 16px;
  }

  .section {
    padding: var(--mu-space-7) 0;
  }

  .container, .hero__content {
    max-width: 100%;
  }

  /* 01 Первый экран */
  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 28px var(--mu-gutter) 0;
  }

  .hero__badge {
    white-space: normal;
    max-width: 100%;
  }

  .hero__title, .hero__lead, .hero__cta {
    max-width: 100%;
  }

  .hero__cta .btn, .btn--accent {
    width: 100%;
    max-width: 100%;
  }

  .inline-link {
    white-space: normal;
  }

  .site-header__inner {
    gap: 12px;
    position: relative;
  }

  .site-header__logo {
    max-width: none;
    height: 34px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
  }

  .nav-toggle__bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background: var(--mu-night);
    transition: transform 0.15s ease, opacity 0.15s ease;
  }

  .site-header.is-nav-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-nav-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-nav-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 41;
    flex: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px 16px;
    background: var(--mu-white);
    border-bottom: 1px solid var(--mu-dove);
    white-space: normal;
    overflow: visible;
    max-width: none;
    width: 100%;
  }

  .site-header.is-nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--mu-dove);
  }

  .site-nav a:last-child {
    border-bottom: 0;
    padding-bottom: 6px;
  }

  .hero__title, .section-title, .price__value, .legal-page__title, .thanks__title {
    overflow-wrap: break-word;
  }

  .hero__kicker, .hero__badge {
    max-width: 100%;
  }

  .space-card__cta {
    width: 100%;
  }

  .space-card__cta .btn, .quiz-cta__action .btn, .thanks__actions .btn {
    max-width: 100%;
  }

  .quiz-cta__action {
    flex-basis: 100%;
  }

  .tabs {
    display: flex;
    width: 100%;
    max-width: 100%;
  }

  .legend, .social-tag, .chip {
    max-width: 100%;
  }

  .unit-card__tenant {
    flex-wrap: wrap;
  }

  .deal-step, .subscribe__main {
    flex-basis: 100%;
  }

  .thanks__actions {
    max-width: 100%;
  }

  .price__value {
    font-size: clamp(28px, 8.5vw, 48px);
  }

  .kpi {
    min-width: 0;
  }

  .modal .btn--accent {
    max-width: none;
  }

  /* 02–05 Двери и сегменты */
  .door {
    flex-basis: 100%;
  }

  .segment {
    padding: var(--mu-space-4) 18px;
  }

  .segment__grid {
    grid-template-columns: 1fr;
    gap: var(--mu-space-4);
  }

  .segment__cta {
    max-width: 100%;
  }

  /* 06 Таймлайн — вертикальная рельса уже включена до 999px */
  .stages--narrow .stages__name {
    overflow-wrap: break-word;
  }

  .stages--narrow .stages__dot {
    justify-self: center;
  }

  .stages-block__link {
    margin-top: 26px;
  }

  .price-entry {
    margin-top: 49px;
  }

  .stage-actions {
    margin-top: 56px;
  }

  #stages {
    padding-bottom: 35px;
  }

  /* 07 Расположение */
  .loc__title {
    max-width: 100%;
  }

  .loc__traffic {
    flex-wrap: wrap;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 08 Слайдер форматов */
  .block-head {
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .block-head__controls {
    display: none;
  }

  .space-track {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: 0;
  }

  .space-card {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    padding: 16px;
    box-sizing: border-box;
  }

  .space-card__media, .space-card__body {
    flex-basis: 100%;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .space-card__media {
    min-height: 200px;
    aspect-ratio: 3 / 2;
  }

  .space-dots {
    flex-wrap: wrap;
    max-width: 100%;
  }

  .facade__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--mu-space-2);
    row-gap: var(--mu-space-2);
    gap: var(--mu-space-2);
  }

  /* Второй ряд: половина прошлого отступа (~12px). */
  .facade__item:nth-child(3), .facade__item:nth-child(4) {
    margin-top: calc((100vw - 32px - var(--mu-space-2)) / 2 * 0.075);
  }

  /* 09 Помещения */
  .units__toolbar {
    align-items: flex-start;
  }

  .tabs {
    flex-wrap: wrap;
  }

  .units-grid {
    grid-template-columns: 1fr;
  }


  .units-plan {
    padding: 16px;
    overflow-x: auto;
  }

  .plan-unit {
    min-width: 0;
    flex: 1 1 calc(50% - 10px);
  }

  .quiz-cta, .subscribe__main, .subscribe__side {
    padding: var(--mu-space-4);
  }

  .price__card {
    flex-basis: 100%;
    max-width: 100%;
  }

  .price__value {
    overflow-wrap: break-word;
  }

  .doc__open, .tabs__btn, .chip, .btn-link {
    width: auto;
  }

  .btn-round {
    width: 44px;
  }

  /* 11–12 Компания и документы */
  .dev-stats {
    grid-template-columns: 1fr;
  }

  .dev-stat {
    border-top: 0;
    padding-top: 0;
  }

  .dev-stat::before {
    content: "";
    display: block;
    width: 60%;
    height: 2px;
    background: var(--mu-emerald);
    margin-bottom: 12px;
  }

  .case {
    flex-basis: 100%;
    max-width: 100%;
  }

  .docs-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .doc {
    gap: 8px;
  }

  .doc__title {
    min-height: 0;
  }

  /* 14–15 Подписка и финал */
  .subscribe__side {
    min-width: 0;
    max-width: 100%;
  }

  .subscribe__channels .btn, .subscribe__email .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .final__col, .final__side {
    flex-basis: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .final__actions {
    max-width: 100%;
  }

  .final__manager {
    align-items: flex-start;
  }

  /* Подвал и внутренние страницы */
  .site-footer__col {
    flex-basis: 100%;
    min-width: 0;
  }

  .site-footer__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .site-footer__bottom {
    flex-direction: column;
    font-size: 12px;
  }

  .thanks__card {
    padding: var(--mu-space-5) var(--mu-space-4);
  }

  .legal-doc__block {
    padding: var(--mu-space-4);
  }

  .legal-page__foot {
    flex-direction: column;
    align-items: stretch;
  }

  .modal {
    padding: var(--mu-space-2);
  }

  .modal__dialog {
    max-height: 92vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .stages-block.is-pending .stages__dot, .stages-block.is-drawn .stages__dot {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .stages-block.is-pending .stages-rail__svg path, .stages-block.is-drawn .stages-rail__svg path {
    stroke-dashoffset: 0;
    transition: none;
  }

  .stages-block.is-pending [data-rail="narrow"]::before, .stages-block.is-pending [data-rail="narrow"]::after, .stages-block.is-drawn [data-rail="narrow"]::before, .stages-block.is-drawn [data-rail="narrow"]::after {
    transform: none;
    transition: none;
  }
}

/* ============================================================
   MURA — собственные блоки сайта. tools/port_css.py дописывает этот файл в конец mura.css.
   ============================================================ */

.nowrap {
  white-space: nowrap;
}

/* Ссылка в тексте подчёркнута линией снизу — второе подчёркивание браузера при наведении не нужно. */
.inline-link:hover,
.inline-link:focus-visible {
  text-decoration: none;
}

/* ---------- Заглушки «пришлю» ---------- */
/* На странице — прочерк. ?tbd в адресе подсвечивает все места, где ждём данные. */
.tbd {
  white-space: nowrap;
}

.show-tbd .tbd,
.show-tbd [data-tbd] {
  outline: 2px dashed var(--mu-error);
  outline-offset: 2px;
}

/* Место под картинку, которая придёт позже: фон и знак бренда вместо выдуманного изображения. */
.stub {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stub--dark {
  background: var(--mu-night);
}

.stub--light {
  background: var(--mu-frost);
}

.stub__icon {
  width: 56px;
  height: 56px;
}

.stub__mark {
  width: 48px;
  height: 48px;
  opacity: 0.6;
}

.space-card__media .stub,
.facade__frame .stub,
.loc__media-item .stub {
  position: absolute;
  inset: 0;
}

.loc__media-item .stub {
  min-height: 240px;
}

/* ---------- Тёмные фоны ---------- */
.section--night {
  background: var(--mu-night);
}

/* 06 Цена — единственный градиент страницы: «Ночь → Изумруд», тёмный угол со стороны текста. */
.section--price {
  background: var(--mu-gradient-night-emerald);
  color: var(--mu-white);
}

.section--price .eyebrow__rule {
  background: rgba(255, 255, 255, 0.25);
}

/* ---------- 01 Первый экран ---------- */
.hero__meta {
  gap: 12px 16px;
}

/* Верх рендера плавно уходит в «ночь» под текстом — без шва. */
.hero__media::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 35%;
  z-index: 1;
  background: linear-gradient(to bottom, var(--mu-night) 0%, rgba(16, 61, 53, 0) 100%);
  pointer-events: none;
}

/* Подпись к рендеру — поверх кадра, читаемым цветом. */
.hero__note {
  z-index: 2;
}

@media (max-width: 768px) {
  /* Телефон: вертикальный кадр на арки фасада. */
  .hero__media {
    aspect-ratio: 900 / 888;
    margin-top: -40px;
  }

  .hero__media::before {
    height: 30%;
  }

  .hero__img {
    object-position: center;
  }

  .hero__note {
    bottom: 10px;
    left: var(--mu-gutter);
    right: var(--mu-gutter);
    text-align: left;
  }
}

/* ---------- 04 Двери ---------- */
.door:hover .door__arrow {
  background: var(--mu-night);
}

.door__arrow svg {
  width: 18px;
  height: 18px;
}

/* ---------- 14 Сделка ---------- */
/* Отступ между заголовком и карточками шагов. */
#deal-title {
  margin-bottom: var(--mu-space-5);
}

/* ---------- 02 Состав комплекса ---------- */
.complex__caption {
  position: absolute;
  right: 12px;
  bottom: 10px;
  font-size: 11px;
  line-height: var(--mu-lh-note);
  color: var(--mu-white);
  opacity: 0.85;
}

/* ---------- 11 Стадии ---------- */
/* Текущая стадия — знак-квадрифолий; пройденные — изумрудный квадрат с галочкой. */
.stages--wide .stages__item--current .stages__dot,
.stages--narrow .stages__item--current .stages__dot {
  width: 34px;
  height: 34px;
  -webkit-mask: url("../img/brand/quatrefoil-fill-emerald.svg") center / contain no-repeat;
  mask: url("../img/brand/quatrefoil-fill-emerald.svg") center / contain no-repeat;
}

.stages__item--next .stages__dot {
  background: var(--mu-white);
}

.stages-rail__future {
  stroke: var(--mu-dove);
}

.stages-rail__past {
  stroke: var(--mu-emerald);
}

.stages-block__link--docs {
  margin-top: 10px;
}

/* ---------- 13 Документы ---------- */
/* Скан ещё не опубликован: рамка-знак без кнопки «Открыть». */
.doc__frame--stub {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
}

.doc__stub-mark {
  width: 64px;
  height: 64px;
  opacity: 0.5;
}

/* ---------- 16 Контакты ---------- */
/* Под текстом — пониженный контраст: розетка уходит за правый край, под сноску заходит краем. */
.watermark--contact {
  width: 760px;
  opacity: 0.1;
  top: -40%;
  right: -28%;
}

.final__manager-photo img {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Страница благодарности ---------- */
.watermark--thanks {
  width: 520px;
  opacity: 0.1;
  top: -10%;
  right: -10%;
}

@media (max-width: 768px) {
  .watermark--contact,
  .watermark--docs,
  .watermark--loc {
    width: 380px;
  }
}

@media (max-width: 768px) {
  /* Пустые рамки документов (скан ещё не опубликован) на телефоне не занимают целый экран. */
  .doc__frame--stub,
  .doc__frame--pending {
    aspect-ratio: 2 / 1;
  }
}

/* ---------- 05 Помещения: число помещений на уровне (MAR-89) ---------- */
/* Строка идёт под шапкой карточки на всю ширину, чтобы длинная подпись мезонина не дробилась рядом с бейджем. */
.unit-card__count {
  margin: -2px 0 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--mu-accent);
}

/* ---------- 12 О компании: четыре цифры компании (MAR-89) ---------- */
/* На планшете 2×2, от 1000 px — четыре в ряд; кегль ниже, чтобы «3 120 000+ м²» и «100+ проектов» не переносились. */
@media (min-width: 769px) {
  .dev-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .dev-stat__value {
    font-size: clamp(26px, 2.8vw, 34px);
  }
}

@media (min-width: 1000px) {
  .dev-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}
