@charset "UTF-8";

/* ==========================================================================
   zakaz-evakuatora.ru — 1. Токены, сброс, типографика, контейнер, кнопки, формы
   ========================================================================== */

:root {
  /* Поверхности */
  --bg: #000000;
  --bg-2: #0B0B0B;
  --bg-3: #141414;
  --bg-3-hover: #1C1C1C;
  --surface: #FFFFFF;
  --surface-text: #000000;

  /* Линии */
  --line: #2A2A2A;
  --line-light: #DDDDDD;

  /* Текст */
  --text: #FFFFFF;
  --text-muted: #A9A9A9;
  --text-dim: #757575;
  /* Номера шагов: отдельный токен, а не --line (тот задаёт волосяные линии
     и на чёрном даёт контраст 1.46:1 — цифры пропадали). 4.2:1, крупный текст. */
  --step-num: #6E6E6E;

  /* Акцент */
  --accent: #D8371C;

  /* Типографика */
  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Сетка */
  --container: 1312px;
  --gutter: 20px;
  --grid-gap: 24px;

  /* Ритм (кратно 8) */
  --section-pad: 64px;
  --header-h: 64px;

  /* Движение */
  --dur: 300ms;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------- Сброс */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }

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

img, svg, iframe { display: block; max-width: 100%; }

img { height: auto; border: 0; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}

button { background: none; border: 0; padding: 0; cursor: pointer; }

table { border-collapse: collapse; width: 100%; }

a { color: inherit; text-decoration: none; }

hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

[hidden] { display: none !important; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--surface);
  color: var(--surface-text);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.skip-link:focus { left: 0; }

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

/* --------------------------------------------------------- Типографика */

.display,
h1, h2 {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.94;
  color: var(--text);
  /* Длинные русские слова («КОНФИДЕНЦИАЛЬНОСТИ») на 375px не помещаются
     в строку целиком и распирают страницу горизонтально.
     hyphens: auto здесь нет намеренно: вместе с text-wrap: balance браузер
     со словарём переносов рвал дефисом даже те слова, что влезают целиком
     («ЦЕНА РАС-/СЧИТЫВАЕТСЯ» в 64-пиксельном заголовке на 1280–1920px).
     Мягкий перенос \00AD в тексте заголовков продолжает работать. */
  overflow-wrap: break-word;
}

h1, .h1 { font-size: clamp(38px, 7vw, 92px); }

h2, .h2 { font-size: clamp(30px, 4.4vw, 64px); }

h3, .h3 {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.25;
  color: var(--text);
}

.label,
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.eyebrow { color: var(--text-dim); }

.lead,
.text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 62ch;
}

.lead { font-size: 17px; }

.num {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.small {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
}

/* ----------------------------------------------------------- Контейнер */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-pad);
}

/* Секции разделены волосяной линией шириной в контейнер, не в экран */
.section--ruled { border-top: 1px solid var(--line); }

.rule { border-top: 1px solid var(--line); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}

/* ------------------------------------------------------------- Кнопки */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 0;
  border: 1px solid transparent;
  padding: 18px 34px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}

.btn--primary {
  background: #FFFFFF;
  color: #000000;
  border-color: #FFFFFF;
}

.btn--primary:hover { background: #E2E2E2; border-color: #E2E2E2; }
.btn--primary:active { background: #CFCFCF; border-color: #CFCFCF; }

.btn--ghost {
  background: transparent;
  color: #FFFFFF;
  border-color: #FFFFFF;
}

.btn--ghost:hover { background: #FFFFFF; color: #000000; }
.btn--ghost:active { background: #CFCFCF; border-color: #CFCFCF; color: #000000; }

.btn--dark {
  background: #000000;
  color: #FFFFFF;
  border-color: #000000;
}

.btn--dark:hover { background: #262626; border-color: #262626; }

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

/* Третий уровень: подчёркнутая капслочная ссылка */
.link-btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: transform var(--dur) var(--ease),
              text-decoration-color var(--dur) var(--ease);
}

.link-btn:hover {
  text-decoration-color: transparent;
  transform: translateX(2px);
}

.link-btn--dark { color: var(--surface-text); }

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

/* -------------------------------------------------------------- Формы */

.field { margin-bottom: 20px; }

.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.field__req { color: var(--accent); }

.field__control {
  width: 100%;
  background: var(--bg-2);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 16px;
  font-size: 16px;
  line-height: 1.4;
  transition: border-color var(--dur) var(--ease);
  appearance: none;
}

/* 5.7:1 на фоне поля var(--bg-2): подсказки в единственной форме сайта
   должны читаться; введённое значение остаётся белым. */
.field__control::placeholder { color: #8A8A8A; }

.field__control:hover { border-color: #3C3C3C; }

.field__control:focus {
  outline: none;
  border-color: #FFFFFF;
}

select.field__control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%23A9A9A9' stroke-width='1.5'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.field__error {
  display: block;
  margin-top: 8px;
  min-height: 1px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--accent);
}

.field.has-error .field__control { border-color: var(--accent); }

/* Чекбокс согласия */
.field--check {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
}

.field--check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 0;
  appearance: none;
  cursor: pointer;
  flex: 0 0 auto;
}

.field--check input[type="checkbox"]:checked {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='m1 6 4 4 8-9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.field--check label {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-dim);
}

.field--check a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.field--check .field__error { grid-column: 1 / -1; margin-top: 4px; }

.form__status {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.icon { display: inline-block; flex: 0 0 auto; }

/* ==========================================================================
   2. Шапка, навигация, бургер, мобильное меню, футер
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

/* Белый блок «Вызвать эвакуатор» прижат к правой кромке окна на ЛЮБОЙ ширине.
   Раньше max-width обрезала шапку на 1440px, и на широких экранах блок повисал
   в 240px от края, не совпадая ни с краем окна, ни с контентной колонкой.
   Левый отступ повторяет левый край .container, поэтому логотип с ним в одну линию. */
.site-header__inner {
  height: 100%;
  padding-left: max(var(--gutter), calc((100% - var(--container)) / 2));
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.logo {
  flex: 0 0 auto;
  align-self: center;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text);
  white-space: nowrap;
}

/* ------------------------------------------------------------ Навигация */

.nav {
  display: none;
  min-width: 0;
  overflow: hidden;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.nav__item { display: flex; align-items: center; }

.nav__link {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color var(--dur) var(--ease);
}

.nav__link:hover { text-decoration-color: currentColor; }
.nav__link.is-active { text-decoration-color: currentColor; }

/* -------------------------------------------------------- Блок действий */

.header-actions {
  display: none;
  flex: 0 0 auto;
  margin-left: auto;
  align-items: stretch;
  gap: 24px;
}

.header-phone {
  align-self: center;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
  white-space: nowrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: text-decoration-color var(--dur) var(--ease);
}

.header-phone:hover { text-decoration-color: transparent; }

/* Белый блок во всю высоту шапки */
.header-cta {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  color: #000000;
  padding-inline: 32px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease);
}

.header-cta:hover { background: #E2E2E2; }
.header-cta:active { background: #CFCFCF; }

/* -------------------------------------------------------------- Бургер */

.burger {
  width: 44px;
  height: 44px;
  align-self: center;
  margin-left: auto;
  margin-right: calc(var(--gutter) - 12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.burger__line {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #FFFFFF;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ----------------------------------------------------- Мобильное меню */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding-inline: var(--gutter);
}

.mobile-menu__top {
  height: var(--header-h);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__logo {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -12px;
  color: var(--text);
}

.mobile-menu__nav { flex: 1 1 auto; }

.mobile-menu__list { padding-block: 8px 32px; }

.mobile-menu__link {
  display: block;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--text);
}

.mobile-menu__link.is-active { color: var(--text-muted); }

.mobile-menu__actions {
  flex: 0 0 auto;
  display: grid;
  gap: 12px;
  padding-bottom: 32px;
}

body.is-locked { overflow: hidden; }

/* -------------------------------------------------------------- Футер */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding-top: 40px;
  overflow: hidden;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.footer-badge__circle {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border: 1px solid var(--text-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
}

.footer-badge__text {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-slogan {
  font-size: 26px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--text);
}

.footer-col__title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.footer-col__list { display: grid; gap: 10px; }

.footer-col__link,
.footer-col__plain {
  font-size: 14px;
  line-height: 1.4;
  color: var(--text);
}

.footer-col__plain { color: var(--text-muted); }

.footer-col__link {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--dur) var(--ease);
}

.footer-col__link:hover { text-decoration-color: currentColor; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 24px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-dim);
}

.footer-bottom a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: text-decoration-color var(--dur) var(--ease), color var(--dur) var(--ease);
}

.footer-bottom a:hover { color: var(--text); text-decoration-color: currentColor; }

/* Гигантское слово-логотип, обрезанное нижней кромкой страницы */
.footer-wordmark {
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  overflow: hidden;
  line-height: 0.78;
}

.footer-wordmark span {
  display: block;
  font-size: clamp(56px, 13vw, 190px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  white-space: nowrap;
  margin-bottom: -0.19em;
}

/* ==========================================================================
   3. Секции
   ========================================================================== */

/* ---------------------------------------------------------------- Герой */

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 40px;
  overflow: hidden;
  background: var(--bg);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 82%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(0, 0, 0, .72) 0%,
      rgba(0, 0, 0, .35) 55%,
      rgba(0, 0, 0, .15) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero__title {
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero__title span { display: block; }

.hero__sub {
  font-size: 17px;
  line-height: 1.45;
  color: #D2D2D2;
  max-width: 52ch;
  margin-bottom: 32px;
}

.hero__actions { margin-bottom: 40px; }

.hero__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding-top: 20px;
}

.hero__scroll {
  flex: 0 0 auto;
  color: var(--text);
  animation: hero-bob 2.4s var(--ease) infinite;
}

@keyframes hero-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ------------------------------------------------- Заголовок секции 2 кол. */

.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 48px;
}

.section-head__title { text-wrap: balance; }

.section-head__aside {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.5;
  max-width: 52ch;
}

/* -------------------------------------------------------- Карточки парка */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 32px;
  row-gap: 40px;
}

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

.card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-2);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter var(--dur) var(--ease);
}

.card:hover .card__media img { filter: brightness(1.08); }

/* Единственный красный кадр в ряду — акцент донора */
.card__media--accent {
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__media--accent svg {
  width: 62%;
  height: auto;
  color: #000000;
}

.card__title { margin-top: 20px; }

.card__price {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.card__text {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
}

.card__link { margin-top: 20px; align-self: flex-start; }

.card:hover .card__link { text-decoration-color: currentColor; }

/* -------------------------------------------------------------- О парке */

/* Секция шириной во всё окно: страхует вылет фото от округления на
   ширину полосы прокрутки (100vw её учитывает, а клиентская область — нет). */
.about { padding-block: var(--section-pad); overflow-x: clip; }

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.about__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.about__title { margin-bottom: 24px; }

.about__text p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 62ch;
}

.about__text p + p { margin-top: 20px; }

.about__actions { margin-top: 32px; }

/* --------------------------------------------------------- Преимущества */

.adv-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 32px;
  row-gap: 40px;
}

.adv__icon { color: var(--text); margin-bottom: 20px; }

.adv__title { margin-bottom: 10px; }

.adv__text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 34ch;
}

/* ------------------------------------------------------- Как мы работаем */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.step { position: relative; }

.step__num {
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--step-num);
  margin-bottom: 20px;
}

.step__icon { color: var(--text); margin-bottom: 20px; }

.step__title { margin-bottom: 10px; }

.step__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
  max-width: 40ch;
}

.step__contacts {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.step__phone {
  font-size: 17px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color var(--dur) var(--ease);
}

.step__phone:hover { text-decoration-color: transparent; }

.step__im {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: color var(--dur) var(--ease);
}

.step__im:hover { color: var(--text); }

/* Тонкая линия со стрелкой между шагами */
.step__arrow {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--line);
}

.step__arrow-line {
  flex: 1 1 auto;
  border-top: 1px solid currentColor;
}

.step__arrow svg { color: var(--text-dim); margin-left: -2px; }

/* ------------------------------------------------------- Форма заявки */

.callback__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.callback__title { margin-bottom: 20px; }

.callback__text {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 46ch;
}

.callback__note {
  margin-top: 24px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-dim);
  max-width: 46ch;
}

.callback__form { max-width: 560px; }

/* ---------------------------------------------------------- Контакты */

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contacts__list { display: grid; gap: 28px; }

.contacts__row { display: grid; gap: 6px; }

.contacts__key {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.contacts__val {
  font-size: 17px;
  line-height: 1.4;
  color: var(--text);
}

.contacts__val a {
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color var(--dur) var(--ease);
}

.contacts__val a:hover { text-decoration-color: currentColor; }

.contacts__val--num { font-weight: 500; font-variant-numeric: tabular-nums; }

.contacts__small {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.45;
}

.map {
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link { margin-top: 16px; display: inline-block; }

/* ----------------------------------------------------------- CTA-пара */

.cta-duo {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--bg);
}

.cta-panel {
  background: var(--bg-3);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px var(--gutter);
  transition: background-color var(--dur) var(--ease);
}

.cta-panel__text {
  font-size: clamp(28px, 6vw, 48px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--text);
}

.cta-panel__arrow {
  flex: 0 0 auto;
  color: var(--accent);
  transition: transform var(--dur) var(--ease);
}

.cta-panel:hover { background: var(--bg-3-hover); }
.cta-panel:hover .cta-panel__arrow { transform: translateX(8px); }

/* ------------------------------------------- Заголовочный экран страниц */

.page-head {
  padding-top: calc(var(--header-h) + 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}

.page-head--tall { min-height: 46vh; display: flex; align-items: flex-end; }

.page-head__title { margin-bottom: 20px; }

.page-head__sub {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.5;
  max-width: 58ch;
}

.page-head__actions { margin-top: 32px; }

/* ------------------------------------------ Светлое полотно: прайс и FAQ */

.surface {
  background: var(--surface);
  color: var(--surface-text);
  padding-block: var(--section-pad);
}

.surface h2,
.surface h3 { color: var(--surface-text); }

.surface .text,
.surface p { color: #3A3A3A; }

.price-table { margin-top: 8px; }

.price-group + .price-group { margin-top: 48px; }

.price-group__title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--surface-text);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--surface-text);
}

.price-table table { width: 100%; }

.price-table th {
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6A6A6A;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line-light);
}

.price-table th:last-child,
.price-table td:last-child { text-align: right; padding-right: 0; }

.price-table td {
  padding: 18px 12px 18px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 16px;
  line-height: 1.4;
  vertical-align: top;
  color: var(--surface-text);
}

.price-table tbody tr:hover td { background: #F5F5F5; }

.price-table .cell--cond { color: #5C5C5C; font-size: 15px; }

.price-table .cell--price {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-note {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.55;
  color: #5C5C5C;
  max-width: 72ch;
}

/* ----------------------------------------------------------- FAQ */

.surface-title { margin-bottom: 48px; }

/* FAQ идёт сразу за таблицей прайса на том же белом полотне */
.surface + .surface { padding-top: 0; }

.faq > .container {
  border-top: 1px solid var(--line-light);
  padding-top: var(--section-pad);
}

.faq__group + .faq__group { margin-top: 56px; }

.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.faq__group-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--surface-text);
}

.faq__item { border-bottom: 1px solid var(--line-light); }

.faq__item:first-child { border-top: 1px solid var(--line-light); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  text-align: left;
  font-size: 17px;
  line-height: 1.35;
  color: var(--surface-text);
  transition: opacity var(--dur) var(--ease);
}

.faq__q:hover { opacity: .62; }

.faq__sign {
  flex: 0 0 auto;
  color: var(--surface-text);
  transition: transform var(--dur) var(--ease);
}

.faq__q[aria-expanded="true"] .faq__sign { transform: rotate(45deg); }

.faq__a {
  overflow: hidden;
  height: 0;
  transition: height var(--dur) var(--ease);
}

.faq__a-inner {
  padding: 0 0 24px;
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.6;
  color: #3A3A3A;
}

/* ----------------------------------------------------------- 404 */

.error-block {
  min-height: calc(100vh - var(--header-h) - 200px);
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.error-block__num {
  font-size: clamp(90px, 22vw, 200px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
}

.error-block__title { margin-bottom: 20px; }

.error-block__text {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.5;
  max-width: 52ch;
  margin-bottom: 32px;
}

.error-links {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
}

/* ------------------------------------------------------ Карта сайта */

.sitemap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.sitemap-col { border-top: 1px solid var(--line); padding-top: 24px; }

.sitemap-col__title { margin-bottom: 20px; color: var(--text-dim); }

.sitemap-col__list { display: grid; gap: 14px; }

.sitemap-col__link {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: text-decoration-color var(--dur) var(--ease);
}

.sitemap-col__link:hover { text-decoration-color: currentColor; }

/* --------------------------------------------- Правовой текст (privacy) */

.legal-text { padding-block: var(--section-pad); }

.legal-text h2 {
  font-size: clamp(22px, 3vw, 30px);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-text h2:first-child { margin-top: 0; }

.legal-text p,
.legal-text li {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  max-width: 72ch;
}

.legal-text p + p { margin-top: 16px; }

.legal-text ul { margin-top: 16px; display: grid; gap: 10px; }

.legal-text li { padding-left: 20px; position: relative; }

.legal-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 1px;
  background: var(--text-dim);
}

/* --------------------------------------------- Появление при скролле */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

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

/* ==========================================================================
   4. Медиазапросы, фокус, доступность, печать
   ========================================================================== */

/* --------------------------------------------------- ≥ 600px: планшет */

@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv-grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sitemap-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-panel { min-height: 160px; }
  .mobile-menu__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------ ≥ 900px: десктоп-меню */

@media (min-width: 900px) {
  :root {
    --gutter: 40px;
    --section-pad: 80px;
    --header-h: 80px;
  }

  body { font-size: 17px; }

  .nav { display: flex; align-items: stretch; }
  .header-actions { display: flex; }
  .burger { display: none; }
  .mobile-menu { display: none !important; }

  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: var(--grid-gap);
  }

  .card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .adv-grid  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps     { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
  .sitemap-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .steps .step__arrow { display: none; }

  .callback__grid,
  .contacts__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--grid-gap);
  }

  .faq__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
    gap: var(--grid-gap);
  }

  .price-table { max-width: 66.66%; margin-inline: auto; }
  .price-note  { max-width: 66.66%; margin-inline: auto; }

  /* Текст слева / фото справа — фото уходит в край вьюпорта */
  .about__grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
    align-items: center;
  }

  /* Фото уходит в левую кромку вьюпорта. Проценты внутри грид-элемента
     считаются от КОЛОНКИ, а не от контейнера, поэтому обычная формула
     `50% - 50vw` уносила снимок далеко за экран и срезала его левую треть.
     Считаем вылет честно: половина разницы между окном и контентом контейнера. */
  .about__media {
    --bleed: calc((100vw - min(100vw - var(--gutter) * 2, var(--container))) / 2);
    margin-left: calc(-1 * var(--bleed));
    width: calc(100% + var(--bleed));
  }

  .about__media img { aspect-ratio: 4 / 3; }

  .footer-main {
    grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr));
    gap: var(--grid-gap);
    padding-bottom: 72px;
  }

  .footer-slogan { font-size: 32px; }

  .hero { padding-bottom: 56px; }
  .hero__sub { font-size: 18px; }

  .cta-panel { min-height: 180px; padding-inline: 40px; }

  .error-block__text { margin-bottom: 40px; }
}

/* ------------------------------------------- 900–1279px: без телефона */

@media (min-width: 900px) and (max-width: 1279.98px) {
  .header-phone { display: none; }
  .site-header__inner { gap: 16px; }
  .logo { font-size: 14px; letter-spacing: 0.14em; }
  .nav__list { gap: 16px; }
  .nav__link { font-size: 14px; }
  .header-cta { padding-inline: 22px; }
}

/* Самый узкий десктопный диапазон — меню ещё плотнее */
@media (min-width: 900px) and (max-width: 1023.98px) {
  .nav__list { gap: 12px; }
  .nav__link { font-size: 13px; }
  .header-cta { padding-inline: 18px; font-size: 12px; letter-spacing: 0.1em; }
}

/* ------------------------------------------------- ≥ 1280px: широкий */

@media (min-width: 1280px) {
  :root {
    --gutter: 64px;
    --section-pad: 112px;
  }

  .nav__list { gap: 24px; }
  .section-head { margin-bottom: 64px; }
  .card-grid { row-gap: 56px; }
}

@media (min-width: 1441px) {
  .nav__list { gap: 28px; }
}

/* ------------------------------------------------------- Фокус-стили */

:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.surface :focus-visible,
.btn--primary:focus-visible,
.header-cta:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 3px;
}

.field__control:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 1px;
}

.faq__q:focus-visible { outline-offset: -2px; }

/* --------------------------------------------- Уменьшенная анимация */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero__scroll { display: none; }

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

  .faq__a { transition: none; }
}

/* ----------------------------------------- Контрастность и данные */

@media (prefers-contrast: more) {
  :root { --text-muted: #D0D0D0; --text-dim: #9A9A9A; --line: #4A4A4A; }
}

/* ------------------------------------------------------------ Печать */

@media print {
  :root { --bg: #FFFFFF; --text: #000000; --text-muted: #333333; --text-dim: #555555; }

  body { background: #FFFFFF; color: #000000; font-size: 12pt; }

  .site-header,
  .mobile-menu,
  .burger,
  .cta-duo,
  .callback,
  .map,
  .hero__scroll,
  .footer-wordmark,
  .skip-link { display: none !important; }

  .hero {
    min-height: auto;
    padding: 0 0 24pt;
  }

  .hero__media { display: none; }

  a { color: #000000; text-decoration: underline; }

  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555555; }

  .surface { padding-block: 0; }

  .faq__a { height: auto !important; }

  .section, .about, .legal-text { padding-block: 18pt; break-inside: avoid; }

  img { max-width: 100%; break-inside: avoid; }
}
