/* ============================================================
   Вариант n4a v3 · эталон autovera (avto-uslugi, автосервис).
   Пересборка по ревью Савы 04.11: правила С1–С13.
   Тёмный #000 + оранжевый #FA560A. Фирменная геометрия: скошенный
   угол 12px 0 (кнопки, карточки, медиа), пилюли 999px на статусах.
   Контейнер 1280 (профиль). Сетка 12 колонок, gutter 24.
   Шкала кеглей 6 ступеней: 80 / 64 / 48 / 32 / 20 / 16
   (H1 / H2·стат / H2-моб·шаг / H3 / текст / подписи).
   Гарнитура — Inter из парка (матч Inter Display эталона, 600→700),
   локальные woff2, font-display: swap. Тени дословно из профиля §8.
   ============================================================ */

/* --- Шрифты: Inter статические инстансы из парка ZBCA (OFL) --- */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-400-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-500-cyrillic.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-700-cyrillic.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-700-latin.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #000000;
  --surface: #0D0D0D;
  --surface-2: #141414;
  --text: #FFFFFF;
  --muted: #CCCCCC;
  --faint: #999999;
  --accent: #FA560A;
  --accent-soft: rgba(255, 122, 0, 0.2);
  --on-accent: #000000;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* тени — дословно из профиля autovera (раздел 8) */
  --sh-btn: rgb(255, 173, 97) 0px 1px 1px 0px inset, rgb(166, 80, 0) 0px -0.5px 1px 0px inset;
  --sh-btn-hover: rgb(255, 255, 255) 0px 1px 1px 0px inset, rgba(128, 128, 128, 0.7) 0px -0.5px 1px 0px inset;
  --sh-card: rgba(0, 0, 0, 0.15) 0px 4px 10px 0px;
  --sh-lift: rgba(0, 0, 0, 0.11) 0px 0.597144px 1.31372px -0.9375px, rgba(0, 0, 0, 0.1) 0px 1.81088px 3.98394px -1.875px, rgba(0, 0, 0, 0.09) 0px 4.78699px 10.5314px -2.8125px, rgba(0, 0, 0, 0.04) 0px 15px 33px -3.75px;

  /* радиусы языка сайта */
  --radius-cut: 12px 0;   /* скошенный угол — фирменная геометрия */
  --radius-pill: 999px;   /* пилюли на статусах */

  --container: 1280px;
  --pad-sec: 120px;   /* вертикальные паддинги секций (профиль: 120/120) */
  --pad-sec-m: 64px;  /* мобильные паддинги */
}

* { box-sizing: border-box; }

/* grid-айтемы не раздувают треки (img и nowrap-тексты) */
.header__inner, .hero__grid, .stats__row, .boxes__grid, .smeta__grid,
.tire__card, .price__row, .services__foot, .why__grid, .steps, .reviews__grid,
.faq__item > summary, .request__grid, .form__row, .contacts__grid,
.footer__inner, .footer__bottom, .smeta__rows li, .box, .why__item, .step,
.review, .contacts__list, .request__facts li {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
}

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

::selection { background: var(--accent); color: var(--on-accent); }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

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

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 3.1vw, 40px);
}

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

h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }

/* Шкала кеглей (С3): 80/64/48/32/20/16, соседние ≥1.25× */
h1 {
  font-size: clamp(48px, 6.4vw, 80px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.1px;
  text-wrap: balance;
}

h2 {
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.1px;
  text-wrap: balance;
}

h3 {
  font-size: clamp(20px, 2.2vw, 32px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.1px;
}

/* ============ КНОПКИ (приём autovera ⑤: inset-блик) ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  border: 0;
  border-radius: var(--radius-cut);
  box-shadow: var(--sh-btn);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: fit-content;
}
.btn:hover {
  background: #FFFFFF;
  color: var(--on-accent);
  box-shadow: var(--sh-btn-hover);
}
.btn:active { transform: translateY(1px); }

/* ============ ШАПКА (Н6 sticky, Н4 бургер) ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo__svg { height: 44px; width: auto; display: block; }
.nav {
  display: none;
  align-items: center;
  gap: 32px;
  margin-inline: auto;
}
.nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--text); }
.header__cta { display: none; align-items: center; gap: 24px; margin-left: auto; }
.header__phone {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.header__cta .btn { min-height: 48px; padding: 12px 24px; }

/* бургер */
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle:checked ~ .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-panel {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 16px clamp(16px, 3.1vw, 40px) 32px;
}
.nav-toggle:checked ~ .nav-panel { display: block; }
.nav-panel a:not(.btn) {
  display: block;
  padding: 12px 0;
  font-size: 20px;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.nav-panel__phone {
  font-weight: 700 !important;
  font-variant-numeric: tabular-nums;
  border-bottom: 0 !important;
  margin-top: 12px;
}
.nav-panel__cta { margin-top: 16px; width: 100%; }

/* ============ ХИРО (С2: фото на весь экран + затемнение) ============ */
.hero {
  position: relative;
  min-height: min(920px, 100svh);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0) 30%),
    linear-gradient(100deg, rgba(0, 0, 0, 0.94) 0%, rgba(0, 0, 0, 0.72) 44%, rgba(0, 0, 0, 0.3) 76%, rgba(0, 0, 0, 0.42) 100%);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  width: 100%;
  padding-block: 96px 128px;
}
.hero__content { grid-column: 1 / -1; }
.hero__sub {
  margin-top: 32px;
  max-width: 36em;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
}
.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.hero__phone {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* ============ ЦИФРЫ (приём autovera ③: цветное подчёркивание) ============ */
.stats { border-top: 1px solid var(--line); }
.stats__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
  padding-block: 64px;
}
.stat b {
  display: block;
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.1px;
}
.stat b::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  margin-top: 16px;
  background: var(--accent);
  border-radius: var(--radius-pill);
}
.stat span {
  display: block;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 26em;
}

/* ============ СЕКЦИИ: общее ============ */
section {
  padding-block: var(--pad-sec-m);
}
.sec-head { margin-bottom: 40px; }
.sec-sub {
  margin-top: 16px;
  max-width: 42em;
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--muted);
}

/* ============ БОКС-ОНЛАЙН (главный блок ниши) ============ */
.boxes { background: var(--surface); }
.boxes__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-cut);
  box-shadow: var(--sh-card);
}
.box__name {
  font-size: 16px;
  font-weight: 500;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: 12px;
}
.box__dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-pill);
  background: #5C5C5C;
  flex-shrink: 0;
}
.box--free .box__dot { background: var(--accent); box-shadow: 0 0 12px rgba(250, 86, 10, 0.55); }
.box__status {
  font-size: clamp(20px, 2.6vw, 32px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.1px;
}
.box--busy .box__status { color: var(--faint); }
.boxes__foot {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}
.boxes__note { font-size: 16px; color: var(--muted); max-width: 34em; }

/* ============ СМЕТА ДО РАБОТ (сплит 5/7, С7 баланс) ============ */
.smeta__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.smeta__grid > *, .price__row > *, .smeta__rows li > *, .box > *,
.tire__card > *, .why__item > *, .review > *, .step > *, .contacts__list > * {
  min-width: 0;
}
.smeta__photo img {
  width: 100%;
  aspect-ratio: 1 / 1; /* квадрат = нативный кадр, без бокового кропа (С14) */
  object-fit: cover;
  border-radius: var(--radius-cut); /* С6: медиа наследует радиусы сайта */
}
.smeta__content .sec-head { margin-bottom: 32px; }
.smeta__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-cut);
  box-shadow: var(--sh-card);
}
.smeta__rows li {
  display: grid;
  grid-template-columns: 1fr auto 24px;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.smeta__rows li:first-child { border-top: 1px solid var(--line); }
.smeta__pos { font-size: 16px; }
.smeta__pos em { color: var(--faint); font-style: normal; }
.smeta__price {
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.smeta__ok { width: 24px; height: 24px; color: var(--accent); }
.smeta__ok svg { display: block; width: 100%; height: 100%; }
.smeta__total {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}
.smeta__total::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.smeta__law {
  margin-top: 24px;
  font-size: 16px;
  color: var(--muted);
  max-width: 40em;
}

/* ============ ШИНОМОНТАЖ (плашка по сетке 6/6, С4) ============ */
.tire__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-cut);
  overflow: hidden;
  box-shadow: var(--sh-lift);
}
.tire__photo img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.tire__content {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.tire__content p { color: var(--muted); max-width: 30em; }
.tire__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.tire__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}
.tire__link svg { width: 20px; height: 20px; transition: transform 0.2s ease; }
.tire__link:hover svg { transform: translateX(4px); }

/* ============ УСЛУГИ С ЦЕНАМИ (полная ширина сетки) ============ */
.price { border-top: 1px solid var(--line-strong); }
.price__row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.price__num {
  font-size: 16px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
  min-width: 32px;
}
.price__name { font-size: clamp(17px, 1.4vw, 20px); }
.price__name em { color: var(--faint); font-style: normal; }
.price__val {
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.services__foot {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.services__note { font-size: 16px; color: var(--muted); max-width: 40em; }

/* ============ ПРЕИМУЩЕСТВА (сетка 3+2, приём ⑥ круглые иконки) ============ */
.why { background: var(--surface); }
.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.why__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-cut);
  box-shadow: var(--sh-card);
}
.why__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--text);
  flex-shrink: 0;
}
.why__icon svg { width: 24px; height: 24px; }
.why__item h3 { font-size: clamp(20px, 2.2vw, 32px); }
.why__item p { font-size: 16px; color: var(--muted); max-width: 30em; }

/* ============ ПРОЦЕСС (без фото, С8) ============ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  counter-reset: step;
}
.step {
  border-top: 1px solid var(--line-strong);
  padding-top: 24px;
}
.step__num {
  display: block;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.1px;
}
.step h3 { margin-top: 16px; font-size: clamp(20px, 2.2vw, 32px); }
.step p { margin-top: 12px; font-size: 16px; color: var(--muted); max-width: 30em; }

/* ============ ОТЗЫВЫ (3 карточки на всю ширину) ============ */
.reviews { background: var(--surface); }
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.review {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-cut);
  box-shadow: var(--sh-card);
}
.review p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.review footer {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* ============ FAQ (С5: левый край + вся ширина контейнера) ============ */
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  padding: 0 0 24px;
  max-width: 48em;
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
}

/* ============ ФОРМА (сплит 5/7) ============ */
.request { background: var(--surface); }
.request__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.request__sub {
  margin-top: 24px;
  color: var(--muted);
  max-width: 26em;
}
.request__facts {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.request__facts li {
  font-size: 16px;
  color: var(--muted);
  padding-left: 24px;
  position: relative;
}
.request__facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: var(--radius-pill);
}
.request__facts a { font-weight: 700; border-bottom: 1px solid var(--line-strong); }
.form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 32px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-cut);
  box-shadow: var(--sh-lift);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field span { font-size: 16px; font-weight: 500; color: var(--muted); }
.field input,
.field textarea {
  width: 100%;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-cut);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.4;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.form__submit { width: 100%; }
.form__note { font-size: 16px; color: var(--faint); }

/* ============ КОНТАКТЫ (сплит 7/5) ============ */
.contacts__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.contacts__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  border-top: 1px solid var(--line-strong);
  padding-top: 8px;
}
.contacts__item { padding-top: 16px; }
.contacts__item h3 { font-size: 16px; font-weight: 500; color: var(--faint); }
.contacts__item p { margin-top: 8px; font-size: clamp(17px, 1.4vw, 20px); }
.contacts__item a { border-bottom: 1px solid var(--line-strong); font-variant-numeric: tabular-nums; }
.contacts__photo img {
  width: 100%;
  aspect-ratio: 1 / 1; /* квадрат = нативный кадр фасада, без кропа ворот (С14) */
  object-fit: cover;
  border-radius: var(--radius-cut); /* С6 */
}

/* ============ ФУТЕР (Н7) ============ */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-block: 64px 40px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  font-weight: 700;
}
.footer__logo svg { width: 40px; height: 40px; display: block; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.footer__nav a { font-size: 16px; color: var(--muted); }
.footer__nav a:hover { color: var(--text); }
.footer__contacts { font-size: 16px; color: var(--muted); }
.footer__contacts a { font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.footer__contacts p { margin-top: 8px; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 24px 32px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--faint);
}
.footer__bottom a { color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.footer__bottom a:hover { color: var(--accent); }

/* ============ ПЛАНШЕТ (≥768) ============ */
@media (min-width: 768px) {
  .nav { display: flex; }
  .header__cta { display: flex; }
  .burger, .nav-panel { display: none !important; }
  .nav-toggle { display: none; }

  .stats__row { grid-template-columns: repeat(4, 1fr); padding-block: 80px; }

  .boxes__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .box { padding: 40px; }

  .smeta__grid { grid-template-columns: repeat(12, 1fr); gap: 24px; }
  .smeta__photo { grid-column: span 5; }
  .smeta__content { grid-column: span 7; }

  .tire__card { grid-template-columns: repeat(12, 1fr); }
  .tire__photo { grid-column: span 6; }
  .tire__content { grid-column: span 6; padding: 56px 48px; }

  .why__grid { grid-template-columns: repeat(12, 1fr); }
  .why__item { grid-column: span 6; padding: 40px; }

  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .reviews__grid { grid-template-columns: repeat(3, 1fr); }
  .review { padding: 40px; }

  .request__grid { grid-template-columns: repeat(12, 1fr); gap: 24px; }
  .request__text { grid-column: span 5; }
  .form { grid-column: span 7; padding: 40px; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .form__submit { width: fit-content; }

  .contacts__grid { grid-template-columns: repeat(12, 1fr); gap: 24px; }
  .contacts__info { grid-column: span 7; }
  .contacts__photo { grid-column: span 5; }
  .contacts__list { grid-template-columns: 1fr 1fr; gap: 32px 24px; }

  .footer__inner { grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; }
  .footer__nav { justify-content: center; }
}

/* ============ ДЕСКТОП (≥1024) ============ */
@media (min-width: 1024px) {
  section { padding-block: 112px; }
  .sec-head { margin-bottom: 48px; }
  .boxes__foot { margin-top: 48px; }
  .services__foot { margin-top: 48px; }
  .why__item { grid-column: span 4; }
  .why__item:nth-child(4), .why__item:nth-child(5) { grid-column: span 6; }
  .tire__content { padding: 64px 56px; }
  .review { min-height: 100%; }
}

/* ============ ШИРОКИЙ (≥1440): контейнер зафиксирован (СР-09) ============ */
@media (min-width: 1440px) {
  section { padding-block: var(--pad-sec); }
  .hero__grid { padding-block: 128px 160px; }
}

/* ============ МОБИЛЬНЫЕ ДОТЯЖКИ (<768) ============ */
@media (max-width: 767px) {
  .header__inner { height: 64px; }
  .logo__svg { height: 36px; }
  .hero { min-height: 0; }
  .hero__grid { padding-block: 72px 96px; }
  .hero__scrim {
    background:
      linear-gradient(to top, #000000 0%, rgba(0, 0, 0, 0) 34%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.66) 100%);
  }
  .hero__actions .btn { width: 100%; }
  .hero__phone { font-size: 16px; }
  .boxes__foot .btn { width: 100%; }
  .services__foot { flex-direction: column; align-items: stretch; }
  .services__foot .btn { width: 100%; }
  .tire__actions .btn { width: 100%; }
  .faq__item summary { padding: 20px 0; }
  .smeta__rows li { grid-template-columns: 1fr 24px; }
  .smeta__price { grid-column: 1; text-align: left; }
  .form { padding: 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tire__link svg, .nav-panel a, .faq__item summary::after { transition: none; }
}
