/* Промо «Оснащение отделения гемодиализа» — редакционная подача (направление A, 27.11.2026).
   Только для /oborudovanie-dlya-gemodializa/, все классы с префиксом hm-. */
.hm {
  --hm-bg: #f3f5f4;
  --hm-surface: #fff;
  --hm-ink: #0b1a15;
  --hm-text: #3b3b3b;
  --hm-muted: #5e625c;
  --hm-line: #d9dbd3;
  --hm-forest: #0f3928;
  --hm-lime: #e8ff00;
  --hm-cta: linear-gradient(167deg, #6fc233 0%, #5aaa28 50%, #4a8f21 100%);
  --hm-font: var(--mg-ref-font-primary, 'Manrope', sans-serif);
  font-family: var(--hm-font);
  color: var(--hm-ink);
  background: var(--hm-bg);
  overflow-x: clip;
}
.hm *, .hm *::before, .hm *::after { box-sizing: border-box; }
.hm img { display: block; max-width: 100%; }
.hm li::before { content: none !important; display: none !important; }
.hm a { color: inherit; }
.hm-wrap { max-width: 1440px; margin-inline: auto; padding-inline: 24px; }
.hm-sec { padding-block: 96px 0; }
.hm-sec:last-of-type { padding-bottom: 96px; }

/* Заголовок раздела: номер слева, крупный заголовок справа, как в hero */
.hm-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: 40px; }
.hm-head__num { grid-column: 1 / 3; font-size: 15px; color: var(--hm-muted); line-height: 1.4; }
.hm-head h2 { grid-column: 3 / 11; margin: 0; font-size: clamp(32px, 3.8vw, 54px); line-height: 1; font-weight: 700; letter-spacing: -.035em; color: var(--hm-forest); }
.hm-head p { grid-column: 3 / 10; margin: 18px 0 0; font-size: 18px; line-height: 1.5; color: var(--hm-text); }

/* Кнопки — как на остальных лендингах сайта */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: 10px; font: 700 15px/1.3 var(--hm-font); text-decoration: none; cursor: pointer; transition: filter .15s, border-color .15s, background .15s; }
.hm-btn--primary { border: 0; color: #fff !important; background: var(--hm-cta); box-shadow: inset 0 1px 0 rgba(255,255,255,.3); }
.hm-btn--primary:hover { filter: brightness(1.06); }
.hm-btn--ghost { border: 1.5px solid var(--hm-line); background: var(--hm-surface); color: var(--hm-ink); }
.hm-btn--ghost:hover { border-color: #61b12c; }
.hm-link { font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.hm-link:hover { color: var(--hm-forest); }
.hm-btn:focus-visible, .hm-link:focus-visible, .hm-zone:focus-visible, .hm-seg button:focus-visible,
.hm-faq summary:focus-visible { outline: 2px solid var(--hm-forest); outline-offset: 3px; }

/* ---------- Hero ---------- */
.hm-hero { padding-top: 22px; }
.hm-crumbs .breadcrumbs { margin-bottom: 0; }
.hm-h1 { margin: 36px 0 0; font-weight: 700; color: var(--hm-forest); }
.hm-h1__pre { display: block; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: -.02em; line-height: 1.1; color: var(--hm-ink); margin-left: .12em; }
.hm-h1__word { display: block; font-size: clamp(52px, 15.4vw, 222px); line-height: .84; font-weight: 800; letter-spacing: -.055em; margin-left: -.05em; white-space: nowrap; }
.hm-hero__row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 36px; align-items: start; }
.hm-hero__num { grid-column: 1 / 3; font-size: 15px; line-height: 1.4; color: var(--hm-muted); }
.hm-hero__lead { grid-column: 3 / 8; margin: 0; font-size: 22px; line-height: 1.42; font-weight: 500; }
.hm-hero__cta { grid-column: 8 / 13; display: flex; flex-wrap: wrap; gap: 12px 12px; justify-content: flex-end; align-items: center; }
.hm-hero__cta .hm-link { flex-basis: 100%; text-align: right; margin-top: 4px; }

/* Лента кадров */
.hm-strip { display: grid; grid-template-columns: 1.62fr 1fr .6fr; grid-template-rows: minmax(0, 1fr); gap: 12px; margin-top: 56px; height: clamp(360px, 39vw, 560px); padding-left: 24px; max-width: 1464px; margin-inline: auto; }
.hm-strip figure { position: relative; margin: 0; min-height: 0; overflow: hidden; background: #e3e4dd; }
.hm-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hm-strip a:hover img { transform: scale(1.03); }
.hm-strip figcaption { position: absolute; left: 16px; bottom: 14px; right: 16px; font-size: 15px; font-weight: 600; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.hm-strip .is-prod { background: #efeef1; }
.hm-strip .is-prod img { object-fit: cover; object-position: 50% 100%; }
.hm-strip .is-prod figcaption { color: var(--hm-ink); text-shadow: none; }

/* Оглавление-индекс */
.hm-index { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hm-line); margin-top: 64px; }
.hm-index a { display: block; padding: 24px 24px 0 0; margin-right: 24px; border-right: 1px solid var(--hm-line); text-decoration: none; }
.hm-index a:last-child { border-right: 0; margin-right: 0; }
.hm-index span { font-size: 14px; color: var(--hm-muted); }
.hm-index b { display: block; margin: 10px 0 8px; font-size: 30px; font-weight: 700; letter-spacing: -.02em; color: var(--hm-forest); }
.hm-index p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--hm-muted); }
.hm-index a:hover b { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* ---------- Интро ---------- */
.hm-intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.hm-intro p { grid-column: 3 / 11; margin: 0; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
.hm-intro p a { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Схема отделения ---------- */
.hm-plan { display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; gap: 0; background: var(--hm-surface); }
.hm-plan__map { padding: 32px; border-right: 1px solid var(--hm-line); }
.hm-plan__map svg { width: 100%; height: auto; display: block; }
.hm-plan__hint { margin: 16px 0 0; font-size: 14px; color: var(--hm-muted); }
.hm-zone { cursor: pointer; }
.hm-zone rect { fill: var(--hm-bg); stroke: var(--hm-forest); stroke-width: 1.5; transition: fill .2s; }
.hm-zone:hover rect { fill: #fbffd9; }
.hm-zone.is-on rect { fill: #f3ff8f; }
.hm-zone text { font: 600 15px var(--hm-font); fill: var(--hm-ink); pointer-events: none; }
.hm-zone .hm-zone__n { font-weight: 800; }
.hm-plan__seat { fill: var(--hm-surface); stroke: var(--hm-forest); stroke-width: 1; pointer-events: none; }
.hm-plan__pipe { stroke: var(--hm-forest); stroke-width: 1.5; stroke-dasharray: 4 4; fill: none; pointer-events: none; }
.hm-panel { display: none; grid-template-rows: auto 1fr; }
.hm-panel--nomedia { grid-template-rows: 1fr; align-content: center; }
.hm-panel.is-on { display: grid; animation: hm-in .35s ease both; }
@keyframes hm-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hm-panel__media { height: 340px; overflow: hidden; background: #e3e4dd; }
.hm-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.hm-panel__media.is-prod { background: var(--hm-surface); border-bottom: 1px solid var(--hm-line); }
.hm-panel__media.is-prod img { object-fit: contain; padding: 20px 0; }
.hm-panel__body { padding: 32px 36px 36px; }
.hm-panel__n { font-size: 14px; color: var(--hm-muted); }
.hm-panel h3 { margin: 8px 0 12px; font-size: 34px; line-height: 1.05; font-weight: 700; letter-spacing: -.025em; }
.hm-panel p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--hm-text); max-width: 620px; }
.hm-panel__norm { display: flex; gap: 40px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--hm-line); }
.hm-panel__norm b { display: block; font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--hm-forest); }
.hm-panel__norm span { font-size: 13px; color: var(--hm-muted); }
.hm-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.hm-tags li { font-size: 14px; padding: 8px 12px; border-radius: 6px; background: var(--hm-bg); }

/* ---------- Таблицы → карточки на мобильном ---------- */
.hm-table { width: 100%; border-collapse: collapse; background: var(--hm-surface); }
.hm-table th, .hm-table td { text-align: left; vertical-align: top; padding: 22px 24px; border-bottom: 1px solid var(--hm-line); font-size: 16px; line-height: 1.5; }
.hm-table thead th { font-size: 14px; font-weight: 600; color: var(--hm-muted); padding-block: 16px; }
.hm-table tbody th { font-weight: 700; font-size: 18px; letter-spacing: -.01em; width: 30%; }
.hm-table td { color: var(--hm-text); }
.hm-table .hm-nowrap { white-space: nowrap; }
.hm-note { margin: 18px 0 0; font-size: 14px; line-height: 1.55; color: var(--hm-muted); max-width: 920px; }
.hm-note a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Калькулятор ---------- */
.hm-calc { display: grid; grid-template-columns: 5fr 7fr; background: var(--hm-surface); }
.hm-calc__in { padding: 36px; border-right: 1px solid var(--hm-line); }
.hm-calc__field { margin-bottom: 30px; }
.hm-calc__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.hm-calc__label output { font-size: 40px; font-weight: 700; letter-spacing: -.03em; color: var(--hm-forest); }
.hm-range { width: 100%; accent-color: #5aaa28; height: 28px; }
.hm-range__ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--hm-muted); }
.hm-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 10px; background: var(--hm-bg); }
.hm-seg button { min-height: 46px; border: 0; border-radius: 8px; background: transparent; font: 600 15px var(--hm-font); color: var(--hm-ink); cursor: pointer; }
.hm-seg button[aria-pressed="true"] { background: var(--hm-surface); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.hm-calc__foot { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--hm-muted); }
.hm-calc__out { padding: 36px; display: flex; flex-direction: column; }
.hm-res { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; margin: 0; }
.hm-res div { border-top: 1px solid var(--hm-line); padding-top: 14px; }
.hm-res dt { font-size: 44px; font-weight: 700; letter-spacing: -.035em; line-height: 1; color: var(--hm-forest); font-variant-numeric: tabular-nums; }
.hm-res dt small { font-size: 22px; letter-spacing: -.01em; }
.hm-res dd { margin: 8px 0 0; font-size: 14px; line-height: 1.45; color: var(--hm-muted); }
.hm-calc__cta { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hm-calc__cta p { margin: 0; flex: 1 1 260px; font-size: 13px; line-height: 1.5; color: var(--hm-muted); }

/* ---------- Шаги ---------- */
.hm-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hm-line); }
.hm-steps li { padding: 22px 20px 0 0; }
.hm-steps span { font-size: 14px; color: var(--hm-muted); }
.hm-steps b { display: block; margin: 10px 0 6px; font-size: 22px; letter-spacing: -.015em; }
.hm-steps p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--hm-muted); }

/* ---------- Три глубины CTA ---------- */
.hm-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hm-path { display: flex; flex-direction: column; min-height: 260px; padding: 28px; background: var(--hm-surface); text-decoration: none; transition: background .2s; }
.hm-path:hover { background: #fafbf7; }
.hm-path span { font-size: 14px; color: var(--hm-muted); }
.hm-path b { margin: 12px 0 10px; font-size: 30px; line-height: 1.05; letter-spacing: -.025em; color: var(--hm-forest); }
.hm-path p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--hm-text); }
.hm-path i { margin-top: auto; padding-top: 20px; font-style: normal; font-weight: 700; font-size: 15px; }
.hm-path--main { background: var(--hm-lime); }
.hm-path--main:hover { background: #dcf200; }
.hm-path--main span, .hm-path--main p { color: var(--hm-forest); }
.hm-path--main i { color: var(--hm-forest); }

/* ---------- FAQ ---------- */
.hm-faq { border-top: 1px solid var(--hm-line); }
.hm-faq details { border-bottom: 1px solid var(--hm-line); }
.hm-faq summary { display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: 20px; font-weight: 600; letter-spacing: -.01em; cursor: pointer; list-style: none; }
.hm-faq summary::-webkit-details-marker { display: none; }
.hm-faq summary::after { content: "+"; font-size: 28px; line-height: 1; font-weight: 400; color: var(--hm-forest); transition: transform .2s; }
.hm-faq details[open] summary::after { transform: rotate(45deg); }
.hm-faq p { margin: 0 0 26px; max-width: 820px; font-size: 16px; line-height: 1.6; color: var(--hm-text); }
.hm-faq-wrap { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.hm-faq-wrap .hm-faq { grid-column: 3 / 13; }

/* ---------- Форма ---------- */
.hm-form-sec { display: grid; grid-template-columns: 5fr 7fr; background: var(--hm-surface); }
.hm-form-sec__info { padding: 40px; background: #e7ece4; color: var(--hm-ink); display: flex; flex-direction: column; }
.hm-form-sec__info h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; color: var(--hm-forest); }
.hm-form-sec__info p { margin: 18px 0 0; font-size: 17px; line-height: 1.5; color: var(--hm-text); }
.hm-form-sec__info ul { margin: auto 0 0; padding: 28px 0 0; list-style: none; font-size: 15px; line-height: 1.5; color: var(--hm-text); }
.hm .hm-form-sec__info li { padding: 10px 0; margin: 0; border-top: 1px solid rgba(15,57,40,.14); }
.hm-form-sec__phone { display: inline-block; margin-top: 14px; font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: var(--hm-forest); text-decoration: none; }
.hm-form { padding: 40px; }
.hm-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hm-field { display: block; }
.hm-field--wide { grid-column: 1 / -1; }
.hm-field > span { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.hm-field input, .hm-field select, .hm-field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--hm-line); border-radius: 10px; background: var(--hm-surface); font: 500 16px var(--hm-font); color: var(--hm-ink); }
.hm-field textarea { min-height: 96px; resize: vertical; }
.hm-field input:focus, .hm-field select:focus, .hm-field textarea:focus { outline: none; border-color: #5aaa28; }
.hm-field [aria-invalid="true"] { border-color: #c8412f; }
.hm-form__submit { width: 100%; margin-top: 20px; }
.hm-consent { display: flex; gap: 10px; margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--hm-muted); }
.hm-consent input { margin-top: 3px; accent-color: #5aaa28; flex: none; }
.hm-consent a { text-decoration: underline; }
.hm-form__error { margin: 12px 0 0; font-size: 14px; color: #c8412f; }
.hm-form__done b { display: block; font-size: 28px; letter-spacing: -.02em; color: var(--hm-forest); }
.hm-form__done p { margin: 10px 0 0; font-size: 16px; color: var(--hm-text); }
.hm-form__ctx { margin: 0 0 16px; padding: 12px 16px; border-radius: 10px; background: var(--hm-bg); font-size: 14px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .hm-hero__lead { grid-column: 1 / 13; }
  .hm-hero__num { display: none; }
  .hm-hero__cta { grid-column: 1 / 13; justify-content: flex-start; }
  .hm-hero__cta .hm-link { text-align: left; }
  .hm-head__num { grid-column: 1 / 13; }
  .hm-head h2, .hm-head p { grid-column: 1 / 13; }
  .hm-intro p, .hm-faq-wrap .hm-faq { grid-column: 1 / 13; }
  .hm-plan, .hm-calc, .hm-form-sec { grid-template-columns: 1fr; }
  .hm-plan__map, .hm-calc__in { border-right: 0; border-bottom: 1px solid var(--hm-line); }
  .hm-steps { grid-template-columns: repeat(3, 1fr); row-gap: 8px; }
}
@media (max-width: 767px) {
  .hm-wrap { padding-inline: 16px; }
  .hm-sec { padding-top: 64px; }
  .hm-sec:last-of-type { padding-bottom: 64px; }
  .hm-h1 { margin-top: 24px; }
  .hm-h1__word { font-size: 14.6vw; }
  .hm-hero__lead { font-size: 18px; }
  .hm-hero__cta .hm-btn { flex: 1 1 100%; }
  .hm-strip { grid-template-columns: 1fr 1fr; grid-template-rows: none; height: auto; padding-left: 0; gap: 8px; margin-top: 32px; }
  .hm-strip figure { height: 72vw; }
  .hm-strip figure:first-child { grid-column: 1 / -1; height: 62vw; }
  .hm-strip figcaption { left: 12px; bottom: 10px; font-size: 14px; }
  .hm-index { grid-template-columns: 1fr 1fr; margin-top: 40px; }
  .hm-index a { margin-right: 0; padding: 18px 12px 18px 0; border-right: 0; border-bottom: 1px solid var(--hm-line); }
  .hm-index b { font-size: 22px; }
  .hm-head { margin-bottom: 24px; }
  .hm-plan__map { padding: 16px; }
  .hm-panel__media { height: 220px; }
  .hm-panel__body { padding: 22px 18px 26px; }
  .hm-panel h3 { font-size: 26px; }
  .hm-panel__norm { gap: 24px; flex-wrap: wrap; }
  .hm-calc__in, .hm-calc__out { padding: 22px 18px; }
  .hm-res { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .hm-res dt { font-size: 34px; }
  .hm-steps { grid-template-columns: 1fr; }
  .hm-steps li { padding: 16px 0; border-bottom: 1px solid var(--hm-line); }
  .hm-paths { grid-template-columns: 1fr; }
  .hm-path { min-height: 0; padding: 22px; }
  .hm-faq summary { font-size: 17px; padding: 18px 0; }
  .hm-form-sec__info, .hm-form { padding: 24px 18px; }
  .hm-form__grid { grid-template-columns: 1fr; }
  /* Таблицы: строка = карточка, подпись колонки из data-label */
  .hm-table, .hm-table tbody, .hm-table tr, .hm-table th, .hm-table td { display: block; width: 100%; }
  .hm-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hm-table { background: transparent; }
  .hm-table tr { background: var(--hm-surface); margin-bottom: 10px; padding: 18px; border-radius: 10px; }
  .hm-table th, .hm-table td { border: 0; padding: 0; }
  .hm-table tbody th { width: 100%; font-size: 17px; margin-bottom: 10px; }
  .hm-table td { font-size: 15px; padding-top: 8px; }
  .hm-table td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; color: var(--hm-muted); margin-bottom: 2px; }
  .hm-table .hm-nowrap { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-panel.is-on { animation: none; }
  .hm-strip img { transition: none; }
}

/* Правки по критике 27.11: иерархия кеглей, схема, калькулятор, мобильные карточки РУ */
.hm-head--sm h2 { font-size: clamp(28px, 3vw, 40px); }
.hm-intro p { font-size: clamp(19px, 1.6vw, 22px); max-width: 60ch; }
.hm-zone.is-on rect { stroke-width: 3; }
.hm-res div:first-child { grid-column: 1 / -1; }
.hm-res div:first-child dt { font-size: 64px; }
.hm-res dt { font-size: 32px; }
.hm-path i { font-size: 16px; }
.hm-path:hover i { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) {
  .hm-zone text { font-size: 21px; }
  .hm-res div:first-child dt { font-size: 52px; }
  .hm-res dt { font-size: 28px; }
  .hm-index { display: flex; overflow-x: auto; gap: 20px; scrollbar-width: none; }
  .hm-index a { flex: none; padding: 14px 0; border-bottom: 0; }
  .hm-index p { display: none; }
  .hm-index b { font-size: 18px; margin: 4px 0 0; }
  .hm-table--ru tr { background: transparent; border-radius: 0; padding: 14px 0; margin: 0; border-bottom: 1px solid var(--hm-line); }
  .hm-table--ru tbody th { margin-bottom: 4px; font-size: 16px; }
  .hm-table--ru td { display: inline; padding: 0; font-size: 13px; color: var(--hm-muted); }
  .hm-table--ru td[data-label]::before { content: none; }
  .hm-table--ru td + td::before { content: " · " !important; display: inline !important; font-size: 13px; font-weight: 400; }
}
.hm-plan__legend { display: none; }
@media (max-width: 767px) {
  .hm-zone text { font-size: 20px; }
  .hm-zone .hm-zone__l, .hm-zone .hm-zone__l2 { display: none; }
  .hm-zone[data-hm-zone="water"] .hm-zone__n, .hm-zone[data-hm-zone="salts"] .hm-zone__n, .hm-zone[data-hm-zone="solutions"] .hm-zone__n { font-size: 34px; }
  .hm-plan__legend { display: block; margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: var(--hm-ink); }
}

/* Схема-чертёж (аксонометрия Codex) с кликабельными помещениями, 27.11 */
.hm-axo { position: relative; }
.hm-axo img { display: block; width: 100%; height: auto; }
.hm-axo .hm-zone { position: absolute; margin: 0; padding: 0; border: 0; background: transparent; border-radius: 6px; cursor: pointer; transition: background-color .2s, box-shadow .2s; font: inherit; }
.hm-axo .hm-zone:hover { background: rgba(232, 255, 0, .14); }
.hm-axo .hm-zone.is-on { background: rgba(232, 255, 0, .12); box-shadow: inset 0 0 0 2px var(--hm-forest); }
.hm-zone__b { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 999px; background: #fff; box-shadow: 0 1px 4px rgba(15, 57, 40, .18); font-size: 13px; font-weight: 600; color: var(--hm-ink); white-space: nowrap; }
.hm-zone__b i { display: inline-grid; place-items: center; box-sizing: border-box; padding-top: .12em; line-height: 1; width: 22px; height: 22px; border-radius: 50%; background: var(--hm-forest); color: #fff; font-style: normal; font-size: 12px; font-weight: 700; }
.hm-zone__b em { font-style: normal; }
.hm-zone.is-on .hm-zone__b { background: var(--hm-forest); color: #fff; }
.hm-zone.is-on .hm-zone__b i { background: var(--hm-lime); color: var(--hm-forest); }
.hm-plan__map { padding: 24px; }
@media (max-width: 1280px) and (min-width: 768px) { .hm-zone__b em { display: none; } .hm-zone__b { padding: 5px; } .hm-plan__legend { display: block; margin: 12px 0 0; font-size: 15px; line-height: 1.45; } }
@media (max-width: 767px) {
  .hm-plan__map { padding: 12px; }
  .hm-zone__b { left: 6px; top: 6px; padding: 3px; }
  .hm-zone__b em { display: none; }
  .hm-zone__b i { width: 24px; height: 24px; font-size: 13px; }
}

/* Блок схемы 1:1, 27.11 (Антон: фото обрезано, слева пусто).
   Чертёж и фото помещения — две равные колонки одной высоты (4:3), фото режется только по бокам;
   текст помещения — во всю ширину ниже. Панели раскрываются в сетку .hm-plan через display:contents. */
.hm-plan { grid-template-columns: 1fr 1fr; }
.hm-plan__map { padding: 0; border-right: 0; background: #f0f1ef; grid-column: 1; grid-row: 1; }
.hm-plan__panels { display: contents; }
.hm-panel.is-on { display: contents; animation: none; }
.hm-panel.is-on > * { animation: hm-in .35s ease both; }
.hm-panel__media { grid-column: 2; grid-row: 1; height: auto; min-height: 0; position: relative; }
.hm-panel__media img { position: absolute; inset: 0; }
.hm-panel__body { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: start; padding: 32px 36px 36px; border-top: 1px solid var(--hm-line); }
.hm-panel__body > .hm-panel__n, .hm-panel__body > h3, .hm-panel__body > p { grid-column: 1; }
.hm-panel__body > .hm-tags { grid-column: 2; grid-row: 1 / 3; align-self: end; margin: 0; }
.hm-panel__body > .hm-panel__norm { grid-column: 2; grid-row: 3; margin-top: 18px; }
.hm-plan__legend { grid-column: 1 / -1; grid-row: 2; padding: 0 36px; }
.hm-axo .hm-plan__hint { position: absolute; left: 0; right: 0; bottom: 3.5%; margin: 0; text-align: center; font-size: 13px; color: var(--hm-muted); pointer-events: none; }
@media (max-width: 1100px) {
  .hm-plan { grid-template-columns: 1fr; }
  .hm-plan__map, .hm-panel__media, .hm-panel__body, .hm-plan__legend { grid-column: 1; grid-row: auto; }
  .hm-panel__media { aspect-ratio: 16 / 10; }
  .hm-plan__legend { padding: 14px 24px 0; margin: 0; }
}
@media (max-width: 767px) {
  .hm-panel__body { grid-template-columns: 1fr; padding: 22px 18px 26px; }
  .hm-panel__body > * { grid-column: 1 !important; grid-row: auto !important; }
  .hm-panel__body > .hm-tags { margin-top: 16px; }
  .hm-plan__legend { padding: 12px 16px 14px; }
  .hm-axo .hm-plan__hint { display: none; }
}

/* Схема: подъём выбранной комнаты и её оборудования (слои Антона 27.11) */
.hm-axo { container-type: inline-size; overflow: hidden; }
.hm-axo img.hm-axo__l { position: absolute; width: auto; height: auto; max-width: none; opacity: 0; pointer-events: none; transition: transform .5s cubic-bezier(.2,.8,.2,1), filter .5s, opacity 0s .5s; }
.hm-axo img.hm-axo__l.is-on { opacity: 1; transition: transform .55s cubic-bezier(.2,.8,.2,1), filter .55s, opacity 0s; }
.hm-axo img.hm-axo__l--rs.is-on { z-index: 1; transition: none; }
.hm-axo img.hm-axo__l--rw.is-on { z-index: 2; transform: translateY(-.7cqw); filter: drop-shadow(0 .9cqw .9cqw rgba(15, 57, 40, .28)); }
.hm-axo img.hm-axo__l--req.is-on { z-index: 3; transform: translateY(-1.9cqw); filter: drop-shadow(0 1.2cqw .7cqw rgba(15, 57, 40, .32)); transition-delay: .08s; }
.hm-axo .hm-zone { z-index: 5; }
.hm-axo .hm-zone:hover, .hm-axo .hm-zone.is-on { background: transparent; box-shadow: none; }
.hm-axo .hm-zone__b { transition: transform .55s cubic-bezier(.2,.8,.2,1), background-color .25s, color .25s; }
.hm-axo .hm-zone.is-on .hm-zone__b { transform: translateY(-.7cqw); }
.hm-axo .hm-zone:hover .hm-zone__b { box-shadow: 0 2px 10px rgba(15, 57, 40, .28); }
.hm-axo .hm-plan__hint { z-index: 4; }
@media (prefers-reduced-motion: reduce) { .hm-axo img.hm-axo__l, .hm-axo .hm-zone__b { transition: none !important; } }

/* Плавная смена фото помещения: все фото в одной ячейке, активное проявляется поверх */
.hm-panel, .hm-panel.is-on { display: contents; animation: none; }
.hm-panel > .hm-panel__body { display: none; }
.hm-panel.is-on > .hm-panel__body { display: grid; animation: hm-in .45s ease both; }
.hm-panel > .hm-panel__media, .hm-panel.is-on > .hm-panel__media { animation: none; opacity: 0; visibility: hidden; transition: opacity 0s .75s, visibility 0s .75s; }
.hm-panel.is-on > .hm-panel__media { opacity: 1; visibility: visible; z-index: 1; transition: opacity .7s ease, visibility 0s; }
.hm-panel__media img { transform: scale(1.04); transition: transform 1.4s cubic-bezier(.2, .8, .2, 1); }
.hm-panel.is-on .hm-panel__media img { transform: none; }
@media (max-width: 1100px) {
  .hm-plan__map { grid-row: 1; }
  .hm-plan__legend { grid-row: 2; }
  .hm-panel__media { grid-row: 3; }
  .hm-panel__body { grid-row: 4; }
}
@media (prefers-reduced-motion: reduce) { .hm-panel__media, .hm-panel__media img, .hm-panel__body { transition: none !important; animation: none !important; } }

/* Без мерцания в Safari: тень у слоёв постоянная (фильтр не анимируется), слои и фото на своих GPU-слоях, текст не гаснет в ноль */
.hm-axo img.hm-axo__l { will-change: transform, opacity; backface-visibility: hidden; transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity 0s .5s; }
.hm-axo img.hm-axo__l.is-on { transition: transform .55s cubic-bezier(.2,.8,.2,1), opacity 0s; }
.hm-axo img.hm-axo__l--rs.is-on { transition: none; }
.hm-axo img.hm-axo__l--rw { filter: drop-shadow(0 .9cqw .9cqw rgba(15,57,40,.28)); }
.hm-axo img.hm-axo__l--req { filter: drop-shadow(0 1.2cqw .7cqw rgba(15,57,40,.32)); }
.hm-axo img.hm-axo__l--req.is-on { transition-delay: .08s; }
.hm-panel__media { will-change: opacity; backface-visibility: hidden; background: #eef0ee; }
.hm-panel__media img { backface-visibility: hidden; }
.hm-panel.is-on > .hm-panel__body { animation: hm-swap .3s ease both; }
@keyframes hm-swap { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .hm-panel.is-on > .hm-panel__body { animation: none !important; } .hm-axo img.hm-axo__l { transition: none !important; } }
/* Тексты помещений в одной ячейке: высота блока не прыгает при переключении */
.hm-panel > .hm-panel__body { display: grid; visibility: hidden; opacity: 0; pointer-events: none; animation: none; }
.hm-panel.is-on > .hm-panel__body { visibility: visible; opacity: 1; pointer-events: auto; }

/* ===== Бенто и анимация, 27.11 (вечер) ===== */
.hm-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.hm-tile { position: relative; overflow: hidden; background: var(--hm-surface); padding: 32px; min-width: 0; }
.hm-tile--dark { background: var(--hm-forest); color: #fff; }
.hm-tile--dark p, .hm-tile--dark .hm-eq__maker { color: rgba(255,255,255,.72); }
.hm-tile--dark a { color: #fff; }
.hm-tile h3 { margin: 6px 0 12px; font-size: 26px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: var(--hm-forest); }
.hm-tile--dark h3 { color: #fff; }
.hm-tile p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--hm-text); }

/* Отделение в цифрах */
.hm-facts { grid-template-rows: auto auto; }
.hm-facts__intro { grid-column: 1 / 7; grid-row: 1 / 3; display: flex; flex-direction: column; gap: 16px; padding: 40px; background: #e7ece4; }
.hm-facts__intro .hm-facts__eyebrow { margin: 0; font-size: 15px; color: var(--hm-muted); }
.hm-facts__intro .hm-facts__lead { margin: 0; font-size: clamp(26px, 2.3vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -.02em; color: var(--hm-forest); max-width: 26ch; }
.hm-facts__intro .hm-facts__body { margin: 0; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; color: var(--hm-text); max-width: 46ch; }
.hm-facts__more { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(15,57,40,.14); display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hm-facts__more span { flex-basis: 100%; margin-bottom: 4px; font-size: 14px; color: var(--hm-muted); }
.hm-facts__more a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--hm-surface); font-size: 15px; font-weight: 600; color: var(--hm-ink); text-decoration: none; transition: background-color .2s, color .2s; }
.hm-facts__more a::after { content: "→"; transition: transform .2s; }
.hm-facts__more a:hover { background: var(--hm-forest); color: #fff; }
.hm-facts__more a:hover::after { transform: translateX(3px); }
.hm-stat { grid-column: span 3; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 210px; }
.hm-stat b, .hm-norm b, .hm-eq__big { display: block; font-size: clamp(48px, 5vw, 76px); line-height: .95; font-weight: 700; letter-spacing: -.045em; color: var(--hm-forest); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-tile--dark b, .hm-tile--dark .hm-eq__big { color: var(--hm-lime); }
.hm-stat small, .hm-norm small, .hm-eq__big small { font-size: .42em; letter-spacing: -.01em; font-weight: 700; }
.hm-stat p { font-size: 15px; line-height: 1.45; color: var(--hm-muted); max-width: 30ch; }
.hm-tile.hm-tile--dark p, .hm-tile.hm-tile--dark .hm-eq__maker { color: rgba(255,255,255,.74); }

/* Оборудование */
.hm-eq__maker { display: block; font-size: 14px; color: var(--hm-muted); }
.hm-eq__item { display: flex; flex-direction: column; }
.hm-eq--exa { grid-column: 1 / 7; grid-row: 1 / 3; display: grid; grid-template-columns: 1fr auto; gap: 24px; padding: 40px 32px 0 40px; background: #fff; }
.hm-eq--exa h3 { font-size: clamp(28px, 2.6vw, 38px); line-height: 1.04; }
.hm-eq--exa .hm-eq__txt { padding-bottom: 40px; display: flex; flex-direction: column; }
.hm-tile p.hm-eq__optl { margin: auto 0 0; padding-top: 24px; font-size: 14px; color: var(--hm-muted); }
.hm-eq__opts { margin: 8px 0 0; padding: 0; list-style: none; }
.hm .hm-eq__opts li { margin: 0; padding: 12px 0; border-top: 1px solid var(--hm-line); font-size: 15px; font-weight: 600; }
.hm-eq__prod { align-self: end; width: auto; height: clamp(380px, 36vw, 520px); }
.hm-eq--07 { grid-column: 7 / 13; grid-row: 1; padding-right: 200px; min-height: 250px; }
.hm-eq__ico { position: absolute; right: 16px; top: 50%; width: 180px; height: 180px; margin-top: -90px; }
.hm-eq--water { grid-column: 7 / 13; grid-row: 2; display: grid; grid-template-columns: 2fr 3fr; padding: 0; }
.hm-eq--water .hm-eq__txt { padding: 28px 32px 32px; }
.hm-eq__media { position: relative; overflow: hidden; background: #e3e4dd; min-height: 220px; }
.hm-eq__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hm-eq--salts { grid-column: 1 / 5; padding: 0; }
.hm-eq--salts .hm-eq__media { aspect-ratio: 16 / 9; min-height: 0; }
.hm-eq--salts .hm-eq__txt { padding: 26px 32px 32px; }
.hm-eq--cath { grid-column: 5 / 9; padding-top: 196px; }
.hm-eq--cath .hm-eq__ico { top: 12px; left: 24px; right: auto; margin: 0; width: 180px; height: 180px; }
.hm-eq--needle { grid-column: 9 / 13; }
.hm-eq__big { margin-top: auto; padding-top: 32px; }
.hm-eq__big small { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,.72); white-space: normal; }

/* Нормативы плитками */
.hm-norm { grid-column: span 3; display: flex; flex-direction: column; gap: 14px; min-height: 230px; }
.hm-norm > span { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--hm-ink); min-height: 2.7em; }
.hm-norm b { margin-top: auto; }
.hm-norm p { font-size: 14px; color: var(--hm-muted); }
.hm-norm--water { background: #e7ece4; }
.hm-norm b.hm-norm__w { font-size: clamp(28px, 2.4vw, 36px); line-height: 1.05; letter-spacing: -.03em; white-space: normal; }

/* Пути: главный — крупнее */
.hm-paths { grid-template-columns: repeat(2, 1fr) 1.25fr; }
.hm-path--main { grid-column: 3; grid-row: 1; }

/* Появление по скроллу: только transform и opacity; класс hm-anim ставит скрипт в начале <main> */
.hm-anim [data-hm-r] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--hm-d, 0s), transform .9s cubic-bezier(.2,.7,.2,1) var(--hm-d, 0s); }
.hm-anim [data-hm-r].is-in { opacity: 1; transform: none; }
.hm-anim .hm-path[data-hm-r].is-in { transition-property: opacity, transform, background-color; }

/* Параллакс кадров ленты: картинка выше кадра на 12%, сдвиг задаёт скрипт */
.hm-anim .hm-strip figure:not(.is-prod) img { position: absolute; left: 0; top: -6%; height: 112%; transition: none; will-change: transform; }
.hm-anim .hm-strip a:hover img { transform: none; }

@media (max-width: 1100px) {
  .hm-facts__intro { grid-column: 1 / -1; grid-row: auto; }
  .hm-stat, .hm-norm { grid-column: span 6; }
  .hm-eq--exa, .hm-eq--07, .hm-eq--water { grid-column: 1 / -1; grid-row: auto; }
  .hm-eq--salts, .hm-eq--cath { grid-column: span 6; }
  .hm-eq--needle { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .hm-bento { gap: 8px; }
  .hm-tile { padding: 22px 18px; }
  .hm-facts__intro { padding: 24px 18px; }
  .hm-stat, .hm-norm { grid-column: span 6; min-height: 170px; gap: 18px; }
  .hm-stat b, .hm-norm b { font-size: 44px; }
  .hm-stat p { font-size: 13px; }
  .hm-norm > span { font-size: 14px; min-height: 0; }
  .hm-norm b.hm-norm__w { font-size: 22px; }
  .hm-tile h3 { font-size: 22px; }
  .hm-eq--exa { grid-template-columns: 1fr; gap: 8px; padding: 18px 18px 0; }
  .hm-eq--exa h3 { font-size: 26px; }
  .hm-eq--exa .hm-eq__txt { padding-bottom: 22px; }
  .hm-eq__prod { order: -1; justify-self: center; align-self: auto; height: 240px; }
  .hm-eq--07 { padding-right: 18px; padding-top: 130px; min-height: 0; }
  .hm-eq--07 .hm-eq__ico, .hm-eq--cath .hm-eq__ico { top: 10px; left: 12px; right: auto; margin: 0; width: 120px; height: 120px; }
  .hm-eq--cath { padding-top: 130px; }
  .hm-eq--water { grid-template-columns: 1fr; }
  .hm-eq--water .hm-eq__media { aspect-ratio: 16 / 9; min-height: 0; }
  .hm-eq--water .hm-eq__txt, .hm-eq--salts .hm-eq__txt { padding: 20px 18px 24px; }
  .hm-eq--salts, .hm-eq--cath, .hm-eq--needle { grid-column: 1 / -1; }
  .hm-paths { grid-template-columns: 1fr; }
  .hm-path--main { grid-column: auto; grid-row: auto; }
  .hm-anim [data-hm-r] { transform: translate3d(0, 18px, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hm-anim [data-hm-r] { opacity: 1; transform: none; transition: none; }
}

/* ---------- Закреплённая сцена «От воды до процедуры», 27.11 ----------
   Без .hm-anim (reduced motion, нет IO) — обычная лента из четырёх карточек.
   С .hm-anim — трек высотой в несколько экранов, сцена прилипает, шаги сменяются по прокрутке.
   Пройденные шаги остаются под текущим (is-past), поэтому при смене нет пустого кадра. */
.hm-cine { padding: 96px 24px 0; }
.hm-cine__stage { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 1392px; margin: 0 auto; }
.hm-cine__eyebrow { grid-column: 1 / -1; margin: 0 0 12px; font-size: 15px; color: var(--hm-muted); }
.hm-cine__step { position: relative; background: var(--hm-forest); color: #fff; overflow: hidden; }
.hm-cine__media { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.hm-cine__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hm-cine__txt { padding: 24px 28px 28px; }
.hm-cine__n { display: block; font-size: 14px; color: rgba(255,255,255,.6); font-variant-numeric: tabular-nums; }
.hm-cine__txt h3 { margin: 10px 0 8px; font-size: clamp(30px, 3.4vw, 52px); line-height: 1; letter-spacing: -.035em; color: var(--hm-lime); }
.hm-cine__txt p { margin: 0; max-width: 44ch; font-size: 17px; line-height: 1.5; color: rgba(255,255,255,.82); }
.hm-cine__bar { display: none; }


@media (max-width: 767px) {
  .hm-cine { padding: 64px 12px 0; }
  .hm-cine__stage { grid-template-columns: 1fr; }
}

.hm-nw { white-space: nowrap; }
.hm-eq__cap { display: block; margin-top: 10px; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.74); }
/* «Растворы» снят в похожей кладовой, что и «Соли»: другой план кадра, чтобы смена шага читалась */
.hm-cine__step[data-hm-cine="2"] .hm-cine__media img { object-position: 0% 70%; }

/* Закреплённая сцена — только если экран достаточно высокий; на низком (телефон боком) остаётся лента карточек */
@media (min-height: 560px) {
  .hm-anim .hm-cine { padding: 72px 0 0; }
  .hm-anim .hm-cine__track { height: 340vh; }
  .hm-anim .hm-cine__stage { --hm-ct: calc(var(--hm-hdr, 88px) + 12px); display: block; position: sticky; top: 0; height: 100vh; height: 100svh; max-width: none; padding: 24px; box-sizing: border-box; overflow: hidden; }
  .hm-anim .hm-cine__eyebrow { position: absolute; z-index: 6; top: calc(var(--hm-ct) + 24px); left: 64px; margin: 0; color: rgba(255,255,255,.85); }
  .hm-anim .hm-cine__step { position: absolute; inset: var(--hm-ct) 24px 24px; opacity: 0; transition: opacity .8s cubic-bezier(.2,.7,.2,1); }
  .hm-anim .hm-cine__step:nth-of-type(1) { z-index: 1; }
  .hm-anim .hm-cine__step:nth-of-type(2) { z-index: 2; }
  .hm-anim .hm-cine__step:nth-of-type(3) { z-index: 3; }
  .hm-anim .hm-cine__step:nth-of-type(4) { z-index: 4; }
  .hm-anim .hm-cine__step.is-on, .hm-anim .hm-cine__step.is-past { opacity: 1; }
  .hm-anim .hm-cine__media { position: absolute; inset: 0; aspect-ratio: auto; }
  .hm-anim .hm-cine__media img { transform: scale(1.08); transition: transform 1.8s cubic-bezier(.2,.7,.2,1); will-change: transform; }
  .hm-anim .hm-cine__step.is-on .hm-cine__media img, .hm-anim .hm-cine__step.is-past .hm-cine__media img { transform: scale(1); }
  .hm-anim .hm-cine__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,57,40,.35) 0%, rgba(15,57,40,0) 22%, rgba(15,57,40,0) 40%, rgba(15,57,40,.7) 66%, rgba(15,57,40,.94) 100%); }
  .hm-anim .hm-cine__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 40px 64px; opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .6s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
  .hm-anim .hm-cine__step.is-on .hm-cine__txt { opacity: 1; transform: none; transition-delay: .18s; }
  .hm-anim .hm-cine__txt h3 { font-size: clamp(56px, 8vw, 128px); margin: 12px 0 16px; }
  .hm-anim .hm-cine__txt p { font-size: clamp(17px, 1.4vw, 21px); }
  .hm-anim .hm-cine__bar { display: block; position: absolute; z-index: 6; left: 64px; right: 300px; bottom: 48px; height: 2px; background: rgba(255,255,255,.25); }
  .hm-anim .hm-cine__bar i { display: block; height: 100%; background: var(--hm-lime); transform-origin: 0 50%; transform: scaleX(0); }
  .hm-anim .hm-cine__step[data-hm-cine="2"] .hm-cine__media img { transform: scale(1.32); transform-origin: 0% 75%; }
  .hm-anim .hm-cine__step[data-hm-cine="2"].is-on .hm-cine__media img, .hm-anim .hm-cine__step[data-hm-cine="2"].is-past .hm-cine__media img { transform: scale(1.2); }
  @media (max-width: 767px) {
    .hm-anim .hm-cine { padding: 48px 0 0; }
    .hm-anim .hm-cine__track { height: 300vh; }
    .hm-anim .hm-cine__stage { padding: 12px; }
    .hm-anim .hm-cine__step { inset: var(--hm-ct) 12px 12px; }
    .hm-anim .hm-cine__eyebrow { top: calc(var(--hm-ct) + 16px); left: 28px; font-size: 13px; }
    .hm-anim .hm-cine__txt { padding: 0 20px 48px; }
    .hm-anim .hm-cine__txt h3 { font-size: 44px; overflow-wrap: normal; }
    .hm-anim .hm-cine__txt p { font-size: 16px; }
    .hm-anim .hm-cine__bar { left: 32px; right: 96px; bottom: 32px; }
    .hm-anim .hm-cine__txt p { padding-right: 52px; }
    .hm-anim .hm-cine__step[data-hm-cine="2"] .hm-cine__media img { object-position: 62% 70%; transform-origin: 62% 75%; }
  }
}

/* Текст помещения, 27.11 (Антон: «тут вёрстка»). Справа сверху — норматив площади на уровне заголовка,
   под ним, вровень с описанием, — список оборудования подписью и тонкими метками, а не кнопками. */
@media (min-width: 768px) {
  .hm-panel__body { row-gap: 0; }
  .hm-panel__body > .hm-panel__norm { grid-column: 2; grid-row: 1 / 3; align-self: end; margin: 0 0 12px; padding: 0; border-top: 0; }
  .hm-panel__body > .hm-panel__norm b { font-size: 34px; line-height: 1.05; }
  .hm-panel__body > .hm-tags { grid-column: 2; grid-row: 3; align-self: start; margin: 0; padding-top: 14px; border-top: 1px solid var(--hm-line); }
  .hm-panel__body > p { padding-top: 14px; }
}
.hm-tags::before { content: "Оборудование"; flex: 0 0 100%; font-size: 13px; color: var(--hm-muted); margin-bottom: 2px; }
.hm-tags li { padding: 5px 10px; font-size: 14px; line-height: 1.3; background: transparent; border: 1px solid var(--hm-line); border-radius: 999px; color: var(--hm-text); }
/* Выравнивание по строкам, 27.11: заголовок ↔ «14 м²» на одной линии, описание ↔ «Оборудование» с одной высоты. */
@media (min-width: 768px) {
  .hm-panel__body > h3 { margin-bottom: 0; }
  .hm-panel__body { align-content: start; } /* блок растянут по высоте — лишнее место уходит вниз, а не в строки сетки */
  .hm-panel__body > .hm-panel__norm { grid-row: 1 / 3; align-self: end; margin: 0; display: flex; align-items: flex-start; gap: 32px; }
  .hm-panel__body > .hm-panel__norm > div { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
  .hm-panel__body > .hm-panel__norm b { font-size: 26px; line-height: 1.1; text-wrap: balance; }
  .hm-panel__body > .hm-panel__norm span { display: block; font-size: 13px; line-height: 1.3; }
  .hm-panel .hm-panel__body > p { margin: 12px 0 0; padding-top: 15px; } /* сильнее общего p:not(:first-child) из style.css */
  .hm-panel__body > .hm-tags { margin-top: 12px; }
  .hm-tags::before { line-height: 1.3; margin-bottom: 6px; }
}
@media (min-width: 768px) { .hm-nobr { white-space: nowrap; } }
/* Плитки «С чего начать», 27.11: размер как у фирменных плиток главной (.mgs-row/.mgs-card) — три равные колонки, зазор 16, высота ~204 на 1440 / ~233 на 1024. */
@media (min-width: 768px) {
  .hm-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .hm-path { min-height: 204px; padding: clamp(20px, 1.7vw, 24px) clamp(20px, 2vw, 28px); }
  .hm-paths .hm-path b { margin: 0 0 10px; font-size: clamp(22px, 1.8vw, 26px); line-height: 1.1; }
  .hm-paths .hm-path p { margin: 0; }
  .hm-paths .hm-path i { margin-top: auto; padding-top: 16px; }
}
/* Скругление блоков, 27.11 (Антон: «скруглить все блоки») — как плитки главной (.mgs-card, 20px). overflow: clip, а не hidden: не ломает sticky внутри. */
.hm-tile, .hm-path, .hm-plan, .hm-calc, .hm-table, .hm-form-sec, .hm-cine__step, .hm-strip figure { border-radius: 20px; overflow: clip; }
@media (max-width: 767px) {
  .hm-tile, .hm-path, .hm-plan, .hm-calc, .hm-table, .hm-form-sec, .hm-cine__step, .hm-strip figure { border-radius: 16px; }
}
/* «Как проходит заказ»: магистраль-трубка с текущим раствором — родственник кардиограммы на главной. li::before занят .hm li::before{display:none!important}, поэтому узлы на ::after. */
@property --hm-on { syntax: '<number>'; inherits: true; initial-value: 0; }
.hm-flow { display: none; }
@media (min-width: 1025px) {
  .hm-steps { border-top: 0; }
  .hm-flow { display: block; position: relative; height: 12px; border-radius: 12px; overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #eef1ea 45%, #e2e6dd 100%);
    box-shadow: inset 0 0 0 1px var(--hm-line), inset 0 2px 3px rgba(11,26,21,.06); }
  .hm-flow::before { content: ""; position: absolute; inset: 3px 0; border-radius: 6px;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.95) 0 1.4px, transparent 2px) 0 50% / 46px 6px repeat-x,
                linear-gradient(90deg, rgba(111,194,51,.22), rgba(111,194,51,.32));
    animation: hm-flow-drift 2.4s linear infinite; }
  .hm-flow i { position: absolute; top: 3px; bottom: 3px; left: 0; width: 26%; border-radius: 6px;
    background: linear-gradient(90deg, rgba(111,194,51,0) 0%, #6fc233 35%, #4a8f21 70%, #e8ff00 92%, rgba(232,255,0,0) 100%);
    box-shadow: 0 0 10px rgba(111,194,51,.45);
    animation: hm-flow-bolus 6s linear infinite; }
  .hm-flow::after { content: ""; position: absolute; left: 4px; right: 4px; top: 2px; height: 2px; border-radius: 2px; background: rgba(255,255,255,.7); }
  @keyframes hm-flow-drift { to { background-position: 46px 50%, 0 0; } }
  @keyframes hm-flow-bolus { from { transform: translateX(-100%); } to { transform: translateX(384.6%); } }

  .hm-steps li { position: relative; }
  /* Одна анимация на шаг (--hm-on 0→1): точка, номер и заголовок подсвечиваются синхронно. Раньше у точки и номера были отдельные анимации — в Safari расходились, заголовок не светился. */
  .hm-steps li { animation: hm-flow-on 6s linear infinite; animation-delay: var(--hm-fd, 0s); }
  .hm-steps li::after { content: ""; position: absolute; left: 0; top: -15px; width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%;
    background: color-mix(in srgb, var(--hm-lime) calc(var(--hm-on) * 100%), #fff);
    border: 2px solid color-mix(in srgb, #4a8f21 calc(var(--hm-on) * 100%), var(--hm-line));
    transform: scale(calc(1 + .15 * var(--hm-on)));
    box-shadow: 0 0 0 calc(6px * var(--hm-on)) rgba(111,194,51,calc(.18 * var(--hm-on))); }
  .hm-steps li > span { color: color-mix(in srgb, #4a8f21 calc(var(--hm-on) * 100%), var(--hm-muted)); }
  .hm-steps li > b { color: color-mix(in srgb, #3f7d1c calc(var(--hm-on) * 100%), #0b1a15); }
  @keyframes hm-flow-on { 0%, 40%, 64%, 100% { --hm-on: 0; } 50% { --hm-on: 1; } }
  .hm-steps li:nth-child(1) { --hm-fd: -2.81s; }
  .hm-steps li:nth-child(2) { --hm-fd: -1.86s; }
  .hm-steps li:nth-child(3) { --hm-fd: -.9s; }
  .hm-steps li:nth-child(4) { --hm-fd: .05s; }
  .hm-steps li:nth-child(5) { --hm-fd: -5s; }
  .hm-steps li:nth-child(n) { padding-top: 26px; }
}
@media (min-width: 1025px) and (prefers-reduced-motion: reduce) {
  .hm-flow::before, .hm-flow i, .hm-steps li { animation: none; }
  .hm-flow i { display: none; }
}

/* Форма: левая часть — тёмная панель бренда с аппаратом DBB-EXA. li::before занят .hm li::before{display:none!important}, галочка — фоном. */
.hm-form-sec__info { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(120% 70% at 100% 100%, rgba(232,255,0,.16) 0%, rgba(232,255,0,0) 55%), linear-gradient(160deg, #134a34 0%, #0f3928 55%, #0b2c1f 100%); }
.hm-form-sec__eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: 13px; font-weight: 600; letter-spacing: .02em; color: var(--hm-lime); }
.hm-form-sec__eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hm-lime); }
.hm-form-sec__info h2 { color: #fff; max-width: 11ch; }
.hm .hm-form-sec__info p { color: rgba(255,255,255,.78); max-width: 34ch; }
.hm .hm-form-sec__phone { color: var(--hm-lime); }
.hm-form-sec__info ul { position: relative; z-index: 1; max-width: 56%; color: #fff; }
.hm-form-sec__info ul::before { content: "В предложении"; display: block; margin-bottom: 6px; font-size: 13px; color: rgba(255,255,255,.6); }
.hm .hm-form-sec__info li { border-top-color: rgba(255,255,255,.16); padding-left: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23E8FF00' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") 0 13px / 16px no-repeat; }
.hm-form-sec__img { position: absolute; right: -18px; bottom: -60px; z-index: 0; height: 78%; width: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.35)); pointer-events: none; }
@media (max-width: 1100px) { .hm-form-sec__img { display: none; } .hm-form-sec__info ul { max-width: none; } .hm-form-sec__info h2 { max-width: none; } }

/* FAQ стандартного блока сайта: колонка как у остальных секций страницы */
.hm-faq-std { font-family: var(--hm-font); }
@media (min-width: 1101px) { .hm-faq-std { margin-left: calc((100% - 11 * 24px) / 12 * 2 + 48px); } }
/* Декор FAQ по макету дизайнера (Figma 8zWPWrxQgbQAAkro8cN6KN, узел 4:13): контурные «?» в пустой левой колонке; на мобильном колонки нет — не показываем */
@media (min-width: 1101px) {
  .hm-sec--faq .hm-wrap { position: relative; }
  .hm-sec--faq .hm-wrap::before { content: ""; position: absolute; left: -60px; top: 88px; width: 421px; height: 539px; background: url("img/faq-q.svg?v=2") no-repeat 0 0 / 100% 100%; pointer-events: none; }
  .hm-sec--faq .hm-wrap > * { position: relative; }
}

/* Белая полоса над подвалом: шаблонный .page{margin-bottom:100px} на сером фоне страницы */
.page:has(> main.hm) { margin-bottom: 0; }
/* Плитки «С чего начать» с картинкой, 27.11: текст слева, изометрическая сцена справа — как .mgs-card на главной (1.15fr / 1fr). */
.hm-path--pic { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); padding: 0; }
.hm-path__text { display: flex; flex-direction: column; min-width: 0; padding: 22px 4px 22px 22px; }
.hm-paths .hm-path--pic b { margin: 0 0 10px; font-size: 22px; line-height: 1.1; hyphens: manual; overflow-wrap: normal; text-wrap: balance; }
.hm-paths .hm-path--pic p { font-size: 14px; line-height: 1.45; }
.hm-path__media { display: grid; place-items: center end; min-width: 0; padding: 10px 10px 10px 0; }
.hm-path__media picture { display: contents; }
.hm-path__media img { display: block; width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: right center;
  filter: drop-shadow(0 10px 18px rgba(11, 26, 21, .12)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.hm-path--pic:hover .hm-path__media img { transform: scale(1.05); }
@media (min-width: 768px) {
  .hm-path--pic { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); padding: 0; }
  .hm-path__text { padding: clamp(20px, 1.7vw, 24px) 6px clamp(20px, 1.7vw, 24px) clamp(20px, 2vw, 28px); }
  .hm-paths .hm-path--pic b { font-size: clamp(20px, 1.6vw, 24px); }
  .hm-paths .hm-path--pic p { font-size: 14px; line-height: 1.45; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .hm-path--pic { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .hm-path__media { order: -1; place-items: center; padding: 14px 14px 0; }
  .hm-path__media img { width: auto; height: 150px; }
}
@media (prefers-reduced-motion: reduce) { .hm-path__media img { transition: none; } }
/* SEO-блок — последний перед футером, 27.11: без нижнего отступа секции (Антон: «полоса между футером и блоком»); кнопки — свои цвета seo-block.css, .hm a { color: inherit } их перебивал. */
.hm-sec.hm-seo { padding-bottom: 0; }
.hm .seo__btn--main, .hm .seo__btn--main:hover { color: #fff; }
.hm .seo__btn--ghost { color: var(--seo-brand); }
.hm .seo__btn--ghost:hover { color: #fff; }
/* Форма заявки, 27.11 (Антон: «распределение по высоте правого блока… вниз… растянуть»): правая колонка заполняет высоту тёмной панели — поле «Задача» растягивается, кнопка и согласие прижаты к низу. Select — свой вид: Safari с appearance:auto игнорирует высоту и был ниже полей. */
.hm-form select { -webkit-appearance: none; appearance: none; height: 52px; padding-right: 44px; background: var(--hm-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230f3928' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center / 12px 8px; cursor: pointer; }
@media (min-width: 1101px) {
  .hm-form { display: flex; flex-direction: column; }
  .hm-form > div:not(.hm-form__done) { flex: 1; display: flex; flex-direction: column; }
  .hm-form__grid { flex: 1; grid-template-rows: auto auto auto 1fr; row-gap: 24px; }
  .hm-form__grid .hm-field--wide:last-child { display: flex; flex-direction: column; }
  .hm-form__grid .hm-field--wide:last-child textarea { flex: 1; min-height: 120px; resize: none; }
  .hm-form__submit { margin-top: 32px; }
}
