/* ============================================================
   Дизайн-система прототипа «Промышленные полы СПб»
   Рабочая система оформления (бренд компании не задан —
   все параметры заменяемы в одном месте: секция :root)
   ============================================================ */
:root {
  /* Палитра: технический графит + сигнальный оранжевый */
  --ink: #1b2534;
  --ink-2: #3d4d61;
  --muted: #71808f;
  --bg: #f4f6f9;
  --surface: #ffffff;
  --line: #e2e8f0;
  --accent: #ff6600;
  --accent-2: #e05a00;
  --accent-soft: #fff1e6;
  --dark: #14263a;
  --dark-2: #1f2c3f;
  --ok: #1e8a4c;
  --err: #c62e26;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(22, 32, 46, .08);
  --shadow-lg: 0 18px 50px rgba(22, 32, 46, .16);
  --font-head: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1180px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); text-transform: uppercase; letter-spacing: .5px; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); text-transform: uppercase; letter-spacing: .5px; }
h3 { font-size: 1.25rem; }

.section { padding: 64px 0; }
.section--gray { background: var(--surface); }
.section--dark { background: var(--dark); color: #d7e0ea; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 760px; margin-bottom: 36px; }
.section-head p { color: var(--ink-2); margin: 0; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .82rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 10px;
}
.section--dark .eyebrow { color: #ffa35c; }

/* ---------- Верхняя демо-плашка прототипа ---------- */
.proto-bar {
  background: var(--dark-2);
  color: #cfd8e3;
  font-size: .8rem;
  padding: 6px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}
.proto-bar b { color: #ffb37a; font-weight: 600; }
.proto-bar button {
  background: none; border: 1px solid #3a4a5e; color: #cfd8e3;
  border-radius: 6px; cursor: pointer; padding: 1px 8px; font-size: .75rem;
}
.proto-bar button:hover { border-color: #ffb37a; color: #ffb37a; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex; align-items: center; gap: 24px;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-head); }
.logo:hover { text-decoration: none; }
.logo__mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center;
  color: #fff; font-size: 1.05rem; font-weight: 700;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-size: 1.15rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.logo__geo { font-family: var(--font-body); font-size: .72rem; color: var(--muted); letter-spacing: .4px; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__link { color: var(--ink); font-weight: 500; font-size: .95rem; padding: 6px 2px; }
.nav__link:hover { color: var(--accent-2); text-decoration: none; border-bottom: 2px solid var(--accent); }
.nav__link[aria-current="page"] { color: var(--accent-2); border-bottom: 2px solid var(--accent); font-weight: 600; }

.header__contacts { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.header__phone { font-family: var(--font-head); font-size: 1.12rem; color: var(--ink); font-weight: 600; white-space: nowrap; }
.header__phone:hover { text-decoration: none; color: var(--accent-2); }
.header__note { font-size: .72rem; color: var(--muted); }

.burger {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--surface); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { width: 20px; height: 2px; background: var(--ink); transition: .25s; display: block; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: .95rem;
  border-radius: var(--radius-sm); padding: 12px 24px; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--outline:hover { border-color: var(--accent); color: var(--accent-2); }
.btn--lg { padding: 15px 30px; font-size: 1.02rem; }
.btn--sm { padding: 8px 16px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--dark); overflow: hidden; }
.hero__slider { position: relative; height: clamp(430px, 62vh, 640px); }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity .8s ease, visibility .8s;
  display: flex; align-items: center;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13,19,29,.88) 0%, rgba(13,19,29,.62) 45%, rgba(13,19,29,.25) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 640px; color: #eef2f7; padding-top: 30px; }
.hero__content h1 { color: #fff; }
.hero__region {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,106,0,.16); border: 1px solid rgba(255,106,0,.55);
  color: #ffb37a; border-radius: 999px; padding: 5px 14px;
  font-size: .85rem; font-weight: 600; letter-spacing: .4px; margin-bottom: 16px;
}
.hero__lead { font-size: 1.08rem; color: #cfdaE6; margin: 0 0 26px; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3; display: flex; gap: 10px; justify-content: center; }
.hero__dot {
  width: 34px; height: 5px; border-radius: 3px; border: none; cursor: pointer;
  background: rgba(255,255,255,.35); transition: background .2s; padding: 0;
}
.hero__dot.is-active { background: var(--accent); }
.hero__arrows { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.hero__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4);
  background: rgba(15,22,33,.5); color: #fff; font-size: 1.1rem; cursor: pointer; transition: .2s;
}
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); }
.hero__arrow--prev { left: 18px; }
.hero__arrow--next { right: 18px; }

/* ---------- Плашки-преимущества под hero ---------- */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 26px 0; }
.strip__item { display: flex; gap: 14px; align-items: flex-start; }
.strip__icon {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-2);
  display: grid; place-items: center; font-size: 1.15rem;
}
.strip__title { font-weight: 600; font-size: .95rem; margin: 0 0 2px; }
.strip__text { font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.45; }

/* ---------- Карточки услуг ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 1.12rem; margin: 0; }
.card__text { color: var(--ink-2); font-size: .92rem; margin: 0; flex: 1; }
.card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.card__more { font-weight: 600; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.card__soon { font-size: .78rem; color: var(--muted); background: var(--bg); border: 1px dashed var(--line); padding: 4px 10px; border-radius: 999px; }

.tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .3px;
  background: var(--bg); color: var(--ink-2);
  border-radius: 999px; padding: 3px 10px;
}

/* ---------- Объекты/решения ---------- */
.objects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.object-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 190px;
  display: flex; align-items: flex-end; color: #fff;
}
.object-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.object-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,19,29,0) 35%, rgba(13,19,29,.9) 100%);
}
.object-card__body { position: relative; z-index: 2; padding: 16px 18px; }
.object-card__title { color: #fff; font-size: 1.05rem; margin: 0 0 4px; }
.object-card__text { font-size: .82rem; color: #cfd9e4; margin: 0; }

/* ---------- Таблица «как выбирается система» ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.spec { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .92rem; }
table.spec th, table.spec td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.spec th { background: var(--dark); color: #fff; font-family: var(--font-head); font-weight: 500; letter-spacing: .6px; text-transform: uppercase; font-size: .8rem; }
table.spec tr:last-child td { border-bottom: none; }
table.spec tr:nth-child(even) td { background: #fafbfd; }

/* ---------- Проекты / галерея ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); padding: 0; text-align: left;
}
.gallery-item img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .35s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item__cap {
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 12px 16px; font-size: .88rem; font-weight: 500; color: var(--ink);
}
.gallery-item__demo { font-size: .68rem; font-weight: 700; letter-spacing: .8px; color: var(--accent-2); background: var(--accent-soft); padding: 2px 8px; border-radius: 999px; text-transform: uppercase; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(10, 15, 23, .92); align-items: center; justify-content: center; padding: 28px;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: min(1000px, 100%); max-height: 82vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #dbe4ee; font-size: .9rem; }
.lightbox__close {
  position: absolute; top: 18px; right: 22px; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(15,22,33,.6);
  color: #fff; font-size: 1.2rem; cursor: pointer;
}

/* ---------- Этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; position: relative; }
.step__num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--dark); color: #fff; font-family: var(--font-head);
  display: grid; place-items: center; font-size: 1.05rem; margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--ink-2); font-size: .9rem; margin: 0; }

/* ---------- Отзывы ---------- */
.reviews { position: relative; }
.reviews__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px 2px 18px; scrollbar-width: thin;
}
.review {
  scroll-snap-align: start; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 14px;
}
.review__quote { font-size: .95rem; color: var(--ink-2); margin: 0; flex: 1; }
.review__foot { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--dark); color: #ffb37a; font-weight: 700;
  display: grid; place-items: center; font-size: .95rem;
}
.review__name { font-weight: 600; font-size: .92rem; margin: 0; }
.review__meta { font-size: .78rem; color: var(--muted); margin: 0; }
.review__demo {
  font-size: .68rem; font-weight: 700; letter-spacing: .8px; color: var(--muted);
  background: var(--bg); border: 1px dashed var(--line); padding: 2px 8px;
  border-radius: 999px; text-transform: uppercase; margin-left: auto;
}
.reviews__nav { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.reviews__btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font-size: 1rem; transition: .2s;
}
.reviews__btn:hover { border-color: var(--accent); color: var(--accent-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
}
.faq details[open] { border-color: var(--accent); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px;
  align-items: center; padding: 17px 20px; font-weight: 600; font-size: 1rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-head); font-size: 1.4rem; color: var(--accent-2);
  transition: transform .2s; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 20px 18px; color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---------- Форма ---------- */
.lead-section { background: var(--dark); }
.lead-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }
.lead-info h2 { color: #fff; }
.lead-info p { color: #c6d2de; }
.lead-list { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lead-list li { display: flex; gap: 10px; align-items: flex-start; color: #dbe4ee; font-size: .95rem; }
.lead-list li::before { content: "—"; color: var(--accent); font-weight: 700; }

.form {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--err); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .95rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px; background: #fff; width: 100%;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(255,106,0,.18); }
.field .field__hint { font-size: .74rem; color: var(--muted); margin: 0; }
.field.is-error input, .field.is-error select, .field.is-error textarea { border-color: var(--err); }
.field__error { color: var(--err); font-size: .78rem; display: none; }
.field.is-error .field__error { display: block; }
.form__status { border-radius: var(--radius-sm); padding: 13px 16px; font-size: .9rem; display: none; }
.form__status.is-visible { display: block; }
.form__status--ok { background: #e7f6ee; color: #14632f; border: 1px solid #b7e2c6; }
.form__status--demo { background: var(--accent-soft); color: #8a4a10; border: 1px solid #ffd2ad; }
.form__status--err { background: #fdeceb; color: #8f1f19; border: 1px solid #f3c1be; }
.form__legal { font-size: .74rem; color: var(--muted); margin: 0; }
.form__legal a { color: var(--ink-2); }

/* ---------- Контакты ---------- */
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card h3 { margin-top: 0; font-size: 1.05rem; }
.contact-card p { margin: 4px 0; color: var(--ink-2); font-size: .95rem; }
.contact-card a { color: var(--ink); font-weight: 600; }
.placeholder-note { display: inline-block; font-size: .72rem; color: var(--accent-2); background: var(--accent-soft); border-radius: 999px; padding: 2px 10px; margin-top: 8px; font-weight: 600; }

/* ---------- Хлебные крошки ---------- */
.crumbs { padding: 18px 0 4px; font-size: .84rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent-2); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }

/* ---------- Страница услуги: служебные блоки ---------- */
.page-hero { background: var(--dark); color: #e7edf4; padding: 46px 0 40px; }
.page-hero h1 { color: #fff; max-width: 800px; }
.page-hero p { color: #c6d2de; max-width: 720px; margin: 0; font-size: 1.05rem; }
.page-hero .crumbs a, .page-hero .crumbs li { color: #9fb0c1; }

.spec-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.spec-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.spec-list li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.callout {
  background: var(--accent-soft); border: 1px solid #ffd2ad; border-radius: var(--radius);
  padding: 18px 20px; color: #7c440f; font-size: .93rem; margin: 24px 0 0;
}
.callout b { color: #5c3006; }
.note-source { font-size: .78rem; color: var(--muted); margin-top: 10px; }

/* ---------- CTA-полоса ---------- */
.cta-strip { background: linear-gradient(100deg, var(--accent), var(--accent-2)); border-radius: var(--radius); padding: 34px 38px; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; margin: 0 0 6px; font-size: 1.6rem; }
.cta-strip p { color: #ffe4cd; margin: 0; }
.cta-strip .btn { background: #fff; color: var(--accent-2); }
.cta-strip .btn:hover { background: #ffe9dc; }

/* ---------- Подвал ---------- */
.footer { background: var(--dark); color: #b9c6d4; padding: 48px 0 26px; margin-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer h4 { color: #fff; font-family: var(--font-head); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; font-size: .95rem; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer a { color: #b9c6d4; font-size: .92rem; }
.footer a:hover { color: #ffb37a; text-decoration: none; }
.footer .logo__name { color: #fff; }
.footer__about { font-size: .88rem; line-height: 1.6; color: #93a3b4; margin-top: 14px; max-width: 320px; }
.footer__bottom {
  border-top: 1px solid #27384e; margin-top: 38px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: #7d8ea0;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1020px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .objects-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .reviews__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .strip__inner { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .lead-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .burger { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav__link { display: block; padding: 13px 0; border-bottom: 1px solid var(--bg); }
  .header__contacts { display: none; }
  .header .btn { display: none; }
  .hero__arrows { display: none; }
  .two-col { grid-template-columns: 1fr; gap: 26px; }
  .form__row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 44px 0; }
  .cards-grid, .objects-grid, .gallery-grid, .steps { grid-template-columns: 1fr; }
  .reviews__track { grid-auto-columns: 92%; }
  .strip__inner { grid-template-columns: 1fr; gap: 14px; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-strip { padding: 26px 22px; }
}
