/* ==========================================================================
   ООО «ПИК» — промышленный сервис, Владимир
   Индустриальная тема: графит + сигнальный оранжевый
   ========================================================================== */

:root {
  --bg:        #F5F6F7;
  --bg-alt:    #ECEEF0;
  --text:      #1A1D21;
  --text-mute: #5A6169;
  --dark:      #1F2429;
  --dark-2:    #2A3037;
  --accent:    #FF6B1A;
  --accent-dk: #E55A0D;
  --line:      #D3D7DC;
  --line-dark: #3A424B;

  --font-head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1200px;
  --gap: 24px;
}

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

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

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(28px, 4.4vw, 46px); }
h2 { font-size: clamp(24px, 3.2vw, 34px); }
h3 { font-size: clamp(18px, 2.2vw, 22px); text-transform: none; }
p  { margin: 0 0 1em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.2em; }
li { margin-bottom: .4em; }

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

.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid transparent;
  border-radius: 0;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s linear, color .15s linear, border-color .15s linear;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover, .btn--primary:focus { background: var(--accent-dk); color: #fff; }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover, .btn--ghost:focus { border-color: var(--accent); color: var(--accent); }

.btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn--outline:hover, .btn--outline:focus { background: var(--text); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  background: var(--dark);
  color: #fff;
  position: relative;
  z-index: 50;
  border-bottom: 3px solid var(--accent);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  flex-shrink: 0;
}
.logo:hover { color: #fff; }
.logo__mark {
  width: 42px; height: 42px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 17px;
  letter-spacing: .04em;
  color: #fff;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
/* Название длинное — переносим в две строки. max-width задаёт точку переноса,
   поэтому строка не растягивает шапку и не выдавливает меню. */
.logo__name {
  font-family: var(--font-head);
  font-size: 15px;
  line-height: 1.1;
  letter-spacing: .03em;
  text-transform: uppercase;
  max-width: 215px;
}
.logo__desc { font-size: 10px; color: #99A2AC; letter-spacing: .04em; text-transform: uppercase; margin-top: 3px; }

.nav { margin-left: auto; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-list > li { margin: 0; position: relative; }
.nav-link, .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  color: #E4E7EA;
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font-weight: 400;
  cursor: pointer;
}
.nav-link:hover, .nav-toggle:hover,
.nav-link:focus, .nav-toggle:focus { color: var(--accent); border-bottom-color: var(--accent); }
.nav-link.is-current { color: #fff; border-bottom-color: var(--accent); }

.nav-toggle__chevron { width: 10px; height: 10px; transition: transform .15s linear; }
.nav-item--has-sub.is-open .nav-toggle__chevron { transform: rotate(180deg); }

.submenu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px;
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--accent);
  display: none;
}
.nav-item--has-sub.is-open > .submenu { display: block; }
.submenu li { margin: 0; }
.submenu a {
  display: block;
  padding: 10px 18px;
  color: #D8DCE1;
  font-size: 15px;
  line-height: 1.35;
  border-left: 3px solid transparent;
}
.submenu a:hover, .submenu a:focus {
  color: #fff;
  background: #343B44;
  border-left-color: var(--accent);
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #fff;
  flex-shrink: 0;
  margin-left: 12px;
}
.header-phone strong {
  font-family: var(--font-head);
  font-size: 20px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.header-phone span { font-size: 11px; color: #99A2AC; text-transform: uppercase; letter-spacing: .05em; }
.header-phone:hover strong { color: var(--accent); }

/* Телефон внутри меню — только в мобильной раскладке.
   Объявлено здесь, до медиазапросов: иначе правило перебивает display:block. */
.mobile-phone { display: none; }

.burger {
  display: none;
  width: 46px; height: 46px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--line-dark);
  cursor: pointer;
  padding: 0;
  position: relative;
}
.burger span, .burger span::before, .burger span::after {
  position: absolute;
  left: 50%;
  width: 22px; height: 2px;
  background: #fff;
  transform: translateX(-50%);
  transition: transform .18s linear, opacity .18s linear;
  content: "";
}
.burger span { top: 50%; margin-top: -1px; }
.burger span::before { top: -7px; left: 0; transform: none; }
.burger span::after  { top:  7px; left: 0; transform: none; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(7px) rotate(45deg); }
.burger.is-open span::after  { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--tight { padding: 52px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #fff; }

.section-head { max-width: 780px; margin-bottom: 40px; }
.section-head p { color: var(--text-mute); margin: 0; }
.section--dark .section-head p { color: #A9B1BA; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 26px; height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--dark);
  color: #fff;
  padding: 84px 0 0;
  position: relative;
  overflow: hidden;

  /* TODO: заменить на фото реального объекта заказчика.
     Файл: /assets/img/hero.jpg — 1600px по ширине, ~200 КБ.
     Готовить фото не нужно: .hero__media сам обесцветит и утопит его в фон. */
  --hero-image: url("/assets/img/hero.jpg");
}

/* Слой с фотографией. Без --hero-image блок пустой и ничего не грузит. */
.hero__media {
  position: absolute;
  inset: 0;
  background-image: var(--hero-image, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* Плоское затемнение вместо градиента: фото уходит в фон, текст остаётся читаемым.
     Прозрачность подобрана по контрасту: на самых светлых участках фото
     подзаголовок держит ~4.7:1, то есть проходит WCAG AA. Выше .22 не поднимать. */
  opacity: .2;
  filter: grayscale(1) contrast(1.05);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__inner { max-width: 900px; padding-bottom: 56px; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero__sub {
  font-size: clamp(17px, 2vw, 20px);
  color: #B7BFC8;
  max-width: 720px;
  margin-bottom: 32px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  position: relative;
  z-index: 1;
}
.hero__badges div {
  padding: 22px 24px 26px;
  font-size: 15px;
  color: #C6CDD4;
  border-right: 1px solid var(--line-dark);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.hero__badges div:last-child { border-right: 0; }
.hero__badges div::before {
  content: "";
  flex: 0 0 auto;
  width: 10px; height: 10px;
  background: var(--accent);
  margin-top: 7px;
}

/* Компактный hero внутренних страниц */
.page-hero {
  background: var(--dark);
  color: #fff;
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--line-dark);
}
.page-hero h1 { color: #fff; margin-bottom: 18px; }
.page-hero__lead {
  font-size: clamp(17px, 1.9vw, 19px);
  color: #B7BFC8;
  max-width: 780px;
  margin: 0;
}

.breadcrumbs { margin-bottom: 26px; font-size: 14px; color: #8D959E; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #5E666F; }
.breadcrumbs a { color: #8D959E; }
.breadcrumbs a:hover { color: var(--accent); }

/* ---------- Карточки услуг ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.cards--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px 24px 26px;
  position: relative;
  color: var(--text);
  transition: border-color .15s linear;
}
.card::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease-out;
}
.card:hover, .card:focus-within { border-color: #B9BFC6; color: var(--text); }
.card:hover::before, .card:focus-within::before { transform: scaleX(1); }

.card__icon { color: var(--dark); margin-bottom: 18px; }
.card__icon svg { width: 44px; height: 44px; display: block; }
.card:hover .card__icon { color: var(--accent); }

.card__title {
  font-family: var(--font-head);
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.card__text { font-size: 15px; color: var(--text-mute); margin: 0 0 20px; }
.card__more {
  margin-top: auto;
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
}
.card__more::after { content: " →"; }
.card__link { position: absolute; inset: 0; }

/* ---------- Текстовые блоки ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Форма на странице услуги «едет» вместе с длинным текстом слева */
@media (min-width: 901px) {
  .form-sticky { position: sticky; top: 24px; }
}

.prose { max-width: 820px; }
.prose h2 { margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: .55em;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 10px; height: 2px;
  background: var(--accent);
}

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.fact { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.fact strong { display: block; font-family: var(--font-head); font-size: 30px; line-height: 1.1; }
.fact span { font-size: 15px; color: var(--text-mute); }

/* ---------- Клиенты ---------- */
.clients-group + .clients-group { margin-top: 28px; }
.clients-group__title {
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 14px;
}
.client-plates { display: flex; flex-wrap: wrap; gap: 12px; }
/* Плашка клиента. Пока логотипа нет — внутри текст названия.
   Замена на официальный файл, правка CSS не нужна:
   <div class="client-plate"><img src="/assets/img/clients/hochtief.svg" alt="Hochtief"></div> */
.client-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  min-width: 168px;
  padding: 10px 22px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  color: #3C434B;
}

/* Логотипы у всех разные по цвету, весу и пропорциям. Приводим к одному виду:
   обесцвечиваем и приглушаем, в цвет возвращаем по наведению. Иначе пёстрый
   ряд чужих брендов перетягивает внимание с самого сайта. */
.client-plate img {
  max-height: 40px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .72;
  transition: filter .15s linear, opacity .15s linear;
}
.client-plate:hover img { filter: none; opacity: 1; }

/* ---------- Как мы работаем ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.step { border-top: 3px solid var(--dark); padding-top: 20px; }
.step__num {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.step h3 { font-family: var(--font-head); text-transform: uppercase; font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--text-mute); margin: 0; }

/* ---------- CTA-блок ---------- */
.cta-band { background: var(--dark); color: #fff; padding: 60px 0; }
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; max-width: 640px; }
.cta-band p { color: #B7BFC8; margin: 0; max-width: 620px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Форма ---------- */
.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 32px;
}
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  margin-bottom: 7px;
}
.form-row .req { color: var(--accent); }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  border-radius: 0;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.form-row textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 13px; color: var(--text-mute); margin: 14px 0 0; }
.form-error {
  display: none;
  background: #FDE8DC;
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  font-size: 15px;
  margin-bottom: 20px;
}
.form-error.is-shown { display: block; }
/* honeypot — прячем от людей, оставляем ботам */
.hp-field {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.contacts-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contacts-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}
.contacts-list .lbl {
  font-family: var(--font-head);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.contacts-list .val { font-size: 19px; font-weight: 500; }
.contacts-list .val a:hover { color: var(--accent); }

.map-placeholder {
  border: 1px solid var(--line);
  background: var(--bg-alt) repeating-linear-gradient(
    45deg, transparent, transparent 12px, rgba(0,0,0,.03) 12px, rgba(0,0,0,.03) 24px);
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  color: var(--text-mute);
}

/* ---------- Отзывы (заглушка) ---------- */
.reviews-placeholder {
  border: 1px dashed var(--line);
  background: #fff;
  padding: 40px 28px;
  text-align: center;
  color: var(--text-mute);
}

/* ---------- Подвал ---------- */
.site-footer { background: var(--dark); color: #A9B1BA; padding: 56px 0 0; font-size: 15px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.site-footer h4 {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #A9B1BA; }
.site-footer a:hover { color: var(--accent); }
.footer-about p { margin-bottom: 14px; max-width: 380px; }
.footer-phone {
  font-family: var(--font-head);
  font-size: 24px;
  color: #fff !important;
  display: inline-block;
  margin-bottom: 6px;
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #79818B;
}

/* ---------- Dev-заглушки для [ПРОВЕРИТЬ] ---------- */
.dev-todo { display: none; }
html[data-dev] .dev-todo {
  display: block;
  background: #FFF3CD;
  border: 1px dashed #D39E00;
  color: #6B4E00;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.5;
  padding: 10px 14px;
  margin: 12px 0;
  text-transform: none;
  letter-spacing: 0;
}
html[data-dev] span.dev-todo { display: inline; padding: 2px 6px; margin: 0 0 0 6px; }
.dev-todo__label {
  display: inline-block;
  background: #D39E00;
  color: #fff;
  font-weight: 700;
  padding: 0 6px;
  margin-right: 8px;
}

/* ---------- Анимации ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .45s ease-out, transform .45s ease-out;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .header-inner { gap: 12px; }
  .nav-link, .nav-toggle { padding: 10px 10px; font-size: 14px; }
  .header-phone strong { font-size: 18px; }
}

@media (max-width: 900px) {
  .cards, .cards--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero__badges { grid-template-columns: 1fr; }
  .hero__badges div { border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 16px 0; }
  .hero__badges div:last-child { border-bottom: 0; }
  .facts { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 52px 0; }
  .header-inner { min-height: 66px; flex-wrap: wrap; }

  .burger { display: block; }
  .header-phone { display: none; }

  /* Логотип ужимаем, чтобы бургер остался в одной строке с ним */
  .logo { min-width: 0; flex-shrink: 1; gap: 10px; }
  .logo__mark { width: 36px; height: 36px; font-size: 14px; }
  /* На мобильном название сознательно переносим в две строки: так логотип
     остаётся узким и бургер не срывается на отдельную строку. */
  .logo__name { font-size: 12px; max-width: 150px; }
  .logo__desc { font-size: 9px; }

  .nav {
    display: none;
    order: 10;
    width: calc(100% + 40px);
    margin: 0 -20px;
    border-top: 1px solid var(--line-dark);
    background: var(--dark);
  }
  .nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line-dark); }
  .nav-link, .nav-toggle {
    width: 100%;
    padding: 15px 20px;
    justify-content: space-between;
    border-bottom: 0;
    font-size: 16px;
  }
  .nav-link:hover, .nav-toggle:hover { border-bottom: 0; }
  .nav-link.is-current { border-bottom: 0; color: var(--accent); }
  .submenu {
    position: static;
    min-width: 0;
    border: 0;
    border-top: 1px solid var(--line-dark);
    background: #191D22;
    padding: 4px 0;
  }
  .submenu a { padding: 12px 20px 12px 32px; }

  .mobile-phone {
    display: block;
    padding: 16px 20px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-head);
    font-size: 19px;
    text-align: center;
  }
  .mobile-phone:hover { color: #fff; }

  .hero { padding-top: 52px; }
  .hero__inner { padding-bottom: 40px; }
  .hero__actions .btn, .cta-band__actions .btn { width: 100%; }
  .cards, .cards--3, .steps { grid-template-columns: 1fr; }
  .form-wrap { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
}

/* Самые узкие экраны: подпись под названием убираем, логотип сжимаем ещё —
   иначе бургер не помещается в одну строку с ним. */
@media (max-width: 400px) {
  .logo__desc { display: none; }
  .logo__name { font-size: 11.5px; max-width: 132px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .form-wrap { display: none; }
  body { background: #fff; font-size: 12pt; }
}
