/* ==========================================================================
   Дымоходы-Урал — стили сайта
   Бетонно-серый фон, чёрный текст, малахитовый акцент. Плоские плитки без
   скруглений и теней. Заголовки — Sofia Sans Extra Condensed, заглавными.

   1. Переменные и база     6. Тексты и иллюстрации   11. Доставка, документы
   2. Кнопки и мелочи       7. Плитки и списки        12. Контакты, призыв
   3. Формы                 8. Страница товара        13. Подвал
   4. Шапка                 9. Таблицы                14. Модальные окна
   5. Главный экран        10. Калькулятор            15. Адаптив
   ========================================================================== */

/* 1. Переменные и база
   ========================================================================== */
:root {
  --bg: #e9e9e5;
  --bg-2: #dcdcd7;
  --panel: #ffffff;
  --ink: #141414;
  --muted: #5c5f5d;
  --faint: #8a8d8a;
  --line: #c9c9c4;
  --green: #0e5b49;
  --green-deep: #0a4638;
  --green-soft: #dcebe5;
  --ochre-soft: #f3ead0;
  --error: #b3261e;

  --font: "Sofia Sans", "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(56px, 8vw, 120px);
  --header-h: 80px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
::selection { background: var(--green); color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
}
.skip-link:focus { top: 12px; }

/* Общий вид крупных заголовков */
.hero__title,
.page-head__title,
.section__title,
.prose h2,
.cta-band__title,
.modal__title,
.contact-form__title,
.calc__question,
.delivery__subtitle,
.quick-form__title {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* 2. Кнопки и мелочи
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 10px 26px;
  border: 2px solid transparent;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn--lg { min-height: 60px; padding: 12px 34px; font-size: 23px; }
.btn--block { width: 100%; }

.btn--fire { background: var(--ink); color: #fff; }
.btn--fire:hover:not(:disabled) { background: var(--green); }

.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }

.link { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.link:hover { color: var(--ink); }

.note { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.kicker { font-size: 16px; font-weight: 700; color: var(--green); }

.stock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  vertical-align: middle;
}
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1f9a6e; }

.section { padding-block: var(--section); }
.section--tint { background: var(--bg-2); }
.section--dark { background: var(--green); color: #fff; }
.section--flush { padding-top: clamp(28px, 4vw, 56px); }

.section__head { max-width: 900px; margin-bottom: clamp(28px, 4vw, 56px); }
.section__title { font-size: clamp(40px, 6.4vw, 92px); }
.section__lead { margin-top: 18px; max-width: 640px; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); }
.section--dark .section__lead { color: #c5ddd5; }
.section__lead .stock { margin-left: 6px; }

.checklist li { position: relative; margin-top: 10px; padding-left: 26px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 14px; height: 2px;
  background: currentColor;
}

/* 3. Формы
   ========================================================================== */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field__label { font-size: 14.5px; font-weight: 600; }
.field__label small { font-weight: 400; color: var(--muted); }

.field__input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
textarea.field__input { resize: vertical; min-height: 96px; }
.field__input::placeholder { color: #a0a29f; }
.field__input:hover { border-color: var(--faint); }
.field__input:focus { outline: none; border-color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.field.is-invalid .field__input { border-color: var(--error); }

.field__error { display: block; font-size: 13.5px; color: var(--error); }
.field__error:empty { display: none; }
.field__error--consent { margin: -6px 0 12px; }
.field__trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 14px;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
}
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }

.form-status { margin-top: 10px; font-size: 14.5px; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }

/* 4. Шапка
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark { width: 46px; height: 46px; }
.logo__text { display: flex; flex-direction: column; }
.logo__brand {
  font-family: var(--display);
  font-size: 31px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.logo__domain { margin-top: 3px; font-size: 12.5px; line-height: 1.1; color: var(--muted); }
.logo--light .logo__brand { color: #fff; }
.logo--light .logo__domain { color: #9a9d9a; }

.nav__list { display: flex; gap: clamp(14px, 2vw, 32px); }
.nav__link { padding: 8px 0; font-size: 16px; font-weight: 600; border-bottom: 2px solid transparent; }
.nav__link:hover { border-bottom-color: var(--ink); }
.nav__link.is-current { color: var(--green); border-bottom-color: var(--green); }
.nav__mobile-extra { display: none; }
.nav__tel { display: block; margin-bottom: 16px; font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; }

.header__contacts { display: flex; align-items: center; gap: 20px; flex: none; }
.header__phone { text-align: right; line-height: 1.15; }
.header__tel { font-size: 20px; font-weight: 700; white-space: nowrap; }
.header__tel:hover { color: var(--green); }
.header__cities { display: block; font-size: 12.5px; color: var(--muted); }
.header__cta { min-height: 44px; padding: 8px 20px; font-size: 18px; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px; height: 48px;
  padding: 0 11px;
  border: 2px solid var(--ink);
  background: transparent;
}
.burger span { display: block; height: 2px; background: var(--ink); transition: transform 0.25s, opacity 0.2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.breadcrumbs { font-size: 14.5px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--faint); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.page-head { padding-block: clamp(20px, 3vw, 36px) clamp(8px, 2vw, 24px); }
.page-head .breadcrumbs { margin-bottom: clamp(20px, 3vw, 40px); }
.page-head__title { max-width: 1200px; font-size: clamp(42px, 7vw, 104px); }
.page-head__lead { margin-top: 20px; max-width: 680px; font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); }

/* 5. Главный экран
   ========================================================================== */
.hero { padding-block: clamp(24px, 4vw, 56px) clamp(40px, 6vw, 88px); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.6fr);
  gap: clamp(28px, 4vw, 56px) clamp(16px, 3vw, 48px);
  align-items: end;
}
.hero__side { display: contents; }

.hero__title { font-size: clamp(44px, 7vw, 104px); line-height: 0.92; }
.hero__lead { margin-top: clamp(18px, 2.4vw, 32px); max-width: 600px; font-size: clamp(17px, 1.6vw, 21px); color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3vw, 36px); }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(28px, 4vw, 52px);
  border-top: 2px solid var(--ink);
}
.hero__facts > div { padding: 14px 16px 0 0; }
.hero__facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
.hero__facts dt { font-family: var(--display); font-size: clamp(30px, 3.4vw, 46px); font-weight: 800; line-height: 1; white-space: nowrap; }
.hero__facts dd { margin-top: 4px; font-size: 14.5px; color: var(--muted); }

/* Рендер на белом фоне сливается с серым фоном страницы через multiply */
.hero-photo { grid-column: 2; grid-row: 1; align-self: stretch; display: flex; flex-direction: column; min-height: 0; }
.hero-photo img {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 720px;
  object-fit: cover;
  object-position: 50% 50%;
  mix-blend-mode: multiply;
}
.hero-photo__caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}

.quick-form {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) repeat(2, minmax(0, 1fr)) auto;
  gap: 4px 16px;
  padding: clamp(20px, 3vw, 36px);
  background: var(--green);
  color: #fff;
}
.quick-form__title { font-size: clamp(34px, 3.6vw, 48px); align-self: start; }
.quick-form__text { grid-column: 1; grid-row: 2; font-size: 15.5px; color: #c5ddd5; align-self: start; }
.quick-form .field { grid-row: 1 / span 2; margin-bottom: 0; align-self: start; }
.quick-form .field__input { border-color: transparent; }
.quick-form .field__error { color: #ffc9c2; }
.quick-form .btn { grid-row: 1 / span 2; align-self: start; margin-top: 27px; background: #fff; color: var(--ink); }
.quick-form .btn:hover:not(:disabled) { background: var(--ink); color: #fff; }
.quick-form .consent { grid-column: 1 / -1; margin: 14px 0 0; color: #c5ddd5; }
.quick-form .consent .link { color: #fff; }
.quick-form .field__error--consent { grid-column: 1 / -1; margin: 4px 0 0; }
.quick-form .form-status { grid-column: 1 / -1; }
.quick-form .form-status.is-error { color: #ffc9c2; }

/* 6. Тексты и иллюстрации
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.split__body > .kit__list,
.split__body > .checklist,
.split__body > .btn,
.split__body > .callout { margin-top: 26px; }

.figure { background: var(--panel); }
.figure img { width: 100%; height: auto; }
.figure--tall img { max-height: 760px; object-fit: contain; }
.figure figcaption { padding: 12px 16px 14px; border-top: 1px solid var(--bg); font-size: 15px; line-height: 1.4; color: var(--muted); }
.figure figcaption strong { color: var(--ink); }
.figs { display: grid; gap: 4px; margin-top: clamp(24px, 3vw, 40px); }
.figs--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.figs--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.figs--stack { margin-top: 0; gap: 16px; }
.figs + .callout { margin-top: clamp(20px, 3vw, 32px); }

.prose { max-width: 720px; }
.prose--wide { max-width: 820px; margin-bottom: clamp(24px, 3vw, 44px); }
.prose h2 { font-size: clamp(36px, 5vw, 68px); }
.prose .kicker + h2 { margin-top: 8px; }
.prose--wide h2 { margin-top: 36px; font-size: clamp(28px, 3vw, 40px); }
.prose h3 { margin-top: 28px; font-size: 21px; font-weight: 700; line-height: 1.25; }
.prose p { margin-top: 14px; }
.prose ul { margin-top: 14px; }
.prose ul li { position: relative; margin-top: 8px; padding-left: 24px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 2px; background: var(--green); }
.prose .table-wrap { margin-top: 22px; }
.prose .btn { margin-top: 24px; }
.prose .specs { margin-top: 22px; }

.callout { margin-top: 24px; padding: 18px 22px 20px; background: var(--panel); border-left: 4px solid var(--ink); }
.callout h3 { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.25; }
.callout p { margin-top: 6px; font-size: 16px; color: var(--muted); }
.callout .btn { margin-top: 16px; }
.callout--warn { background: var(--ochre-soft); }
.callout--warn p { color: #4d4a3e; }
.rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 4px; }
.rules .callout { margin-top: 0; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { padding: 9px 16px; border: 1.5px solid var(--ink); font-size: 16px; font-weight: 600; transition: background-color 0.2s, color 0.2s; }
.toc a:hover { background: var(--ink); color: #fff; }
main section[id] { scroll-margin-top: calc(var(--header-h) + 8px); }

/* 7. Плитки и списки
   ========================================================================== */
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.product { display: flex; flex-direction: column; background: var(--panel); }
.product__media { position: relative; display: block; aspect-ratio: 4 / 5; padding: 52px 20px 12px; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: contain; }
.product__media--cover { padding: 0; }
.product__media--cover img { object-fit: cover; }
.product__index {
  position: absolute;
  left: 0; top: 0;
  z-index: 1;
  padding: 8px 14px;
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
}
.product__body { display: flex; flex-direction: column; flex: 1; padding: clamp(18px, 2.2vw, 30px); }
.product__body .stock { align-self: flex-start; margin-bottom: 12px; }
.product__title { font-family: var(--display); font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; line-height: 0.95; text-transform: uppercase; }
.product__title a:hover { color: var(--green); }
.product__text { margin-top: 12px; font-size: 16px; color: var(--muted); }

.specs { margin-top: 18px; border-top: 2px solid var(--ink); }
.specs > div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 600; text-align: right; }

.product__price { margin-top: auto; padding-top: 22px; font-size: 16px; color: var(--muted); }
.product__price strong { font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 1; color: var(--ink); white-space: nowrap; }
.product__price span { display: block; margin-top: 2px; font-size: 14px; }
.product__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.product__actions .btn { flex: 1 1 140px; }

.advantages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, 0.3); }
.adv { padding: clamp(22px, 2.6vw, 36px) clamp(18px, 2.4vw, 36px) clamp(26px, 3vw, 44px) 0; border-bottom: 1px solid rgba(255, 255, 255, 0.3); }
.adv:not(:nth-child(3n + 1)) { padding-left: clamp(18px, 2.4vw, 36px); border-left: 1px solid rgba(255, 255, 255, 0.3); }
.adv__title { font-family: var(--display); font-size: clamp(30px, 3vw, 42px); font-weight: 700; line-height: 0.98; text-transform: uppercase; text-wrap: balance; }
.adv__text { margin-top: 12px; font-size: 16px; color: #c5ddd5; }

.kit__list { border-top: 2px solid var(--ink); }
.kit__list li { padding: 14px 0 15px; border-bottom: 1px solid var(--line); }
.kit__list h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.kit__list p { margin-top: 3px; font-size: 16px; color: var(--muted); }

.parts { display: grid; gap: 4px; }
.parts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.parts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.part { display: flex; flex-direction: column; align-items: flex-start; background: var(--panel); scroll-margin-top: calc(var(--header-h) + 16px); }
.part__img { display: block; width: 100%; aspect-ratio: 4 / 3; padding: 16px; }
.part__img img { width: 100%; height: 100%; object-fit: contain; }
.part .stock { margin: 4px 20px 0; }
.part h3 { margin: 6px 20px 0; font-size: 20px; font-weight: 700; line-height: 1.2; }
.part .stock + h3 { margin-top: 10px; }
.part p { margin: 6px 20px 0; font-size: 15.5px; color: var(--muted); }
.part > :last-child { margin-bottom: 22px; }
.part .part__price { margin-top: auto; padding-top: 14px; font-family: var(--display); font-size: 30px; font-weight: 800; line-height: 1; color: var(--ink); }
a.part h3 { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color 0.2s; }
a.part:hover h3 { text-decoration-color: var(--green); color: var(--green); }

.clients { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.client { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3.4vw, 52px); background: var(--panel); }
.client--accent { background: var(--green); color: #fff; }
.client__title { font-family: var(--display); font-size: clamp(36px, 4vw, 60px); font-weight: 800; line-height: 0.95; text-transform: uppercase; }
.client__text { margin-top: 14px; color: var(--muted); }
.client--accent .client__text { color: #c5ddd5; }
.client .checklist { margin: 14px 0 30px; }
.client .btn { margin-top: auto; }
.client--accent .btn { background: #fff; color: var(--ink); }
.client--accent .btn:hover { background: var(--ink); color: #fff; }

.hub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.docs + .hub { margin-top: clamp(28px, 4vw, 48px); }
.hub__card { display: block; padding: 24px 26px 28px; background: var(--panel); transition: background-color 0.2s, color 0.2s; }
.hub__card h3 { font-family: var(--display); font-size: clamp(28px, 2.6vw, 36px); font-weight: 700; line-height: 1; text-transform: uppercase; }
.hub__card p { margin-top: 8px; font-size: 16px; color: var(--muted); transition: color 0.2s; }
.hub__card:hover { background: var(--ink); color: #fff; }
.hub__card:hover p { color: #b9bbb8; }

.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.faq .section__head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.faq__list { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; font-size: 30px; font-weight: 400; line-height: 0.8; transition: transform 0.2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item h3 { font-size: clamp(18px, 1.7vw, 21px); font-weight: 700; line-height: 1.25; }
.faq__item summary:hover h3 { color: var(--green); }
.faq__item p { padding: 0 44px 20px 0; font-size: 16.5px; color: var(--muted); }

/* 8. Страница товара
   ========================================================================== */
.phero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.phero__main { background: var(--panel); }
.phero__main img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.phero__thumbs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.phero__thumbs button { width: 84px; height: 84px; padding: 4px; background: var(--panel); border: 2px solid transparent; }
.phero__thumbs button:hover { border-color: var(--line); }
.phero__thumbs button.is-active { border-color: var(--green); }
.phero__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.phero__info { position: sticky; top: calc(var(--header-h) + 24px); }
.phero__price { margin-top: 16px; font-size: 17px; color: var(--muted); }
.phero__price strong { font-family: var(--display); font-size: clamp(52px, 6vw, 84px); font-weight: 800; line-height: 0.95; color: var(--ink); white-space: nowrap; }
.phero__price span { display: block; margin-top: 4px; font-size: 14.5px; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.phero__actions .btn { flex: 1 1 210px; }
.phero .note { margin-top: 14px; }

/* 9. Таблицы
   ========================================================================== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--panel); }
.tech__table,
.price-table { font-size: 16px; font-variant-numeric: tabular-nums lining-nums; }
.tech__table { min-width: 560px; }
.price-table { min-width: 780px; }
.tech__table th, .tech__table td,
.price-table th, .price-table td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--bg); }
.tech__table thead th,
.price-table thead th { font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid var(--ink); }
.tech__table tbody th { width: 36%; font-weight: 700; }
.price-table th, .price-table td { white-space: nowrap; }
.price-table thead th:not(:first-child),
.price-table td { text-align: right; }
.price-table tbody th { position: sticky; left: 0; font-weight: 700; background: var(--panel); border-right: 1px solid var(--bg); }
.price-table tbody tr:hover td,
.price-table tbody tr:hover th { background: var(--green-soft); }

/* 10. Калькулятор
   ========================================================================== */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 340px); gap: 4px; align-items: start; }
.calc__main { padding: clamp(18px, 3vw, 44px); background: var(--panel); }
.calc__progress { display: flex; gap: 4px; margin-bottom: 30px; font-size: 14.5px; color: var(--faint); }
.calc__progress li { flex: 1; display: flex; gap: 6px; padding-top: 10px; border-top: 4px solid var(--bg-2); }
.calc__progress li.is-active,
.calc__progress li.is-done { border-color: var(--green); color: var(--ink); }
.calc__progress li.is-active { font-weight: 700; }

.calc__step { display: none; }
.calc__step.is-active { display: block; }
.calc__question { display: block; width: 100%; font-size: clamp(34px, 4vw, 56px); }
.calc__hint { margin-top: 10px; font-size: 16px; color: var(--muted); }
.calc__subq { margin-top: 28px; font-size: 19px; font-weight: 700; }
.calc__subq + .options { margin-top: 12px; }

.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 8px; margin-top: 22px; }
.options--row { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option__box { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 16px 15px; border: 2px solid var(--line); transition: border-color 0.2s, background-color 0.2s; }
.option__box b { font-size: 18px; font-weight: 700; line-height: 1.2; }
.option__box small { font-size: 14.5px; color: var(--muted); }
.option:hover .option__box { border-color: var(--ink); }
.option input:checked + .option__box { border-color: var(--green); background: var(--green-soft); }
.option input:focus-visible + .option__box { outline: 3px solid var(--green); outline-offset: 2px; }
.options--row .option__box b { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; }

.range { margin-top: 24px; }
.range__value { display: block; font-family: var(--display); font-size: clamp(72px, 10vw, 132px); font-weight: 800; line-height: 0.9; }
.range__input { width: 100%; height: 28px; margin: 18px 0 0; background: transparent; accent-color: var(--green); cursor: pointer; }
.range__scale { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); }

.result { margin-top: 20px; padding: clamp(18px, 2.6vw, 32px); background: var(--green); color: #fff; }
.result__system { font-size: 17px; font-weight: 700; }
.result__price { margin-top: 4px; font-family: var(--display); font-size: clamp(60px, 8vw, 108px); font-weight: 800; line-height: 0.95; }
.result__note { margin-top: 8px; font-size: 14.5px; color: #c5ddd5; }
.result__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 20px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.result__list dt { font-size: 14px; color: #c5ddd5; }
.result__list dd { margin-top: 1px; font-size: 17px; font-weight: 700; }
.result__extras { margin-top: 14px; font-size: 15px; color: #e3f0eb; }
.result__extras:empty { display: none; }

.calc__form { margin-top: 26px; }
.calc__form-title { margin-bottom: 14px; font-size: 20px; font-weight: 700; }
.calc__form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; }

.calc__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.calc__nav #calc-next { margin-left: auto; }

.calc__aside { position: sticky; top: calc(var(--header-h) + 24px); padding: 20px 22px 26px; background: var(--panel); }
.calc__aside img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.calc__aside-title { margin-top: 12px; font-size: 20px; font-weight: 700; line-height: 1.2; }
.calc__aside-text { margin-top: 8px; font-size: 15.5px; color: var(--muted); }

/* 11. Доставка, документы
   ========================================================================== */
.delivery { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 4vw, 72px); }
.delivery__subtitle { margin-bottom: 20px; font-size: clamp(34px, 4vw, 56px); }

.steps li { display: grid; grid-template-columns: 64px minmax(0, 1fr); padding: 18px 0 20px; border-top: 1px solid var(--line); }
.steps li:first-child { border-top: 2px solid var(--ink); }
.steps__num { font-family: var(--display); font-size: 44px; font-weight: 800; line-height: 0.9; color: var(--green); }
.steps h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.steps p { margin-top: 4px; font-size: 16px; color: var(--muted); }
.steps--grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); }
.steps--grid li:nth-child(-n + 3) { border-top: 2px solid var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.tiles__item { padding: 16px 18px 18px; background: var(--panel); }
.tiles__item b { display: block; font-size: 18px; line-height: 1.2; }
.tiles__item span { display: block; margin-top: 3px; font-size: 14.5px; color: var(--muted); }
.tiles__item--yanao, .tiles__item--hmao { grid-column: 2; }
.tiles__item--sverd, .tiles__item--chel, .tiles__item--tyumen, .tiles__item--kurgan, .tiles__item--yanao, .tiles__item--hmao { background: var(--green); color: #fff; }
.tiles__item--sverd span, .tiles__item--chel span, .tiles__item--tyumen span, .tiles__item--kurgan span, .tiles__item--yanao span, .tiles__item--hmao span { color: #c5ddd5; }
.tiles__item--bash { grid-column: 1 / -1; }

.docs { display: grid; gap: 4px; }
.doc { display: flex; align-items: center; gap: 20px; padding: 18px 22px; background: var(--panel); }
.doc__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }
.doc__body { flex: 1; min-width: 0; }
.doc h3 { font-size: 19px; font-weight: 700; line-height: 1.25; }
.doc p { margin-top: 2px; font-size: 15px; color: var(--muted); }

/* 12. Контакты, призыв
   ========================================================================== */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: start; }
.contacts__cards { display: grid; }
.office { padding: 22px 0 24px; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.office:first-of-type { border-top: 2px solid #fff; }
.office h3 { font-size: 16px; font-weight: 600; color: #c5ddd5; }
.office__tel,
.office__big { display: block; margin-top: 4px; font-family: var(--display); font-size: clamp(44px, 5.4vw, 80px); font-weight: 800; line-height: 0.95; text-transform: uppercase; white-space: nowrap; }
.office__big { white-space: normal; }
.office__tel:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }
.office p:not(.office__big) { margin-top: 6px; font-size: 16px; color: #c5ddd5; }

.contact-form { padding: clamp(20px, 3vw, 40px); background: var(--bg); color: var(--ink); }
.contact-form__title { font-size: clamp(36px, 4vw, 56px); }
.contact-form__text { margin: 8px 0 20px; color: var(--muted); }

.cta-band { background: var(--green); color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; padding-block: clamp(36px, 5vw, 72px); }
.cta-band__title { max-width: 760px; font-size: clamp(40px, 6vw, 88px); }
.cta-band__text { margin-top: 12px; max-width: 540px; color: #c5ddd5; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.cta-band__tel { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; white-space: nowrap; }
.cta-band__tel:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Офисы на странице контактов */
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.office-card { display: flex; flex-direction: column; background: var(--panel); }
.office-card__body { padding: clamp(20px, 2.6vw, 36px); }
.office-card__city { font-family: var(--display); font-size: clamp(40px, 5vw, 72px); font-weight: 800; line-height: 0.95; text-transform: uppercase; }
.office-card__list { margin-top: 18px; border-top: 2px solid var(--ink); }
.office-card__list > div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.office-card__list dt { color: var(--muted); }
.office-card__list dd { font-weight: 600; }
.office-card__list a[href^="tel"]:hover { color: var(--green); }
.office-card__map { display: block; width: 100%; height: 340px; margin-top: auto; border: 0; background: var(--bg-2); }
.link--light { color: #fff; }
.link--light:hover { color: #c5ddd5; }

/* Страницы подбора по прибору */
.catalog--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.catalog--2 .product__media { aspect-ratio: 16 / 10; }
.parts--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.specs--wide { max-width: 760px; margin-top: 0; }
.split > .specs { margin-top: 0; }
.table-wrap--spaced { margin-top: clamp(24px, 3vw, 40px); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.hub--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section--join { padding-top: 0; }

/* 13. Подвал
   ========================================================================== */
.footer__hours { margin-top: 4px !important; font-size: 14.5px; }
.footer { padding-block: clamp(40px, 6vw, 80px) 28px; background: var(--ink); color: #b9bbb8; font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.footer__col--brand p { margin-top: 18px; max-width: 320px; }
.footer__tel { display: block; margin-top: 16px; font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1; color: #fff; }
.footer__tel:hover { color: #7fd0b4; }
.footer__col--brand .btn { margin-top: 18px; background: #fff; color: var(--ink); }
.footer__col--brand .btn:hover { background: var(--green); color: #fff; }
.footer__title { margin-bottom: 14px; font-size: 16px; font-weight: 700; color: #fff; }
.footer__col li + li { margin-top: 8px; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__col--brand a:hover { text-decoration: none; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: clamp(28px, 4vw, 56px); padding-top: 20px; border-top: 1px solid #3a3c3a; font-size: 14px; color: #8a8d8a; }

.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  gap: 4px;
  padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn { flex: 1; }

/* Кнопки мессенджеров */
.header__msg { display: flex; gap: 6px; }
.msg-icon { display: grid; place-items: center; width: 42px; height: 42px; border: 2px solid var(--ink); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.msg-icon svg { width: 22px; height: 22px; fill: currentColor; }
.msg-icon svg path { fill-rule: evenodd; }
.msg-icon:hover { background: var(--green); border-color: var(--green); color: #fff; }
.msg-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.msg {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.msg:hover { background: var(--ink); color: #fff; }
.msg-row--footer .msg, .msg-row--light .msg { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.msg-row--footer .msg:hover, .msg-row--light .msg:hover { background: #fff; border-color: #fff; color: var(--ink); text-decoration: none; }
.nav__mobile-extra .msg-row { margin: 0 0 16px; }
.mobile-bar .btn { flex: 1 1 0; min-width: 0; padding-inline: 4px; font-size: 18px; }

/* Между 1181 и 1320 px в шапке ещё стоит полное меню — иконкам не хватает места */
@media (min-width: 1181px) and (max-width: 1320px) {
  .header__msg { display: none; }
}
@media (max-width: 767px) {
  .header__msg { display: none; }
}

/* Выезжающее окно в правом нижнем углу */
.promo {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: 320px;
  max-width: calc(100vw - 24px);
  padding: 20px 22px 22px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 44px rgba(20, 20, 20, 0.32);
  transform: translateX(calc(100% + 28px));
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.promo.is-shown { transform: none; }
.promo__title { padding-right: 30px; font-family: var(--display); font-size: 32px; font-weight: 800; line-height: 0.95; text-transform: uppercase; }
.promo__text { margin-top: 10px; font-size: 15.5px; line-height: 1.4; color: #c9cbc8; }
.promo__btn { width: 100%; margin-top: 16px; background: var(--green); color: #fff; }
.promo__btn:hover { background: #fff; color: var(--ink); }
.promo__close { position: absolute; right: 4px; top: 4px; width: 40px; height: 40px; border: 0; background: transparent; font-size: 28px; line-height: 1; color: #c9cbc8; }
.promo__close:hover { color: #fff; }
.contact-form--panel { background: var(--panel); }
.contact-form__alt { margin-top: 14px; font-size: 15.5px; color: var(--muted); }
.contact-form__alt a { font-weight: 700; color: var(--ink); white-space: nowrap; }
.contact-form__alt a:hover { color: var(--green); }

@media (max-width: 767px) {
  .promo { right: 12px; bottom: 76px; width: 290px; padding: 16px 18px 18px; }
  .promo__title { font-size: 28px; }
}

/* 14. Модальные окна
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__overlay { position: absolute; inset: 0; background: rgba(20, 20, 20, 0.72); }
.modal__window {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(22px, 4vw, 40px);
  background: var(--bg);
  animation: modal-in 0.2s ease both;
}
.modal__window--center { text-align: center; }
.modal__window--center .btn { margin-top: 20px; min-width: 180px; }
.modal__close { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border: 0; background: transparent; font-size: 32px; line-height: 1; color: var(--ink); }
.modal__close:hover { background: var(--bg-2); }
.modal__title { padding-right: 40px; font-size: clamp(38px, 5vw, 52px); }
.modal__window--center .modal__title { padding-right: 0; }
.modal__text { margin: 10px 0 20px; color: var(--muted); }
.modal__icon { width: 64px; height: 64px; margin: 0 auto 16px; }

@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* 15. Адаптив
   ========================================================================== */
@media (max-width: 1520px) {
  .header__cta { display: none; }
}

@media (max-width: 1180px) {
  :root { --header-h: 68px; }

  .burger { display: flex; }
  .nav {
    position: fixed;
    left: 0; right: 0;
    top: var(--nav-top, var(--header-h));
    bottom: 0;
    z-index: 99;
    padding: 12px var(--gutter) 32px;
    background: var(--bg);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link {
    display: block;
    padding: 12px 0 10px;
    font-family: var(--display);
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
  }
  .nav__link:hover { border-bottom-color: var(--line); }
  .nav__mobile-extra { display: block; margin-top: 28px; }

  .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog .product:last-child { grid-column: 1 / -1; flex-direction: row; }
  .catalog .product:last-child .product__media { flex: 0 0 42%; aspect-ratio: auto; min-height: 360px; }
  .parts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .hero-photo { grid-column: 1; grid-row: auto; }
  .hero-photo img { min-height: 0; height: clamp(320px, 70vw, 520px); flex: none; }
  .quick-form { grid-row: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-form__title, .quick-form__text { grid-column: 1 / -1; grid-row: auto; }
  .quick-form__text { margin-bottom: 14px; }
  .quick-form .field { grid-row: auto; }
  .quick-form .btn { grid-column: 1 / -1; grid-row: auto; margin-top: 14px; width: 100%; }

  .split, .phero, .delivery, .faq, .contacts, .calc { grid-template-columns: minmax(0, 1fr); }
  .phero__info, .faq .section__head { position: static; }
  .calc__aside { display: none; }
  .advantages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adv:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .adv:nth-child(2n) { padding-left: clamp(18px, 2.4vw, 36px); border-left: 1px solid rgba(255, 255, 255, 0.3); }
  .parts--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps--grid { grid-template-columns: minmax(0, 1fr); }
  .steps--grid li:nth-child(-n + 3) { border-top: 1px solid var(--line); }
  .steps--grid li:first-child { border-top: 2px solid var(--ink); }
  .figure--tall img { max-height: 560px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  body { padding-bottom: 64px; font-size: 16.5px; }
  .mobile-bar { display: flex; }
  .header__phone { display: none; }
  .logo__brand { font-size: 27px; }
  .logo__mark { width: 40px; height: 40px; }

  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { grid-template-columns: minmax(0, 1fr); }
  .hero__facts > div { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .hero__facts > div + div { padding-left: 0; border-left: 0; }
  .hero__facts dt { flex: 0 0 118px; }
  .hero__facts dd { margin-top: 0; }

  .catalog, .clients { grid-template-columns: minmax(0, 1fr); }
  .catalog .product:last-child { flex-direction: column; }
  .catalog .product:last-child .product__media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .product__media { aspect-ratio: 1 / 1; }
  .client .btn { width: 100%; white-space: normal; }

  .figs--2, .figs--3 { grid-template-columns: minmax(0, 1fr); }
  .calc__progress li { font-size: 0; }
  .calc__progress li span { font-size: 14.5px; }
  .calc__form-grid { grid-template-columns: minmax(0, 1fr); }
  .result__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calc__nav .btn { flex: 1 1 auto; }
  .faq__item p { padding-right: 0; }
  .doc { flex-wrap: wrap; }
  .doc .btn { width: 100%; }
  .cta-band__actions .btn { width: 100%; }
  .office__tel { font-size: clamp(38px, 11vw, 56px); }
}

@media (max-width: 560px) {
  .quick-form { grid-template-columns: minmax(0, 1fr); }
  .quick-form .field { margin-bottom: 12px; }
  .quick-form .btn { margin-top: 4px; }
  .advantages { grid-template-columns: minmax(0, 1fr); }
  .adv:nth-child(2n) { padding-left: 0; border-left: 0; }
  .parts--3, .parts--4, .hub { grid-template-columns: minmax(0, 1fr); }
  .options { grid-template-columns: minmax(0, 1fr); }
  .options--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs > div { flex-direction: column; gap: 1px; }
  .specs dd { text-align: left; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .tiles__item--yanao, .tiles__item--hmao { grid-column: auto; }
  .phero__thumbs button { width: 64px; height: 64px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .btn { white-space: normal; }
}

@media (max-width: 1180px) {
  .hub--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog.catalog--2 .product:last-child { grid-column: auto; flex-direction: column; }
  .catalog.catalog--2 .product:last-child .product__media { flex: none; aspect-ratio: 16 / 10; min-height: 0; }
}

@media (max-width: 767px) {
  .offices, .catalog--2 { grid-template-columns: minmax(0, 1fr); }
  .office-card__map { height: 280px; }
  .actions .btn { flex: 1 1 100%; }
}

@media (max-width: 560px) {
  .parts--2, .hub--4 { grid-template-columns: minmax(0, 1fr); }
  .office-card__list > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

@media print {
  .header, .mobile-bar, .modal, .quick-form, .calc, .cta-band { display: none !important; }
  body { background: #fff; padding: 0; }
}
