:root {
  --orange: #FE4902;
  --orange-plate: #FD5608;
  --graphite: #101519;
  --blue: #1E3F73;
  --steel: #4A648C;
  --bg: #F5F6F8;
  --white: #FFFFFF;
  --text: #2A313A;
  --muted: #5C6773;
  --line: #E5E9EF;
  --radius: 16px;
  --radius-s: 10px;
  --container: 1280px;
  --font-head: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-title: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --shadow: 0 8px 30px rgba(16, 21, 25, .06);
  --header-h: 84px;
  --dur-fast: .16s;
  --dur-base: .28s;
  --dur-slow: .6s;
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-swift: cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

/* Шапка липкая: без запаса якорь уводит заголовок секции под нее */
:target { scroll-margin-top: calc(var(--header-h) + 16px); }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.icon {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon--s { width: 20px; height: 20px; stroke-width: 2.6; }
.icon--arrow { width: 15px; height: 15px; stroke-width: 2.2; }
.icon--l { width: 56px; height: 56px; stroke-width: 2.2; }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: var(--radius-s);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  transition:
    background-color var(--dur-fast) var(--ease-swift),
    color var(--dur-fast) var(--ease-swift),
    border-color var(--dur-fast) var(--ease-swift),
    transform var(--dur-fast) var(--ease-out),
    box-shadow var(--dur-fast) var(--ease-out);
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn:active { transform: translateY(0) scale(.97); transition-duration: .08s; }

.btn .icon { stroke: currentColor; transition: transform var(--dur-fast) var(--ease-out); }

@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .btn:hover .icon--arrow { transform: translateX(3px); }
  .btn--orange:hover { box-shadow: 0 8px 20px rgba(254, 73, 2, .28); }
  .btn--white:hover,
  .btn--ghost:hover { box-shadow: 0 8px 20px rgba(16, 21, 25, .12); }
}

.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: #E44100; }

.btn--ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--ghost:hover { background: var(--blue); color: #fff; }

.btn--white { background: #fff; color: var(--graphite); }
.btn--white:hover { background: var(--graphite); color: #fff; }

.btn--ghost-white { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-white:hover { background: #fff; color: var(--orange); }

.btn--ghost-orange { border-color: var(--orange); color: #fff; }
.btn--ghost-orange:hover { background: var(--orange); }

.btn--sm { padding: 11px 20px; font-size: 14px; }

/* Tags */

.tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  vertical-align: middle;
}

.tag--dev { background: #E8ECF3; color: var(--steel); }
.tag--prod { background: #E4F3E8; color: #1E7A3C; }

/* Номенклатура (заложена скрытой до решения заказчика) */

.nomenclature { margin-top: 40px; overflow-x: auto; }

.nomenclature table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  font-size: 15px;
}

.nomenclature th,
.nomenclature td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }

.nomenclature th {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--steel);
}

.nomenclature tr:last-child td { border-bottom: none; }
.nomenclature td:nth-child(3),
.nomenclature td:nth-child(4) { white-space: nowrap; }

/* Header */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 246, 248, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}

.header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(16,21,25,.05); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: var(--header-h);
}

.header__logo { flex: none; }
.header__logo img { width: 128px; height: auto; }

.header__nav {
  display: flex;
  gap: 22px;
  margin: 0 auto;
}

.header__nav a {
  position: relative;
  font-size: 15px;
  font-weight: 450;
  color: var(--text);
  padding: 6px 0;
  transition: color var(--dur-fast) var(--ease-swift);
  white-space: nowrap;
}

.header__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}

.header__nav a:hover { color: var(--orange); }
.header__nav a:hover::after { transform: scaleX(1); }
.header__nav a.is-active { color: var(--orange); }
.header__nav a.is-active::after { transform: scaleX(1); }

.header__contact { display: flex; align-items: center; gap: 20px; flex: none; }

.header__phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--graphite);
  white-space: nowrap;
}

.header__cta { padding: 13px 24px; white-space: nowrap; }
.header__cta-short { display: none; }

.header__burger { display: none; }

/* Полноэкранное мобильное меню (открывается бургером ниже 1060px) */

.menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  flex-direction: column;
  background: var(--white);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
}

.menu:focus { outline: none; }

.menu.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--dur-base) var(--ease-out), visibility 0s;
}

/* .container внутри флекс-колонки схлопывается по своему margin: 0 auto,
   поэтому ширину задаем явно */
.menu__bar, .menu__body { width: 100%; }

.menu__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: none;
  min-height: var(--header-h);
  border-bottom: 1px solid var(--line);
}

.menu__close {
  position: relative;
  flex: none;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.menu__close span {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 50%;
  height: 2.5px;
  border-radius: 2px;
  background: var(--graphite);
  transition: background var(--dur-fast) var(--ease-swift);
}

.menu__close span:nth-child(1) { transform: translateY(-50%) rotate(45deg); }
.menu__close span:nth-child(2) { transform: translateY(-50%) rotate(-45deg); }

/* Селектор с .menu — иначе вертикальные паддинги перебивает шорткат
   padding у .container из медиазапросов ниже по файлу */
.menu > .menu__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: 6px;
  padding-bottom: 4px;
}

/* Пункты растягиваются по свободной высоте, чтобы меню равномерно
   занимало экран, но не выше 72px — иначе на планшетах разъезжается */
.menu__nav { display: flex; flex-direction: column; flex: 1 1 auto; }

.menu__nav > a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 48px;
  max-height: 72px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--graphite);
}

.menu__nav > a b {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--orange);
}

.menu__nav > a .icon {
  width: 18px;
  height: 18px;
  justify-self: end;
  stroke: #C3CAD4;
  transition: transform var(--dur-base) var(--ease-out), stroke var(--dur-fast) var(--ease-swift);
}

.menu__nav > a.is-active { color: var(--orange); }
.menu__nav > a.is-active .icon { stroke: var(--orange); }

.menu__sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 0 14px;
  border-bottom: 1px solid var(--line);
}

.menu__group {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border-radius: var(--radius-s);
  background: var(--bg);
  transition: background var(--dur-fast) var(--ease-swift), box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}

.menu__group img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--white);
  object-fit: contain;
}

.menu__group span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.25;
  color: var(--graphite);
}

.menu__group small {
  display: block;
  margin-top: 3px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11.5px;
  color: var(--muted);
}

.menu__group.is-active { background: #FFF1EA; }
.menu__group.is-active span { color: var(--orange); }

.menu__foot { flex: none; padding-top: 14px; padding-bottom: 4px; }

.menu__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.menu__features li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--radius-s);
  background: var(--bg);
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--text);
}

.menu__features .icon { width: 18px; height: 18px; stroke: var(--orange); }

.menu__contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.menu__phone, .menu__mail { display: flex; align-items: center; gap: 10px; }

.menu__phone {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  color: var(--graphite);
}

.menu__phone small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12.5px;
  color: var(--muted);
}

.menu__mail { font-size: 15px; color: var(--text); }

.menu__phone .icon, .menu__mail .icon {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: var(--orange);
}

/* Кнопка расчета вынесена из скроллящейся области — на низких экранах
   список уезжает под нее, а кнопка остается на виду */
.menu > .menu__action {
  flex: none;
  width: 100%;
  padding-top: 14px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.menu__cta { width: 100%; justify-content: center; }

/* Появление содержимого ступенями — задержка живет только в открытом
   состоянии, поэтому закрывается меню одним движением */
.menu__nav > a,
.menu__sub,
.menu__foot,
.menu__action {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), color var(--dur-fast) var(--ease-swift);
}

.menu.is-open .menu__nav > a,
.menu.is-open .menu__sub,
.menu.is-open .menu__foot,
.menu.is-open .menu__action {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0) * 40ms);
}

.menu__nav > a:active { color: var(--orange); }
.menu__group:active { transform: scale(.98); }

@media (hover: hover) {
  .menu__nav > a:hover { color: var(--orange); }
  .menu__nav > a:hover .icon { transform: translateX(3px); stroke: var(--orange); }
  .menu__group:hover { background: var(--white); box-shadow: var(--shadow); transform: translateY(-2px); }
  .menu__group:hover span { color: var(--orange); }
  .menu__close:hover span { background: var(--orange); }
}

body.is-menu-open { overflow: hidden; }

@media (max-width: 1060px) { .menu { display: flex; } }

/* На планшетах меню не растягиваем во всю ширину — колонка по центру
   и крупнее типографика, иначе это выглядит как увеличенная мобилка */
@media (min-width: 600px) {
  .menu > .menu__body, .menu > .menu__action { max-width: 620px; margin: 0 auto; }
  .menu__nav > a { font-size: 24px; min-height: 62px; max-height: 84px; }
  .menu__nav > a b { font-size: 12px; }
  .menu__nav > a .icon { width: 20px; height: 20px; }
  .menu__sub { gap: 10px; padding: 14px 0 16px; }
  .menu__group { grid-template-columns: 54px minmax(0, 1fr); padding: 10px 12px; }
  .menu__group img { width: 54px; height: 54px; }
  .menu__group span { font-size: 14.5px; }
  .menu__group small { font-size: 12.5px; }
  .menu__features li { font-size: 13px; padding: 12px 14px; }
  .menu__phone { font-size: 22px; }
}

@media (max-width: 430px) {
  .menu__nav > a { font-size: 18px; padding: 10px 0; min-height: 48px; }
  .menu__sub { gap: 8px; }
  .menu__group { grid-template-columns: 42px minmax(0, 1fr); gap: 9px; padding: 7px 9px; }
  .menu__group img { width: 42px; height: 42px; }
  .menu__group span { font-size: 12.5px; }
  .menu__foot { padding-top: 20px; }
}

/* Три колонки чипсов ниже 370px рвут текст на три строки */
@media (max-width: 370px) {
  .menu__features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Sections */

.section { padding: 44px 0; }

.section__label {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 10px;
}

.section__label::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.section__title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(25px, 2.3vw, 30px);
  line-height: 1.18;
  text-transform: uppercase;
  color: var(--graphite);
  letter-spacing: -0.01em;
}

.section__title span { display: block; color: var(--steel); }

.section__lead {
  max-width: 560px;
  margin-top: 18px;
  color: var(--muted);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--orange);
  white-space: nowrap;
  margin-top: 8px;
}

.section__link .icon { stroke: currentColor; transition: transform var(--dur-fast) var(--ease-out); }
.section__link { transition: color var(--dur-fast) var(--ease-swift); }
.section__link:hover { color: #E44100; }
.section__link:hover .icon--arrow { transform: translateX(4px); }

/* Cards */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.card .icon--l { stroke: var(--blue); transition: transform var(--dur-base) var(--ease-out); }

.card,
.product {
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-swift);
}

@media (hover: hover) {
  .card:hover,
  .product:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(16, 21, 25, .10);
    border-color: #D6DDE6;
  }
  .card:hover .icon--l { transform: translateY(-3px); }
  .product:hover .product__photo img { transform: scale(1.04); }
  /* Наведение на карточку подсвечивает её кнопку — иначе непонятно,
     что кликабельна вся карточка */
  .product:hover .btn--ghost { background: var(--blue); color: #fff; }
  .product:hover .btn--ghost .icon--arrow { transform: translateX(3px); }
}

.card__dash {
  width: 26px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--graphite);
  letter-spacing: .02em;
}

.card p { font-size: 14px; color: var(--muted); }

/* Strip (feature row on white plate) */

.strip {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
}

.strip li {
  flex: 1 1 220px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
}

.strip li + li { border-left: 1px solid var(--line); }

.strip .icon { width: 38px; height: 38px; stroke: var(--orange); }

.strip li div b { display: block; font-family: var(--font-head); font-size: 14px; text-transform: uppercase; }
.strip li div span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; margin-top: 3px; }

/* Hero */

.hero { padding: 40px 0 44px; overflow-x: clip; }

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 180px;
  gap: 32px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(27px, 2.5vw, 32px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--graphite);
}

.hero__lead { margin-top: 20px; max-width: 460px; color: var(--muted); font-size: 17px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero__features {
  display: flex;
  flex-wrap: wrap;
  margin-top: 44px;
}

.hero__features li {
  flex: 1 1 120px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--graphite);
  padding-right: 18px;
}

.hero__features li + li { border-left: 1px solid var(--line); padding-left: 18px; }

.hero__features .icon { width: 40px; height: 40px; }

/* Карусель изделий: зона перекрывает колонку спеков и доходит до правого
   края контейнера — ширина ячейки + gap + колонка спеков */
.hero__visual {
  position: relative;
  width: calc(100% + 32px + 180px);
  max-width: none;
  aspect-ratio: 1160 / 912;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}

.hero__slide.is-active { opacity: 1; }

.hero__slide::before {
  content: '';
  position: absolute;
  inset: -5% 0;
  background: var(--hero-drawing) center / contain no-repeat;
  opacity: .2;
}

.hero__slide--coupling { --hero-drawing: url('/assets/img/hero-drawing.webp'); }
.hero__slide--flanged { --hero-drawing: url('/assets/img/hero-drawing-flanged.webp'); }
.hero__slide--check { --hero-drawing: url('/assets/img/hero-drawing-check.webp'); }

.hero__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero__slide.is-active img { animation: hero-img-in 1s cubic-bezier(.16, .84, .28, 1) both; }
.hero__slide.is-active::before { animation: hero-drawing-in 1.3s ease .15s both; }

@keyframes hero-img-in {
  from { opacity: 0; transform: translateX(14%) scale(.92); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-drawing-in {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: .2; transform: none; }
}

/* Массивные изделия не должны заслонять колонку спеков —
   прижимаем их к левой части зоны */
.hero__slide--flanged img,
.hero__slide--check img { width: calc(100% - 200px); object-position: left center; }

.hero__slide--check img { width: calc(100% - 240px); top: 3%; height: 94%; }

.hero__slide--flanged::before,
.hero__slide--check::before { right: 26%; }

.hero__specs-box { display: grid; }

.hero__specs {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero__specs-box > .hero__specs {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity .45s ease;
}

.hero__specs-box > .hero__specs.is-active { opacity: 1; }

.hero__specs li {
  font-size: 14px;
  color: var(--muted);
}

.hero__specs li span {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--graphite);
  margin-bottom: 2px;
}

.hero__stats {
  margin-top: 48px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-wrap: wrap;
}

.hero__stats li {
  flex: 1 1 200px;
  text-align: center;
  padding: 34px 20px;
}

.hero__stats li + li { border-left: 1px solid var(--line); }

.hero__stats b {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--orange);
}

.hero__stats b em { font-style: normal; font-size: 26px; }

.hero__stats i {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--graphite);
  margin-top: 10px;
}

.hero__stats span { display: block; font-size: 14px; color: var(--muted); }

.hero__stats li.is-clone { display: none; }

@keyframes stats-marquee {
  to { transform: translateX(-50%); }
}

/* Появление при скролле: класс .reveal вешает JS (см. main.js), поэтому
   без JS и при prefers-reduced-motion всё видно сразу. После проигрыша
   JS снимает классы, чтобы transition не перебивал ховеры компонентов. */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-slow) var(--ease-out) var(--reveal-delay, 0s),
    transform var(--dur-slow) var(--ease-out) var(--reveal-delay, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  .hero__slide.is-active img,
  .hero__slide.is-active::before { animation: none; }
  .hero__stats { animation: none !important; }
  .hero__stats-wrap { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .product, .card .icon--l, .product__photo img,
  .btn .icon, .section__link .icon { transition: none; }
  .btn:hover, .card:hover, .product:hover { transform: none; }
  .menu, .menu__nav > a, .menu__sub, .menu__foot, .menu__action,
  .menu__nav > a .icon, .menu__group { transition: none; }
  .menu__nav > a:hover .icon { transform: none; }
  .menu__group:hover, .menu__group:active { transform: none; }
}

/* Why */

.why__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.why__grid .card {
  text-align: left;
  align-items: flex-start;
  flex-direction: row;
  gap: 24px;
  padding: 34px 32px;
}

.why__grid .card .icon--l { width: 52px; height: 52px; }

.why__grid .card .card__dash { display: none; }

.why__grid .card__body { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }

.why__grid .card__body::after {
  content: '';
  order: 1;
  width: 26px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
}

.why__grid .card h3 { order: 0; }
.why__grid .card p { order: 2; font-size: 14.5px; }

/* Catalog */

.catalog__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  grid-template-rows: 1fr auto;
  overflow: hidden;
  cursor: pointer;
}

/* Кликабельна вся карточка: ссылка «Подробнее» растягивается на неё
   псевдоэлементом. В разметке остаётся одна настоящая ссылка — не плодим
   дубли на один URL и не ломаем фокус с клавиатуры */
.product__body > .btn::after {
  content: "";
  position: absolute;
  inset: 0;
}

.product__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product__photo img { transition: transform var(--dur-base) var(--ease-out); }

.product__photo img { max-height: 240px; width: auto; }

.product__body {
  padding: 28px 26px 24px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.product__body > .icon { width: 36px; height: 36px; }

.product__body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  color: var(--graphite);
}

.product__body p { font-size: 14px; color: var(--muted); flex: 1; }

.product__specs {
  grid-column: 1 / -1;
  display: flex;
  border-top: 1px solid var(--line);
}

.product__specs li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--graphite);
}

.product__specs li + li { border-left: 1px solid var(--line); }

/* Production */

.production__inner {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.production__photo img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.production__photo { height: 100%; }

.production__steps { display: flex; flex-direction: column; gap: 12px; }

.production__steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 20px 26px;
}

.production__steps b {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 34px;
  color: var(--blue);
  border-right: 1px solid var(--line);
  padding-right: 22px;
  line-height: 1.2;
}

.production__steps .icon { width: 40px; height: 40px; }

.production__steps h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--graphite);
}

.production__steps p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

/* How we work */

.howwe__steps {
  margin-top: 60px;
  display: flex;
  gap: 12px;
  counter-reset: step;
}

.howwe__steps li {
  flex: 1;
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 8px;
}

.howwe__steps li > i:first-child {
  font-style: normal;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  color: #DFE4EA;
  margin-bottom: -34px;
}

.howwe__icon {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.howwe__steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 76px;
  left: calc(50% + 62px);
  width: calc(100% - 124px);
  border-top: 2px dashed #C9D2DC;
}

.howwe__steps h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--graphite);
}

.howwe__steps p { font-size: 13.5px; color: var(--muted); }

/* Docs */

/* Карточка запроса вынесена из section__head, чтобы на узких экранах
   её можно было переставить под список документов */
.docs .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  column-gap: 40px;
  align-items: start;
}

.docs .section__head { grid-column: 1; }
.docs__request { grid-column: 2; grid-row: 1; }
.docs__grid,
.docs__standards,
.docs .strip { grid-column: 1 / -1; }

.docs__request {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.docs__request h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--graphite);
}

.docs__request p { font-size: 14px; color: var(--muted); }

.docs__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.docs__grid .card { text-align: left; align-items: flex-start; }

.docs__file {
  width: 100%;
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.docs__file b { color: var(--orange); font-weight: 700; }
.docs__file .icon { margin-left: auto; stroke: var(--blue); }

a.docs__file { transition: border-color var(--dur-fast) var(--ease-swift), background-color var(--dur-fast) var(--ease-swift); }

@media (hover: hover) {
  a.docs__file:hover { border-color: var(--orange); background: #FFF3EE; }
  a.docs__file:hover .icon--arrow { transform: translateX(3px); }
}

.docs__standards {
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: stretch;
}

.docs__standards > b {
  flex: 0 0 150px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--graphite);
  padding: 26px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
}

.docs__standards ul { display: flex; flex-wrap: wrap; flex: 1; }

.docs__standards ul li {
  flex: 1 1 180px;
  display: flex;
  gap: 10px;
  padding: 22px 18px;
  font-size: 12.5px;
}

.docs__standards ul li + li { border-left: 1px solid var(--line); }

.docs__standards ul li b { display: block; font-size: 13px; color: var(--graphite); }
.docs__standards ul li span { color: var(--muted); }
.docs__standards ul .icon { stroke: var(--orange); }

/* CTA */

.cta { padding: 44px 0 0; }

.cta__plate {
  position: relative;
  isolation: isolate;
  background: var(--graphite);
  border-radius: 20px;
  color: #fff;
  display: grid;
  align-items: center;
  min-height: 340px;
  padding: 44px 52px;
  overflow: hidden;
}

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

.cta__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 60%;
  transform: scale(1.18);
  transform-origin: 100% 60%;
}

/* Плотный слева под текст, разреженный на изделиях, снова плотный у правого
   края — иначе вертикальный стык стены на снимке читается как склейка */
.cta__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(94deg, #0C1115 0%, #0C1115 30%, rgba(12, 17, 21, .9) 44%, rgba(12, 17, 21, .5) 58%, rgba(12, 17, 21, .34) 74%, rgba(12, 17, 21, .5) 100%),
    linear-gradient(180deg, rgba(12, 17, 21, .3) 0%, rgba(12, 17, 21, 0) 45%);
}

.cta__content { position: relative; max-width: 560px; }

.cta__title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(23px, 2.1vw, 27px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.cta__text { margin-top: 14px; opacity: .82; }

.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* Footer */

.footer {
  margin-top: 44px;
  background: var(--graphite);
  color: #B8C0C9;
  border-radius: 20px 20px 0 0;
  padding: 64px 0 28px;
  font-size: 14px;
}

.footer .icon { stroke: var(--orange); }

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr);
  gap: 36px;
}

.footer__logo { width: 150px; margin-bottom: 18px; }

.footer__about p { line-height: 1.6; }

.footer__features { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: 12px; }

.footer__features li { display: flex; align-items: center; gap: 12px; }

.footer__col { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

.footer__col h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}

.footer a { transition: color var(--dur-fast) var(--ease-swift); }
.footer__col a:hover { color: #fff; }

.footer__contact-row { display: flex; gap: 12px; align-items: flex-start; }

.footer__contact-row a { color: #fff; font-weight: 500; }

.footer__contact-row small { color: #88929C; }

.footer__contacts .btn { margin-top: 10px; }

.footer__badges {
  margin-top: 48px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
}

.footer__badges li {
  flex: 1 1 200px;
  display: flex;
  gap: 14px;
  padding: 22px;
  font-size: 12.5px;
}

.footer__badges li + li { border-left: 1px solid rgba(255,255,255,.09); }

.footer__badges .icon { width: 36px; height: 36px; }

.footer__badges b { display: block; color: #fff; font-size: 13px; }

.footer__bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 13px;
  color: #88929C;
}

.footer__bottom a:hover { color: #fff; }

.footer__dev { margin-left: auto; }

/* Stub pages */

.stub { min-height: 46vh; }

/* Каталог: индекс и страницы групп */

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 28px;
}

.crumbs a { transition: color var(--dur-fast) var(--ease-swift); }
.crumbs a:hover { color: var(--orange); }
.crumbs span { color: var(--line); }
.crumbs b { font-weight: 500; color: var(--graphite); }

.catalog--index { padding-top: 48px; }

.catalog--index .product__body h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  color: var(--graphite);
}

.ghero { padding: 48px 0 88px; }

.ghero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.ghero__visual {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.ghero__visual img { max-height: 420px; width: auto; max-width: 100%; object-fit: contain; }

.chips {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chips li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 12px 18px;
  font-size: 14px;
}

.chips li span {
  display: block;
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--steel);
  margin-bottom: 3px;
}

.chips li b { font-weight: 600; color: var(--graphite); white-space: nowrap; }

.ghero .hero__actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }

.model { padding-top: 0; }

.model__title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(21px, 1.9vw, 25px);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--graphite);
  letter-spacing: -0.01em;
}

.model__note { margin-top: 6px; color: var(--muted); font-size: 15px; }

.model__text { margin-top: 18px; max-width: 640px; color: var(--muted); }

.model__grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.model__photo {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

.model__photo img { max-height: 380px; width: auto; max-width: 100%; object-fit: contain; }

.spec-list { margin-top: 22px; }

.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.spec-list li:first-child { border-top: 1px solid var(--line); }
.spec-list li span { color: var(--muted); }
.spec-list li b { font-weight: 600; color: var(--graphite); text-align: right; }

.model__subtitle {
  margin-top: 40px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--graphite);
}

.table-wrap {
  margin-top: 16px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  min-width: 560px;
}

.data-table th,
.data-table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }

.data-table th {
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--steel);
  background: var(--bg);
}

.data-table tbody tr:last-child td { border-bottom: none; }
.data-table td:first-child { font-weight: 600; color: var(--graphite); }

@media (hover: hover) {
  .data-table tbody tr { transition: background-color var(--dur-fast) var(--ease-swift); }
  .data-table tbody tr:hover { background: var(--bg); }
}

.gdocs { padding-top: 0; }

.gdocs__list {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gdocs__file {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  padding: 18px 22px;
  font-size: 14.5px;
  transition:
    transform var(--dur-base) var(--ease-out),
    box-shadow var(--dur-base) var(--ease-out),
    border-color var(--dur-base) var(--ease-swift);
}

@media (hover: hover) {
  .gdocs__file:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(16, 21, 25, .08);
    border-color: #D6DDE6;
  }
}

.gdocs__file > b {
  flex: none;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12.5px;
  color: var(--orange);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
}

.gdocs__name { flex: 1; font-weight: 500; color: var(--graphite); }
.gdocs__size { color: var(--muted); font-size: 13px; white-space: nowrap; }
.gdocs__file .icon { stroke: var(--blue); }

.gphotos { padding-top: 0; }

.gphotos__grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}

.gphotos__grid figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.gphotos__grid img { max-height: 180px; width: auto; max-width: 100%; object-fit: contain; }

.gdev { padding-top: 0; }

.gdev__plate {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px 40px;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.gdev__plate h2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 21px;
  text-transform: uppercase;
  color: var(--graphite);
}

.gdev__plate p { color: var(--muted); }
.gdev__plate .hero__actions { margin-top: 10px; }

@media (max-width: 900px) {
  .ghero { padding: 32px 0 60px; }
  .ghero__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ghero__visual { order: -1; padding: 24px; }
  .ghero__visual img { max-height: 300px; }
  .model__grid { grid-template-columns: minmax(0, 1fr); }
  .model__photo img { max-height: 300px; }
  .gdocs__list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .ghero .hero__actions { flex-direction: column; }
  .ghero .hero__actions .btn { width: 100%; justify-content: center; }
  .chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Двухколоночная плитка узкая: длинные значения вроде «нержавеющая сталь»
     не помещаются в строку и обрезались */
  .chips li b { white-space: normal; }
  .gphotos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gphotos__grid figure { min-height: 150px; padding: 12px; }
  .gphotos__grid img { max-height: 140px; }
  /* Имя файла первой строкой: с «PDF · размер» наверху размер читался
     как подпись к формату, а не к документу */
  .gdocs__file { flex-wrap: wrap; gap: 10px 12px; }
  .gdocs__name { flex-basis: 100%; order: -1; }
}

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

.page-contacts .cta { display: none; }

.chero { padding-top: 48px; }

.chero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.chero__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.chero__card-label {
  font-family: var(--font-head);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel);
}

.chero__card > b {
  display: block;
  margin-top: 8px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 20px;
  color: var(--graphite);
}

.chero__card > p { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.chero__card dl {
  display: flex;
  gap: 10px;
  margin: 18px 0 16px;
}

.chero__card dl div {
  flex: 1 1 0;
  min-width: 0;
  padding: 10px 14px;
  border-radius: var(--radius-s);
  background: var(--bg);
}

.chero__card dt {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--steel);
}

.chero__card dd { margin: 3px 0 0; font-weight: 600; font-size: 14.5px; color: var(--graphite); }

.contacts { padding-top: 0; }

.contacts__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.contacts__card {
  text-align: left;
  align-items: stretch;
  gap: 10px;
  padding: 26px 24px;
}

.contacts__card .icon--l { align-self: flex-start; stroke: var(--orange); }

.contacts__card h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--graphite);
}

.contacts__phones { display: flex; flex-direction: column; gap: 10px; }

.contacts__phones a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--graphite);
  transition: color var(--dur-fast) var(--ease-swift);
}

.contacts__phones span { display: block; margin-top: 1px; font-size: 12.5px; color: var(--muted); }

.contacts__value {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--graphite);
  overflow-wrap: anywhere;
}

.contacts__value--sm { font-size: 14.5px; line-height: 1.45; }
.contacts__value a { transition: color var(--dur-fast) var(--ease-swift); }
.contacts__note { font-size: 13px; color: var(--muted); }

/* Карта */

.cmap__frame {
  position: relative;
  min-height: 460px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.cmap__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Карта перехватывает колесо и свайп, из-за чего страница перестает
   скроллиться. До клика она прикрыта слоем; на десктопе слой возвращается,
   как только курсор уходит с карты */
.cmap__unlock {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0 0 46px;
  border: 0;
  background: rgba(245, 246, 248, .18);
  cursor: pointer;
  transition: opacity var(--dur-base) var(--ease-out);
}

.cmap__unlock span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 21, 25, .78);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
}

.cmap__frame.is-unlocked .cmap__unlock { opacity: 0; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .cmap__unlock { transition: none; }
}

/* Форма обратной связи */

.feedback__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}

.feedback__steps { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }

.feedback__steps li { display: flex; align-items: center; gap: 12px; }

.feedback__steps b {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
}

.feedback__steps span { font-size: 14.5px; color: var(--muted); }

.feedback__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.field--wide { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--steel);
}

.field label i { font-style: normal; color: var(--orange); }

.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--graphite);
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  transition: border-color var(--dur-fast) var(--ease-swift), background var(--dur-fast) var(--ease-swift);
}

.field textarea { resize: vertical; min-height: 108px; }

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--orange);
}

.field.has-error input,
.field.has-error textarea { border-color: #E0483C; background: #FFF6F5; }

.field small,
.field__error { display: block; margin-top: 6px; font-size: 12.5px; color: #C9382C; }

.field--check label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
}

.field--check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--orange);
}

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

.feedback__alert {
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  background: #FFF1EF;
  color: #C9382C;
  font-size: 14px;
}

.feedback__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.feedback__submit {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.feedback__submit span { font-size: 13px; color: var(--muted); }
.feedback__submit a { color: var(--orange); }

.feedback__done {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 34px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feedback__done .icon--l { stroke: var(--orange); }

.feedback__done h3 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 22px;
  text-transform: uppercase;
  color: var(--graphite);
}

.feedback__done p { color: var(--muted); font-size: 15px; }
.feedback__done a { color: var(--orange); }
.feedback__done .btn { color: var(--graphite); }

/* Реквизиты */

.requisites__wrap { margin-top: 24px; }

.requisites__table { width: 100%; border-collapse: collapse; font-size: 14.5px; }

.requisites__table th,
.requisites__table td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }

.requisites__table th {
  width: 34%;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--steel);
  background: var(--bg);
}

.requisites__table td { color: var(--graphite); overflow-wrap: anywhere; }
.requisites__table tr:last-child th,
.requisites__table tr:last-child td { border-bottom: none; }

@media (hover: hover) {
  .contacts__phones a:hover,
  .contacts__value a:hover { color: var(--orange); }
}

@media (max-width: 1160px) {
  .contacts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmap__frame { min-height: 380px; }
}

@media (max-width: 900px) {
  .chero__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feedback__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

@media (max-width: 720px) {
  /* Четыре карточки в столбик давали простыню на 1600px, поэтому
     ниже 720px иконка уходит влево, а контент — в колонку рядом */
  .contacts__grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .contacts__card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    grid-auto-rows: min-content;
    align-items: start;
    gap: 4px 14px;
    padding: 18px 16px;
  }
  .contacts__card .icon--l { grid-row: 1 / span 3; width: 30px; height: 30px; margin-top: 2px; }
  .contacts__card h2 { font-size: 13px; color: var(--steel); }
  .contacts__phones { gap: 8px; margin-top: 2px; }
  .contacts__value { margin-top: 2px; }
  .contacts__note { margin-top: 4px; }
  .cmap__frame { min-height: 360px; }
  .feedback__form { grid-template-columns: minmax(0, 1fr); padding: 20px; gap: 14px; }
  .feedback__submit .btn { width: 100%; justify-content: center; }
  .feedback__submit span { width: 100%; text-align: center; }
  .chero__card { padding: 20px; }
  .requisites__table,
  .requisites__table tbody,
  .requisites__table tr,
  .requisites__table th,
  .requisites__table td { display: block; width: auto; }
  .requisites__table tr { border-bottom: 1px solid var(--line); padding: 12px 16px; }
  .requisites__table tr:last-child { border-bottom: none; }
  .requisites__table th,
  .requisites__table td { border-bottom: none; }
  .requisites__table th { padding: 0; background: none; }
  .requisites__table td { padding: 4px 0 0; font-size: 14px; }
  .requisites__wrap { overflow-x: visible; }
}

@media (max-width: 430px) {
  .chero__card dl { flex-direction: column; gap: 8px; }
  .contacts__phones a { font-size: 16px; }
  .feedback__steps span { font-size: 13.5px; }
  .cmap__frame { min-height: 320px; }
}

/* Документация */

.dhero { padding-top: 48px; }

.dhero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.dhero__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.dhero__card > b {
  display: block;
  margin-top: 8px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 20px;
  line-height: 1.2;
  color: var(--graphite);
}

.dhero__card > p { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.dhero__bundles {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.dhero__bundles .gdocs__file { padding: 14px 16px; background: var(--bg); }
.dhero__bundles .gdocs__name small { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; color: var(--muted); }

.dfiles { padding-top: 0; }

.dgroups {
  margin-top: 44px;
  display: grid;
  gap: 16px;
}

.dgroup {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px 26px;
}

.dgroup__head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.dgroup__head img {
  flex: none;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.dgroup__head > div { flex: 1; min-width: 0; }

.dgroup__head h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--graphite);
}

.dgroup__head p { margin-top: 5px; font-size: 13.5px; color: var(--muted); }
.dgroup__head .section__link { margin-top: 0; }

.dgroup__list { margin-top: 20px; }

.dgroup__note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.dgroup__note a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }

.dformats { padding-top: 0; }

.dformats__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dformats__grid .card { text-align: left; align-items: flex-start; }

.dformats__grid h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dformats__ext {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--orange);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 9px;
}

.dreq { padding-top: 0; }

.dreq__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dreq__card {
  text-align: left;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.dreq__card .icon--l { stroke: var(--orange); }
.dreq__card .tag { position: absolute; top: 26px; right: 26px; }
.dreq__card p { flex: 1; }
.dreq__card .section__link { margin-top: 0; }

.dstd { padding-top: 0; }
.dstd__wrap { margin-top: 28px; }

.dstd__table { width: 100%; border-collapse: collapse; font-size: 14.5px; }

.dstd__table th,
.dstd__table td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }

.dstd__table thead th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel);
  background: var(--bg);
  white-space: nowrap;
}

.dstd__table tbody th {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--graphite);
  white-space: nowrap;
}

.dstd__table td { color: var(--graphite); }
.dstd__what { color: var(--muted); font-size: 13.5px; }
.dstd__table tbody tr:last-child th,
.dstd__table tbody tr:last-child td { border-bottom: none; }

@media (hover: hover) {
  .dstd__table tbody tr { transition: background-color var(--dur-fast) var(--ease-swift); }
  .dstd__table tbody tr:hover { background: var(--bg); }
}

@media (max-width: 1160px) {
  .dformats__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .dhero__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .dreq__grid { grid-template-columns: minmax(0, 1fr); }
  .dgroup__list { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  /* Карточки в столбик на всю ширину дают простыню: иконка уходит влево,
     текст — в колонку рядом (тот же прием, что в .docs__grid на 1160px) */
  .dformats__grid .card,
  .dreq__card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 6px 14px;
    padding: 18px 16px;
    text-align: left;
  }

  .dformats__grid .card > .icon--l,
  .dreq__card > .icon--l {
    grid-row: 1 / span 4;
    width: 34px;
    height: 34px;
    margin-top: 2px;
  }

  .dformats__grid .card > .card__dash { display: none; }
  .dformats__grid .card h3 { font-size: 15px; }
  .dformats__grid .card p,
  .dreq__card p { font-size: 13.5px; line-height: 1.45; }
  .dreq__card h3 { font-size: 15px; }
  .dreq__card .tag { justify-self: start; }
  .dreq__card .section__link { font-size: 14px; }

  .dgroup { padding: 18px 18px 22px; }
  .dgroup__head { flex-wrap: wrap; gap: 12px 14px; }
  .dgroup__head img { width: 48px; height: 48px; }
  .dgroup__head > div { flex: 1 1 60%; }
  .dgroup__head .section__link { flex: 1 0 100%; font-size: 14px; }
  .dgroup__head h3 { font-size: 15px; }
  .dhero__card { padding: 20px; }
  .dreq__card { padding: 20px 18px; }
  .dreq__card .tag { position: static; }
  .dstd__table,
  .dstd__table thead,
  .dstd__table tbody,
  .dstd__table tr,
  .dstd__table th,
  .dstd__table td { display: block; width: auto; }
  .dstd__table thead { display: none; }
  .dstd__table tr { border-bottom: 1px solid var(--line); padding: 14px 16px; }
  .dstd__table tr:last-child { border-bottom: none; }
  .dstd__table th,
  .dstd__table td { border-bottom: none; padding: 0; }
  .dstd__table tbody th { white-space: normal; }
  .dstd__table td { padding-top: 4px; font-size: 14px; }
  .dstd__wrap { overflow-x: visible; }
}

/* Responsive: wide desktops */

@media (min-width: 1400px) {
  :root { --container: 1360px; }

  .header__inner { gap: 32px; }
  .header__logo img { width: 140px; }
  .header__nav { gap: 28px; }

  .section { padding: 50px 0; }
  .hero { padding-bottom: 50px; }
  .hero__title { font-size: 33px; }
  .section__title { font-size: 31px; }
  .cta__title { font-size: 28px; }
  .cta__plate { min-height: 380px; }
  .hero__lead { font-size: 18px; max-width: 500px; }
  .section__lead { max-width: 620px; }
  .hero__inner { gap: 40px; }
  .hero__visual { width: calc(100% + 40px + 180px); }
  .product__photo img { max-height: 270px; }
}

@media (min-width: 1800px) {
  :root { --container: 1690px; }

  body { font-size: 17px; }
  .section { padding: 58px 0; }
  .hero { padding-bottom: 58px; }
  .hero__title { font-size: 44px; }
  .section__title { font-size: 40px; }
  .cta__title { font-size: 34px; }
  .cta__plate { min-height: 430px; }
  .cta__content { max-width: 640px; }
  .hero__lead { font-size: 19px; max-width: 560px; }
  .section__lead { max-width: 700px; }
  .hero__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 210px; gap: 48px; }
  .hero__visual { width: calc(100% + 48px + 210px); }
  .hero__slide--flanged img,
  .hero__slide--check img { width: calc(100% - 240px); }
  .hero__slide--check img { width: calc(100% - 270px); }
  .hero__stats b { font-size: 46px; }
  .card p { font-size: 15px; }
  .production__steps p, .howwe__steps p { font-size: 14.5px; }
  .product__photo img { max-height: 300px; }
  .product__body h3 { font-size: 21px; }
  .product__body p { font-size: 15px; }
}

/* Responsive */

@media (max-width: 1280px) {
  .header__inner { gap: 20px; }
  .header__logo img { width: 122px; }
  .header__nav { gap: 16px; }
  .header__nav a { font-size: 14px; }
}

@media (max-width: 1180px) {
  .header__inner { gap: 16px; }
  .header__logo img { width: 118px; }
  .header__nav { gap: 12px; }
  .header__nav a { font-size: 13px; }
  .header__contact { gap: 14px; }
  .header__phone { font-size: 15px; }
  .header__cta { padding: 11px 16px; font-size: 14px; }
}

/* Ниже ~1160px пять карточек документов не помещаются в ряд и последняя
   уезжает на отдельную строку: список переводится в строки «иконка + текст» */
@media (max-width: 1160px) {
  .docs__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .docs__grid .card {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 5px 14px;
    padding: 16px;
    text-align: left;
  }

  .docs__grid .card:last-child { grid-column: 1 / -1; }
  .docs__grid .card:last-child .docs__file { max-width: 340px; }

  .docs__grid .card > .icon--l {
    grid-row: 1 / span 3;
    width: 34px;
    height: 34px;
    margin-top: 2px;
  }

  .docs__grid .card > .card__dash { display: none; }
  .docs__grid .card h3 { font-size: 14px; line-height: 1.25; }
  .docs__grid .card p { font-size: 13px; line-height: 1.45; }

  .docs__file {
    margin-top: 5px;
    padding: 10px 12px;
    font-size: 12.5px;
    gap: 8px;
  }

  .docs__file .icon--s { width: 18px; height: 18px; }
}

@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .hero__visual { width: 100%; }
  .hero__slide--flanged img,
  .hero__slide--check img { width: 100%; object-position: center; }
  .hero__slide--flanged::before,
  .hero__slide--check::before { right: 4%; }
  .hero__specs-box { grid-column: 1 / -1; }
  .hero__specs { flex-direction: row; flex-wrap: wrap; gap: 16px 40px; }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog__grid { grid-template-columns: minmax(0, 1fr); }
  .cta__photo img { transform: none; object-position: 72% 60%; }
  .cta__photo::after {
    background:
      linear-gradient(96deg, rgba(12, 17, 21, .97) 0%, rgba(12, 17, 21, .9) 46%, rgba(12, 17, 21, .6) 72%, rgba(12, 17, 21, .58) 100%);
  }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Сетка вместо flex-переноса: иначе последняя строка растягивает
     оставшиеся шаги на всю ширину */
  .howwe__steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 16px;
    margin-top: 44px;
  }
  .howwe__steps li { flex: none; }
  .howwe__steps li::after { display: none; }
}

@media (max-width: 1060px) {
  :root { --header-h: 64px; }
  .header__nav { display: none; }
  .header__contact { margin-left: auto; }
  .header__phone { font-size: 16px; }
  .header__burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
  }
  .header__burger span { width: 24px; height: 2.5px; background: var(--graphite); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 900px) {
  .section { padding: 30px 0; }
  .hero { padding-bottom: 30px; }
  .section__head { flex-direction: column; }

  /* Документация: столбцы-карточки без десктопной сетки растягивались
     на три экрана — ниже 900px весь блок строится из строк
     «иконка + текст», а карточка запроса уходит под список документов */
  .docs .container { display: flex; flex-direction: column; align-items: stretch; }
  .docs .section__head { order: 1; }
  .docs__grid { order: 2; }
  .docs__request { order: 3; }
  .docs__standards { order: 4; }
  .docs .strip { order: 5; }

  .docs .section__lead { margin-top: 12px; font-size: 15px; }

  .docs__grid { margin-top: 24px; }

  /* Запрос документа встаёт под список — тот же строчный формат,
     но с акцентом, иначе читается как шестой документ */
  .docs__request {
    margin-top: 12px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 5px 14px;
    padding: 16px;
    background: #FFF7F3;
    border-color: #F7D8C7;
  }

  .docs__request > .icon--l {
    grid-row: 1 / span 3;
    width: 34px;
    height: 34px;
    margin-top: 2px;
    stroke: var(--orange);
  }

  .docs__request h3 { font-size: 14px; line-height: 1.25; }
  .docs__request p { font-size: 13px; line-height: 1.45; }
  .docs__request .section__link { margin-top: 7px; font-size: 14px; }

  .docs__standards { flex-direction: column; margin-top: 16px; }

  .docs__standards > b {
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex-basis: auto;
    padding: 13px 16px;
    font-size: 12.5px;
    letter-spacing: .04em;
  }

  .docs__standards ul li {
    flex-basis: 100%;
    padding: 13px 16px;
    gap: 10px;
    font-size: 12.5px;
  }

  .docs__standards ul li + li { border-left: none; border-top: 1px solid var(--line); }
  .docs__standards ul li b { font-size: 12.5px; line-height: 1.3; }
  .docs__standards ul li span { display: block; line-height: 1.4; margin-top: 2px; }
  .docs__standards ul .icon--s { width: 17px; height: 17px; margin-top: 2px; }

  /* В этом стрипе у пунктов заголовок и описание: узкими колонками
     текст рвётся на четыре строки, строками читается лучше */
  .docs .strip {
    margin-top: 16px;
    background: none;
    border: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .docs .strip li,
  .docs .strip li + li {
    flex-direction: row;
    align-items: flex-start;
    gap: 13px;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 13.5px;
  }

  .docs .strip .icon { width: 30px; height: 30px; margin-top: 1px; }
  .docs .strip li div span { margin-top: 1px; }
  .production__inner { grid-template-columns: minmax(0, 1fr); }
  .production__photo img { max-height: 380px; }
}

@media (max-width: 720px) {
  :root { --header-h: 60px; }
  .header__phone { display: none; }
  .header__cta { padding: 10px 16px; font-size: 14px; }
  .why__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { order: -1; width: 100%; max-width: 420px; margin: 0 auto; }
  .hero__specs-box { display: none; }

  .hero__actions { flex-direction: column; }
  .hero__actions .btn, .cta__actions .btn { width: 100%; justify-content: center; }
  .cta__actions { flex-direction: column; }

  .hero__features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 36px; }
  .hero__features li {
    padding: 14px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    gap: 8px;
    font-size: 13px;
  }
  .hero__features li + li { border-left: 1px solid var(--line); padding-left: 14px; }
  .hero__features .icon { width: 34px; height: 34px; }

  /* Цифры — бегущая строка карточек во всю ширину экрана */
  .hero__stats-wrap { overflow: hidden; padding: 0; max-width: none; }
  .hero__stats {
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    flex-wrap: nowrap;
    width: max-content;
    margin-top: 40px;
    animation: stats-marquee 22s linear infinite;
  }
  .hero__stats li {
    flex: none;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 30px;
    margin-right: 12px;
  }
  .hero__stats li + li { border: 1px solid var(--line); }
  .hero__stats li.is-clone { display: block; }
  .hero__stats b { font-size: 34px; }

  .strip { background: none; border: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .strip li,
  .strip li + li {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 13px;
  }
  .strip .icon { width: 32px; height: 32px; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product__body { padding: 0 24px 24px; }
  .product__photo img { max-height: 200px; }
  /* Процесс на узких экранах — вертикальная лента: пять кругов в столбик
     занимали почти три экрана */
  .howwe__steps {
    display: block;
    margin-top: 34px;
    position: relative;
  }

  .howwe__steps li {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    gap: 0 16px;
    text-align: left;
    padding: 0 0 26px;
  }

  .howwe__steps li:last-child { padding-bottom: 0; }

  .howwe__steps li::before {
    content: '';
    position: absolute;
    left: 26px;
    top: 60px;
    bottom: -6px;
    border-left: 2px dashed #C9D2DC;
  }

  .howwe__steps li:last-child::before { display: none; }

  .howwe__icon {
    width: 54px;
    height: 54px;
    grid-row: 1 / span 3;
  }

  .howwe__icon .icon--l { width: 26px; height: 26px; }

  .howwe__steps li > i:first-child {
    grid-column: 2;
    font-size: 12px;
    letter-spacing: .1em;
    color: var(--orange);
    margin: 0 0 4px;
    align-self: end;
  }

  .howwe__steps li .card__dash { display: none; }

  .howwe__steps h3 { grid-column: 2; font-size: 15px; }
  .howwe__steps p { grid-column: 2; margin-top: 5px; }
  .cta__plate { min-height: 0; padding: 36px 28px; }
  .cta__content { max-width: none; }
  .cta__photo::after {
    background:
      linear-gradient(180deg, rgba(12, 17, 21, .95) 0%, rgba(12, 17, 21, .88) 55%, rgba(12, 17, 21, .8) 100%);
  }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__badges li { flex-basis: 100%; }
  .footer__badges li + li { border-left: none; border-top: 1px solid rgba(255,255,255,.09); }
  /* Один столбец: две колонки строк ниже 720px уже нечитаемы */
  .docs .section__lead { font-size: 14.5px; }
  .docs__grid { margin-top: 22px; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .docs__grid .card:last-child .docs__file { max-width: none; }
  .docs .strip { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .docs .strip li,
  .docs .strip li + li { padding: 13px 16px; font-size: 13px; }
  .docs .strip .icon { width: 28px; height: 28px; }
  .footer__dev { margin-left: 0; }
}

@media (max-width: 430px) {
  .docs .section__title { font-size: 23px; }
  .docs .section__lead { font-size: 14px; }
  .docs__grid .card,
  .docs__request { padding: 14px; grid-template-columns: 34px minmax(0, 1fr); gap: 4px 12px; }
  .docs__grid .card > .icon--l,
  .docs__request > .icon--l { width: 30px; height: 30px; }
  .docs__grid .card p,
  .docs__request p { font-size: 12.5px; }
  .docs__standards > b,
  .docs__standards ul li { padding-left: 14px; padding-right: 14px; }
  .docs .strip li,
  .docs .strip li + li { padding: 12px 14px; gap: 12px; }
  :root { --header-h: 56px; }
  .header__inner { gap: 12px; }
  .header__logo img { width: 108px; }
  .header__cta { padding: 9px 14px; font-size: 13.5px; }
  .header__cta .icon--s { display: none; }
}

/* Ниже ~370px шапка (логотип + CTA + бургер) перестает помещаться
   в контейнер и распирает страницу по горизонтали */
@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .header__inner { gap: 10px; }
  .header__logo img { width: 100px; }
  .header__contact { gap: 10px; }
  .header__cta { padding: 9px 13px; font-size: 13px; }
  .header__burger { padding: 6px; }

  /* Ниже ~350px строки «Производства» и характеристики карточек
     не сжимаются до ширины контейнера и распирают страницу */
  .production__steps li { gap: 14px; padding: 16px 14px; }
  .production__steps b { font-size: 26px; padding-right: 12px; }
  .production__steps .icon { width: 32px; height: 32px; }
  .product__specs li { padding: 14px 16px; gap: 8px; font-size: 13px; }
}

@media (max-width: 360px) {
  .header__logo img { width: 92px; }
  .header__cta-full { display: none; }
  .header__cta-short { display: inline; }
}
