/* ============================================================
   systema360.ru — Земельные участки на Алтае
   Базовые стили. Мобильный-первый подход, без внешних шрифтов.
   ============================================================ */

/* --- Токены --- */
:root {
  --ink:        #0E1B17;
  --deep:       #15302A;
  --green:      #2F5D50;
  --green-lt:   #3E7A69;
  --sage:       #8FAF9F;
  --gold:       #C08A2E;
  --gold-lt:    #DCA94A;
  --cream:      #F7F4EE;
  --paper:      #FFFFFF;
  --line:       #E3DED3;
  --text:       #1D2B26;
  --muted:      #5F6F69;

  --max-w:      1160px;
  --pad:        20px;
  --radius:     14px;
  --radius-sm:  8px;

  --shadow:     0 1px 2px rgba(14,27,23,.06), 0 8px 24px rgba(14,27,23,.06);
  --shadow-lg:  0 2px 4px rgba(14,27,23,.08), 0 18px 50px rgba(14,27,23,.12);

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* --- Сброс --- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(30px, 6vw, 54px); }
h2 { font-size: clamp(25px, 4.2vw, 38px); }
h3 { font-size: clamp(19px, 2.6vw, 23px); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }

/* Доступность: видимый фокус для клавиатуры */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Раскладка --- */
.wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: clamp(52px, 8vw, 96px); }
.section--tight { padding-block: clamp(36px, 5vw, 60px); }
.section--cream { background: var(--cream); }

.section--dark {
  background: var(--ink);
  color: #D8E2DD;
}
.section--dark h2,
.section--dark h3 { color: #fff; }

.lede {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
  max-width: 62ch;
}
.section--dark .lede { color: var(--sage); }

.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* Служебный класс: видно только скринридерам */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Кнопки --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 27px;
  border: 1px solid transparent;
  border-radius: 100px;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--gold);
  color: #17130A;
  box-shadow: 0 4px 16px rgba(192,138,46,.3);
}
.btn--primary:hover { background: var(--gold-lt); color: #17130A; }

.btn--green {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(47,93,80,.26);
}
.btn--green:hover { background: var(--green-lt); color: #fff; }

.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.32);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

.btn--outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}
.btn--outline:hover { border-color: var(--green); color: var(--green); }

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- Шапка --- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { color: var(--ink); }
.logo__mark { flex-shrink: 0; }
.logo__sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--muted);
}

.nav {
  display: none;
  margin-left: auto;
  gap: 26px;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }

.header__cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__phone {
  display: none;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.header__phone:hover { color: var(--gold); }

.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 19px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: background .2s;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 19px; height: 2px;
  background: var(--ink);
  transition: transform .22s ease;
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  border-top: 1px solid var(--line);
  padding: 10px var(--pad) 22px;
  background: #fff;
}
.mobile-nav a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}
.mobile-nav .btn-row { margin-top: 18px; }

/* --- Первый экран --- */
.hero {
  position: relative;
  background: linear-gradient(165deg, #15302A 0%, #0E1B17 62%, #12211C 100%);
  color: #E6EEEA;
  overflow: hidden;
}
.hero__art {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  opacity: .5;
  pointer-events: none;
}

/* Фотофон первого экрана */
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Затемнение поверх фото: плотное под колонкой текста, лёгкое справа,
   чтобы снимок было видно, а белый текст оставался читаемым. */
.hero--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(to right, rgba(10,22,18,.88) 0%, rgba(10,22,18,.66) 48%, rgba(10,22,18,.30) 100%),
    linear-gradient(to bottom, rgba(10,22,18,.35) 0%, rgba(10,22,18,.10) 45%, rgba(10,22,18,.55) 100%);
}
@media (max-width: 899px) {
  .hero--photo::after {
    background: linear-gradient(to bottom, rgba(10,22,18,.72) 0%, rgba(10,22,18,.58) 40%, rgba(10,22,18,.86) 100%);
  }
}
/* Карточка с ценой поверх фото — ей нужен свой непрозрачный фон */
.hero--photo .pricecard {
  background: rgba(14,27,23,.82);
  backdrop-filter: blur(6px);
  border-color: rgba(143,175,159,.4);
}

/* --- Фотографии и галерея --- */
figure { margin: 0; }

/* Обёртка <picture> нужна только чтобы предложить браузеру WebP. Своей рамки
   у неё быть не должно: display:contents убирает её из раскладки, и <img>
   ведёт себя ровно так же, как вёл бы без обёртки — включая абсолютное
   позиционирование фона первого экрана. */
picture { display: contents; }

.photo {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--cream);
}
/* Вертикальные кадры с телефона. 3/4 обрезает мягко — оставляет
   и горы, и поле; без ограничения высоты такой снимок занял бы весь экран. */
.photo--tall  { aspect-ratio: 3/4; max-height: 620px; }
.photo--wide  { aspect-ratio: 16/9; }
.photo--square{ aspect-ratio: 1/1; }

.figure { margin: 0; }
.figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.section--dark .figure figcaption { color: var(--sage); }

.gallery {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.gallery > * { min-width: 0; }

@media (min-width: 620px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .gallery--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Карточка с фото сверху */
.card--photo { padding: 0; overflow: hidden; }
.card--photo .photo { border-radius: 0; }
.card--photo .card__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(48px, 8vw, 96px);
  display: grid;
  gap: 40px;
}
.hero h1 { color: #fff; }
.hero p { color: #B9CCC4; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid rgba(143,175,159,.35);
  border-radius: 100px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--sage);
  background: rgba(143,175,159,.07);
}

/* Ценовая карточка */
.pricecard {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(143,175,159,.25);
  border-radius: var(--radius);
  padding: 26px;
}
.pricecard__label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 8px;
}
.pricecard__value {
  font-size: clamp(38px, 7vw, 52px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
}
.pricecard__per {
  font-size: 16px;
  color: var(--gold-lt);
  font-weight: 600;
  margin-top: 8px;
}
.pricecard__list {
  list-style: none;
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(143,175,159,.22);
  display: grid;
  gap: 11px;
  font-size: 15px;
}
.pricecard__list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #B9CCC4;
}
.pricecard__list b { color: #fff; font-weight: 600; text-align: right; }

/* --- Цифровые показатели --- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat {
  background: var(--paper);
  padding: 24px 20px;
  min-width: 0;
}
.stat__num {
  font-size: clamp(27px, 4.4vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--green);
}
.stat__num--gold { color: var(--gold); }
.stat__label {
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 7px;
}
.section--dark .stats { background: rgba(143,175,159,.2); border-color: rgba(143,175,159,.2); }
.section--dark .stat { background: var(--ink); }
.section--dark .stat__num { color: var(--gold-lt); }
.section--dark .stat__label { color: var(--sage); }

/* --- Сетка карточек --- */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
}
/* Элементы грида по умолчанию имеют min-width:auto и не сжимаются
   уже своего содержимого — из-за этого широкие таблицы и длинные
   числа распирают колонку и появляется горизонтальная прокрутка. */
.grid > *,
.split > * { min-width: 0; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.card--link { text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--sage); color: inherit; }
.card--accent { border-color: var(--gold); border-width: 2px; }
.card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(47,93,80,.09);
  color: var(--green);
  margin-bottom: 18px;
}
.card__more {
  margin-top: auto;
  padding-top: 18px;
  font-weight: 600;
  color: var(--gold);
  font-size: 15.5px;
}
.card p { color: var(--muted); font-size: 16px; }

/* --- Таблица характеристик --- */
.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.spec th, .spec td {
  padding: 15px 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec th {
  font-weight: 500;
  color: var(--muted);
  width: 45%;
}
.spec td { font-weight: 600; color: var(--ink); }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- Список с галочками --- */
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.checks li {
  position: relative;
  padding-left: 32px;
  line-height: 1.5;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 19px; height: 19px;
  border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317130A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* --- Шаги/этапы --- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; counter-reset: s; }
.step { position: relative; padding-left: 58px; counter-increment: s; }
.step::before {
  content: counter(s);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}
.step h3 { margin-bottom: 6px; font-size: 19px; }
.step p { color: var(--muted); margin: 0; }

/* --- Две стратегии --- */
.strategy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--paper);
}
.strategy--a { border-top: 4px solid var(--green); }
.strategy--b { border-top: 4px solid var(--gold); }
.strategy__tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.strategy__flow {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--green);
  background: rgba(47,93,80,.07);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.strategy--b .strategy__flow { color: #7A5614; background: rgba(192,138,46,.1); }
.strategy__target {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.strategy__mult {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}

/* --- Финансовая модель --- */
.fin {
  display: grid;
  gap: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--paper);
}
.fin__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.fin__badge {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -.02em;
}
.fin__arrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: clamp(21px, 3.4vw, 29px);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.fin__arrow span { color: var(--sage); font-weight: 400; }
/* Ровно 2 колонки: ячеек четыре, поэтому 2×2 всегда балансирует.
   auto-fit здесь давал 3 колонки и разбивку 3 + 1. */
.fin__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.fin__cell { min-width: 0; }
.fin__cell b {
  display: block;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -.02em;
  overflow-wrap: break-word;
}
.fin__cell span { font-size: 14px; color: var(--muted); }

/* --- Заметка/дисклеймер --- */
.note {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  background: var(--cream);
  border-left: 3px solid var(--sage);
  padding: 15px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.note--warn { background: #FDF6E7; border-left-color: var(--gold); }
.section--dark .note { background: rgba(143,175,159,.1); color: var(--sage); }

/* --- FAQ --- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  padding: 21px 44px 21px 0;
  font-weight: 600;
  font-size: 17.5px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 13px; height: 13px;
  margin-top: -9px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--gold); }
.faq__body { padding: 0 0 24px; color: var(--muted); max-width: 72ch; }

/* --- Форма --- */
.formbox {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
}
.field { margin-bottom: 17px; }
.field label {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--ink);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 16px; /* 16px+ — иначе iOS зумит форму при фокусе */
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .16s ease, box-shadow .16s ease;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47,93,80,.13);
}
.field input::placeholder, .field textarea::placeholder { color: #A3AFAA; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
  margin: 20px 0;
}
.consent input {
  flex-shrink: 0;
  width: 19px; height: 19px;
  margin-top: 1px;
  accent-color: var(--green);
}

/* Ловушка для ботов — скрыта от людей, видна спам-скриптам */
.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-msg {
  margin-top: 16px;
  padding: 14px 17px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
}
.form-msg--ok   { background: #E8F3EE; color: #1C5C42; }
.form-msg--err  { background: #FBEAEA; color: #8C2020; }

/* --- Хлебные крошки --- */
.crumbs {
  padding-block: 18px;
  font-size: 14px;
  color: var(--muted);
}
.crumbs ol {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.crumbs li::after { content: "/"; margin-left: 8px; color: var(--sage); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { color: var(--muted); }

/* --- Текстовая статья --- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose > :first-child { margin-top: 0; }

/* --- Подвал --- */
.footer {
  background: var(--ink);
  color: #93A8A0;
  padding-block: 52px 32px;
  font-size: 15px;
}
.footer a { color: #C5D4CE; text-decoration: none; }
.footer a:hover { color: var(--gold-lt); }
.footer h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.footer__grid { display: grid; gap: 34px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__bottom {
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid rgba(147,168,160,.2);
  font-size: 13.5px;
  line-height: 1.6;
  display: grid;
  gap: 14px;
}

/* --- Плавающая панель связи на мобильных --- */
.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: flex;
  gap: 8px;
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.callbar .btn { flex: 1; padding: 13px 12px; font-size: 15px; }
body { padding-bottom: 72px; }

/* --- Адаптив --- */
@media (min-width: 620px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

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

@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .hero__inner { grid-template-columns: 1.35fr .95fr; align-items: center; gap: 56px; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 44px; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: start; }
  .split--wide { grid-template-columns: 1.25fr .9fr; }
  .footer__bottom { grid-template-columns: 1fr auto; align-items: center; }
}

/* Горизонтальное меню включаем только когда логотип, шесть пунктов
   и телефон реально помещаются в строку. На 900px они не влезают. */
@media (min-width: 1060px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .burger, .mobile-nav { display: none !important; }
  .nav { display: flex; gap: 20px; }
  .header__phone { display: inline-block; }
  .header__cta { margin-left: 22px; }
}

@media (min-width: 1200px) {
  .nav { gap: 26px; }
}

/* Уважаем системную настройку «меньше движения» */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* --- Печать --- */
@media print {
  .header, .callbar, .footer, .formbox { display: none; }
  body { padding: 0; font-size: 12pt; }
}
