/* ============================================================
   Кровля и ремонт «Орлов и Ко» — волна-4 v3, эталон roofora.
   Стиль по токен-профилю: фон #FFFFFF, текст #000000, тёмный
   #0E1201, акцент #CDF660, серый #EDEDED. Контейнер 1140 (снят
   в профиле). Радиусы 8/10/100px, тени дословно из раздела 8.
   Шрифт: Jost (одна гарнитура, 400/700) — матчинг roofora
   (Urbanist ≈ Jost, МАТЧИНГ_ЭТАЛОНЫ.md 04.11).
   Кегли — шкала 6 ступеней: 60 · 48 · 32 · 20 · 16 · 12
   (соотношения 1.25–1.6, правило С3).
   ============================================================ */

@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-400-cyrillic.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-400-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-700-cyrillic.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-700-latin.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #FFFFFF;
  --fg: #000000;
  --dark: #0E1201;
  --accent: #CDF660;
  --soft: #EDEDED;
  --muted: rgba(0, 0, 0, 0.6);
  --on-dark: #FFFFFF;
  --on-dark-soft: #EDEDED;
  --glass-line: rgba(252, 255, 245, 0.4);

  --font: "Jost", "Century Gothic", system-ui, sans-serif;

  /* тени — дословно из профиля (раздел 8) */
  --sh-card: rgba(0, 0, 0, 0.25) 0px 4px 6px 0px;
  --sh-panel: rgba(0, 0, 0, 0.17) 0px 0.602187px 1.56569px -1.5px, rgba(0, 0, 0, 0.14) 0px 2.28853px 5.95019px -3px, rgba(0, 0, 0, 0.02) 0px 10px 26px -4.5px;
  --sh-tight: rgba(0, 0, 0, 0.26) 0px 0.602187px 0.602187px -1.25px, rgba(0, 0, 0, 0.23) 0px 2.28853px 2.28853px -2.5px, rgba(0, 0, 0, 0.09) 0px 10px 10px -3.75px;

  --container: 1140px;
  --pad-block: 96px;
  --pad-block-m: 64px;
  --gutter: 24px;
  --radius: 10px;
  --radius-btn: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-synthesis: none;
  overflow-x: clip;
}

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }

h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
  hyphens: none;
}

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

.full-bleed { width: 100%; }

section.container { padding-block: var(--pad-block); }
section.full-bleed > .container { padding-block: var(--pad-block); }

section[id], footer { scroll-margin-top: 88px; }

/* Лейбл секции — приём roofora: подчёркнутый текстовый лейбл */
.label {
  display: inline-block;
  font-size: 16px;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  color: var(--fg);
}
.section-head--dark .label { color: var(--on-dark); }

.section-head { margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  margin-top: 16px;
}

.icon { width: 1em; height: 1em; flex: none; }

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 32px;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: box-shadow 0.2s ease;
}
.btn--accent {
  background: var(--accent);
  color: var(--dark);
  box-shadow: var(--sh-tight);
}
.btn--accent:hover { box-shadow: var(--sh-card); }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ============ ШАПКА (sticky) ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding-block: 12px;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a {
  font-size: 16px;
  color: var(--on-dark-soft);
  border-bottom: 2px solid transparent;
  padding-block: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.header__actions { display: flex; align-items: center; gap: 24px; }
.header__tel {
  color: var(--on-dark);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.header__cta { min-height: 48px; padding: 0 24px; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--on-dark);
  border-radius: 2px;
}
.nav-panel { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--on-dark);
  overflow: clip;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 18, 1, 0.66);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding-block: 96px 64px;
}
.hero__content { max-width: 860px; }
.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  color: var(--on-dark);
}
.nobr { white-space: nowrap; }
.hero__sub {
  margin-top: 24px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--on-dark-soft);
  max-width: 56ch;
}
.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.hero__tel {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--on-dark);
  white-space: nowrap;
  border-bottom: 2px solid var(--glass-line);
  padding-bottom: 4px;
}
.hero__urgent {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  font-size: 16px;
  color: var(--on-dark-soft);
}
.hero__urgent-dot {
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}
/* Плашки — в потоке, в сетке контейнера: на текст не наезжают */
.hero__panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.hero__panel {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(14, 18, 1, 0.55);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hero__panel-num {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.hero__panel-label {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--on-dark-soft);
}

/* ============ АВАРИЙНАЯ ПЛАШКА ============ */
.emergency { background: var(--dark); color: var(--on-dark); }
.emergency__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 64px;
}
.emergency__title {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
  color: var(--on-dark);
}
.emergency__sub {
  margin-top: 8px;
  font-size: 16px;
  color: var(--on-dark-soft);
}
.emergency__tel {
  display: inline-flex;
  align-items: center;
  min-height: 64px;
  padding: 0 32px;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: var(--dark);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  box-shadow: var(--sh-tight);
}

/* ============ ОБЪЕКТЫ ============ */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.project-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--sh-card);
  overflow: hidden;
}
.project-card__photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.project-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  flex: 1;
}
.tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--soft);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
}
.tag--lime { background: var(--accent); color: var(--dark); }
.project-card__place {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
}
.project-card__place .icon { width: 20px; height: 20px; color: var(--muted); }
.project-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--soft);
  font-size: 16px;
  color: var(--muted);
}
.project-card__price {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}
.project-card--dark { background: var(--dark); color: var(--on-dark); }
.project-card--dark .project-card__place .icon { color: var(--on-dark-soft); }
.project-card--dark .project-card__meta { border-top-color: rgba(237, 237, 237, 0.25); }
.project-card__facts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
}
.project-card__facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(237, 237, 237, 0.25);
  padding-top: 12px;
}
.project-card__facts dt { font-size: 12px; color: var(--on-dark-soft); }
.project-card__facts dd {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.projects__note {
  margin-top: 32px;
  font-size: 16px;
  color: var(--muted);
  max-width: 68ch;
}

/* ============ СМЕТА ============ */
.smeta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.smeta__lead {
  font-size: 20px;
  line-height: 1.5;
  max-width: 52ch;
}
.smeta__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}
.smeta__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
}
.smeta__list .icon {
  width: 22px;
  height: 22px;
  color: var(--fg);
  margin-top: 1px;
}
.smeta__cta { margin-top: 32px; }
.smeta__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--sh-panel);
}

/* ============ УСЛУГИ И ЦЕНЫ ============ */
.price-table { font-variant-numeric: tabular-nums; }
.price-table__row { border-bottom: 1px solid var(--soft); }
.price-table__row:first-child { border-top: 1px solid var(--soft); }
.price-table__name {
  padding: 20px 16px 20px 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  vertical-align: top;
}
.price-table__hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.price-table__price {
  padding: 20px 0;
  text-align: right;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 700;
  vertical-align: top;
}
.pill {
  display: inline-block;
  margin-left: 12px;
  padding: 2px 12px;
  border-radius: 100px;
  background: var(--dark);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  vertical-align: 2px;
}
.prices__cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}
.prices__note {
  font-size: 16px;
  color: var(--muted);
  max-width: 46ch;
}

/* ============ ПРЕИМУЩЕСТВА (тёмная секция, как Industries у roofora) ============ */
.advantages { background: var(--dark); color: var(--on-dark); }
.advantages__lead {
  font-size: 20px;
  line-height: 1.5;
  color: var(--on-dark-soft);
  max-width: 56ch;
  margin-top: -16px;
  margin-bottom: 48px;
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
}
.advantage {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--fg);
}
.advantage:nth-child(4), .advantage:nth-child(5) { grid-column: span 3; }
.advantage--lime { background: var(--accent); }
.advantage--glass {
  background: transparent;
  border: 1px solid var(--glass-line);
  color: var(--on-dark);
}
.advantage__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  flex: none;
  border-radius: 50%;
  background: var(--dark);
  color: var(--accent);
}
.advantage--glass .advantage__icon {
  background: transparent;
  border: 1px solid var(--glass-line);
}
.advantage__icon .icon { width: 26px; height: 26px; }
.advantage h3 {
  font-size: 20px;
  line-height: 1.3;
}
.advantage p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 46ch;
}
.advantage--glass p { color: var(--on-dark-soft); }

/* ============ ПРОЦЕСС ============ */
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.step {
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--sh-card);
}
.step__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--accent);
}
.step__icon .icon { width: 26px; height: 26px; }
.step h3 {
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.3;
}
.step p:not(.step__icon) {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}

/* ============ ОТЗЫВЫ (серая панель, как Client Feedback у roofora) ============ */
.reviews { background: var(--soft); }
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--bg);
  border-radius: var(--radius);
  box-shadow: var(--sh-panel);
}
.review p { font-size: 16px; line-height: 1.5; }
.review footer {
  margin-top: auto;
  font-size: 16px;
  font-weight: 700;
}

/* ============ FAQ — лево + вся ширина сетки (С5) ============ */
.faq__list { display: flex; flex-direction: column; gap: 16px; }
.faq__item {
  border: 1px solid var(--soft);
  border-radius: var(--radius);
  background: var(--bg);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  border-right: 2px solid var(--fg);
  border-bottom: 2px solid var(--fg);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.faq__item p {
  padding: 0 24px 24px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 68ch;
}

/* ============ ФОРМА (финальный CTA, тёмная) ============ */
.cta { background: var(--dark); color: var(--on-dark); }
.cta__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.section-head .cta__title { font-size: clamp(28px, 3vw, 32px); }
.cta__trust {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cta__trust li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--on-dark-soft);
}
.cta__trust .icon { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-line);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__field {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid var(--glass-line);
  border-radius: var(--radius-btn);
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-dark);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
}
.form__field::placeholder { color: rgba(255, 255, 255, 0.5); }
.form__field:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.form__field--select {
  appearance: none;
  -webkit-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='%23EDEDED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 20px;
  padding-right: 48px;
}
.form__field--select:invalid { color: rgba(255, 255, 255, 0.5); }
.form__field--select option { color: var(--fg); background: var(--bg); }
.form__field--area { resize: vertical; min-height: 96px; }
.form__submit { width: 100%; }
.form__note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--on-dark-soft);
}

/* ============ КОНТАКТЫ ============ */
.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.contacts__list { display: flex; flex-direction: column; }
.contacts__list > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding-block: 16px;
  border-bottom: 1px solid var(--soft);
}
.contacts__list > div:first-child { border-top: 1px solid var(--soft); }
.contacts__list dt { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; color: var(--muted); padding-top: 4px; }
.contacts__list dd { font-size: 16px; line-height: 1.5; }
.contacts__list a { border-bottom: 1px solid var(--fg); }
.contacts__map {
  border-radius: var(--radius);
  background: var(--soft);
  padding: 24px;
}
.contacts__map svg { width: 100%; height: auto; display: block; }

/* ============ ФУТЕР — сетка колонок по эталону ============ */
.footer { background: var(--dark); color: var(--on-dark); }
.footer .container { padding-block: 64px 32px; }
.footer__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px 32px;
}
.footer__col { grid-column: span 3; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__col--brand { grid-column: span 4; }
.footer__col:nth-child(2) { grid-column: span 2; }
.footer__col:nth-child(3) { grid-column: span 3; }
.footer__col:nth-child(4) { grid-column: span 3; }
.footer__logo img { height: 40px; width: auto; }
.footer__about { font-size: 16px; line-height: 1.5; color: var(--on-dark-soft); max-width: 30ch; }
.footer__tel {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.footer__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--on-dark);
  margin-bottom: 4px;
}
.footer__col a, .footer__col p { font-size: 16px; line-height: 1.5; color: var(--on-dark-soft); }
.footer__col a { border-bottom: 1px solid transparent; }
.footer__col a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.footer__accent { color: var(--accent) !important; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--glass-line);
  font-size: 12px;
  color: var(--on-dark-soft);
}
.footer__bottom a { color: var(--accent); }

/* ============ АДАПТИВ ============ */
@media (max-width: 1023px) {
  .nav, .header__actions { display: none; }
  .burger { display: flex; }
  .nav-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 24px 24px 32px;
    background: var(--dark);
    border-top: 1px solid var(--glass-line);
  }
  .nav-panel a {
    padding: 12px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--on-dark);
  }
  .nav-panel .btn { margin-top: 16px; color: var(--dark); }
  .nav-panel__tel { font-variant-numeric: tabular-nums; }
  .nav-toggle:checked ~ .nav-panel { display: flex; }

  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .project-card--dark { grid-column: 1 / -1; }
  .project-card--dark .project-card__facts { flex-direction: row; }
  .project-card--dark .project-card__facts > div { flex: 1; }
  .smeta__grid { grid-template-columns: 1fr; gap: 48px; }
  .smeta__media { max-width: 640px; margin-inline: auto; width: 100%; }
  .advantages__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .advantage, .advantage:nth-child(4), .advantage:nth-child(5) { grid-column: auto; }
  .process__grid { grid-template-columns: 1fr; gap: 24px; }
  .reviews__grid { grid-template-columns: 1fr; gap: 24px; }
  .cta__grid { grid-template-columns: 1fr; gap: 48px; }
  .contacts__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__col, .footer__col--brand,
  .footer__col:nth-child(2), .footer__col:nth-child(3),
  .footer__col:nth-child(4) { grid-column: auto; }
}

@media (max-width: 767px) {
  .container { padding-inline: 20px; }
  section.container { padding-block: var(--pad-block-m); }
  section.full-bleed > .container { padding-block: var(--pad-block-m); }

  .header__inner { min-height: 64px; padding-block: 8px; }

  .hero__inner { padding-block: 64px 48px; }
  .hero__sub { font-size: 16px; }
  .hero__actions { margin-top: 24px; gap: 16px; }
  .hero__actions .btn { width: 100%; }
  .hero__panels {
    margin-top: 48px;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hero__panel { display: flex; align-items: baseline; gap: 12px; padding: 16px 20px; }
  .hero__panel-label { margin-top: 0; }

  .emergency__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .emergency__tel { width: 100%; justify-content: center; font-size: 20px; }

  .projects__grid { grid-template-columns: 1fr; }
  .project-card__photo { aspect-ratio: 3 / 2; }
  .project-card--dark .project-card__facts { flex-direction: column; }
  .advantages__grid { grid-template-columns: 1fr; }
  .advantages__lead { margin-top: -8px; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .contacts__list > div { grid-template-columns: 1fr; gap: 4px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .btn { min-height: 52px; }
}
