/* ===== Цвета и шрифты («Вечерний луг» + Playfair Display / Golos Text) ===== */
:root {
  --dark: #1F2A1C;
  --dark-2: #2A3826;
  --olive: #4A5A2E;
  --accent: #A8B65A;
  --accent-hover: #BAC86C;
  --accent-light: #D8DDB0;
  --cream: #EFEBDD;
  --cream-2: #E5E0CE;
  --cream-3: #F7F4EA;
  --black: #141414;
  --text: #1F2A1C;
  --muted: #59634F;
  --accent-ink: #6B8424; /* акцент в заголовках на светлом фоне */

  --font-head: "Playfair Display", Georgia, serif;
  --font-text: "Golos Text", Arial, sans-serif;

  --radius-l: 28px;
  --radius-m: 20px;
}

/* ===== Основа ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; margin: 0 0 16px; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; line-height: 1.1; }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 24px; }
i { font-style: normal; }
h1 i, h2 i { color: var(--accent-ink); }
p { margin: 0 0 16px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Заглушки вместо фото ===== */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  border-radius: var(--radius-l);
  background: repeating-linear-gradient(45deg, #DDD7C3 0 14px, #E5E0CE 14px 28px);
  color: #6B6650;
  font-size: 14px;
}
.ph--dark {
  background: repeating-linear-gradient(45deg, #26331F 0 14px, #2C3A27 14px 28px);
  color: #7F8B6E;
}

/* ===== Кнопки ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 12px 12px 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--accent);
}
.btn--accent { background: var(--accent); color: var(--dark); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--dark { background: var(--dark); color: var(--cream); }
.btn--dark .btn__arrow { background: var(--accent); color: var(--dark); }
.btn--dark:hover { background: var(--olive); }
.btn--outline { border-color: rgba(239, 235, 221, .5); color: var(--cream); padding: 12px 26px; min-height: 60px; }
.btn--outline:hover { background: rgba(239, 235, 221, .1); border-color: var(--cream); }
.btn--small { padding: 10px 20px; font-size: 15px; }
.btn--light { background: var(--dark); color: var(--cream); }
.btn--light:hover { background: var(--olive); }
.btn--full { width: 100%; }

/* ===== Анимации ===== */
/* Кнопки: плавная смена цвета, кружок со стрелкой чуть уезжает вправо */
.btn, .copy-btn, .egrn__btn, .icon-circle, .chip span { transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn__arrow { transition: transform .25s ease; }
.btn:hover .btn__arrow { transform: translateX(5px); }

/* Плавное появление блоков при прокрутке (класс .reveal ставит js/main.js) */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Кто отключил анимацию в системе — показываем всё сразу */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn__arrow { transition: none; }
  .nav, .burger span { transition: none; }
}

/* ===== Шапка ===== */
.header { padding: 18px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--font-head); font-size: 24px; text-decoration: none; white-space: nowrap; }
.logo { font-weight: 600; }
.logo i { color: var(--accent-ink); }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--dark); }
.nav__phone { display: none; }

/* Кнопка-бургер: видна только на планшете и телефоне */
.burger { display: none; }

/* ===== 1. Первый экран ===== */
.hero__tile {
  position: relative;
  min-height: 640px;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--dark);
  display: flex;
  align-items: center; /* текст по центру плитки по высоте */
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
}
/* Затемнение слева, чтобы светлый текст читался на фото */
.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 28, 18, .82) 0%, rgba(20, 28, 18, .6) 45%, rgba(20, 28, 18, .15) 100%);
}
.hero__content {
  position: relative;
  max-width: 920px;
  padding: 72px 56px 104px; /* снизу больше: туда заходит плашка с цифрами */
  color: var(--cream);
}
.hero h1 i { color: var(--accent); }
.hero h1 { margin-bottom: 24px; }
/* На компьютере заголовок строго в две строки */
@media (min-width: 961px) { .h1-line { display: block; white-space: nowrap; } }
.badge {
  display: inline-block;
  margin-bottom: 24px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(239, 235, 221, .35);
  font-size: 14px;
}
.hero__lead { font-size: 19px; max-width: 600px; color: #D9D6C8; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 16px; }
.hero__note { font-size: 14px; color: #A9AE97; margin: 0; }

/* Полоса фактов, наезжает на первый экран */
.facts {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: -52px 40px 0;
  padding: 22px 32px;
  border-radius: var(--radius-m);
  background: var(--accent);
}
.facts__item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 12px; text-align: center; border-left: 1px solid rgba(31, 42, 28, .2); }
.facts__item:first-child { border-left: 0; }
.facts__item b { font-family: var(--font-text); font-size: 24px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.facts__item span { font-size: 14px; line-height: 1.35; color: #36421F; }

/* ===== Секции ===== */
.section { position: relative; padding: 110px 0; }
.section--tint { background: var(--cream-2); }
.section--dark { background: var(--dark); color: var(--cream); }
.section--dark h2 i { color: var(--accent); }
.section--olive { background: var(--olive); color: var(--cream); }
.section--olive h2 i { color: #C9DC6E; }
.section__title { max-width: 820px; }
.section__lead { font-size: 19px; color: var(--muted); max-width: 640px; margin-bottom: 48px; }
.section--olive .section__lead, .section--olive .split-head p { color: #D6D9C4; }

/* Рваный край */
.tear {
  position: absolute;
  top: -39px;
  left: 0;
  width: 100%;
  height: 40px;
  fill: var(--dark);
}
.tear--olive { fill: var(--olive); }

/* Мелкие заголовки карточек и шагов — без засечек, чтобы легче читались */
.feature h3, .honest__item h3, .docs__card h3, .step h3 { font-family: var(--font-text); font-weight: 600; line-height: 1.25; }

/* ===== 2. Почему недорого ===== */
.split-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; margin-bottom: 48px; }
.split-head h2 { margin: 0; }
.split-head p { color: var(--muted); margin: 0; }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  min-height: 240px;
  padding: 32px;
  border-radius: var(--radius-l);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.card h3 { font-size: 36px; margin-bottom: 12px; }
.card p { margin: 0; font-size: 16px; }
.card--light { background: var(--accent-light); }
.card--dark { background: var(--dark); color: var(--cream); }
.card--dark h3 { color: var(--accent); }
.card--dark p { color: #C9C7B9; }

.compare { margin-top: 48px; border-top: 1px solid rgba(31, 42, 28, .2); }
.compare__row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(31, 42, 28, .12);
}
.compare__row span:nth-child(2) { color: var(--muted); }
.compare__row--head { font-size: 14px; color: var(--muted); }
.compare__row--head span:last-child { color: var(--olive); font-weight: 600; }

/* ===== 3. Что вы получаете ===== */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin-top: 48px; }
.feature {
  padding: 28px;
  border-radius: var(--radius-m);
  background: var(--cream-3);
  border: 1px solid #CFC8B0;
}
.feature--yes { background: #FBF9F2; }
.feature h3 { font-size: 20px; margin: 18px 0 10px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }
.status {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}
.status--yes { background: var(--dark); color: var(--accent); }
.status--self { border: 1px solid var(--olive); color: var(--olive); }

/* ===== 4. Сценарии (шахматка) ===== */
.zigzag { display: flex; flex-direction: column; gap: 40px; }
.zigzag__row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.zigzag__row--reverse .zigzag__img { order: 2; }
.zigzag__img { width: 100%; height: auto; max-width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-l); }
.zigzag__num { display: block; font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--accent-ink); margin-bottom: 12px; }
.zigzag__text h3 { font-size: clamp(28px, 3vw, 40px); }
.zigzag__text p { color: var(--muted); max-width: 460px; margin-bottom: 28px; }

/* ===== 5. Рассрочка ===== */
.installment { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.installment__text p { color: #C9C7B9; font-size: 19px; margin-bottom: 32px; }
.calc { padding: 36px; border-radius: var(--radius-l); background: var(--dark-2); }
.calc__row, .calc__total { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(239, 235, 221, .12); }
.calc__row span { color: #B4B3A4; }
.calc__total { border-bottom: 0; align-items: baseline; padding-top: 24px; }
.calc__total b { font-variant-numeric: lining-nums; font-family: var(--font-head); font-weight: 600; font-size: 40px; color: var(--accent); }
.calc__note { font-size: 13px; color: #8E9182; margin: 8px 0 0; }

/* ===== 6. Где находится ===== */
.location { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.location__list { list-style: none; padding: 0; margin: 32px 0 36px; }
.location__list li { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(31, 42, 28, .15); }
.location__list li:last-child { border-bottom: 1px solid rgba(31, 42, 28, .15); }
.location__list span { color: var(--muted); }
.location__map {
  position: relative;
  z-index: 0; /* слои карты не перекрывают кнопку «Позвонить» на телефоне */
  aspect-ratio: 1 / 1;
  max-width: 100%;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--cream-2);
}
/* Подложка карты — простая чёрно-белая; метка и кнопки остаются в цветах сайта */
.location__map .leaflet-tile-pane { filter: grayscale(1) contrast(.95); }
.location__map .leaflet-control-zoom { border: 0; box-shadow: none; }
.location__map .leaflet-control-zoom a { width: 36px; height: 36px; line-height: 34px; margin-bottom: 6px; border: 0; border-radius: 50% !important; background: var(--dark); color: var(--accent); font: 600 20px/34px var(--font-text); }
.location__map .leaflet-control-zoom a:hover { background: var(--olive); }
.location__map .leaflet-control-attribution { background: rgba(239, 235, 221, .85); font-size: 11px; }
.map-pin span {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--dark);
  border: 4px solid var(--accent);
}
.location__map .leaflet-popup-content-wrapper { border-radius: 16px; background: var(--cream); color: var(--text); box-shadow: none; border: 1px solid #CFC8B0; }
.location__map .leaflet-popup-tip { background: var(--cream); }
.location__map .leaflet-popup-content { margin: 14px 18px; font: 400 14px/1.45 var(--font-text); }
.location__map .leaflet-popup-content b { display: block; font-size: 16px; margin-bottom: 4px; }
.location__map .leaflet-popup-content a { color: var(--accent-ink); font-weight: 600; }

/* ===== 7. Честно о главном ===== */
.honest { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.honest__item { padding: 32px; border-radius: var(--radius-m); background: var(--dark); }
.honest__num { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: var(--dark); font-family: var(--font-head); font-weight: 700; font-size: 26px; font-variant-numeric: lining-nums; margin-bottom: 24px; }
.honest__item h3 { color: var(--accent); font-size: 20px; }
.honest__item p { color: #C9C7B9; margin: 0; font-size: 16px; }
.honest__final {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 32px 40px;
  border-radius: var(--radius-m);
  background: var(--accent);
  color: var(--dark);
}
.honest__final p { margin: 0; color: rgba(31, 42, 28, .6); font-family: var(--font-head); font-weight: 600; font-size: clamp(24px, 3vw, 36px); line-height: 1.15; font-variant-numeric: lining-nums; }
.honest__final b { font-weight: 700; color: var(--dark); white-space: nowrap; }

/* ===== 8. Документы ===== */
.docs { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "side steps"; gap: 32px 64px; align-items: start; }
.docs__head { grid-area: head; margin-bottom: 16px; }
.docs__side { grid-area: side; }
.docs__steps { grid-area: steps; }
.docs__steps .check { margin-top: 0; }
.egrn { display: flex; flex-direction: column; gap: 12px; }
.egrn__slide { margin: 0; }
.egrn__slide a { display: block; border-radius: var(--radius-m); overflow: hidden; border: 1px solid #CFC8B0; background: #fff; }
.egrn__slide img { width: 100%; height: auto; }
.egrn__slide figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.egrn__nav { display: flex; align-items: center; justify-content: center; gap: 16px; }
.egrn__btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--dark); color: var(--accent); cursor: pointer; }
.egrn__btn:hover { background: var(--olive); }
.egrn__btn--prev svg { transform: scaleX(-1); }
.egrn__count { min-width: 48px; text-align: center; font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.docs__card { margin-top: 16px; padding: 28px; border-radius: var(--radius-m); background: var(--cream-2); }
.docs__card h3 { font-size: 20px; margin-bottom: 8px; }
.docs__card p { margin: 0; font-size: 16px; }
.docs__card--dark { background: var(--dark); color: var(--cream); }
.docs__card--dark h3 { color: var(--accent); }
.docs .docs__card--dark p { color: #C9C7B9; margin-bottom: 24px; }
.docs p { color: var(--muted); }
.check { list-style: none; counter-reset: check; padding: 0; margin: 28px 0; }
.check > li { position: relative; counter-increment: check; padding: 0 0 24px 52px; }
.check > li::before {
  content: counter(check);
  position: absolute;
  left: 0;
  top: -2px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
}
.check > li::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 1px; background: #CFC8B0; }
.check > li:last-child::after { display: none; }
.check > li > b { display: block; margin-bottom: 12px; font-weight: 600; }
.check > li > span { color: var(--muted); font-size: 15px; }
.copy-btn { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--olive); background: transparent; color: var(--olive); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.copy-btn:hover { background: var(--olive); color: var(--cream); }
.plots { list-style: none; padding: 0; margin: 0; border-top: 1px solid #CFC8B0; }
.plots li {
  display: grid;
  grid-template-columns: 28px 92px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #DCD5C0;
  font-size: 15px;
}
.plots__n { color: var(--muted); font-size: 13px; }
.plots__area { color: var(--muted); }
.plots__cad { font-weight: 600; letter-spacing: .01em; }
.plots .copy-btn { padding: 5px 12px; font-size: 13px; }

/* ===== 9. Шаги ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin: 48px 0 48px; }
.step { padding-top: 18px; border-top: 1px solid var(--dark); }
.step__num { display: block; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

/* ===== 10. Вопросы ===== */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq details { border-bottom: 1px solid rgba(31, 42, 28, .15); }
.faq details:first-child { border-top: 1px solid rgba(31, 42, 28, .15); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-head); font-size: 26px; line-height: 1; color: var(--olive); }
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--olive); }
.faq details p { color: var(--muted); padding-right: 40px; }

/* ===== 11. Заявка ===== */
.final {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: start;
}
.final__text, .form { position: relative; }
.contacts { margin-top: 56px; }
.contacts__label, .form__title { font-family: var(--font-text); font-weight: 600; font-size: 22px; line-height: 1.2; margin: 0 0 16px; }
.contacts__label { color: var(--cream); }
.contacts__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.contacts__phone { display: inline-flex; align-items: center; gap: 12px; margin-right: 8px; color: var(--accent); font-size: 22px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.contacts__phone:hover { color: var(--accent-hover); }
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
  text-decoration: none;
}
.icon-circle--link:hover { background: var(--accent-hover); }
.contacts__hours { margin: 16px 0 0; font-size: 15px; color: #A9AE97; }
.form__title { color: var(--dark); margin-bottom: 4px; }
.form__sub { font-size: 15px; color: var(--muted); margin: 0 0 20px; }

.form { padding: 32px; border-radius: var(--radius-l); background: var(--cream); color: var(--text); }
.form label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.form input[type="text"], .form input[type="tel"] {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 14px 20px;
  border: 1px solid #CFC8B0;
  border-radius: 999px;
  background: var(--cream-3);
  font: inherit;
  font-size: 16px;
  color: var(--text);
}
.form input:focus { outline: 2px solid var(--olive); outline-offset: 1px; }
.form fieldset { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.form legend { font-size: 14px; color: var(--muted); margin-bottom: 8px; padding: 0; }
.chip { margin: 0 !important; }
.chip input { position: absolute; opacity: 0; }
.chip span {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #CFC8B0;
  color: var(--text);
  cursor: pointer;
}
.chip span:hover { border-color: var(--olive); }
.chip input:checked + span { background: var(--dark); border-color: var(--dark); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--olive); }
.form .btn { margin-top: 8px; }
.form__msg { margin: 12px 0 0; font-size: 14px; line-height: 1.4; }
.form__msg:empty { display: none; }
.form__msg--ok { color: var(--olive); font-weight: 500; }
.form__msg--err { color: #A33A1F; }
.form .btn:disabled { opacity: .7; cursor: default; }
.form .consent { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 16px !important; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--dark); cursor: pointer; }
.consent a { color: var(--accent-ink); }

/* ===== Страница политики ===== */
.doc { max-width: 820px; padding-top: 40px; padding-bottom: 96px; }
.doc__back { display: inline-block; margin-bottom: 32px; color: var(--accent-ink); font-weight: 500; text-decoration: none; }
.doc__back:hover { color: var(--dark); }
.doc h1 { font-size: clamp(32px, 5vw, 48px); }
.doc h2 { font-family: var(--font-text); font-size: 20px; font-weight: 600; margin: 36px 0 12px; }
.doc p, .doc li { color: var(--muted); }
.doc ul { padding-left: 22px; margin: 0 0 16px; }
.doc li { margin-bottom: 6px; }
.doc__date { font-size: 14px; }

/* ===== Подвал ===== */
.footer { background: var(--black); color: #9C9A8E; padding: 32px 0; font-size: 14px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer .logo { color: var(--cream); font-size: 20px; }
.footer .logo i { color: var(--accent); }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--cream); }

.mobile-call { display: none; }

/* ===== Планшет ===== */
@media (max-width: 960px) {
  .facts { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .facts__item:nth-child(3) { border-left: 0; }
  .header { position: relative; z-index: 20; }
  .burger {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: none;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--dark);
    cursor: pointer;
  }
  .burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--accent); transition: transform .25s ease, opacity .2s ease; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header .btn { margin-left: auto; }
  .nav {
    position: absolute;
    top: calc(100% - 4px);
    left: 24px;
    right: 24px;
    flex-direction: column;
    gap: 0;
    padding: 8px 20px;
    border-radius: var(--radius-m);
    background: var(--dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 0; font-size: 18px; color: var(--cream); border-bottom: 1px solid rgba(239, 235, 221, .12); }
  .nav a:hover { color: var(--accent); }
  .nav .nav__phone { display: block; border-bottom: 0; color: var(--accent); font-weight: 600; }
  .split-head, .installment, .location, .docs, .faq-wrap, .final { grid-template-columns: 1fr; gap: 40px; }
  .cards-3, .honest { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .card { min-height: 0; }
  .docs { grid-template-areas: "head" "steps" "side"; }
  .location__map { aspect-ratio: 16 / 10; }
}

/* ===== Телефон ===== */
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .container { padding: 0 16px; }
  .header .btn { display: none; }
  .nav { left: 16px; right: 16px; }
  .section { padding: 72px 0; }
  .hero__tile { min-height: 0; border-radius: 22px; }
  .hero__content { padding: 64px 22px 80px; }
  .hero__shade { background: linear-gradient(180deg, rgba(20, 28, 18, .55) 0%, rgba(20, 28, 18, .8) 100%); }
  .hero__lead { font-size: 17px; }
  .hero__buttons .btn { width: 100%; justify-content: space-between; }
  .hero__buttons .btn--outline { justify-content: center; }
  .facts { grid-template-columns: 1fr 1fr; gap: 16px 0; margin: -44px 12px 0; padding: 20px; }
  .facts__item:nth-child(3) { border-left: 0; }
  .facts__item b { font-size: 21px; }
  .zigzag__row { grid-template-columns: 1fr; gap: 20px; }
  .zigzag__row--reverse .zigzag__img { order: 0; }
  .zigzag__text .btn { width: 100%; justify-content: space-between; }
  .compare__row { grid-template-columns: 1fr 1fr 1fr; font-size: 14px; gap: 8px; }
  .steps { grid-template-columns: 1fr; gap: 24px; }
  .location__list li { grid-template-columns: 1fr; gap: 2px; }
  .plots li { grid-template-columns: 22px 1fr auto; gap: 4px 10px; }
  .plots__cad { grid-column: 2; grid-row: 2; }
  .plots .copy-btn { grid-column: 3; grid-row: 1 / span 2; }
  .contacts__phone { font-size: 20px; }
  .form { padding: 22px; }
  .calc { padding: 24px; }
  .calc__total b { font-size: 32px; }
  .tear { height: 24px; top: -23px; }
  .mobile-call {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 12px;
    z-index: 10;
    padding: 16px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--dark);
    text-align: center;
    font-weight: 600;
    text-decoration: none;
  }
}
