/* ==========================================================================
   ДорСтрой АБ — style.css
   1. Переменные, сброс, типографика, контейнер, кнопки, формы
   2. Шапка, навигация, бургер, мобильное меню, подвал
   3. Секции
   4. Медиазапросы, доступность, печать
   ========================================================================== */

/* --------------------------------------------------------------------------
   1.1 ПЕРЕМЕННЫЕ
   -------------------------------------------------------------------------- */
:root {
  --ink:        #00000A;
  --ink-2:      #14141C;
  --paper:      #FAFAFA;
  --paper-2:    #F6F6F6;
  --white:      #FFFFFF;
  /* --red — декоративный акцент (полосы, маркеры, иконки, подчёркивания).
     Для ТЕКСТА и заливок под белым текстом только --red-700: #EF3829 даёт
     3.99:1 и на белом, и в паре «белое на красном» — ниже нормы AA 4.5:1. */
  --red:        #EF3829;
  --red-700:    #C82A1D;
  --red-800:    #A62115;
  --muted:      #6E6E78;
  --muted-dark: #9A9AA4;
  --line:       #E2E2E4;
  --line-dark:  #1F1F24;
  --overlay:    rgba(0, 0, 10, .55);
  --tile:       #1A1A1E;
  --foot-link:  #C9C9CF;

  --font-head: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  --container: 1244px;
  --pad:       24px;
  --gap:       24px;

  --sec-y:     112px;
  --hdr-h:     96px;

  --t:         160ms ease;
}

/* --------------------------------------------------------------------------
   1.2 СБРОС
   -------------------------------------------------------------------------- */

/* Критично: класс с display перебивает браузерное [hidden]. */
[hidden] { display: none !important; }

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

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

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

a { color: inherit; text-decoration: none; transition: color var(--t); }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  margin: 0;
}
button { background: none; border: 0; padding: 0; cursor: pointer; }

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--red-700);
  color: #FFF;
  padding: 12px 20px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.skip-link:focus { left: 0; }

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

/* --------------------------------------------------------------------------
   1.3 ТИПОГРАФИКА
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  color: var(--ink);
  overflow-wrap: break-word;
}

/* Mobile-first: базовые кегли — для 360px, дальше растут по медиазапросам */
h1, .h1 { font-size: 34px; }
h2, .h2 { font-size: 28px; font-weight: 800; }
h3, .h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
h4      { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }

p { font-size: 17px; line-height: 1.65; }

.lead { font-size: 20px; line-height: 1.55; }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--dark { color: var(--muted-dark); }
.eyebrow--red  { color: var(--red-700); }

.c-red   { color: var(--red-700); }
.c-muted { color: var(--muted); }
/* Приглушённый текст на тёмных подложках: #6E6E78 даёт там 3.6–4.2:1. */
.ask .c-muted, .form--dark .c-muted, .about__panel .c-muted { color: var(--muted-dark); }
.err .eyebrow { color: #FFF; }
.num     { font-family: var(--font-head); font-weight: 800; font-variant-numeric: tabular-nums; }

.text-body p + p { margin-top: 18px; }
.text-body a { color: var(--red-700); text-decoration: underline; text-underline-offset: 3px; }
.text-body a:hover { color: var(--red-800); }

.list-marked { margin-top: 18px; }
.list-marked li {
  position: relative;
  padding-left: 22px;
  font-size: 17px;
  line-height: 1.6;
}
.list-marked li + li { margin-top: 10px; }
.list-marked li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 6px; height: 6px;
  background: var(--red);
}
.list-marked--dark li { color: var(--muted-dark); }

.list-num { counter-reset: n; margin-top: 18px; }
.list-num li {
  counter-increment: n;
  position: relative;
  padding-left: 34px;
  font-size: 17px;
}
.list-num li + li { margin-top: 12px; }
.list-num li::before {
  content: counter(n, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  color: var(--red-700);
}

/* --------------------------------------------------------------------------
   1.4 КОНТЕЙНЕР И СЕКЦИИ
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--pad) * 2);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.section { padding: var(--sec-y) 0; }
.section--paper { background: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #FFF; }
.section--dark h2, .section--dark h3 { color: #FFF; }
.section--tight { padding: 72px 0; }
.section--flush { padding: 0; }

.section__head { margin-bottom: 44px; }
.section__head .eyebrow { margin-bottom: 14px; }
.section__head p { margin-top: 24px; max-width: 780px; color: var(--muted); }
.section--dark .section__head p { color: var(--muted-dark); }

.section__foot { margin-top: 40px; }

/* Красная вертикальная черта — фирменный приём */
.redbar {
  position: relative;
  padding-left: 28px;
}
.redbar::before {
  content: "";
  position: absolute;
  left: 0; top: 2px; bottom: 2px;
  width: 4px;
  background: var(--red);
}

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* Ломающие контейнер полосы */
.fullbleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* --------------------------------------------------------------------------
   1.5 КНОПКИ И ССЫЛКИ
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 0;
  border: 0;
  padding: 17px 34px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--t), color var(--t), border-color var(--t);
}

.btn--primary { background: var(--red-700); color: #FFF; }
.btn--primary:hover { background: var(--red-800); color: #FFF; }
.btn--primary:active { background: var(--red-800); transform: translateY(1px); }

.btn--ghost {
  background: transparent;
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, .55);
}
.btn--ghost:hover { background: #FFF; color: var(--ink); border-color: #FFF; }
.btn--ghost:active { transform: translateY(1px); }

.btn--dark { background: var(--ink); color: #FFF; }
.btn--dark:hover { background: var(--ink-2); }

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

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-700);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.tlink .ico { transition: transform var(--t); }
.tlink:hover { color: var(--red-800); }
.tlink:hover .ico { transform: translateX(4px); }
.tlink--on-dark { color: var(--red); }
.tlink--white { color: #FFF; }
.tlink--white:hover { color: var(--red); }

/* Прямоугольный красный селект */
.select-red {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 0;
  background-color: var(--red-700);
  color: #FFF;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 14px 44px 14px 18px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2'%3E%3Cpolyline points='6 9 12 16 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.select-red:hover { background-color: var(--red-700); }

/* --------------------------------------------------------------------------
   1.6 ФОРМЫ
   -------------------------------------------------------------------------- */

.form__row + .form__row { margin-top: 16px; }

.form__label {
  display: block;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.form__input {
  display: block;
  width: 100%;
  border-radius: 0;
  border: 1px solid var(--line);
  background: #FFF;
  color: var(--ink);
  padding: 15px 16px;
  font-size: 16px;
  transition: border-color var(--t);
}
.form__input::placeholder { color: var(--muted); }
.form__input:hover { border-color: var(--muted); }
textarea.form__input { resize: vertical; min-height: 96px; }

.form--dark .form__label { color: var(--muted-dark); }
.form--dark .form__input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #FFF;
}
.form--dark .form__input::placeholder { color: var(--muted-dark); }
.form--dark .form__input:hover { border-color: rgba(255, 255, 255, .5); }

.form .btn { margin-top: 22px; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}
.check input {
  flex: 0 0 auto;
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--red);
  border-radius: 0;
}
.check a { color: var(--red-700); text-decoration: underline; text-underline-offset: 2px; }
.form--dark .check { color: var(--muted-dark); }

.form__ok {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--red-700);
  color: #FFF;
  font-size: 14px;
}

.file-field {
  display: block;
  border: 1px dashed var(--line);
  padding: 15px 16px;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

/* ==========================================================================
   2. ШАПКА, НАВИГАЦИЯ, БУРГЕР, МОБИЛЬНОЕ МЕНЮ, ПОДВАЛ
   ========================================================================== */

/* --------------------------------------------------------------------------
   2.1 ШАПКА
   -------------------------------------------------------------------------- */

.hdr {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: #FFF;
}

.hdr__in {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}

.logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #FFF;
}
.logo__mark { flex: 0 0 auto; display: block; }
.logo__text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.logo__ab { color: var(--red); }
.logo:hover .logo__text { color: #FFF; }

.nav { display: none; flex: 1 1 auto; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 26px; }
.nav__item { position: static; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 34px 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: #FFF;
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 28px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link--btn { cursor: pointer; }
.nav__caret { display: inline-flex; transition: transform var(--t); }
.nav__link--btn[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }
.nav__link--btn[aria-expanded="true"]::after { transform: scaleX(1); }

.hdr__aside {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.hdr__phone {
  display: none;
  align-items: center;
  gap: 8px;
  color: #FFF;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  white-space: nowrap;
}
.hdr__phone:hover { color: var(--red-700); }
.hdr__phone-ico { display: none; color: var(--red); }

.hdr__cta { display: none; }

/* --------------------------------------------------------------------------
   2.2 МЕГА-МЕНЮ
   -------------------------------------------------------------------------- */

.mega {
  position: absolute;
  left: 0; right: 0;
  top: 100%;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
  box-shadow: 0 0 0 100vmax rgba(0, 0, 10, .35);
  clip-path: inset(0 -100vmax -100vmax -100vmax);
}
.mega__in { padding: 34px 24px 40px; }
.mega__title { margin-bottom: 22px; }

.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 2px;
}

.mega__link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--foot-link);
  font-size: 15px;
}
.mega__link:hover { color: #FFF; }
.mega__link-price {
  flex: 0 0 auto;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--muted-dark);
  white-space: nowrap;
}
.mega__link:hover .mega__link-price { color: var(--red-700); }
.mega__all { margin-top: 26px; }

/* --------------------------------------------------------------------------
   2.3 БУРГЕР
   -------------------------------------------------------------------------- */

.burger {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  align-items: flex-end;
}
.burger__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #FFF;
  transition: transform var(--t), opacity var(--t);
}
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   2.4 МОБИЛЬНАЯ ПАНЕЛЬ
   -------------------------------------------------------------------------- */

.mpanel {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  color: #FFF;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mpanel__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line-dark);
}
.mpanel__logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
}
.mpanel__close { color: #FFF; display: inline-flex; }
.mpanel__close:hover { color: var(--red); }

.mpanel__nav { flex: 1 1 auto; padding: 20px var(--pad); }
.mpanel__item { border-bottom: 1px solid var(--line-dark); }

.mpanel__link,
.mpanel__acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.01em;
  color: #FFF;
  text-align: left;
}
.mpanel__link:hover, .mpanel__acc-btn:hover { color: var(--red); }
.mpanel__acc-btn[aria-expanded="true"] span { transform: rotate(180deg); }
.mpanel__acc-btn span { display: inline-flex; transition: transform var(--t); }

.mpanel__sub { padding: 0 0 16px; }
.mpanel__sub li + li { margin-top: 2px; }
.mpanel__sub a {
  display: block;
  padding: 9px 0 9px 16px;
  border-left: 2px solid var(--line-dark);
  color: var(--foot-link);
  font-size: 15px;
}
.mpanel__sub a:hover { color: #FFF; border-left-color: var(--red); }

.mpanel__foot {
  flex: 0 0 auto;
  padding: 24px var(--pad) 34px;
  border-top: 1px solid var(--line-dark);
}
.mpanel__phone {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 26px;
  color: #FFF;
}
.mpanel__phone:hover { color: var(--red); }
.mpanel__hours {
  margin: 6px 0 18px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* --------------------------------------------------------------------------
   2.5 КРОШКИ И ПОЛОСА ПОДРАЗДЕЛА
   -------------------------------------------------------------------------- */

.crumbs { background: var(--ink); color: var(--muted-dark); }
.crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 13px 0;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.crumbs__item { display: inline-flex; align-items: center; gap: 8px; }
.crumbs__item a:hover { color: #FFF; }
.crumbs__item [aria-current] { color: #FFF; }
.crumbs__sep { display: inline-flex; color: var(--red); }

.subnav { background: var(--ink); border-top: 1px solid var(--line-dark); }
.subnav__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 26px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 2px 0;
}
/* На широких экранах полоса не прячет ссылки за прокруткой, а переносит их */
@media (min-width: 900px) {
  .subnav__list {
    flex-wrap: wrap;
    overflow-x: visible;
    column-gap: 26px;
    row-gap: 0;
  }
  .subnav__link { padding: 12px 0; }
}
.subnav__list::-webkit-scrollbar { height: 3px; }
.subnav__list::-webkit-scrollbar-thumb { background: var(--line-dark); }

.subnav__link {
  position: relative;
  display: block;
  padding: 15px 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dark);
  white-space: nowrap;
}
.subnav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 9px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.subnav__link:hover { color: #FFF; }
.subnav__link.is-active { color: #FFF; }
.subnav__link:hover::after,
.subnav__link.is-active::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   2.6 ПОДВАЛ
   -------------------------------------------------------------------------- */

.foot { background: #000000; color: #FFF; }

.foot__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding-top: 56px;
  padding-bottom: 32px;
}

.foot__col + .foot__col { border-top: 1px solid var(--line-dark); }

.logo--foot { margin-bottom: 20px; }

.foot__descr {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted-dark);
  max-width: 340px;
}
.foot__descr + .foot__descr { margin-top: 10px; }
.foot__col--brand .btn { margin-top: 24px; }
.foot__col--brand { padding-bottom: 28px; }

.foot__h {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.foot__h--static { padding: 20px 0 14px; }

.foot__h-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  padding: 20px 0;
  color: var(--muted-dark);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-align: left;
}
.foot__h-btn:hover { color: #FFF; }
.foot__h-caret { display: inline-flex; transition: transform var(--t); }
.foot__h-btn[aria-expanded="true"] .foot__h-caret { transform: rotate(180deg); }

.foot__body { padding-bottom: 22px; }

.foot__list li + li { margin-top: 9px; }
.foot__list a { color: var(--foot-link); font-size: 15px; line-height: 1.45; }
.foot__list a:hover { color: #FFF; }

.foot__addr {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  line-height: 1.7;
  text-transform: uppercase;
  color: var(--muted-dark);
}
.foot__phone {
  display: block;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  color: #FFF;
}
.foot__phone:hover { color: var(--red); }
.foot__mail {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  color: var(--foot-link);
}
.foot__mail:hover { color: #FFF; }
.foot__hours {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted-dark);
}

.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--tile);
  color: #FFF;
  transition: background-color var(--t);
}
.socials__link:hover { background: var(--red); }

.foot__bottom { border-top: 1px solid var(--line-dark); }
.foot__bottom-in {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.foot__copy, .foot__oferta {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-dark);
}
.foot__copy a {
  display: inline-block;
  margin-left: 14px;
  color: var(--muted-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.foot__copy a:hover { color: #FFF; }
.foot__oferta { max-width: 520px; }

/* --------------------------------------------------------------------------
   2.7 МОДАЛКА
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 10, .72);
}
.modal__box {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--ink-2);
  color: #FFF;
  padding: 40px 32px 36px;
  margin: auto;
}
.modal__close {
  position: absolute;
  top: 14px; right: 14px;
  color: var(--muted-dark);
  display: inline-flex;
}
.modal__close:hover { color: #FFF; }
.modal__title {
  margin-top: 14px;
  font-size: 30px;
  color: #FFF;
}
.modal__note {
  margin-top: 14px;
  margin-bottom: 26px;
  font-size: 15px;
  color: var(--muted-dark);
}

/* ==========================================================================
   3. СЕКЦИИ
   ========================================================================== */

/* --------------------------------------------------------------------------
   3.1 ПЕРВЫЙ ЭКРАН — СЛАЙДЕР
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--ink);
}

.hero__slide { position: relative; }
.hero__media {
  position: relative;
  height: 78vh;
  min-height: 460px;
  max-height: 760px;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero__body {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.hero__inner { max-width: 760px; color: #FFF; }
.hero__inner .eyebrow { color: #FFF; margin-bottom: 18px; }
.hero__title {
  font-size: 34px;
  color: #FFF;
}
.hero__btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__controls {
  position: absolute;
  left: 0; right: 0;
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, .5);
  color: #FFF;
  transition: background-color var(--t), color var(--t), border-color var(--t);
}
.hero__arrow:hover { background: #FFF; color: var(--ink); border-color: #FFF; }
.hero__count {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #FFF;
  font-variant-numeric: tabular-nums;
}
.hero__count span { color: var(--muted-dark); }

/* --------------------------------------------------------------------------
   3.2 ПЕРВЫЙ ЭКРАН ВНУТРЕННЕЙ СТРАНИЦЫ
   -------------------------------------------------------------------------- */

.phero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--ink);
}
.phero__media {
  position: relative;
  height: 46vh;
  min-height: 300px;
  max-height: 480px;
}
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }

.phero__body { position: absolute; inset: 0; display: flex; align-items: center; }
.phero__inner { max-width: 820px; color: #FFF; }
.phero__inner .eyebrow { color: #FFF; margin-bottom: 16px; }
.phero__title { font-size: 34px; color: #FFF; }
.phero__sub {
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  /* Подзаголовок лежит прямо на фотографии: чистый --red на светлых кадрах
     (щебень, песок, бетон) уходил ниже 3:1. Тёплый почти-белый оттенок
     сохраняет связь с фирменным красным и читается на любом снимке. */
  color: #FFD9D2;
}

/* Текст поверх фотографии: тень нужна только для читаемости на светлых кадрах */
.hero__inner, .phero__inner { text-shadow: 0 1px 14px rgba(0, 0, 10, .8); }
.hero__inner .btn, .phero__inner .btn { text-shadow: none; }
.phero .btn { margin-top: 26px; }

/* --------------------------------------------------------------------------
   3.3 КАРТОЧКИ
   -------------------------------------------------------------------------- */

/* (1) фото-плитка */
.ptile {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--ink);
}
.ptile__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.ptile__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.ptile::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 10, .72));
  transition: opacity var(--t);
  pointer-events: none;
}
.ptile:hover .ptile__img img { transform: scale(1.04); }
.ptile:hover::after { background: linear-gradient(to bottom, transparent, rgba(0, 0, 10, .86)); }

.ptile__body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 28px;
  color: #FFF;
}
.ptile__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.15;
  color: #FFF;
}
.ptile__meta {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.ptile__ba {
  position: absolute;
  top: 0; left: 0;
  z-index: 3;
  background: var(--red-700);
  color: #FFF;
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* (2) карточка с подписью */
.ccard { display: block; background: var(--white); }
.ccard__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.ccard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.ccard:hover .ccard__img img { transform: scale(1.04); }
.ccard--person .ccard__img { aspect-ratio: 3 / 4; }
.ccard__body { display: block; padding: 18px 22px; background: var(--white); }
.ccard__name {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  color: var(--ink);
}
.ccard__sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
}
.ccard__price {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  color: var(--red-700);
  font-style: normal;
}
a.ccard:hover .ccard__name { color: var(--red-700); }

/* (3) плоский факт */
.fact {
  background: var(--paper-2);
  padding: 30px 28px;
  position: relative;
  transition: background-color var(--t);
}
.fact::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.fact:hover { background: var(--white); }
.fact:hover::before { transform: scaleX(1); }
.fact__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.fact__label {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact__note { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }

/* --------------------------------------------------------------------------
   3.4 SERVICES-GRID
   -------------------------------------------------------------------------- */

.svc-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }

/* --------------------------------------------------------------------------
   3.5 ABOUT-INTRO
   -------------------------------------------------------------------------- */

.about { display: grid; grid-template-columns: 1fr; gap: 0; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__play span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  background: var(--red);
  color: #FFF;
  transition: background-color var(--t);
}
.about__play:hover span { background: var(--red-700); }

.about__panel {
  background: var(--ink-2);
  color: #FFF;
  padding: 40px 32px;
}
.about__panel h2, .about__panel h3 { color: #FFF; }
.about__panel .eyebrow { color: var(--muted-dark); margin-bottom: 14px; }
.about__rule { display: block; width: 56px; height: 4px; background: var(--red); margin: 22px 0; }
.about__panel p { color: var(--muted-dark); font-size: 16px; }
.about__panel p + p { margin-top: 16px; }
.about__panel .tlink { margin-top: 26px; }

.about__list { margin-top: 8px; }
.about__list li { border-bottom: 1px solid var(--line-dark); }
.about__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  font-size: 15px;
  color: var(--foot-link);
}
.about__list a:hover { color: #FFF; }
.about__list .ico { color: var(--red); flex: 0 0 auto; }
.about__panel .btn { margin-top: 26px; }

/* --------------------------------------------------------------------------
   3.6 ADVANTAGES
   -------------------------------------------------------------------------- */

.adv { display: grid; grid-template-columns: 1fr; gap: var(--gap); align-items: start; }
.adv__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.adv__grid { display: grid; grid-template-columns: 1fr; gap: 2px; }
.adv__cell {
  position: relative;
  background: var(--paper-2);
  padding: 26px 24px 56px;
  min-height: 150px;
  transition: background-color var(--t);
}
.adv__cell:hover { background: var(--white); }
.adv__cell h3 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
}
.adv__ico {
  position: absolute;
  right: 22px; bottom: 20px;
  color: var(--red);
}

/* --------------------------------------------------------------------------
   3.7 SEO-TEXT
   -------------------------------------------------------------------------- */

.seo { max-width: 900px; }
.seo h3 { margin-top: 38px; margin-bottom: 16px; }
.seo p + p { margin-top: 18px; }
.seo h2 + p { margin-top: 24px; }

/* --------------------------------------------------------------------------
   3.8 PRICE-CARDS
   -------------------------------------------------------------------------- */

.pcards { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.pcard {
  position: relative;
  background: var(--paper-2);
  padding: 28px 24px;
  transition: background-color var(--t);
}
.pcard::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.pcard:hover { background: var(--white); }
.pcard:hover::before { transform: scaleX(1); }
.pcard__name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  min-height: 34px;
}
.pcard__val {
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.pcard__val small { font-size: 15px; font-weight: 700; color: var(--muted); }
.pnote { margin-top: 24px; font-size: 14px; color: var(--muted); max-width: 760px; }

/* --------------------------------------------------------------------------
   3.9 PORTFOLIO-GRID (фотомозаика)
   -------------------------------------------------------------------------- */

.mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
.mosaic .ptile__img { aspect-ratio: 16 / 10; }

/* --------------------------------------------------------------------------
   3.10 GUARANTEES
   -------------------------------------------------------------------------- */

.guar + .guar { margin-top: 2px; }
.guar { display: grid; grid-template-columns: 1fr; gap: 0; background: var(--paper-2); }
.guar__media img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.guar__body { padding: 34px 28px; display: flex; flex-direction: column; justify-content: center; }
.guar__t1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
}
.guar__t2 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 2px;
}
.guar__text { margin-top: 16px; font-size: 16px; color: var(--muted); }

/* --------------------------------------------------------------------------
   3.11 ACHIEVEMENTS
   -------------------------------------------------------------------------- */

.achv { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.achv__item { color: #FFF; }
.achv__ico { color: var(--red); margin-bottom: 18px; }
.achv__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: #FFF;
}
.achv__label {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted-dark);
}

/* --------------------------------------------------------------------------
   3.12 TEAM
   -------------------------------------------------------------------------- */

.team { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }

/* --------------------------------------------------------------------------
   3.13 REQUISITES
   -------------------------------------------------------------------------- */

.req {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 34px 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.req__grid { display: grid; grid-template-columns: 1fr; gap: 0 32px; }
.req__row { padding: 11px 0; border-bottom: 1px solid var(--line); }
.req__k {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.req__v { display: block; margin-top: 5px; font-size: 16px; color: var(--ink); }
.req__aside { text-align: left; }
.req__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #FFF;
  padding: 18px 22px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
}
.req__aside .tlink { margin-top: 20px; }

/* --------------------------------------------------------------------------
   3.14 ARTICLES-LIST / RELATED
   -------------------------------------------------------------------------- */

.alist__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.alist__item:first-child { padding-top: 0; }
.alist__img { width: 100%; overflow: hidden; }
.alist__img img { width: 100%; aspect-ratio: 26 / 17; object-fit: cover; transition: transform 400ms ease; }
.alist__item:hover .alist__img img { transform: scale(1.04); }
.alist__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
}
.alist__title a:hover { color: var(--red-700); }
.alist__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.alist__meta span { display: inline-flex; align-items: center; gap: 6px; }
.alist__meta .ico { color: var(--red); }
.alist__lead { margin-top: 14px; font-size: 16px; color: var(--muted); }
.alist__item .tlink { margin-top: 16px; }

.rel { display: grid; grid-template-columns: 1fr; gap: 28px; }
.rel__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.rel__title {
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
}
.rel__item:hover .rel__title { color: var(--red-700); }
.rel__lead { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* Пагинация */
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 34px; }
.pager__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px; height: 42px;
  padding: 0 12px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: background-color var(--t), color var(--t);
}
.pager__link:hover { background: var(--ink); color: #FFF; }
.pager__link.is-active { background: var(--red-700); color: #FFF; }

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

.faq__item { border-bottom: 1px solid var(--line); }
.faq__cat {
  padding-top: 22px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.faq__q {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.35;
  color: var(--ink);
  margin-top: 8px;
}
.faq__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 22px;
  color: var(--red-700);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.faq__btn .ico { transition: transform var(--t); }
.faq__btn[aria-expanded="true"] .ico { transform: rotate(180deg); }
.faq__btn:hover { color: var(--red-700); }
.faq__panel { background: var(--paper-2); padding: 24px; margin-bottom: 24px; }
.faq__panel p { font-size: 16px; }

.faq-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  background: var(--paper-2);
  padding: 24px;
}
.faq-search .form__input { border-color: var(--line); }

.ask {
  background: var(--ink-2);
  color: #FFF;
  padding: 40px 28px;
}
.ask h2 { color: #FFF; }
.ask .eyebrow { color: var(--muted-dark); margin-bottom: 14px; }
.ask__grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
.ask select.form__input { color: #FFF; }
.ask select.form__input option { color: var(--ink); }

/* --------------------------------------------------------------------------
   3.16 CTA-FORM
   -------------------------------------------------------------------------- */

.cta { display: grid; grid-template-columns: 1fr; background: var(--ink-2); }
.cta__media { position: relative; min-height: 220px; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cta__panel { background: var(--ink-2); color: #FFF; padding: 44px 28px; }
.cta__panel h2 { color: #FFF; font-size: 32px; }
.cta__panel .eyebrow { color: var(--muted-dark); margin-bottom: 14px; }
.cta__panel > p { margin-top: 16px; color: var(--muted-dark); font-size: 16px; }
.cta__form { margin-top: 26px; }
.cta__fields { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* --------------------------------------------------------------------------
   3.17 КАРТА
   -------------------------------------------------------------------------- */

.map__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.map__frame iframe { width: 100%; height: 100%; border: 0; }
.map__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}
.map__addr { font-size: 15px; color: var(--muted); }

/* --------------------------------------------------------------------------
   3.18 ВКЛАДКИ (этапы и отчётность)
   -------------------------------------------------------------------------- */

.tabs__bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding-bottom: 2px;
}
.tabs__btn {
  flex: 0 1 auto;
  padding: 16px 14px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color var(--t), color var(--t);
}
.tabs__btn:hover { background: var(--line); color: var(--ink); }
.tabs__btn[aria-selected="true"] { background: var(--red-700); color: #FFF; }

.tabs__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--paper-2);
}
.tabs__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tabs__body { padding: 32px 26px; }
.tabs__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.tabs__title { margin-top: 12px; font-size: 24px; }
.tabs__term {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.tabs__body p { margin-top: 16px; color: var(--muted); font-size: 16px; }

/* --------------------------------------------------------------------------
   3.19 КАРУСЕЛИ
   -------------------------------------------------------------------------- */

.carousel { position: relative; }
.carousel__track {
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  padding-bottom: 12px;
}
.carousel__track > * {
  flex: 0 0 82%;
  scroll-snap-align: start;
}
.carousel__nav { display: flex; gap: 8px; margin-top: 20px; }
.carousel__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--white);
  transition: background-color var(--t), color var(--t), border-color var(--t);
}
.carousel__arrow:hover { background: var(--red-700); color: #FFF; border-color: var(--red-700); }

/* Карточки ряда тянутся на одну высоту, цена прижата к низу — иначе у карточки
   с двухстрочным названием подчёркивание уезжает ниже соседних. */
.fleet__card { display: flex; flex-direction: column; background: var(--white); }
.fleet__card .ccard__img { flex: 0 0 auto; }
.fleet__card .ccard__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  border-bottom: 1px solid var(--line);
}
.fleet__card .ccard__price { margin-top: auto; padding-top: 8px; }

/* --------------------------------------------------------------------------
   3.20 ВИДЕО
   -------------------------------------------------------------------------- */

.videos { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.video__item { position: relative; display: block; background: var(--ink); overflow: hidden; }
.video__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .8; transition: transform 400ms ease, opacity var(--t); }
.video__item:hover img { transform: scale(1.04); opacity: .65; }
.video__play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  background: var(--red);
  color: #FFF;
}
.video__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  color: #FFF;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 10, .8));
}
.video__dur {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--ink);
  color: #FFF;
  padding: 4px 8px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   3.21 ФИЛЬТРЫ И ЛАЙТБОКС
   -------------------------------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: 2px; }
.filters__btn {
  padding: 12px 18px;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background-color var(--t), color var(--t);
}
.filters__btn:hover { background: var(--line); color: var(--ink); }
.filters__btn.is-active { background: var(--red-700); color: #FFF; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 10, .92);
  padding: 60px 20px;
}
.lightbox__fig { max-width: 1100px; width: 100%; }
.lightbox__fig img { width: 100%; max-height: 74vh; object-fit: contain; margin: 0 auto; }
.lightbox__cap {
  margin-top: 16px;
  text-align: center;
  color: #FFF;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}
.lightbox__meta { margin-top: 6px; text-align: center; color: var(--muted-dark); font-size: 13px; }
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border: 1px solid rgba(255, 255, 255, .45);
  color: #FFF;
  transition: background-color var(--t), color var(--t);
}
.lightbox__btn:hover { background: #FFF; color: var(--ink); }
.lightbox__btn--prev { left: 12px; }
.lightbox__btn--next { right: 12px; }
.lightbox__close {
  position: absolute;
  top: 16px; right: 16px;
  transform: none;
}

/* --------------------------------------------------------------------------
   3.22 ПРАЙС-ТАБЛИЦЫ
   -------------------------------------------------------------------------- */

.ptable + .ptable { margin-top: 2px; }
.ptable__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: var(--ink);
  color: #FFF;
  padding: 18px 22px;
  text-align: left;
  transition: background-color var(--t);
}
.ptable__head:hover { background: var(--ink-2); }
.ptable__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.ptable__caret { display: inline-flex; color: var(--red); transition: transform var(--t); }
.ptable__head[aria-expanded="true"] .ptable__caret { transform: rotate(180deg); }

.ptable__wrap { overflow-x: auto; }
.ptable table { min-width: 520px; }
.ptable th, .ptable td { padding: 14px 22px; text-align: left; font-size: 15px; }
.ptable th {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.ptable tbody tr:nth-child(even) { background: var(--paper-2); }
.ptable td:last-child, .ptable th:last-child { text-align: right; white-space: nowrap; }
.ptable__price {
  font-family: var(--font-head);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.calc-panel {
  background: var(--ink-2);
  color: #FFF;
  padding: 32px 26px;
}
.calc-panel h3 { color: #FFF; font-size: 22px; }
.calc-panel ul { margin-top: 22px; }
.calc-panel li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 15px;
  color: var(--muted-dark);
}
.calc-panel li .ico { flex: 0 0 auto; color: var(--red); }
.calc-panel__phone {
  display: block;
  margin-top: 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  color: #FFF;
}
.calc-panel__phone:hover { color: var(--red); }
.calc-panel .btn { margin-top: 20px; }

/* --------------------------------------------------------------------------
   3.23 ОТЗЫВЫ
   -------------------------------------------------------------------------- */

.ratings { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.rating { background: var(--paper-2); padding: 26px 22px; }
.rating__src {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.rating__score {
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 38px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stars { display: flex; gap: 3px; margin-top: 12px; color: var(--red); }
.stars .ico { fill: currentColor; }
.rating__count { margin-top: 10px; font-size: 14px; color: var(--muted); }

.review {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.review__head { display: flex; align-items: center; gap: 14px; }
.review__ava {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  background: var(--ink);
  color: #FFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
}
.review__name { font-family: var(--font-head); font-weight: 700; font-size: 16px; }
.review__role { font-size: 13px; font-style: italic; color: var(--muted); }
.review__text { margin-top: 18px; font-size: 16px; color: var(--ink); }
.review__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.screens { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.screens figure { margin: 0; }
.screens img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; background: var(--paper-2); }
.screens figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* --------------------------------------------------------------------------
   3.24 СТАТЬЯ
   -------------------------------------------------------------------------- */

.article { display: grid; grid-template-columns: 1fr; gap: 44px; }
.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.article__meta span { display: inline-flex; align-items: center; gap: 7px; }
.article__meta .ico { color: var(--red); }
.article__share { display: flex; gap: 6px; margin-left: auto; }
.article__share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: var(--paper-2);
  color: var(--ink);
  transition: background-color var(--t), color var(--t);
}
.article__share a:hover { background: var(--red-700); color: #FFF; }

.article__body { max-width: 720px; }
.article__body > * + * { margin-top: 20px; }
.article__lead { font-size: 20px; line-height: 1.55; color: var(--ink); }
.article__body h2 { font-size: 30px; margin-top: 40px; }
.article__body h3 { margin-top: 32px; }
.article__body p { font-size: 17px; }

.quote {
  position: relative;
  padding-left: 28px;
  margin: 34px 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
  color: var(--ink);
}
.quote::before {
  content: "";
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 4px;
  background: var(--red);
}
.quote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--muted);
}

.ctable { margin: 30px 0; overflow-x: auto; }
.ctable table { min-width: 520px; }
.ctable th, .ctable td { padding: 13px 16px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
.ctable th {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.ctable tbody tr:nth-child(even) { background: var(--paper-2); }

.article figure { margin: 30px 0; }
.article figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article figcaption {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.aside-box { background: var(--paper-2); padding: 26px 24px; }
.aside-box + .aside-box { margin-top: 2px; }
.aside-box h3 { font-size: 18px; }
.aside-box ul { margin-top: 16px; }
.aside-box li + li { margin-top: 2px; }
.aside-box a { display: block; padding: 8px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
.aside-box a:hover { color: var(--red-700); }
.aside-box__phone {
  display: block;
  margin-top: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
}
.aside-box .btn { margin-top: 18px; }

/* --------------------------------------------------------------------------
   3.25 КОНТАКТЫ
   -------------------------------------------------------------------------- */

.ccards { display: grid; grid-template-columns: 1fr; gap: 2px; }
.ccontact {
  background: var(--paper-2);
  padding: 30px 26px;
  transition: background-color var(--t);
}
.ccontact:hover { background: var(--white); }
.ccontact__ico { color: var(--red); margin-bottom: 18px; }
.ccontact__t {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ccontact__v { margin-top: 12px; font-size: 17px; line-height: 1.5; color: var(--ink); }
.ccontact__v a { display: block; font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.ccontact__v a:hover { color: var(--red-700); }
.ccontact .socials { margin-top: 14px; }
.ccontact .socials__link { background: var(--ink); }

.wideform { display: grid; grid-template-columns: 1fr; gap: 16px; }
.wideform__full { grid-column: 1 / -1; }

/* --------------------------------------------------------------------------
   3.26 ПОДВИДЫ УСЛУГИ, БАННЕР, 404, КАРТА САЙТА
   -------------------------------------------------------------------------- */

.subtypes { display: grid; grid-template-columns: 1fr; gap: var(--gap); }

.banner {
  background: var(--paper-2);
  padding: 44px 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}
.banner h2 { font-size: 30px; }
.banner p { margin-top: 12px; color: var(--muted); }

.err {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--ink);
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.err__bg { position: absolute; inset: 0; }
.err__bg img { width: 100%; height: 100%; object-fit: cover; }
.err__bg::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 10, .68); }
.err__in { position: relative; z-index: 2; padding: 80px 0; color: #FFF; }
.err__code {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 96px;
  line-height: .9;
  letter-spacing: -.04em;
  color: #FFF;
}
.err__text { margin-top: 20px; font-size: 18px; color: #FFF; max-width: 620px; }
.err__btns { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }

.poplinks { display: flex; flex-wrap: wrap; gap: 2px; }
.poplinks a {
  padding: 14px 18px;
  background: var(--paper-2);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background-color var(--t), color var(--t);
}
.poplinks a:hover { background: var(--red-700); color: #FFF; }

.smap { display: grid; grid-template-columns: 1fr; gap: 40px; }
.smap__col h2 {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.smap__col ul { margin-top: 18px; }
.smap__col li + li { margin-top: 2px; }
.smap__col a { display: block; padding: 7px 0; font-size: 16px; }
.smap__col a:hover { color: var(--red-700); }

/* --------------------------------------------------------------------------
   3.27 ДОПОЛНЕНИЯ СЕКЦИЙ
   -------------------------------------------------------------------------- */

/* Первый экран: элементы управления по контейнеру */
.hero__controls .container { display: flex; align-items: center; gap: 14px; }
.err__in { width: 100%; }

/* Две панели about-intro друг под другом */
.about + .about { margin-top: 2px; }

/* Блок отчётности на странице услуги */
.report .tabs__bar { margin-bottom: 24px; }
.report .tabs__body .list-marked { margin-top: 0; }

/* Пояснение к прайсу */
.pricenote { margin-top: 40px; }
.pricenote h3 { margin-bottom: 6px; }
.pricenote p { margin-top: 18px; color: var(--muted); font-size: 16px; }
.price-layout__aside { margin-top: 32px; }

/* Заголовки колонок карты сайта */
.smap__col h2 + h2 { margin-top: 0; }
.smap__col ul + h2 { margin-top: 34px; }

/* Список материалов */
.alist__text { min-width: 0; }
.article__main { min-width: 0; }

/* Ряд звёзд */
.stars span { display: inline-flex; }

/* Мозаика галереи: метка «до/после» не должна перекрывать подпись */
.gallery-mosaic .ptile { cursor: zoom-in; }

/* Ни одна сетка не расширяется под min-content своего содержимого.
   Без этого колонка «1fr» = minmax(auto,1fr) раздувается по картинке
   или неразрывной цене, и страница едет вправо на узких экранах. */
.grid, .svc-grid, .subtypes, .team, .videos, .rel, .ccards, .achv, .ratings,
.screens, .mosaic, .pcards, .about, .adv, .adv__grid, .guar, .tabs__panel,
.cta, .article, .price-layout, .req, .req__grid, .wideform, .faq-search,
.ask__grid, .cta__fields, .smap, .alist__item, .banner, .foot__top,
.grid > *, .svc-grid > *, .subtypes > *, .team > *, .videos > *, .rel > *,
.ccards > *, .achv > *, .ratings > *, .screens > *, .mosaic > *, .pcards > *,
.about > *, .adv > *, .adv__grid > *, .guar > *, .tabs__panel > *, .cta > *,
.article > *, .price-layout > *, .req > *, .req__grid > *, .wideform > *,
.faq-search > *, .ask__grid > *, .cta__fields > *, .smap > *,
.alist__item > *, .banner > *, .foot__top > * { min-width: 0; }

/* --------------------------------------------------------------------------
   3.28 ПОЯВЛЕНИЕ ПРИ СКРОЛЛЕ
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms ease, transform 480ms ease;
}
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   4. МЕДИАЗАПРОСЫ, ДОСТУПНОСТЬ, ПЕЧАТЬ
   ========================================================================== */

/* --------------------------------------------------------------------------
   4.1 ≥ 640px — две колонки
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  h1, .h1 { font-size: 44px; }
  h2, .h2 { font-size: 34px; }
  h3, .h3 { font-size: 23px; }

  .hero__title  { font-size: 44px; }
  .phero__title { font-size: 40px; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .subtypes { grid-template-columns: repeat(2, 1fr); }
  .team     { grid-template-columns: repeat(2, 1fr); }
  .videos   { grid-template-columns: repeat(2, 1fr); }
  .mosaic   { grid-template-columns: repeat(2, 1fr); }
  .rel      { grid-template-columns: repeat(2, 1fr); }
  .ccards   { grid-template-columns: repeat(2, 1fr); }
  .wideform { grid-template-columns: repeat(2, 1fr); }
  .faq-search { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .ask__grid  { grid-template-columns: repeat(2, 1fr); }
  .cta__fields { grid-template-columns: repeat(2, 1fr); }
  .adv__grid { grid-template-columns: repeat(2, 1fr); }
  .req__grid { grid-template-columns: repeat(2, 1fr); }
  .banner { grid-template-columns: 1fr auto; }
  .carousel__track > * { flex-basis: 48%; }

  .alist__item { grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
  .alist__img img { aspect-ratio: 26 / 17; }

  .guar { grid-template-columns: 1fr 1fr; }
  .guar:nth-child(even) .guar__media { order: 2; }

  .tabs__panel { grid-template-columns: 1fr 1fr; }
  .cta { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr 1fr; }
  .screens { grid-template-columns: repeat(3, 1fr); }
  .foot__bottom-in { flex-direction: row; align-items: center; justify-content: space-between; }
  .foot__oferta { text-align: right; }
}

/* --------------------------------------------------------------------------
   4.2 ≥ 900px — три колонки, ритм секций 72px
   -------------------------------------------------------------------------- */
@media (min-width: 900px) {
  :root { --sec-y: 72px; }

  h1, .h1 { font-size: 54px; }
  h2, .h2 { font-size: 38px; }

  .hero__title  { font-size: 54px; }
  .phero__title { font-size: 46px; }
  .hero__controls { bottom: 28px; }

  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .subtypes { grid-template-columns: repeat(3, 1fr); }
  .team     { grid-template-columns: repeat(3, 1fr); }
  .videos   { grid-template-columns: repeat(4, 1fr); }
  .rel      { grid-template-columns: repeat(3, 1fr); }
  .pcards   { grid-template-columns: repeat(4, 1fr); }
  .ccards   { grid-template-columns: repeat(4, 1fr); }
  .achv     { grid-template-columns: repeat(4, 1fr); }
  .ratings  { grid-template-columns: repeat(4, 1fr); }
  .smap     { grid-template-columns: repeat(3, 1fr); }
  .adv      { grid-template-columns: 1fr 1fr; }
  .adv__grid { grid-template-columns: repeat(3, 1fr); }
  .carousel__track > * { flex-basis: 31.4%; }
  .screens { grid-template-columns: repeat(4, 1fr); }

  .about__panel { padding: 48px 40px; }
  .cta__panel   { padding: 56px 44px; }
  .modal__box   { padding: 48px 44px 44px; }
  .banner       { padding: 52px 44px; }
  .req          { padding: 40px 36px; grid-template-columns: 1fr 280px; }
  .req__aside   { text-align: right; }
  .req__aside .req__logo { justify-content: center; }

  .map__frame { aspect-ratio: 21 / 9; }

  .article { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
  .article__aside { position: sticky; top: calc(var(--hdr-h) + 20px); }

  .price-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
  .price-layout__aside { position: sticky; top: calc(var(--hdr-h) + 20px); margin-top: 0; }
  .price-layout__main { min-width: 0; }

  /* Шапка: телефон появляется иконкой */
  .hdr__phone { display: inline-flex; }
  .hdr__phone-ico { display: inline-flex; }
  .hdr__phone-txt { display: none; }
}

/* --------------------------------------------------------------------------
   4.3 ≥ 1024px — полная сетка, десктопная шапка
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  :root { --sec-y: 112px; }

  h1, .h1 { font-size: 64px; }
  h2, .h2 { font-size: 44px; }
  h3, .h3 { font-size: 26px; }
  body    { font-size: 17px; line-height: 1.65; }

  .hero__title  { font-size: 64px; }
  .phero__title { font-size: 54px; }

  .hdr__in { min-height: var(--hdr-h); gap: 20px; }
  .logo__text { font-size: 20px; }
  .nav { display: flex; min-width: 0; }
  .nav__list { gap: 16px; }
  .nav__link { font-size: 14px; }
  .burger { display: none; }

  .mpanel { display: none !important; }

  /* Колонке услуг нужна ширина под самое длинное название в одну строку
     («Бордюры и гранитный бортовой камень»), иначе 15 пунктов рвутся
     на две-три строки и вытягивают подвал вдвое. */
  .foot__top {
    grid-template-columns: 3fr 4fr 2fr 3fr;
    gap: 40px;
    padding-top: 88px;
    padding-bottom: 56px;
  }
  .foot__col + .foot__col { border-top: 0; }
  .foot__col--brand { padding-bottom: 0; }
  .foot__h-btn { pointer-events: none; padding: 0 0 20px; }
  .foot__h-caret { display: none; }
  .foot__h--static { padding: 0 0 20px; }
  .foot__body { padding-bottom: 0; }
  .foot__body[hidden] { display: block !important; }
  .foot__list--2col li { break-inside: avoid; }

  .alist__item { grid-template-columns: 260px 1fr; }
  .guar__body { padding: 44px 40px; }
  .tabs__body { padding: 44px 40px; }
  .mosaic .ptile__img { aspect-ratio: 3 / 2; }
  .hero__media { min-height: 560px; }
  .phero__media { min-height: 340px; }
}

/* --------------------------------------------------------------------------
   4.4 ≥ 1280px
   -------------------------------------------------------------------------- */
@media (min-width: 1280px) {
  .nav__list { gap: 18px; }
  .hero__inner { max-width: 820px; }
  .adv { grid-template-columns: 5fr 7fr; gap: 40px; }

  /* Телефон разворачивается в текст */
  .hdr__phone-txt { display: inline; }
  .hdr__phone-ico { display: none; }
  .hdr__phone { font-size: 17px; }
}

/* --------------------------------------------------------------------------
   4.5 ≥ 1440px — в шапку помещается и кнопка
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
  /* Разрыв «логотип — меню» и «меню — телефон» должен быть заметно больше
     шага между пунктами, иначе логотип и телефон читаются как part меню. */
  .hdr__in { gap: 32px; }
  .logo__text { font-size: 22px; }
  .nav__list { gap: 18px; }
  .nav__link { font-size: 15px; }
  .hdr__phone { font-size: 19px; }
  .hdr__cta { display: inline-flex; padding: 17px 22px; }
}

/* --------------------------------------------------------------------------
   4.5 Наведение только там, где есть указатель
   -------------------------------------------------------------------------- */
@media (hover: none) {
  .ptile:hover .ptile__img img,
  .ccard:hover .ccard__img img,
  .alist__item:hover .alist__img img { transform: none; }
}

/* --------------------------------------------------------------------------
   4.6 ФОКУС
   -------------------------------------------------------------------------- */
:focus { outline: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.hdr a:focus-visible,
.hdr button:focus-visible,
.foot a:focus-visible,
.foot button:focus-visible,
.mpanel a:focus-visible,
.mpanel button:focus-visible,
.mega a:focus-visible,
.crumbs a:focus-visible,
.subnav a:focus-visible,
.hero a:focus-visible,
.hero button:focus-visible,
.phero a:focus-visible,
.phero button:focus-visible,
.ptile:focus-visible,
.lightbox button:focus-visible,
.modal button:focus-visible,
.section--dark a:focus-visible,
.section--dark button:focus-visible,
.cta__panel a:focus-visible,
.cta__panel button:focus-visible,
.about__panel a:focus-visible,
.about__panel button:focus-visible,
.calc-panel a:focus-visible,
.calc-panel button:focus-visible,
.ask a:focus-visible,
.ask button:focus-visible,
.form--dark input:focus-visible,
.form--dark select:focus-visible,
.form--dark textarea:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 3px;
}

.form__input:focus-visible { outline-offset: 0; }

/* --------------------------------------------------------------------------
   4.7 УМЕНЬШЕННОЕ ДВИЖЕНИЕ
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1; transform: none; }
  .btn--primary:active,
  .btn--ghost:active { transform: none; }
  .ptile:hover .ptile__img img,
  .ccard:hover .ccard__img img,
  .video__item:hover img,
  .alist__item:hover .alist__img img { transform: none; }
  .tlink:hover .ico { transform: none; }
  .carousel__track { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   4.8 ПЕЧАТЬ
   -------------------------------------------------------------------------- */
@media print {
  .hdr, .mpanel, .subnav, .crumbs, .modal, .lightbox,
  .cta, .hero__controls, .carousel__nav, .burger,
  .foot__col--services, .foot__col--sections, .map__frame, .skip-link { display: none !important; }

  body { background: #FFF; color: #000; font-size: 12pt; }
  .foot { background: #FFF; color: #000; border-top: 1px solid #000; }
  .foot__phone, .foot__addr, .foot__descr, .foot__hours, .foot__copy, .foot__oferta { color: #000; }
  .section { padding: 16pt 0; }
  .hero__media, .phero__media { height: auto; min-height: 0; max-height: none; }
  .hero__media::after, .phero__media::after { display: none; }
  .hero__inner, .phero__inner, .hero__title, .phero__title { color: #000; }
  .section--dark, .about__panel, .cta__panel, .calc-panel, .ask { background: #FFF !important; color: #000 !important; }
  .section--dark h2, .section--dark h3, .achv__num, .achv__label { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  .ptile__body, .video__cap { position: static; color: #000; background: none; }
  .ptile::after { display: none; }
  img { max-width: 100% !important; page-break-inside: avoid; }
  h1, h2, h3 { page-break-after: avoid; }
  .fact, .pcard, .guar, .alist__item, .review { page-break-inside: avoid; }
}
