/* ===== МДорога — pilot styles ===== */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141414;
  --ink-2: #1f1f1f;
  --paper: #f4f1ea;
  --white: #ffffff;
  --accent: #f2b705;
  --accent-2: #d9a300;
  --muted: #6d6a63;
  --line: #ded8cb;
  --line-dark: rgba(255, 255, 255, 0.16);
  --radius: 4px;
  --container: 1240px;
  --shadow: 0 18px 50px rgba(20, 20, 20, 0.08);
}

*,
*::before,
*::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 92px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding-left: 1.2em; }

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

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  background: var(--accent);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--paper); }
.btn--outline-light { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ===== Top bar ===== */
.topbar {
  background: #0b0b0b;
  color: rgba(255,255,255,.72);
  font-size: 12.5px;
  letter-spacing: .01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
}
.topbar__note { display: flex; align-items: center; gap: 10px; }
.topbar__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(242,183,5,.16);
}
.topbar a { color: #fff; }
.topbar a:hover { color: var(--accent); }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,241,234,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header--stuck {
  border-color: var(--line);
  box-shadow: 0 8px 30px rgba(20,20,20,.06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}
.logo__mark {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--accent);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.logo__mark::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -10px;
  width: 6px; height: 28px;
  background: var(--accent);
  transform: translateX(-50%) rotate(24deg);
  opacity: .55;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-weight: 700; font-size: 19px; letter-spacing: .02em; }
.logo__sub { font-size: 10.5px; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin-top: 3px; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav__link {
  font-size: 14.5px;
  font-weight: 400;
  color: #2b2b2b;
  position: relative;
  padding: 6px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .2s ease;
}
.nav__link:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.header__phone { font-weight: 700; font-size: 15px; white-space: nowrap; }
.header__phone small { display: block; font-weight: 400; font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.header .btn { min-height: 44px; padding: 10px 16px; font-size: 13.5px; }
.burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 2px;
  position: relative;
}
.burger span,
.burger span::before,
.burger span::after {
  position: absolute;
  left: 11px; right: 11px;
  height: 2px;
  background: var(--ink);
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.burger span { top: 21px; }
.burger span::before { top: -7px; left: 0; right: 0; }
.burger span::after { top: 7px; left: 0; right: 0; }
.nav--open .burger span { background: transparent; }
.nav--open .burger span::before { transform: translateY(7px) rotate(45deg); }
.nav--open .burger span::after { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: stretch;
  gap: 0;
  min-height: 590px;
}
.hero__content {
  padding: 64px 48px 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.6);
  margin-bottom: 22px;
}
.hero__label::before {
  content: "";
  width: 34px; height: 2px;
  background: var(--accent);
}
.hero__title {
  font-size: clamp(38px, 4.1vw, 60px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 700;
  max-width: 680px;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}
.hero__lead {
  max-width: 590px;
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,.82);
  border-radius: 2px;
}
.badge strong { color: var(--white); font-weight: 700; }
.badge::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero__media {
  position: relative;
  min-height: 520px;
  margin: 32px 0;
}
.hero__media::before {
  content: "";
  position: absolute;
  left: -18px; top: 18px;
  width: 120px; height: 120px;
  border-left: 8px solid var(--accent);
  border-top: 8px solid var(--accent);
  opacity: .9;
}
.hero__photo {
  width: 100%; height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: saturate(.95) contrast(1.03);
}
.hero__caption {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  background: rgba(20,20,20,.82);
  color: rgba(255,255,255,.78);
  font-size: 11.5px;
  letter-spacing: .02em;
  padding: 9px 12px;
  border-left: 3px solid var(--accent);
}
.hero__stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
  margin-top: 0;
}
.stat {
  padding: 22px 24px 24px 0;
  border-right: 1px solid rgba(255,255,255,.12);
}
.stat:last-child { border-right: 0; }
.stat__value { font-size: 30px; font-weight: 700; letter-spacing: -.03em; color: var(--white); }
.stat__value span { color: var(--accent); }
.stat__label { margin-top: 4px; font-size: 12.5px; color: rgba(255,255,255,.56); }

/* ===== Sections ===== */
.section { padding: 84px 0; }
.section--tight { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--white); }
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 38px;
}
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  margin-bottom: 14px;
}
.section__label::before {
  content: "";
  width: 30px; height: 2px;
  background: var(--accent);
}
.section--dark .section__label { color: rgba(255,255,255,.55); }
.section__title {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.1;
  letter-spacing: -.03em;
  font-weight: 700;
  max-width: 780px;
}
.section__lead {
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.section--dark .section__lead { color: rgba(255,255,255,.68); }
.section__link {
  font-size: 14px;
  font-weight: 700;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  white-space: nowrap;
}

/* ===== Services ===== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-card:hover .service-card__media img { transform: scale(1.03); }
.service-card__price {
  position: absolute;
  left: 14px; bottom: 14px;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 10px;
}
.service-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.service-card__title { font-size: 21px; line-height: 1.2; letter-spacing: -.02em; }
.service-card__text { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.service-card__link {
  margin-top: auto;
  padding-top: 18px;
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.service-card__link::after { content: "→"; color: var(--accent-2); }

/* ===== Service catalog ===== */
.catalog { display: grid; gap: 34px; margin-top: 8px; }
.catalog__group h3 { margin-top: 0; }
.catalog__list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 28px;
}
.catalog__list li { margin: 0; }
.catalog__list a {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.catalog__list a::before { content: "→"; color: var(--accent-2); font-size: 12px; }
.content .catalog__list a { text-decoration: none; }
.content .catalog__list a:hover { border-bottom-color: var(--accent); background: transparent; }
.catalog__note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.content .table--prices th:nth-child(2) { width: 1%; white-space: nowrap; }
.content .table--prices td:nth-child(2) { white-space: nowrap; }
@media (max-width: 760px) {
  .catalog__list { grid-template-columns: 1fr; }
}

/* ===== Split / features ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
}
.split__media--wide img { aspect-ratio: 16 / 9; }
.split__media::after {
  content: "";
  position: absolute;
  right: -14px; bottom: -14px;
  width: 96px; height: 96px;
  border-right: 7px solid var(--accent);
  border-bottom: 7px solid var(--accent);
  z-index: -1;
}
.features { display: grid; gap: 0; margin-top: 28px; }
.feature {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.feature:last-child { border-bottom: 1px solid var(--line); }
.feature__num {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
}
.feature__title { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.feature__text { margin-top: 4px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }

/* ===== Price table ===== */
.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table caption {
  text-align: left;
  padding: 20px 22px 0;
  font-size: 13px;
  color: var(--muted);
}
.price-table th,
.price-table td {
  padding: 16px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 700;
  background: #faf8f3;
}
.price-table td:last-child,
.price-table th:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table td small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin-top: 3px; }
.price-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 22px;
  background: #faf8f3;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.price-note::before { content: "i"; flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: 11px; font-weight: 700; }

/* ===== Cases ===== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.case-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #ddd; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.case-card__tag {
  position: absolute; left: 12px; top: 12px;
  background: rgba(20,20,20,.82);
  color: #fff;
  font-size: 11px;
  padding: 6px 9px;
  letter-spacing: .02em;
}
.case-card__body { padding: 20px; }
.case-card__meta { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.case-card__title { margin-top: 8px; font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.case-card__text { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ===== Reviews ===== */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.review__stars { color: var(--accent-2); letter-spacing: 3px; font-size: 13px; }
.review__text { margin-top: 14px; font-size: 15.5px; line-height: 1.55; }
.review__author { margin-top: auto; padding-top: 20px; font-size: 13px; color: var(--muted); }
.review__author strong { color: var(--ink); display: block; font-size: 14px; }

/* ===== Geo ===== */
.geo {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.geo__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 9px 12px;
  font-size: 13px;
  border-radius: 2px;
}
a.chip { font-weight: 700; border-color: var(--ink); }
a.chip:hover { background: var(--ink); color: var(--white); }
.chip--muted { color: var(--muted); background: transparent; }
.geo__note { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* ===== Expert ===== */
.expert {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}
.expert__photo { position: relative; }
.expert__photo img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center top; border-radius: var(--radius); filter: grayscale(.15); }
.expert__photo::after {
  content: "";
  position: absolute;
  left: -12px; bottom: -12px;
  width: 84px; height: 84px;
  border-left: 7px solid var(--accent);
  border-bottom: 7px solid var(--accent);
}
.expert__quote {
  font-size: clamp(22px, 2.3vw, 32px);
  line-height: 1.25;
  letter-spacing: -.025em;
  font-weight: 700;
}
.expert__quote span { color: #8a6400; }
.expert__name { margin-top: 22px; font-size: 14px; font-weight: 700; }
.expert__role { font-size: 13px; color: var(--muted); margin-top: 2px; }
.expert__text { margin-top: 18px; color: var(--muted); font-size: 15px; max-width: 620px; }
.expert--author {
  grid-template-columns: 112px 1fr;
  gap: 20px;
  align-items: start;
  margin: 34px 0 18px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.expert--author .expert__photo img { aspect-ratio: 1 / 1; }
.expert--author .expert__name { margin-top: 0; }
.expert--author .expert__text { margin-top: 8px; font-size: 14px; }
.content-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }.content-gallery figure { margin: 0; }
.content-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.content-gallery figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.geo-list { margin: 12px 0 18px; padding: 14px 16px; background: var(--paper); border-left: 3px solid var(--accent); line-height: 1.7; font-size: 14.5px; }
@media (max-width: 700px) {
  .expert--author { grid-template-columns: 84px 1fr; gap: 14px; }
  .content-gallery { grid-template-columns: 1fr; }
}

/* ===== FAQ ===== */
.faq { max-width: 900px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  flex: 0 0 26px;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { content: "−"; transform: rotate(180deg); }
.faq__answer { padding: 0 0 22px; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 820px; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact__title { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; letter-spacing: -.03em; }
.contact__text { margin-top: 18px; color: rgba(255,255,255,.68); max-width: 440px; }
.contact__list { margin-top: 28px; display: grid; gap: 16px; }
.contact__item { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 14.5px; color: rgba(255,255,255,.8); }
.contact__item strong { display: block; color: #fff; font-size: 15px; }
.contact__item span { color: rgba(255,255,255,.48); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.form {
  background: var(--white);
  color: var(--ink);
  padding: 30px;
  border-radius: var(--radius);
}
.form__title { font-size: 22px; letter-spacing: -.02em; }
.form__sub { margin-top: 6px; color: var(--muted); font-size: 13.5px; }
.form__grid { display: grid; gap: 14px; margin-top: 20px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fbfaf7;
  padding: 13px 14px;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); background: var(--white); }
.field textarea { min-height: 86px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 11.5px; color: var(--muted); line-height: 1.45; }
.consent span { display: block; }
.consent input { margin-top: 3px; accent-color: var(--ink); flex: 0 0 auto; }
.consent a { text-decoration: underline; }
.form .btn { width: 100%; margin-top: 4px; }
.form__note { font-size: 11.5px; color: var(--muted); text-align: center; }
.form__success {
  display: none;
  padding: 22px;
  background: #f0f7e9;
  border: 1px solid #cfe3bf;
  color: #2f5a1f;
  font-size: 14px;
  border-radius: 2px;
}
.form__error {
  display: none;
  margin-top: 12px;
  padding: 14px 16px;
  background: #fdf0ee;
  border: 1px solid #efc9c2;
  color: #8a2d1e;
  font-size: 13px;
  line-height: 1.45;
  border-radius: 2px;
}
.form--sent .form__grid,
.form--sent .form__note { display: none; }
.form--sent .form__success { display: block; }
.form--error .form__error { display: block; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ===== Footer ===== */
.footer { background: #0d0d0d; color: rgba(255,255,255,.6); padding: 56px 0 28px; font-size: 13.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1fr; gap: 36px; }
.footer__brand .logo__name { color: #fff; }
.footer__brand .logo__sub { color: rgba(255,255,255,.55); }
.footer__text { margin-top: 16px; max-width: 300px; color: rgba(255,255,255,.52); font-size: 13px; line-height: 1.55; }
.footer__title { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer__list { list-style: none; padding: 0; display: grid; gap: 9px; }
.footer__list a:hover { color: var(--accent); }
.footer__legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  color: rgba(255,255,255,.5);
}
.footer__legal p { max-width: 820px; }
.footer__phone { color: #fff; font-weight: 700; font-size: 16px; }
.footer__phone:hover { color: var(--accent); }

/* ===== Breadcrumbs / page hero ===== */
.breadcrumbs {
  padding: 18px 0;
  font-size: 12.5px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span { margin: 0 8px; color: #b7b1a6; }
.page-hero { background: var(--white); padding: 46px 0 0; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.page-hero__label { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 14px; }
.page-hero__label::before { content: ""; width: 24px; height: 2px; background: var(--accent); }
.page-hero h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; letter-spacing: -.035em; }
.page-hero__lead { margin-top: 18px; color: var(--muted); font-size: 17px; max-width: 660px; }
.page-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.page-hero__badges .badge { border-color: var(--line); color: var(--muted); }
.page-hero__badges .badge strong { color: var(--ink); }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.page-hero__media--crumb img { aspect-ratio: 1 / 1; object-position: center 32%; }
.page-hero__media::after { content: ""; position: absolute; right: -10px; bottom: -10px; width: 70px; height: 70px; border-right: 6px solid var(--accent); border-bottom: 6px solid var(--accent); z-index: -1; }
.page-hero__bar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 26px 0 30px; }
.page-hero__bar .btn { min-height: 46px; }

/* ===== Article layout ===== */
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; padding: 56px 0 84px; }
.page-layout > * { min-width: 0; }
.content { font-size: 16.5px; line-height: 1.65; color: #2a2a2a; min-width: 0; }
.content > * + * { margin-top: 18px; }
.content h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.15; letter-spacing: -.025em; margin-top: 42px; }
.content h3 { font-size: 20px; line-height: 1.25; letter-spacing: -.015em; margin-top: 28px; }
.content p { color: #363636; }
.content ul, .content ol { color: #363636; }
.content li + li { margin-top: 7px; }
.content a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.content a:hover { background: rgba(242,183,5,.18); }
.content blockquote {
  margin: 28px 0;
  padding: 22px 24px;
  background: var(--white);
  border-left: 4px solid var(--accent);
  font-size: 17px;
  color: var(--ink);
}
.content table { width: 100%; border-collapse: collapse; background: var(--white); font-size: 14.5px; }
@media (max-width: 700px) {
  .content .table--wide { min-width: 560px; }
}
.content th, .content td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.content th { background: #faf8f3; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.content .table-wrap { overflow-x: auto; max-width: 100%; -webkit-overflow-scrolling: touch; }
.content figure { margin: 26px 0; }
.content figure img { border-radius: var(--radius); }
.content figcaption { margin-top: 8px; font-size: 12.5px; color: var(--muted); }

/* Technical diagrams */
.diagram {
  margin: 28px 0 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 14px 12px;
  min-width: 0;
  max-width: 100%;
}
.diagram-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; min-width: 0; max-width: 100%; }
.diagram-scroll picture { display: block; }
.diagram-scroll img { width: 100%; min-width: 680px; height: auto; display: block; }
.diagram--wide .diagram-scroll img { min-width: 780px; }
.diagram figcaption {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.diagram-hint { display: none; color: var(--ink); font-weight: 700; font-size: 11px; }
@media (max-width: 1100px) { .diagram--wide .diagram-hint { display: block; margin: 0 0 8px; } }
@media (max-width: 640px) { .diagram-hint { display: block; margin: 0 0 8px; } }
@media (max-width: 640px) {
  .diagram { padding: 10px; }
  .diagram-scroll { overflow-x: visible; }
  .diagram-scroll img,
  .diagram--wide .diagram-scroll img { min-width: 0; width: 100%; }
  .diagram-hint,
  .diagram--wide .diagram-hint { display: none; }
}
.content .lead { font-size: 19px; line-height: 1.55; color: var(--ink); }
.content .note { padding: 16px 18px; background: #faf8f3; border: 1px solid var(--line); font-size: 14px; color: var(--muted); }

.aside { position: sticky; top: 100px; display: grid; gap: 16px; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.aside-card__label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.aside-card__price { margin-top: 6px; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.aside-card__price small { font-size: 13px; font-weight: 400; color: var(--muted); }
.aside-card__list { list-style: none; padding: 0; display: grid; gap: 9px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.aside-card__list li { display: flex; gap: 9px; }
.aside-card__list li::before { content: "✓"; color: var(--accent-2); font-weight: 700; }
.aside-card .btn { width: 100%; margin-top: 16px; }
.aside-card__phone { display: block; text-align: center; margin-top: 10px; font-size: 14px; font-weight: 700; }
.aside-card--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.aside-card--dark .aside-card__label,
.aside-card--dark .aside-card__list { color: rgba(255,255,255,.62); }
.aside-card--dark .aside-card__price small { color: rgba(255,255,255,.5); }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 22px 24px 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.step:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 28px; }
.step:nth-child(even) { padding-left: 28px; }
.step__num { font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; }
.step__title { font-size: 16px; font-weight: 700; }
.step__text { margin-top: 4px; font-size: 14px; color: var(--muted); }

/* ===== Calculator ===== */
.calc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.calc__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px; align-items: start; }
.calc__fields { display: grid; gap: 12px; }
.calc__result { background: var(--ink); color: var(--white); padding: 24px; border-radius: 2px; }
.calc__result-label { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.5); }
.calc__result-value { margin-top: 8px; font-size: 34px; font-weight: 700; letter-spacing: -.03em; color: var(--accent); }
.calc__result-note { margin-top: 8px; font-size: 12px; color: rgba(255,255,255,.55); }
.calc__result .btn { width: 100%; margin-top: 18px; }
.calc__breakdown { margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16); display: grid; gap: 7px; font-size: 12.5px; }
.calc__breakdown div { display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.72); }
.calc__breakdown strong { color: #fff; font-weight: 400; white-space: nowrap; }
.calc__check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #363636; }
.calc__check input { margin-top: 4px; }
.calc__reset { background: none; border: 0; padding: 0; margin-top: 10px; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; justify-self: start; text-align: left; }
.calc__reset:hover { color: var(--ink); }

/* ===== Mobile CTA ===== */
.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 10px 12px;
  gap: 10px;
}
.mobile-cta .btn { flex: 1; min-height: 46px; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero__content { padding-right: 28px; }
  .hero__title { font-size: 46px; }
  .nav { gap: 16px; }
  .header__phone { display: none; }
  .page-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; }
}
@media (max-width: 900px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar { font-size: 11.5px; }
  .header__inner { min-height: 70px; }
  .nav {
    display: none;
    position: fixed;
    left: 0; right: 0; top: 106px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    box-shadow: 0 24px 40px rgba(20,20,20,.12);
  }
  .nav--open { display: flex; }
  .nav__link { font-size: 17px; padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .burger { display: block; margin-left: auto; }
  .header__actions .btn { display: none; }
  .hero {
    background:
      linear-gradient(180deg, rgba(20,20,20,.88), rgba(20,20,20,.74)),
      url("../img/paver.webp") center / cover no-repeat;
  }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; }
  .hero__content { padding: 46px 0 34px; }
  .hero__title { font-size: clamp(36px, 7vw, 48px); }
  .hero__media { display: none; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 16px 0; }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .services, .cases, .reviews { grid-template-columns: repeat(2, 1fr); }
  .split, .geo, .contact, .expert { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split__media { order: 0; }
  .expert__photo { max-width: 240px; }
  .page-hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .page-hero__media { max-width: 520px; }
  .page-layout { grid-template-columns: 1fr; }
  .aside { position: static; grid-row: 1; }
  .aside-card:not(.aside-card--dark) { display: none; }
  .aside-card { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
  .aside-card .btn { width: auto; margin-top: 0; }
  .aside-card__list { grid-column: 1 / -1; margin-top: 0; }
  .calc__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 68px; }
}
@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 58px 0; }
  .section__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
  .services, .cases, .reviews { grid-template-columns: 1fr; }
  .hero__title { font-size: 34px; }
  .hero__lead { font-size: 16px; }
  .hero__stats { grid-template-columns: 1fr 1fr; }
  .stat__value { font-size: 26px; }
  .page-hero h1 { font-size: 34px; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(odd) { border-right: 0; padding-right: 0; }
  .step:nth-child(even) { padding-left: 0; }
  .form { padding: 22px; }
  .field--row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .footer__legal { flex-direction: column; }
  .content { font-size: 16px; }
  .content h2 { font-size: 25px; }
  .price-table th, .price-table td { padding: 12px 14px; font-size: 13px; }
  .aside-card { grid-template-columns: 1fr; }
  .aside-card .btn { width: 100%; }
}

/* ===== City hub ===== */
.city-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.city-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.city-card h3 { margin: 0; font-size: 19px; line-height: 1.2; }
.city-card p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.city-card a { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; text-decoration: none; }
.city-card a::after { content: "→"; color: var(--accent-2); }
.city-grid > .city-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.reviews--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .reviews--page { grid-template-columns: 1fr; } }
.content .city-card a { text-decoration: none; }
.content .city-card a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
@media (max-width: 700px) { .city-grid { grid-template-columns: 1fr; } }

/* ===== Commercial offer box ===== */
.commercial-box { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 20px 22px; margin: 24px 0; }
.commercial-box h2 { margin: 0 0 8px; font-size: 22px; line-height: 1.2; }
.commercial-box p { margin: 0; }
.commercial-box ul { margin: 10px 0 0; }
.commercial-box .commercial-box__links { margin-top: 12px; font-size: 14px; }

.case-card__title a { text-decoration: none; }
.case-card__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); }

h2[id], h3[id] { scroll-margin-top: 96px; }

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: #141414;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 14px 0;
  transform: translateY(110%);
  transition: transform .25s ease;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, .18);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cookie-banner__text {
  max-width: 820px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .78);
}
.cookie-banner__text a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .45);
}
.cookie-banner__text a:hover { text-decoration-color: var(--accent); }
.cookie-banner__btn {
  flex: 0 0 auto;
  min-width: 128px;
  min-height: 42px;
}
@media (max-width: 900px) {
  .cookie-banner {
    bottom: 82px;
    padding: 12px 0;
  }
  .cookie-banner__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .cookie-banner__text { font-size: 12.5px; }
  .cookie-banner__btn { width: 100%; }
}

/* ===== MAX messenger ===== */
.header__max {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 40px;
  padding: 0 2px;
  border: 0;
  background: transparent;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
  text-decoration: none;
  flex: 0 0 auto;
}
.header__max:hover { opacity: .78; color: var(--ink); }
.header__max img { width: 28px; height: 28px; display: block; border-radius: 7px; }
.contact__max-icon { width: 24px; height: 24px; display: block; margin-top: 1px; border-radius: 6px; }
@media (max-width: 1280px) {
  .header__max { padding: 0; }
  .header__max span { display: none; }
  .header__max img { width: 30px; height: 30px; }
}

/* ===== Consent block ===== */
.consent {
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #faf8f3;
  border-radius: 2px;
  font-size: 12px;
  color: #4b4b4b;
}
.consent span { line-height: 1.5; }
.consent a { color: var(--ink); }
.consent input { margin-top: 2px; }
