/* =========================================================
   ПРАВА ОНЛАЙН — ЕКАТЕРИНБУРГ
   Стиль: уральский конструктивизм
   Графит + бетон + сигнальный оранжевый, диагонали,
   жирная узкая типографика, номерные плашки.
   ========================================================= */

/* ============ 1. ТОКЕНЫ ============ */
:root {
  /* Поверхности */
  --coal: #15171B;
  --coal-2: #1D2026;
  --coal-3: #292D35;
  --concrete: #E8E6E1;
  --concrete-2: #D9D6CF;
  --white: #FFFFFF;

  /* Текст */
  --ink: #15171B;
  --ink-2: #33373E;
  --mute: #6B6F77;
  --mute-d: #A2A7AF;

  /* Акцент */
  --org: #FF5A1F;
  --org-d: #E04512;
  --org-l: #FFE7DC;

  /* Линии */
  --line: #C6C2BA;
  --line-2: #B2ADA4;
  --line-d: rgba(255, 255, 255, .16);

  /* Шрифты */
  --f-d: "Oswald", "Arial Narrow", Impact, sans-serif;
  --f-b: "Fira Sans", "Segoe UI", Arial, sans-serif;

  /* Сетка */
  --shell: 1320px;
  --pad: 28px;
  --gap: 26px;

  /* Движение */
  --t: .2s cubic-bezier(.2, .6, .3, 1);

  /* Слои */
  --z-nav: 60;
  --z-bar: 70;
  --z-top: 80;
  --z-modal: 100;
}

/* ============ 2. СБРОС ============ */
*, *::before, *::after { box-sizing: border-box; }

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

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

body {
  margin: 0;
  background: var(--concrete);
  color: var(--ink);
  font: 400 17px/1.62 var(--f-b);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

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

button, input, select { font: inherit; color: inherit; }

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

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

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

::selection { background: var(--org); color: var(--coal); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--org);
  color: var(--coal);
  padding: 12px 20px;
  font: 600 14px/1 var(--f-d);
  text-transform: uppercase;
  letter-spacing: .1em;
}
.skip-link:focus { left: 0; }

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

/* ============ 3. ТИПОГРАФИКА ============ */
.t1, .t2, .t3, .t4 {
  font-family: var(--f-d);
  font-weight: 700;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: .005em;
}

.t1 { font-size: clamp(38px, 6.4vw, 88px); line-height: .92; }
.t2 { font-size: clamp(30px, 4vw, 56px); }
.t3 { font-size: clamp(22px, 2.4vw, 32px); }
.t4 { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.15; }

.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 62ch;
}

.lead--d { color: var(--mute-d); }

.kick {
  font-family: var(--f-d);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--org);
}

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

.txt p + p { margin-top: 14px; }
.txt strong { font-weight: 700; }

/* ---- Статья: контент из .md ---- */
.article__t { margin-bottom: 8px; }
.article__lead { color: var(--mute); font-size: 17px; line-height: 1.6; max-width: 62ch; margin-bottom: 34px; }
.article { max-width: 900px; }
.article > * + * { margin-top: 16px; }
.article h2, .article h3, .article h4 {
  font-family: var(--f-d);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .005em;
  line-height: 1.05;
  margin-top: 30px;
}
.article h2 { font-size: clamp(24px, 3vw, 32px); }
.article h3 { font-size: clamp(20px, 2.2vw, 26px); }
.article h4 { font-size: 18px; }
.article p { line-height: 1.7; color: var(--ink-2); }
.article p + p { margin-top: 14px; }
.article strong { font-weight: 700; }
.article em { font-style: italic; }
.article ul, .article ol { padding-left: 24px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin: 8px 0; line-height: 1.6; color: var(--ink-2); }
.article blockquote {
  margin: 18px 0;
  padding: 16px 20px;
  border-left: 4px solid var(--org);
  background: var(--org-l);
  color: var(--ink);
  border-radius: 4px;
}
.article blockquote p { color: var(--ink); }
.article table { margin: 18px 0; }
.article th, .article td { text-align: left; padding: 10px 14px; border: 1px solid var(--line); }
.article th {
  background: var(--coal);
  color: var(--white);
  font-family: var(--f-d);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.article tbody tr:nth-child(even) { background: rgba(0, 0, 0, .04); }
.article a { color: var(--org-d); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--org); }

.mark-o { color: var(--org); }

/* Оранжевая плашка внутри строки */
.slab {
  display: inline-block;
  background: var(--org);
  color: var(--coal);
  padding: 0 .16em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Контурная надпись */
.outline {
  color: transparent;
  -webkit-text-stroke: 2px currentColor;
}

/* ============ 4. КАРКАС ============ */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sec { padding: clamp(56px, 7vw, 104px) 0; }
.sec--tight { padding: clamp(40px, 5vw, 68px) 0; }

.sec--dark {
  background: var(--coal);
  color: var(--white);
}
.sec--dark .lead { color: var(--mute-d); }
.sec--dark .shead { border-top-color: var(--line-d); }
.sec--dark .shead__note { color: var(--mute-d); }

.sec--paper { background: var(--white); }

/* Диагональные полосы-текстура */
.stripes {
  background-image: repeating-linear-gradient(
    -45deg,
    var(--org) 0 6px,
    transparent 6px 14px
  );
}

/* ============ 5. ЗАГОЛОВОК СЕКЦИИ ============ */
.shead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 340px);
  gap: var(--gap);
  align-items: start;
  border-top: 4px solid var(--ink);
  padding-top: 20px;
  margin-bottom: clamp(32px, 4vw, 58px);
}

.shead__n {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  background: var(--org);
  color: var(--coal);
  padding: 7px 12px 5px;
  align-self: start;
}

.shead__note {
  color: var(--mute);
  font-size: 15.5px;
  line-height: 1.55;
  padding-top: 4px;
}

/* ============ 6. КНОПКИ ============ */
.btn {
  --bg: var(--org);
  --fg: var(--coal);
  --bd: var(--org);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 14px 26px;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid var(--bd);
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--coal);
}
.btn:active { transform: translate(0, 0); box-shadow: none; }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  --bd: var(--ink);
}
.btn--ghost:hover { box-shadow: 6px 6px 0 var(--org); }

.btn--light {
  --bg: transparent;
  --fg: var(--white);
  --bd: var(--white);
}
.btn--light:hover { box-shadow: 6px 6px 0 var(--org); }

.btn--solid {
  --bg: var(--coal);
  --fg: var(--white);
  --bd: var(--coal);
}
.btn--solid:hover { box-shadow: 6px 6px 0 var(--org); }

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

.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* Текстовая ссылка со стрелкой */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--org);
  padding-bottom: 3px;
  transition: gap var(--t), color var(--t);
}
.tlink svg { width: 16px; height: 16px; }
.tlink:hover { gap: 16px; color: var(--org); }

/* ============ 7. ТОПБАР ============ */
.topbar {
  background: var(--coal);
  color: var(--mute-d);
  font-size: 13.5px;
  border-bottom: 1px solid var(--line-d);
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 44px;
  flex-wrap: wrap;
}

.topbar__l, .topbar__r {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar__i {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar__i svg { width: 15px; height: 15px; color: var(--org); flex: none; }

.topbar a:hover { color: var(--white); }

/* ============ 8. ШАПКА ============ */
.hdr {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--coal);
  border-bottom: 1px solid var(--line-d);
  color: var(--white);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.logo__box {
  width: 42px;
  height: 42px;
  background: var(--org);
  color: var(--coal);
  display: grid;
  place-items: center;
  flex: none;
}
.logo__box svg { width: 24px; height: 24px; }

.logo__t {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.logo__s {
  display: block;
  font-family: var(--f-b);
  font-weight: 400;
  font-size: 11.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mute-d);
  margin-top: 4px;
}

.nav { margin-left: auto; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--f-d);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--mute-d);
  border-top: 3px solid transparent;
  transition: color var(--t), border-color var(--t), background var(--t);
}
.nav__link:hover { color: var(--white); background: var(--coal-2); }
.nav__link.is-active { color: var(--white); border-top-color: var(--org); }

.hdr__act {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.hdr__tel {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.hdr__tel svg { width: 17px; height: 17px; color: var(--org); }
.hdr__tel:hover { color: var(--org); }

.hdr .btn { min-height: 46px; padding: 10px 20px; font-size: 13.5px; }

.burger {
  display: none;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 2px solid var(--line-d);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  position: relative;
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform var(--t);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ============ 9. ГЕРОЙ ============ */
.hero {
  position: relative;
  background: var(--coal);
  color: var(--white);
  overflow: hidden;
  padding: clamp(44px, 5.5vw, 82px) 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -140px;
  width: 460px;
  height: 460px;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 90, 31, .5) 0 5px,
    transparent 5px 16px
  );
  transform: rotate(0deg);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 6.2fr) minmax(0, 5fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}

.hero__kick {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hero__kick b {
  background: var(--org);
  color: var(--coal);
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .16em;
  padding: 5px 11px 4px;
  text-transform: uppercase;
}
.hero__kick span {
  font-family: var(--f-d);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--mute-d);
}

.hero__h { margin-bottom: 24px; }
.hero__h .t1 { display: block; }

.hero__lead {
  color: var(--mute-d);
  font-size: clamp(16px, 1.25vw, 19px);
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero__lead strong { color: var(--white); font-weight: 500; }

.hero__act {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero__ok {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-bottom: clamp(34px, 4vw, 56px);
}
.hero__ok li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  color: var(--mute-d);
}
.hero__ok svg { width: 16px; height: 16px; color: var(--org); flex: none; }

/* Скошенное фото */
.hero__fig {
  position: relative;
  margin: 0;
  transform: skew(-4deg);
  overflow: hidden;
  border: 2px solid var(--line-d);
}
.hero__fig img {
  width: 100%;
  transform: skew(4deg) scale(1.14);
  filter: contrast(1.06) saturate(.9);
}

.hero__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--org);
  color: var(--coal);
  padding: 12px 18px 10px;
  transform: skew(4deg);
  transform-origin: left bottom;
}
.hero__tag b {
  display: block;
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
}
.hero__tag span {
  display: block;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Полоса фактов */
.facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 3px solid var(--org);
}

.facts__i {
  padding: 22px 22px 26px;
  border-right: 1px solid var(--line-d);
}
.facts__i:last-child { border-right: 0; }
.facts__i:first-child { padding-left: 0; }

.facts__n {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--org);
  display: block;
  margin-bottom: 10px;
}
.facts__v {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1;
  display: block;
}
.facts__t {
  display: block;
  font-size: 13.5px;
  color: var(--mute-d);
  margin-top: 8px;
}

/* ============ 10. ДИАГОНАЛЬНАЯ БЕГУЩАЯ СТРОКА ============ */
.bandwrap {
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 46px) 0;
  background: var(--concrete);
}

.band {
  background: var(--org);
  color: var(--coal);
  transform: skewY(-1.6deg);
  border-top: 3px solid var(--coal);
  border-bottom: 3px solid var(--coal);
  overflow: hidden;
}

.band__in {
  display: flex;
  width: max-content;
  padding: 13px 0;
  animation: band-slide 34s linear infinite;
}

.band:hover .band__in { animation-play-state: paused; }

.band__i {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.band__i::after {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--coal);
  transform: rotate(45deg);
}

@keyframes band-slide {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .band__in { animation: none; }
}

/* ============ 11. ПЛИТКИ ПРЕИМУЩЕСТВ ============ */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.tile {
  position: relative;
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 26px 24px 28px;
  transition: transform var(--t), box-shadow var(--t);
}
.tile:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--org);
}

.tile__n {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--mute);
  display: block;
  margin-bottom: 16px;
}

.tile__ic {
  width: 46px;
  height: 46px;
  background: var(--coal);
  color: var(--org);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.tile__ic svg { width: 24px; height: 24px; }

.tile__t {
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.tile__d {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
}

/* ============ 12. ПРАЙС ============ */
.price {
  border-top: 2px solid var(--ink);
}

.prow {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 200px 190px;
  gap: var(--gap);
  align-items: center;
  padding: 22px 0;
  border-bottom: 2px solid var(--line);
  transition: color var(--t), padding var(--t);
}

.prow::before {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: 0;
  bottom: 0;
  background: var(--coal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform var(--t);
  z-index: 0;
}
.prow > * { position: relative; z-index: 1; }

.prow:hover { color: var(--white); }
.prow:hover::before { transform: scaleY(1); transform-origin: top; }

.prow__k {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
  color: var(--org);
}

.prow__t {
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  line-height: 1.15;
}
.prow__s {
  display: block;
  font-family: var(--f-b);
  font-weight: 400;
  font-size: 14px;
  text-transform: none;
  color: var(--mute);
  margin-top: 5px;
}
.prow:hover .prow__s { color: var(--mute-d); }

.prow__p {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1;
  text-align: right;
}

.prow__b { justify-self: end; }
.prow__b .btn { min-height: 46px; padding: 10px 18px; font-size: 13px; }

.pnote {
  margin-top: 26px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border-left: 4px solid var(--org);
  padding: 4px 0 4px 18px;
  max-width: 76ch;
  font-size: 15.5px;
  color: var(--ink-2);
}
.pnote svg { width: 20px; height: 20px; color: var(--org); flex: none; margin-top: 3px; }

/* ============ 13. ШАГИ ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: var(--line-d);
  border: 2px solid var(--line-d);
}

.step {
  background: var(--coal);
  padding: 28px 26px 32px;
  transition: background var(--t);
}
.step:hover { background: var(--coal-2); }

.step__n {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px var(--org);
  display: block;
  margin-bottom: 16px;
}

.step__t {
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.step__d {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mute-d);
}

/* ============ 14. СЧЁТЧИКИ ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  background: var(--coal);
  border: 2px solid var(--coal);
}

.stat {
  background: var(--concrete);
  padding: 26px 24px 28px;
}

.stat__v {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  display: block;
}
.stat__t {
  display: block;
  font-size: 14px;
  color: var(--mute);
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ============ 15. КАТЕГОРИИ ============ */
.cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.cat {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 2px solid var(--ink);
  transition: transform var(--t), box-shadow var(--t);
}
.cat:hover {
  transform: translate(-4px, -4px);
  box-shadow: 8px 8px 0 var(--org);
}

.cat__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px 14px;
  border-bottom: 2px solid var(--ink);
}

.cat__k {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
}
.cat__p {
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 20px;
  color: var(--org);
  white-space: nowrap;
}

.cat__fig {
  margin: 0;
  background: var(--concrete-2);
  overflow: hidden;
}
.cat__fig img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  filter: grayscale(.35) contrast(1.05);
  transition: filter var(--t), transform var(--t);
}
.cat:hover .cat__fig img { filter: grayscale(0); transform: scale(1.04); }

.cat__b {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.cat__t {
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
}
.cat__d {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  flex: 1;
}

/* ============ 16. РАЗВОРОТ С ФОТО ============ */
.spread {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.spread--rev .spread__fig { order: -1; }

.spread__fig {
  margin: 0;
  position: relative;
  border: 2px solid currentColor;
  overflow: hidden;
}
.spread__fig img {
  width: 100%;
  transition: transform var(--t);
}
.spread__fig:hover img { transform: scale(1.03); }

.spread__fig--sq { max-width: 300px; }
.spread__fig--sq img { aspect-ratio: 1 / 1; object-fit: cover; }

.spread__cap {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--coal);
  color: var(--white);
  font-family: var(--f-d);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 9px 14px 7px;
}

.checks { display: grid; gap: 12px; margin-top: 22px; }
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.55;
}
.checks svg { width: 20px; height: 20px; color: var(--org); flex: none; margin-top: 2px; }

/* Плитки городов доставки */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.chips li {
  border: 2px solid var(--line);
  padding: 8px 14px 7px;
  font-family: var(--f-d);
  font-weight: 500;
  font-size: 13.5px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.chips li:hover { background: var(--org); border-color: var(--org); color: var(--coal); }

.sec--dark .chips li { border-color: var(--line-d); }

/* ============ 17. ОТЗЫВЫ ============ */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.quote {
  background: var(--white);
  border: 2px solid var(--ink);
  padding: 24px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.quote__stars { display: flex; gap: 4px; color: var(--org); }
.quote__stars svg { width: 17px; height: 17px; }

.quote__txt {
  font-size: 15.5px;
  line-height: 1.62;
  flex: 1;
}

.quote__a {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 2px solid var(--line);
  padding-top: 14px;
}
.quote__av {
  width: 40px;
  height: 40px;
  background: var(--coal);
  color: var(--org);
  display: grid;
  place-items: center;
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 17px;
  flex: none;
}
.quote__nm {
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 1.1;
}
.quote__meta {
  display: block;
  font-family: var(--f-b);
  font-weight: 400;
  font-size: 13px;
  color: var(--mute);
  text-transform: none;
  margin-top: 3px;
}

/* ============ 18. FAQ ============ */
.faq { border-top: 2px solid var(--ink); }

.faq__i { border-bottom: 2px solid var(--line); }

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  background: transparent;
  border: 0;
  padding: 22px 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--f-d);
  font-weight: 600;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.25;
  text-transform: uppercase;
  transition: color var(--t);
}
.faq__q:hover { color: var(--org); }

.faq__mk {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  flex: none;
  display: grid;
  place-items: center;
  position: relative;
  transition: background var(--t), border-color var(--t);
}
.faq__mk::before, .faq__mk::after {
  content: "";
  position: absolute;
  background: var(--ink);
  transition: transform var(--t), background var(--t);
}
.faq__mk::before { width: 14px; height: 2px; }
.faq__mk::after { width: 2px; height: 14px; }

.faq__q[aria-expanded="true"] .faq__mk { background: var(--org); border-color: var(--org); }
.faq__q[aria-expanded="true"] .faq__mk::after { transform: scaleY(0); }
.faq__q[aria-expanded="true"] .faq__mk::before { background: var(--coal); }

.faq__n {
  font-family: var(--f-d);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .16em;
  color: var(--mute);
  flex: none;
  width: 34px;
}

.faq__a {
  padding: 0 0 24px 70px;
  max-width: 82ch;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
}

/* ============ 19. ФОРМА / РАСЧЁТ ============ */
.calc {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: start;
}

.form {
  background: var(--coal-2);
  border: 2px solid var(--line-d);
  padding: clamp(24px, 3vw, 36px);
}

.sec--paper .form,
.sec--light .form {
  background: var(--white);
  border-color: var(--ink);
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-family: var(--f-d);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute-d);
}
.sec--paper .field label { color: var(--mute); }

.field .req { color: var(--org); }

.field input,
.field select {
  min-height: 52px;
  padding: 12px 15px;
  background: var(--coal);
  color: var(--white);
  border: 2px solid var(--line-d);
  font-size: 16px;
  transition: border-color var(--t), background var(--t);
}
.sec--paper .field input,
.sec--paper .field select {
  background: var(--concrete);
  color: var(--ink);
  border-color: var(--line);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5A1F' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}

.field input:focus,
.field select:focus { border-color: var(--org); outline: none; }

.field.is-invalid input { border-color: #FF7A5C; }

.field__err {
  font-size: 13px;
  color: #FF9C85;
  min-height: 0;
}
.sec--paper .field__err { color: #C7290A; }

.form__foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form__note {
  font-size: 13px;
  line-height: 1.55;
  color: var(--mute-d);
}
.sec--paper .form__note { color: var(--mute); }

.form__ok {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--org);
  color: var(--coal);
  padding: 14px 18px;
  font-weight: 500;
  font-size: 15px;
}
.form__ok svg { width: 20px; height: 20px; flex: none; }

/* Плашка «отправить не удалось» — создаётся из main.js */
.form__fail {
  background: #FFDFD7;
  color: #8C2205;
  padding: 14px 18px;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.45;
}
.form__fail[hidden] { display: none; }

.calc__side { display: grid; gap: 22px; }

.calc__list { display: grid; gap: 16px; }
.calc__list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-d);
}
.calc__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.calc__list svg { width: 22px; height: 22px; color: var(--org); flex: none; margin-top: 2px; }
.calc__list b {
  display: block;
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.calc__list span { font-size: 15px; color: var(--mute-d); line-height: 1.55; }

/* ============ 20. CTA ============ */
.cta {
  position: relative;
  background: var(--org);
  color: var(--coal);
  overflow: hidden;
}

.cta__in {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px) 0;
}

.cta .kick,
.cta .lead { color: var(--coal); }

.cta__act {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.cta .btn--solid:hover { box-shadow: 6px 6px 0 var(--white); }
.cta .btn--ghost:hover { box-shadow: 6px 6px 0 var(--white); }

.cta__fig {
  margin: 0;
  border: 3px solid var(--coal);
  overflow: hidden;
  max-width: 340px;
  justify-self: end;
}
.cta__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ============ 21. ПОДВАЛ ============ */
.foot {
  background: var(--coal);
  color: var(--mute-d);
  padding: clamp(44px, 5vw, 72px) 0 0;
  font-size: 15px;
}

.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  padding-bottom: 40px;
}

.foot__t {
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--org);
  display: inline-block;
}

.foot__list { display: grid; gap: 11px; }
.foot__list a:hover { color: var(--org); }

.foot__ct { display: grid; gap: 12px; }
.foot__ct li { display: flex; gap: 11px; align-items: flex-start; }
.foot__ct svg { width: 17px; height: 17px; color: var(--org); flex: none; margin-top: 4px; }

.foot__about { margin: 18px 0 0; max-width: 46ch; line-height: 1.6; }

.foot__disc {
  border: 1px solid var(--line-d);
  padding: 16px 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--mute);
  margin-bottom: 22px;
}

.foot__bot {
  border-top: 1px solid var(--line-d);
  padding: 20px 0 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--mute);
}

/* ============ 22. МОБ. ПАНЕЛЬ, НАВЕРХ, МОДАЛКА ============ */
.mbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-bar);
  background: var(--coal);
  border-top: 2px solid var(--org);
}
.mbar__in { display: grid; grid-template-columns: repeat(3, 1fr); }
.mbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 60px;
  color: var(--white);
  font-family: var(--f-d);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-right: 1px solid var(--line-d);
}
.mbar a:last-child { border-right: 0; }
.mbar a svg { width: 19px; height: 19px; color: var(--org); }
.mbar a.is-accent { background: var(--org); color: var(--coal); }
.mbar a.is-accent svg { color: var(--coal); }

.totop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: var(--z-top);
  width: 50px;
  height: 50px;
  background: var(--org);
  color: var(--coal);
  border: 2px solid var(--coal);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.totop svg { width: 20px; height: 20px; }
.totop.is-on { opacity: 1; visibility: visible; transform: translateY(0); }

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal[hidden] { display: none; }

.modal__bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 13, .78);
}

.modal__box {
  position: relative;
  width: 100%;
  max-width: 520px;
  background: var(--coal);
  border: 2px solid var(--org);
  padding: clamp(24px, 3vw, 34px);
  max-height: 90vh;
  overflow-y: auto;
  color: var(--white);
}

.modal__x {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--line-d);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.modal__x svg { width: 18px; height: 18px; }
.modal__x:hover { background: var(--org); border-color: var(--org); color: var(--coal); }

.modal__t {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 10px;
  padding-right: 44px;
}
.modal__s {
  font-size: 15px;
  color: var(--mute-d);
  margin-bottom: 22px;
}
.modal .form { background: transparent; border: 0; padding: 0; }

/* ============ 23. ПОЯВЛЕНИЕ ============ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease-out, transform .5s cubic-bezier(.2, .6, .3, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .tile:hover, .cat:hover { transform: none; }
}

/* =========================================================
   ЧАСТЬ II — КОМПОНЕНТЫ ВНУТРЕННИХ СТРАНИЦ
   ========================================================= */

/* ---- Хлебные крошки ---- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: center;
  font-family: var(--f-d);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mute-d);
  margin-bottom: 22px;
}
.crumbs li { display: inline-flex; align-items: center; }
.crumbs li::after { content: "/"; margin-left: 10px; color: var(--org); }
.crumbs li:last-child::after { content: none; }
.crumbs a:hover { color: var(--org); }
.crumbs [aria-current] { color: var(--white); }

/* ---- Внутренний герой ---- */
.hero--inner { padding: clamp(30px, 3.6vw, 52px) 0 clamp(38px, 4.6vw, 64px); }
.hero--inner .hero__grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  align-items: start;
}
.hero--inner .hero__lead { margin-bottom: 26px; }

.hero__pt {
  background: var(--coal-2);
  border: 2px solid var(--org);
  padding: 22px 24px 26px;
}
.hero__pt b {
  display: block;
  font-family: var(--f-d);
  font-weight: 700;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1;
  color: var(--org);
}
.hero__pt span {
  display: block;
  font-size: 14px;
  color: var(--mute-d);
  margin-top: 9px;
  line-height: 1.5;
}
.hero__pt .btn { margin-top: 20px; }

.hero__side { display: grid; gap: 20px; }

/* ---- Широкое фото-полотно ---- */
.bleed {
  margin: 0 0 clamp(32px, 4vw, 54px);
  overflow: hidden;
  border: 2px solid var(--ink);
}
.bleed img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  filter: contrast(1.04);
}
.sec--dark .bleed { border-color: var(--line-d); }

/* ---- Таблицы ---- */
.tscroll { overflow-x: auto; }

.ptable {
  min-width: 520px;
  border: 2px solid var(--ink);
}
.ptable th {
  background: var(--coal);
  color: var(--white);
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 14px 18px;
  text-align: left;
}
.ptable td {
  padding: 15px 18px;
  border-top: 2px solid var(--line);
  font-size: 15.5px;
  vertical-align: top;
}
.ptable tbody tr { transition: background var(--t); }
.ptable tbody tr:hover { background: var(--concrete); }

.ptable__k {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  color: var(--org);
  white-space: nowrap;
}
.ptable__p {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.1;
  white-space: nowrap;
}
.ptable__old {
  display: block;
  font-family: var(--f-b);
  font-weight: 400;
  font-size: 13.5px;
  color: var(--mute);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.sec--dark .ptable { border-color: var(--line-d); }
.sec--dark .ptable th { background: var(--org); color: var(--coal); }
.sec--dark .ptable td { border-top-color: var(--line-d); }
.sec--dark .ptable tbody tr:hover { background: var(--coal-2); }
.sec--dark .ptable__old { color: var(--mute-d); }

/* ---- Важная врезка ---- */
.note {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  border: 2px solid var(--org);
  padding: 18px 20px;
  margin-top: 26px;
  max-width: 84ch;
  font-size: 15.5px;
  line-height: 1.62;
}
.note svg { width: 20px; height: 20px; color: var(--org); flex: none; margin-top: 3px; }
.note b {
  font-family: var(--f-d);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.sec--dark .note { color: var(--mute-d); }
.sec--dark .note b { color: var(--white); }

/* ---- Две колонки ---- */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(26px, 3.4vw, 52px);
  align-items: start;
}

.duo__t {
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--org);
}

/* ---- Боковая карточка ---- */
.aside {
  border: 2px solid var(--ink);
  background: var(--white);
  padding: 22px 22px 24px;
}
.sec--dark .aside { border-color: var(--line-d); background: var(--coal-2); }

.aside__fig { margin: 0 0 18px; max-width: 236px; overflow: hidden; }
.aside__fig img { width: 100%; }

.aside__t {
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 19px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.aside__d {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.sec--dark .aside__d { color: var(--mute-d); }

/* ---- Фото-развороты: ограничение апскейла ---- */
.spread__fig--lic { max-width: 460px; }
.spread__fig--lic img { aspect-ratio: 2 / 1; object-fit: cover; }

/* ---- Вертикальная лента шагов ---- */
.rail { display: grid; }

.rail__i {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 40px);
  padding: 30px 0 34px;
  border-top: 2px solid var(--line);
}
.rail__i:last-child { border-bottom: 2px solid var(--line); }

.rail__n {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 2px var(--org);
}

.rail__t {
  font-family: var(--f-d);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 28px);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 12px;
}
.rail__d {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 80ch;
}
.rail__d + .rail__d { margin-top: 12px; }

.rail__sub { display: grid; gap: 10px; margin-top: 16px; }
.rail__sub li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.55; }
.rail__sub svg { width: 18px; height: 18px; color: var(--org); flex: none; margin-top: 3px; }

.rail__time {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--f-d);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--org);
  color: var(--coal);
  padding: 6px 12px 5px;
}

.sec--dark .rail__i { border-color: var(--line-d); }
.sec--dark .rail__d { color: var(--mute-d); }

/* ---- Сетка плиток на 4 ---- */
.tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---- Два ряда отзывов ---- */
.quotes + .quotes { margin-top: var(--gap); }

/* ============ 24. АДАПТИВ ============ */
@media (max-width: 1180px) {
  .hdr__tel { font-size: 16px; }
  .nav__link { padding: 0 10px; font-size: 13.5px; }
  .prow { grid-template-columns: 62px minmax(0, 1fr) 160px 160px; }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__fig { max-width: 560px; }
  .tiles, .cats, .quotes, .steps, .tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spread { grid-template-columns: 1fr; }
  .hero--inner .hero__grid { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .spread--rev .spread__fig { order: 0; }
  .calc { grid-template-columns: 1fr; }
  .cta__in { grid-template-columns: 1fr; }
  .cta__fig { justify-self: start; }
  .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shead { grid-template-columns: auto minmax(0, 1fr); }
  .shead__note { grid-column: 2; }
}

@media (max-width: 980px) {
  .burger { display: grid; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(360px, 88vw);
    background: var(--coal-2);
    border-left: 2px solid var(--org);
    padding: 88px 26px 30px;
    transform: translateX(101%);
    transition: transform var(--t);
    z-index: var(--z-nav);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link {
    min-height: 52px;
    border-top: 0;
    border-left: 3px solid transparent;
    font-size: 16px;
  }
  .nav__link.is-active { border-left-color: var(--org); }
  .hdr__act .btn { display: none; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts__i:nth-child(2) { border-right: 0; }
  .facts__i:nth-child(3) { padding-left: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --pad: 18px; --gap: 18px; }
  body { padding-bottom: 62px; }
  .mbar { display: block; }
  .totop { bottom: 74px; right: 16px; }
  .topbar__l .topbar__i:nth-child(2) { display: none; }
  .hdr__tel span { display: none; }
  .form__grid { grid-template-columns: 1fr; }
  .prow {
    grid-template-columns: 54px minmax(0, 1fr);
    row-gap: 12px;
    padding: 18px 0;
  }
  .prow__p { text-align: left; grid-column: 2; }
  .prow__b { justify-self: start; grid-column: 2; }
  .faq__a { padding-left: 0; }
  .faq__n { display: none; }
  .quote { padding: 20px 18px 22px; }
  .rail__i { grid-template-columns: 1fr; gap: 14px; padding: 24px 0 28px; }
  .rail__n { font-size: 38px; }
}

@media (max-width: 620px) {
  .tiles, .cats, .quotes, .steps, .tiles--4 { grid-template-columns: 1fr; }
  .hero__fig { transform: skew(-2deg); }
  .hero__fig img { transform: skew(2deg) scale(1.08); }
  .foot__grid { grid-template-columns: 1fr; }
  .stat { padding: 20px 16px 22px; }
}

@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; }
  .facts__i { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line-d); }
  .stats { grid-template-columns: 1fr; }
}
