/* Лендинг «Тепловые насосы для бассейна». Только эта страница; всё под .hp — шапка и подвал сайта не задеты.
   Язык цвета — тепловизор: синий = холод (воздух, фреон до компрессора), пурпур = горячий газ, янтарь = тепло в
   воде. Цвет тепла — только там, где он что-то значит (температура, нагрев, прогресс чтения).
   Шрифт: data-font="own" — Unbounded (заголовки, крупные числа) + Golos Text (текст); "site" — шрифт сайта.
   Движение — только при prefers-reduced-motion: no-preference и когда скрипт поставил .hp-js. */

@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 800;font-display:swap;src:url("../fonts/unbounded-cyrillic.3a5ed4d11365.woff2") format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Unbounded';font-style:normal;font-weight:500 800;font-display:swap;src:url("../fonts/unbounded-latin.8616dc355070.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/golos-cyrillic.2b8fbbb33a14.woff2") format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;}
@font-face{font-family:'Golos Text';font-style:normal;font-weight:400 700;font-display:swap;src:url("../fonts/golos-latin.f57df9832ab8.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}

.hp {
  --frost: #F2F6F8;      /* фон страницы: холодный белый, не «кремовый» */
  --paper: #FFFFFF;
  --ink: #13263A;
  --muted: #50657A;
  --line: #D5E1E8;
  --cold: #3D8FD1;       /* воздух, холодный фреон */
  --water: #12A4B6;
  --warm: #C94FA0;       /* горячий газ после компрессора */
  --heat: #EF7F1A;       /* тепло в воде */
  --heat-ink: #A84F00;   /* тепло для текста на светлом (контраст) */
  --site: #014CE4;       /* ссылки и «В корзину» — как в каталоге */
  --green: #138A52;
  --red: #D23B3F;
  --thermal: linear-gradient(90deg, var(--cold), var(--warm) 55%, var(--heat));
  --ease: cubic-bezier(.2, .75, .2, 1);
  --display: 'Unbounded', 'IBM Plex Sans', system-ui, sans-serif;
  --text: 'Golos Text', 'IBM Plex Sans', system-ui, sans-serif;
  --display-weight: 700;
  color: var(--ink);
  background: var(--frost);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
  font-variant-numeric: tabular-nums;
}
.hp[data-font="site"] { --display: 'IBM Plex Sans', system-ui, sans-serif; --text: 'IBM Plex Sans', system-ui, sans-serif; }
.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp [hidden] { display: none !important; }
:where(.hp) p { margin: 0 0 1em; }
:where(.hp) a { color: var(--site); }
.hp-main { background: var(--frost); }
/* у сайта html и body — overflow-x: hidden: body становится контейнером прокрутки, и position: sticky (оглавление,
   схема цикла, итог калькулятора) перестаёт работать. Только на этой странице — clip: горизонтальной прокрутки
   так же нет, а липкие блоки работают. */
html:has(.hp), body:has(.hp) { overflow: visible; overflow-x: clip; }
.hp-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .hp-wrap { padding: 0 32px; } }
.hp-crumbs { padding-top: 14px; padding-bottom: 6px; }
.hp-crumbs .breadcrumb { margin: 0; }
.hp .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* ловушка формы */

/* ── прогресс чтения: полоса «нагревается» от синего к янтарю ── */
.hp-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.hp-progress span { display: block; height: 100%; width: 100%; background: var(--thermal); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* ── типографика ── */
.hp-h2 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: -.02em;
  font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; margin: 0 0 .55em; text-wrap: balance; max-width: 22ch; }
.hp-h2_small { font-size: clamp(22px, 2.4vw, 28px); }
.hp-h3 { font-family: var(--text); font-weight: 700; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.25; margin: 0 0 .5em; text-wrap: balance; }
.hp-h4 { font-weight: 700; font-size: 17px; margin: 1.4em 0 .4em; }
.hp-gist { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; max-width: 62ch; margin-bottom: 1.4em; }
.hp-note { font-size: 14px; color: var(--muted); max-width: 70ch; }
.hp-link { font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.hp-head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; }
.hp-sec { padding: clamp(48px, 7vw, 96px) 0 0; scroll-margin-top: 24px; }
.hp-sec p, .hp-sec li { max-width: 70ch; }
.hp-list { padding-left: 1.2em; margin: 0 0 1.5em; }
.hp-list li { margin-bottom: .55em; }
.hp-list_num { padding-left: 1.4em; }

/* термин словарика: подчёркнут пунктиром, без JS — ссылка в словарик */
.hp-term { color: inherit; text-decoration: underline dotted var(--cold); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: help; }
.hp-term:hover { text-decoration-color: var(--heat); }
.hp-tip { position: absolute; z-index: 70; max-width: min(340px, calc(100vw - 32px)); padding: 12px 14px; border-radius: 10px;
  background: var(--ink); color: #EAF2F7; font-size: 14px; line-height: 1.45; box-shadow: 0 12px 30px -12px rgba(19, 38, 58, .5); }
.hp-tip b { display: block; color: #fff; margin-bottom: 2px; }

/* ── кнопки и чипы ── */
.hp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 14px; border: 0; font: 700 17px/1 var(--text); text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s; }
.hp a.hp-btn { color: inherit; }
.hp-btn_heat { background: var(--ink); color: #fff !important; box-shadow: inset 0 -3px 0 var(--heat); }
.hp-btn_heat:hover { transform: translateY(-1px); background: #1C3550; }
.hp-btn_line { background: transparent; box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink) !important; }
.hp-btn_line:hover { background: rgba(19, 38, 58, .06); }
.hp-btn_buy { position: relative; min-height: 44px; width: 100%; padding: 0 14px; border-radius: 10px; font-size: 15px; background: var(--site); color: #fff; }
.hp-btn_buy:hover { background: #003BB5; }
.hp-btn_buy[disabled] { background: #9AA8B2; cursor: default; }
.hp-btn_buy .buy-check { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; background: inherit; border-radius: inherit; }
.hp-btn_buy.is-added .buy-check, .is-added .hp-btn_buy .buy-check { opacity: 1; }
.hp-chip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper);
  font: 600 15px/1 var(--text); color: var(--ink); cursor: pointer; }
.hp-chip[aria-pressed="true"], .hp-chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hp a:focus-visible, .hp button:focus-visible, .hp summary:focus-visible, .hp input:focus-visible, .hp select:focus-visible,
.hp-seg input:focus-visible + span { outline: 3px solid var(--heat); outline-offset: 2px; }
.hp-key { font-weight: 700; white-space: nowrap; }
.hp-key::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.hp-key_inv::before { background: var(--water); }
.hp-key_onoff::before { background: var(--warm); }

/* ── 1. первый экран ── */
.hp-hero { position: relative; padding: clamp(20px, 4vw, 48px) 0 clamp(36px, 5vw, 64px);
  background: linear-gradient(180deg, #DCEAF2 0%, #E9F1F5 60%, var(--frost) 100%); overflow: hidden; }
.hp-hero__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 980px) { .hp-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; } }
.hp-hero__h1 { font: 600 clamp(15px, 1.3vw, 17px)/1.3 var(--text); color: var(--muted); margin: 0 0 14px; }
.hp-hero__promise { font-family: var(--display); font-weight: 700; letter-spacing: -.025em;
  font-size: clamp(28px, 3.6vw, 48px); line-height: 1.08; margin: 0 0 18px; text-wrap: balance; max-width: 16ch; }
.hp-hero__lead { font-size: clamp(17px, 1.4vw, 19px); color: #2C4157; max-width: 52ch; }
.hp-hero__live { font-size: 16px; color: var(--muted); max-width: 52ch; }
.hp-hero__live b { color: var(--ink); white-space: nowrap; }
.hp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hp-hero__stage { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 20%, #F4F9FB 0%, #D6E6EE 70%, #C9DCE6 100%); }
.hp-hero__svg, .hp-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hp-hero__canvas canvas { display: block; width: 100% !important; height: 100% !important; }
.hp-hero.is-3d .hp-hero__svg { opacity: 0; transition: opacity .6s; }
.hp-hero__ground { stroke: #A9BDC9; stroke-width: 2; }
.hp-hero__mote { fill: var(--cold); opacity: 0; }
.hp-hero__meter { position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; padding: 16px 18px; pointer-events: none; }
.hp-hero__meter p { margin: 0; display: grid; gap: 2px; }
.hp-hero__meter p > span { font-size: 13px; color: var(--muted); }
.hp-hero__meter b { font: 700 clamp(30px, 4vw, 52px)/1 var(--display); letter-spacing: -.03em; }
.hp-hero__meter small { font: 600 .42em var(--text); margin-left: 4px; letter-spacing: 0; }
.hp-hero__in b { color: var(--cold); }
.hp-hero__out { text-align: right; }
.hp-hero__out b { color: var(--heat-ink); }
.hp-hero__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 18px 14px; font-size: 13px; line-height: 1.4; color: #2C4157;
  background: linear-gradient(0deg, rgba(242, 246, 248, .95), rgba(242, 246, 248, 0)); }
@media (max-width: 979px) {
  /* на телефоне сцена — сразу под обещанием, до длинного абзаца: первый экран с живой картинкой */
  .hp-hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hp-hero__text { display: contents; }
  .hp-hero__h1 { order: 1; } .hp-hero__promise { order: 2; } .hp-hero__stage { order: 3; margin: 4px 0 20px; }
  .hp-hero__lead { order: 4; } .hp-hero__live { order: 5; } .hp-hero__cta { order: 6; }
}
@media (max-width: 560px) { .hp-hero__cap { font-size: 12px; } .hp-hero__stage { aspect-ratio: 5 / 4; } }

/* 2D-замена: частицы воздуха плывут в насос, тёплое пятно в воде дышит */
@media (prefers-reduced-motion: no-preference) {
  .hp-js .hp-hero__mote { offset-path: path("M-10 120 C80 160 60 240 100 300"); animation: hp-mote 4.2s linear infinite; animation-delay: calc(var(--i) * -.47s); }
  .hp-js .hp-hero__fan { transform-origin: 100px 300px; animation: hp-spin 1.6s linear infinite; }
  .hp-js .hp-hero__warm { animation: hp-breathe 3.6s ease-in-out infinite; transform-origin: 390px 375px; }
  .hp-is-paused .hp-hero__mote, .hp-is-paused .hp-hero__fan, .hp-is-paused .hp-hero__warm { animation-play-state: paused; }
}
@keyframes hp-mote { 0% { offset-distance: 0%; opacity: 0; fill: var(--cold); } 15% { opacity: .9; } 85% { opacity: .9; } 100% { offset-distance: 100%; opacity: 0; fill: #8FB9E0; } }
@keyframes hp-spin { to { transform: rotate(360deg); } }
@keyframes hp-breathe { 50% { transform: scale(1.12); opacity: .8; } }

/* ── сетка статьи и оглавление ── */
.hp-layout { display: block; }
.hp-article { min-width: 0; }
@media (min-width: 1100px) {
  .hp-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 56px; align-items: start; }
}
.hp-toc { position: sticky; top: 0; z-index: 40; margin: 0 -16px; padding: 8px 16px; background: rgba(242, 246, 248, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hp-toc__toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--paper); font: 600 15px var(--text); color: var(--ink); cursor: pointer; }
.hp-toc__toggle::after { content: ""; width: 8px; height: 8px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg) translateY(-2px); }
.hp-toc__list { list-style: none; margin: 8px 0 4px; padding: 0; display: none; columns: 2; column-gap: 16px; }
.hp-toc.is-open .hp-toc__list { display: block; }
.hp-toc__list li { break-inside: avoid; }
.hp-toc__list a { display: block; padding: 7px 0 7px 12px; color: var(--muted); text-decoration: none; font-size: 15px; border-left: 3px solid transparent; }
.hp-toc__list a.is-current { color: var(--ink); font-weight: 600; border-left-color: var(--heat); }
.hp-toc__list a:hover { color: var(--ink); }
@media (min-width: 1100px) {
  .hp-toc { top: 24px; margin: clamp(48px, 7vw, 96px) 0 0; padding: 0; background: none; backdrop-filter: none; border: 0; }
  .hp-toc__toggle { display: none; }
  .hp-toc__list { display: block; columns: 1; margin: 0; border-left: 1px solid var(--line); }
  .hp-toc__list a { margin-left: -2px; }
}
.hp:not(.hp-js) .hp-toc__toggle { display: none; }
.hp:not(.hp-js) .hp-toc__list { display: block; }

/* ── «для инженеров»: лист миллиметровки ── */
.hp-eng { margin: 28px 0 0; border-radius: 14px; border: 1.5px solid #C4D5E0; background-color: #F8FBFC;
  background-image: linear-gradient(#E6EFF4 1px, transparent 1px), linear-gradient(90deg, #E6EFF4 1px, transparent 1px); background-size: 16px 16px; }
.hp-eng > summary { list-style: none; cursor: pointer; padding: 14px 18px; font-weight: 700; display: flex; gap: 12px; align-items: center; }
.hp-eng > summary::-webkit-details-marker { display: none; }
.hp-eng > summary::before { content: "+"; display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 7px;
  background: var(--ink); color: #fff; font: 700 18px/1 var(--text); transition: transform .2s; }
.hp-eng[open] > summary::before { content: "−"; }
.hp-eng__body { padding: 0 18px 18px; font-size: 16px; }
.hp-eng__body ul, .hp-eng__body ol { padding-left: 1.2em; }
.hp-eng__body li { margin-bottom: .5em; }
.hp-formula { font: 500 clamp(16px, 1.6vw, 19px)/1.5 Georgia, 'Times New Roman', serif; padding: 12px 16px; border-radius: 10px; background: var(--paper);
  border-left: 4px solid var(--heat); overflow-x: auto; max-width: 100% !important; }

/* ── таблицы ── */
.hp-table { overflow-x: auto; margin: 16px 0; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.hp-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hp-table caption { text-align: left; padding: 12px 14px 4px; font-size: 14px; color: var(--muted); }
.hp-table th, .hp-table td { padding: 10px 14px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.hp-table thead th { border-top: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
.hp-table tbody th { font-weight: 700; white-space: nowrap; }

/* ── 2. пять способов ── */
.hp-ways { display: grid; gap: 20px; }
@media (min-width: 860px) { .hp-ways { grid-template-columns: 250px minmax(0, 1fr); gap: 24px 32px; } .hp-cost { grid-column: 1 / -1; } }
.hp-ways__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; }
@media (min-width: 860px) { .hp-ways__tabs { flex-direction: column; margin: 0; padding: 0; overflow: visible; } }
.hp-ways__tab { flex: none; text-align: left; display: grid; gap: 2px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--paper); cursor: pointer; color: var(--ink); font-family: var(--text); position: relative; }
.hp-ways__tab[aria-selected="true"] { border-color: var(--ink); box-shadow: inset 4px 0 0 var(--heat); }
.hp-ways__tab[data-hp-way="hp"] .hp-ways__name::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: var(--heat); vertical-align: 2px; }
.hp-ways__name { font-weight: 700; font-size: 16px; }
.hp-ways__nick { font-size: 13px; color: var(--muted); }
.hp-ways__panel { padding: 22px 24px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.hp-js .hp-ways__panel:not(.is-current) { display: none; }
.hp:not(.hp-js) .hp-ways__panel + .hp-ways__panel { margin-top: 12px; }
.hp-ways__dl { display: grid; gap: 12px; margin: 0 0 14px; }
@media (min-width: 640px) { .hp-ways__dl { grid-template-columns: 1fr 1fr; } }
.hp-ways__dl dt { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.hp-ways__dl div:first-child dt { color: var(--green); }
.hp-ways__dl div:last-child dt { color: var(--red); }
.hp-ways__dl dd { margin: 0; font-size: 16px; }
.hp-ways__verdict { font-weight: 600; padding-left: 12px; border-left: 3px solid var(--ink); }
.hp-ways__live { margin: 0; font-weight: 600; }
.hp-ways__live_none { color: var(--muted); font-weight: 400; }
.hp-cost { margin: 0; padding: 20px 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.hp-cost__cap { font-weight: 700; margin-bottom: 12px; }
.hp-cost__cap output { font-variant-numeric: tabular-nums; }
.hp-cost__bars { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.hp-cost__row { display: grid; grid-template-columns: minmax(110px, 190px) minmax(0, 1fr) 82px; gap: 12px; align-items: center; font-size: 15px; }
.hp-cost__bar { height: 14px; border-radius: 7px; background: #EAF0F3; overflow: hidden; }
.hp-cost__bar span { display: block; height: 100%; width: calc(var(--w, 0) * 1%); border-radius: inherit; background: #9DB1C0; transition: width .6s var(--ease); }
.hp-cost__row_hp .hp-cost__bar span { background: var(--heat); }
.hp-cost__row_elec .hp-cost__bar span { background: var(--warm); }
.hp-cost__row.is-current { font-weight: 700; }
.hp-cost__val { text-align: right; font-weight: 600; white-space: nowrap; }
@media (max-width: 520px) { .hp-cost__row { grid-template-columns: 1fr 70px; } .hp-cost__bar { grid-column: 1 / -1; grid-row: 2; } }

/* ── 3. цикл ── */
.hp-analogies { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
@media (min-width: 760px) { .hp-analogies { grid-template-columns: repeat(3, 1fr); } }
.hp-analogy { padding: 14px 16px; border-radius: 12px; background: var(--paper); border: 1px solid var(--line); font-size: 15px; }
.hp-analogy_3 { border-color: var(--heat); box-shadow: inset 0 3px 0 var(--heat); }
.hp-cycle { display: grid; gap: 24px; }
@media (min-width: 900px) { .hp-cycle { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .hp-cycle__figure { position: sticky; top: 72px; } }
@media (max-width: 899px) { .hp-js .hp-cycle__figure { position: sticky; top: 56px; z-index: 5; background: var(--frost); padding-bottom: 6px; } .hp-js .hp-cycle__svg { max-height: 38vh; } }
.hp-cycle__svg { width: 100%; height: auto; display: block; overflow: visible; }
.hp-cycle__svg text { font: 600 15px var(--text); fill: var(--ink); }
.hp-cycle__air text, .hp-cycle__water text { font-size: 14px; fill: var(--muted); }
.hp-cycle__arrow_c { stroke: var(--cold); stroke-width: 3; }
.hp-cycle__arrow_h { stroke: var(--heat); stroke-width: 3; }
.hp-cycle__labels text { font-weight: 700; }
.hp-cycle__pipe { fill: none; stroke-width: 10; stroke-linecap: round; }
.hp-cycle__pipe_top + .hp-cycle__pipe_bot { }
.hp-cycle__flow { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 4 18; stroke-linecap: round; opacity: .9; }
.hp-cycle__node rect, .hp-cycle__node circle, .hp-cycle__node > path:first-child { fill: var(--paper); stroke: #9FB3C2; stroke-width: 2.5; transition: stroke .3s, fill .3s; }
.hp-cycle__fins, .hp-cycle__coil, .hp-cycle__rotor { fill: none !important; stroke: #9FB3C2; stroke-width: 2.5; stroke-linecap: round; }
.hp-cycle__node.is-active rect, .hp-cycle__node.is-active circle, .hp-cycle__node.is-active > path:first-child { stroke: var(--ink); stroke-width: 3.5; fill: #FFF8F0; }
.hp-cycle__node[data-hp-node="evap"].is-active .hp-cycle__fins { stroke: var(--cold); }
.hp-cycle__node[data-hp-node="comp"].is-active .hp-cycle__rotor { stroke: var(--warm); }
.hp-cycle__node[data-hp-node="cond"].is-active .hp-cycle__coil { stroke: var(--heat); }
.hp-cycle__svg .hp-cycle__plug { font-size: 13px; fill: var(--muted); font-weight: 500; }
.hp-cycle__svg .hp-cycle__out { font-size: 16px; fill: var(--heat-ink); font-weight: 700; }
.hp-cycle__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 900px) { .hp-js .hp-cycle__steps { gap: 18vh; padding: 4vh 0 14vh; } }
.hp-cycle__step { padding: 18px 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.hp-cycle__step.is-active { border-color: var(--ink); box-shadow: 0 10px 30px -18px rgba(19, 38, 58, .45); }
.hp-cycle__step small { display: block; font-weight: 500; color: var(--muted); font-size: 15px; }
.hp-cycle__n { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-right: 6px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; vertical-align: 2px; }
.hp-cycle__t { margin: 0; font-size: 14px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .hp-js .hp-cycle__flow { animation: hp-flow 2.4s linear infinite; }
  .hp-js .hp-cycle__node[data-hp-node="comp"].is-active .hp-cycle__rotor { animation: hp-spin 1.2s linear infinite; transform-box: fill-box; transform-origin: center; }
}
@keyframes hp-flow { to { stroke-dashoffset: -44; } }

/* ── 4. термометр ── */
.hp-thermo { padding: 22px 24px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.hp-thermo__scale { position: relative; height: 18px; border-radius: 9px; background: linear-gradient(90deg, #BFD6E8, #F4D7B4); margin-bottom: 16px; overflow: hidden; }
.hp-thermo__fill { position: absolute; inset: 0 auto 0 0; width: calc((var(--t, 30) - 24) / 12 * 100%); background: var(--thermal); border-radius: inherit; transition: width .3s var(--ease); }
.hp-thermo__band { position: absolute; top: 0; bottom: 0; left: calc((var(--a) - 24) / 12 * 100%); width: calc((var(--b) - var(--a)) / 12 * 100%); border-left: 2px solid rgba(255,255,255,.8); }
.hp-thermo__list { list-style: none; padding: 0; margin: 14px 0; display: grid; gap: 8px; }
@media (min-width: 760px) { .hp-thermo__list { grid-template-columns: repeat(3, 1fr); } }
.hp-thermo__list li { padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 15px; transition: border-color .2s; }
.hp-thermo__list li.is-current { border-color: var(--heat); }
.hp-thermo__verdict { margin: 0; font-weight: 600; }

/* ── ползунки и поля ── */
.hp-range { display: grid; gap: 6px; font-size: 15px; margin-bottom: 14px; }
.hp-range output { font-weight: 700; }
.hp input[type="range"] { width: 100%; accent-color: var(--heat); min-height: 28px; }
.hp-num { display: grid; gap: 4px; font-size: 14px; color: var(--muted); }
.hp-num input { min-height: 46px; width: 100%; border-radius: 10px; border: 1.5px solid var(--line); padding: 0 12px; font: 600 17px var(--text); color: var(--ink); background: var(--paper); }
.hp-seg { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.hp-seg label { position: relative; }
.hp-seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.hp-seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: 15px; }
.hp-seg input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ── 5. потери ── */
.hp-loss { display: grid; gap: 16px; padding: 22px 24px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
@media (min-width: 860px) { .hp-loss { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 32px; } .hp-loss__switch { grid-column: 1 / -1; } }
.hp-loss__switch { display: flex; gap: 8px; flex-wrap: wrap; }
.hp:not(.hp-js) .hp-loss__switch { display: none; }
.hp-loss__row { display: grid; grid-template-columns: 130px minmax(0, 1fr) 96px; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 15px; }
.hp-loss__bar { height: 22px; border-radius: 6px; background: #EEF3F6; overflow: hidden; }
.hp-loss__bar span { display: block; height: 100%; width: calc(var(--w, 0) * 1%); background: var(--cold); transition: width .6s var(--ease); }
.hp-loss__row_evap .hp-loss__bar span { background: var(--warm); }
.hp-loss__row_ground .hp-loss__bar span { background: #8C7A6B; }
.hp-loss__val { text-align: right; font-weight: 700; font-size: 14px; }
.hp-loss__total { font-weight: 600; margin: 8px 0 0; }
.hp-loss__list { margin: 0; padding-left: 1.1em; font-size: 15px; }
.hp-loss__list li { margin-bottom: .5em; }
.hp-rule { margin-top: 20px; padding: 16px 20px; border-radius: 12px; background: #FFF4E8; border-left: 4px solid var(--heat); font-weight: 600; max-width: none !important; }
.hp-myth { margin-top: 24px; }

/* ── 6. инвертор ── */
.hp-inv { margin: 0 0 16px; padding: 18px 18px 12px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.hp-inv__svg { width: 100%; height: auto; display: block; }
.hp-inv__grid path { fill: none; stroke: #B9C9D3; stroke-width: 1.5; }
.hp-inv__grid text { font: 13px var(--text); fill: var(--muted); }
.hp-inv__onoff { fill: none; stroke: var(--warm); stroke-width: 3; stroke-linejoin: round; }
.hp-inv__inverter { fill: none; stroke: var(--water); stroke-width: 5; stroke-linecap: round; }
.hp-inv__cap { font-size: 15px; margin-top: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .hp-js .hp-inv__onoff, .hp-js .hp-inv__inverter { stroke-dasharray: 1; stroke-dashoffset: 1; }
  .hp-js .hp-inv.is-in .hp-inv__onoff { transition: stroke-dashoffset 2.6s linear; stroke-dashoffset: 0; }
  .hp-js .hp-inv.is-in .hp-inv__inverter { transition: stroke-dashoffset 2.6s var(--ease) .2s; stroke-dashoffset: 0; }
}
.hp-vs td { min-width: 180px; }
.hp-vs__live td { font-weight: 700; }

/* ── 7. калькулятор ── */
.hp-calc { display: grid; gap: 20px; }
@media (min-width: 980px) { .hp-calc { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); align-items: start; } .hp-calc__out { position: sticky; top: 24px; } }
.hp-calc__inputs { display: grid; gap: 16px; }
.hp-calc__group { margin: 0; padding: 18px 20px 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper); min-width: 0; }
.hp-calc__group legend { font-weight: 700; padding: 0 6px; margin-left: -6px; }
.hp-calc__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-bottom: 12px; }
.hp-calc__derived { font-size: 14px; color: var(--muted); min-height: 1.6em; }
.hp-tariff { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; margin-bottom: 14px; }
.hp-num_tariff { max-width: 200px; }
.hp-tariff__presets { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin: 0; }
.hp-tariff__presets small { color: var(--muted); font-size: 13px; }
.hp:not(.hp-js) .hp-tariff__presets button { display: none; }
.hp-calc__out { padding: 20px 22px; border-radius: 18px; background: var(--ink); color: #DCE8EF; display: grid; gap: 14px; }
.hp-res { margin: 0; }
.hp-res p { margin: 0; }
.hp-res__label { font-size: 14px; color: #9FB6C6; }
.hp-res__big { font: 700 clamp(44px, 6vw, 64px)/1 var(--display); letter-spacing: -.03em; color: #fff; }
.hp-res__big small, .hp-res__mid small { font: 600 18px var(--text); color: #9FB6C6; }
.hp-res__mid { font: 700 clamp(24px, 2.6vw, 30px)/1.15 var(--display); color: #fff; letter-spacing: -.02em; }
.hp-res__sub { font-size: 14px; color: #B5C8D5; margin-top: 4px !important; }
.hp-res_main { padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.14); }
.hp-res_main .hp-res__big { background: linear-gradient(90deg, #8EC5F0, #F3A35B); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hp-months { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; align-items: end; height: 96px; }
.hp-month { display: grid; grid-template-rows: 1fr auto; height: 100%; text-align: center; font-size: 11px; color: #9FB6C6; }
.hp-month__bar { align-self: end; border-radius: 4px 4px 0 0; background: linear-gradient(0deg, var(--cold), var(--heat)); height: calc(var(--h, 0) * 1%); min-height: 2px; transition: height .5s var(--ease); }
.hp-month b { display: block; color: #fff; font-weight: 600; font-size: 11px; }
.hp-res__compare { margin: 0; font-size: 14px; color: #D3E1EA; }
.hp-res__compare b { color: #fff; }
.hp-picks { margin-top: 28px; }
.hp-picks__grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.hp-pick__why { display: block; font-size: 13px; font-weight: 700; color: var(--heat-ink); margin-bottom: 4px; }
.hp-picks__more { margin-top: 14px; }

/* ── карточка насоса ── */
.hp-card { display: flex; flex-direction: column; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; min-width: 0; }
.hp-card__photo { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.hp-card__photo img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.hp-card__hit { position: absolute; left: 10px; top: 10px; padding: 3px 8px; border-radius: 6px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; }
.hp-card__kind { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 6px; background: #F4E1EE; color: #7A2560; font-size: 12px; font-weight: 700; }
.hp-card__kind.is-inv { background: #DDF3F5; color: #0B6672; }
.hp-card__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.hp-card__brand { margin: 0; font-size: 13px; color: var(--muted); }
.hp-card__name { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.35; }
.hp-card__name:hover { color: var(--site); }
.hp-card__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; margin: 4px 0; font-size: 13px; }
.hp-card__specs dt { color: var(--muted); }
.hp-card__specs dd { margin: 0; font-weight: 600; }
.hp-card__foot { margin-top: auto; display: grid; gap: 8px; }
.hp-card__price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; }
.hp-card__sum { font-weight: 700; font-size: 19px; }
.hp-stock { font-size: 13px; font-weight: 600; }
.hp-stock_in { color: var(--green); }
.hp-stock_order, .hp-stock_wait { color: var(--muted); }

/* ── 8. шум ── */
.hp-noise { margin: 0 0 28px; padding: 20px 22px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.hp-noise__scale { --lo: 15; --hi: 72; position: relative; height: 216px; margin: 0 6px 6px; }
.hp-noise__ruler { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; border-top: 2px solid var(--ink); }
.hp-noise__tick { position: absolute; top: -2px; left: calc((var(--db) - var(--lo)) / (var(--hi) - var(--lo)) * 100%); width: 0; border-left: 2px solid var(--ink); height: 10px; }
.hp-noise__tick b { position: absolute; top: 12px; left: 0; transform: translateX(-50%); font-size: 13px; }
.hp-noise__tick i { position: absolute; top: 32px; left: 0; transform: translateX(-50%); width: 92px; text-align: center; font-style: normal; font-size: 11.5px; line-height: 1.25; color: var(--muted); }
@media (max-width: 560px) { .hp-noise__tick:nth-child(even) i { top: 46px; } .hp-noise__tick i { width: 70px; } }
.hp-noise__dots { position: absolute; left: 0; right: 0; bottom: 66px; height: 130px; }
.hp-noise__dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--warm);
  left: calc((var(--db) - var(--lo)) / (var(--hi) - var(--lo)) * 100% - 2.5px); bottom: calc(var(--row) * 5px); }
.hp-noise__dot.is-inv { background: var(--water); }
.hp-noise__marker { position: absolute; bottom: 64px; top: 0; width: 0; border-left: 2px dashed var(--heat);
  left: calc((var(--db, 40) - var(--lo)) / (var(--hi) - var(--lo)) * 100%); transition: left .3s var(--ease); }
.hp-noise__marker span { position: absolute; top: 0; left: 6px; white-space: nowrap; font-weight: 700; font-size: 13px; color: var(--heat-ink); background: var(--paper); padding: 0 4px; }
.hp-noise__cap { font-size: 14px; color: var(--muted); margin: 8px 0 14px; }
.hp-noise__controls { display: grid; gap: 4px; }
@media (min-width: 760px) { .hp-noise__controls { grid-template-columns: 1fr 1fr; gap: 0 24px; } .hp-noise__verdict { grid-column: 1 / -1; } }
.hp-noise__verdict { font-weight: 600; margin: 0; }
.hp-plan { margin: 20px 0 0; padding: 16px; border-radius: 16px; background: var(--paper); border: 1px solid var(--line); }
.hp-plan svg { width: 100%; height: auto; display: block; }
.hp-plan__pool { fill: #CDEFF3; stroke: var(--water); stroke-width: 3; }
.hp-plan__t { font: 700 18px var(--text); fill: #0B6672; }
.hp-plan__s { font: 600 13px var(--text); fill: var(--muted); }
.hp-plan__box { fill: var(--paper); stroke: #7F95A6; stroke-width: 2.5; }
.hp-plan__box_hp { stroke: var(--heat); stroke-width: 3; }
.hp-plan__box_chem { stroke: var(--green); }
.hp-plan__pipe { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.hp-plan__pipe_cold { stroke: var(--cold); }
.hp-plan__pipe_warm { stroke: var(--heat); }
.hp-plan__pipe_by { stroke: #9FB3C2; stroke-dasharray: 6 6; }
.hp-plan__bypass circle { fill: var(--paper); stroke: var(--ink); stroke-width: 2.5; }

/* ── 9. монтаж ── */
.hp-steps { list-style: none; counter-reset: s; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.hp-step { counter-increment: s; position: relative; padding: 16px 18px 14px 64px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.hp-step::before { content: counter(s); position: absolute; left: 18px; top: 14px; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: #fff; font: 700 15px var(--display); }
.hp-step__title { font-weight: 700; font-size: 18px; margin: 0 0 4px; }
.hp-step p { margin: 0; }
.hp-two { display: grid; gap: 8px 32px; }
@media (min-width: 860px) { .hp-two { grid-template-columns: 1fr 1fr; } }
.hp-mistakes { padding: 18px 20px; border-radius: 14px; background: #FDF0F0; border-left: 4px solid var(--red); }
.hp-mistakes ul { margin: 0; padding-left: 1.1em; }
.hp-mistakes li { margin-bottom: .4em; }

/* ── 10. подборки ── */
.hp-strips__tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 4px -16px 16px; padding: 2px 16px; }
.hp-strips__tabs .hp-chip { flex: none; }
.hp:not(.hp-js) .hp-strips__tabs { display: none; }
.hp-js .hp-strip:not(.is-current) { display: none; }
.hp-js .hp-strip__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp-strip + .hp-strip { margin-top: 24px; }
.hp-js .hp-strip + .hp-strip { margin-top: 0; }
.hp-strip__rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(210px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
@media (max-width: 720px) { .hp-strip__rail { grid-auto-columns: 72%; margin: 0 -16px; padding: 0 16px 8px; } }
.hp-strip__rail > * { scroll-snap-align: start; }
.hp-extras { margin-top: 16px; font-size: 16px; }

/* ── 11. гид ── */
.hp-guide { list-style: none; counter-reset: g; padding: 0; margin: 0; display: grid; gap: 0; border-left: 3px solid; border-image: linear-gradient(180deg, var(--cold), var(--warm), var(--heat)) 1; }
.hp-guide__step { counter-increment: g; position: relative; padding: 4px 0 22px 34px; }
.hp-guide__step::before { content: counter(g); position: absolute; left: -16px; top: 0; width: 29px; height: 29px; display: grid; place-items: center;
  border-radius: 50%; background: var(--frost); border: 2.5px solid var(--ink); font: 700 13px var(--display); }
.hp-guide__q { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.hp-guide__step p { margin: 0 0 6px; }

/* ── 12. вопросы ── */
.hp-faq__search { display: block; margin-bottom: 14px; max-width: 520px; }
.hp-faq__search input { width: 100%; min-height: 48px; border-radius: 12px; border: 1.5px solid var(--line); padding: 0 14px; font: 500 16px var(--text); background: var(--paper); }
.hp-faq { display: grid; gap: 8px; }
.hp-q { border-radius: 12px; background: var(--paper); border: 1px solid var(--line); }
.hp-q summary { list-style: none; cursor: pointer; padding: 15px 48px 15px 18px; font-weight: 600; position: relative; }
.hp-q summary::-webkit-details-marker { display: none; }
.hp-q summary::after { content: ""; position: absolute; right: 20px; top: 21px; width: 9px; height: 9px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transition: transform .2s; }
.hp-q[open] summary::after { transform: rotate(-135deg); top: 25px; }
.hp-q__a { padding: 0 18px 14px; }
.hp-q__a p { margin: 0; }

/* ── 13. словарик ── */
.hp-gloss__list { display: grid; gap: 10px 28px; margin: 0; }
@media (min-width: 760px) { .hp-gloss__list { grid-template-columns: 1fr 1fr; } }
.hp-gloss__list div { padding: 10px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.hp-gloss__list div:target { background: #FFF4E8; }
.hp-gloss__list dt { font-weight: 700; }
.hp-gloss__list dd { margin: 2px 0 0; font-size: 15px; color: #33485C; }

/* ── 14. заявка (форма — общий кусок landings/_lead.html, классы cp-*) ── */
.hp-lead { margin-top: clamp(56px, 8vw, 104px); padding: clamp(48px, 7vw, 96px) 0; background: var(--ink); color: #DCE8EF; position: relative; overflow: hidden; }
.hp-lead::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--thermal); }
.hp-lead__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .hp-lead__grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.hp-lead .hp-h2 { color: #fff; max-width: 24ch; }
.hp-lead__text p { font-size: 18px; color: #B5C8D5; max-width: 48ch; }
.hp-lead a:not(.cp-btn) { color: #9FD4F5; }
.hp .cp-lead__box { padding: clamp(20px, 3vw, 32px); border-radius: 20px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); }
.hp .cp-lead__form { display: grid; gap: 14px; }
.hp .cp-field { display: grid; gap: 6px; }
.hp .cp-field__label { font-size: 14px; font-weight: 600; color: #B5C8D5; }
.hp .cp-field__input { min-height: 52px; border-radius: 12px; border: 0; padding: 0 14px; font: 500 17px var(--text); color: var(--ink); background: #fff; }
.hp .cp-field__input[aria-invalid="true"] { box-shadow: 0 0 0 3px var(--red); }
.hp .cp-field__error, .hp .cp-lead__error { color: #FFB4B7; font-size: 14px; font-weight: 600; }
.hp .cp-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #9FB6C6; }
.hp .cp-check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--heat); }
.hp .cp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 14px; border: 0;
  font: 700 17px/1 var(--text); cursor: pointer; text-decoration: none; }
.hp .cp-btn_sun { background: var(--heat); color: #1B1205 !important; }
.hp .cp-btn_sun:hover { background: #F69238; }
.hp .cp-btn_wide { width: 100%; }
.hp .cp-lead__done-title { font: 700 28px/1.1 var(--display); color: #fff; }
.hp .cp-lead__wave { width: 96px; color: var(--heat); margin-bottom: 12px; }

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

@media (prefers-reduced-motion: reduce) {
  .hp *, .hp *::before, .hp *::after { transition-duration: .01ms !important; animation: none !important; }
}
@media print { .hp-toc, .hp-progress, .hp-hero__canvas, .hp-lead { display: none; } .hp-eng { break-inside: avoid; } .hp-eng:not([open]) > .hp-eng__body { display: block; } }

/* плашка итога калькулятора на телефоне */
.hp-calc__peek { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px;
  padding: 12px 16px; border-radius: 14px; background: var(--ink); color: #DCE8EF !important; text-decoration: none; font-size: 15px;
  box-shadow: 0 12px 30px -10px rgba(19, 38, 58, .6); }
.hp-calc__peek b { color: #fff; }
.hp-calc__peek span { margin-left: auto; font-weight: 700; color: #F3A35B; }
@media (min-width: 980px) { .hp-calc__peek { display: none !important; } }
@media (max-width: 720px) {
  .hp-picks__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 8px; }
  .hp-picks__grid > * { scroll-snap-align: start; }
}
