/* Лендинг «Бутилкаучуковая плёнка для водоёмов» (черновик 17.10). Палитра — разрез пруда: ил, глина, песок,
   войлок подложки, чёрная резина, вода, жёлтая кубышка (акцент действия). Шрифт — Golos Text (OFL), своя копия.
   Всё под .bk — на остальной сайт не влияет. Блок заявки (_lead.html, общий для лендингов) — классы cp-*, стили здесь. */
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("../fonts/golos-text-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 800; font-display: swap;
  src: url("../fonts/golos-text-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+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* у сайта html, body { overflow-x: hidden } — body становится контейнером прокрутки, и sticky (сцена первого экрана,
   оглавление) не прилипает; clip режет так же, но не прокручивает (как у оформления заказа) */
html:has(.bk), body:has(.bk) { overflow-x: clip; }

.bk {
  --ink: #13261F; --muted: #55665F; --line: #D3DCD6; --paper: #F2F5F1; --card: #FFFFFF;
  --silt: #DCE6E0; --clay: #9A6B45; --soil: #5A4230; --sand: #D8C08E; --felt: #E9E6DC; --rubber: #1D2120;
  --water: #2E8A86; --deep: #1F5E62; --lily: #EBC94B; --lily-ink: #3A2E05; --reed: #4E7A3A; --red: #B5432F;
  --text: "Golos Text", "IBM Plex Sans", system-ui, sans-serif;
  --r-s: 6px; --r-m: 14px;
  --toc: 220px;
  color: var(--ink); background: var(--paper); font: 400 18px/1.6 var(--text);
  font-feature-settings: "tnum" 0; overflow-x: clip;
}
.bk[data-font="site"] { --text: "IBM Plex Sans", system-ui, sans-serif; }
.bk-main { background: var(--paper, #F2F5F1); }
.bk *, .bk *::before, .bk *::after { box-sizing: border-box; }
.bk a { color: var(--deep); text-underline-offset: .18em; }
.bk a:hover { color: var(--ink); }
.bk :focus-visible { outline: 3px solid var(--lily); outline-offset: 2px; border-radius: 4px; }
.bk-wrap { width: min(100% - 32px, 1240px); margin-inline: auto; }
.bk-crumbs { padding-top: 10px; font-size: 14px; }
.bk b { font-weight: 650; }

/* ── прогресс чтения ── */
.bk-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.bk-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--water), var(--lily)); }

/* ── кнопки ── */
.bk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; font: 650 17px/1 var(--text); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s; }
.bk-btn:active { transform: scale(.97); }
.bk-btn_lily { background: var(--lily); color: var(--lily-ink); box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.bk a.bk-btn_lily { color: var(--lily-ink); }
.bk-btn_lily:hover { background: #F3D45E; }
.bk-btn_ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.bk a.bk-btn_ghost { color: var(--ink); }
.bk-btn_ghost:hover { background: rgba(19, 38, 31, .06); }
.bk-btn_buy { min-height: 44px; padding: 0 18px; font-size: 15px; background: var(--ink); color: #fff; }
.bk-btn_buy:hover { background: var(--deep); }
.bk-btn_buy .buy-check { display: none; }
.bk-btn_buy.is-added .buy-check, .bk-btn_buy[data-added] .buy-check { display: inline-flex; }
.bk-link { font-weight: 600; }

/* ── первый экран: сцена прокрутки ── */
.bk-hero { position: relative; height: 200vh; background: linear-gradient(180deg, #E6EEE9 0%, #DCE6E0 46%, var(--paper) 100%); }
.bk-hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; }
.bk-hero__scene { position: absolute; inset: 0; }
.bk-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; }
.bk.is-3d .bk-hero__canvas { opacity: 1; }
.bk.is-3d .bk-sv { opacity: 0; }
.bk-sv { position: absolute; left: 40%; right: -2%; bottom: 4%; width: 62%; height: auto; max-height: 82%; transition: opacity .6s; }
.bk-sv__layer { transform: translateY(calc(var(--x, 0) * var(--i) * -34px)); transition: opacity .3s; }
.bk-sv__water { opacity: calc(1 - var(--drain, 0)); }
.bk-sv.is-split .bk-sv__layer:not(.is-on):not(.bk-sv__water) { opacity: .45; }
.bk-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 500px) 1fr; align-content: start; padding-top: 6vh; gap: 32px; pointer-events: none; }
.bk-hero__grid > * { pointer-events: auto; }
.bk-hero__text { padding-top: 24px; }
.bk-hero__h1 { margin: 0 0 14px; font: 650 18px/1.3 var(--text); color: var(--clay); letter-spacing: 0; }
.bk-hero__promise { margin: 0 0 18px; font: 800 clamp(34px, 4.6vw, 64px)/1.02 var(--text); letter-spacing: -.025em; text-wrap: balance; }
.bk-hero__lead { margin: 0 0 16px; max-width: 46ch; color: #2C3F38; text-shadow: 0 0 12px var(--silt), 0 0 4px var(--silt); }
.bk-hero__live { margin: 0 0 22px; max-width: 46ch; font-size: 16px; color: var(--muted); padding-left: 14px; border-left: 3px solid var(--water); }
.bk-hero__live b { color: var(--ink); }
.bk-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.bk-hero__hint { position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translateX(-50%); margin: 0; font-size: 14px; color: var(--muted); transition: opacity .4s; }
.bk-hero__hint::after { content: ""; display: block; width: 2px; height: 26px; margin: 8px auto 0; background: linear-gradient(var(--muted), transparent); animation: bk-drip 1.8s ease-in-out infinite; }
@keyframes bk-drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* легенда слоёв: справа сверху (компьютер), снизу (телефон) */
.bk-layers { list-style: none; margin: 0; padding: 0; align-self: start; justify-self: end; width: min(100%, 330px); margin-top: 3vh; display: grid; gap: 2px; counter-reset: none; }
.bk-layer { display: grid; grid-template-columns: 14px 1fr auto; column-gap: 10px; align-items: baseline; padding: 7px 12px; border-radius: var(--r-s); background: rgba(242, 245, 241, .72); backdrop-filter: blur(6px); transition: background-color .3s, opacity .3s; font-size: 15px; }
.bk-layer__swatch { width: 14px; height: 14px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); align-self: center; }
.bk-layer__name { font-weight: 650; }
.bk-layer__size { font-size: 13px; color: var(--muted); font-feature-settings: "tnum" 1; }
.bk-layer__text { grid-column: 2 / -1; font-size: 14px; line-height: 1.45; color: #34463F; display: none; }
.bk.is-anim .bk-layer { opacity: .55; }
.bk.is-anim .bk-layer.is-on { opacity: 1; background: rgba(255, 255, 255, .94); box-shadow: inset 3px 0 0 var(--c); }
.bk.is-anim .bk-layer.is-on .bk-layer__text { display: block; }
.bk:not(.is-anim) .bk-layer__text { display: block; }
.bk:not(.is-anim) .bk-hero { height: auto; }
.bk:not(.is-anim) .bk-hero__stage { position: relative; height: auto; min-height: 0; padding: 32px 0 48px; }
.bk:not(.is-anim) .bk-hero__scene { position: relative; inset: auto; height: auto; }
.bk:not(.is-anim) .bk-sv { position: relative; inset: auto; display: block; width: min(100%, 820px); max-height: none; left: 0; margin: -60px auto 0; }
.bk:not(.is-anim) .bk-hero__grid { order: -1; }
.bk:not(.is-anim) .bk-layers { margin-top: 0; }
.bk:not(.is-anim) .bk-hero__hint { display: none; }

/* компьютер: на первом экране текст слева, пруд справа; с первой прокрутки текст уходит, на его месте легенда
   слоёв, а пруд по центру своей половины целиком на экране — разбор видно, пока крутишь колесо (владелец 17.10) */
@media (min-width: 761px) {
  .bk.is-anim .bk-hero__grid { height: 100%; align-content: center; padding-top: 0; padding-bottom: 4vh; }
  .bk.is-anim .bk-hero__text { grid-area: 1 / 1; padding-top: 0; transition: opacity .45s ease, transform .45s ease, visibility 0s linear 0s; }
  .bk.is-anim .bk-hero.is-split .bk-hero__text { opacity: 0; transform: translateY(-28px); visibility: hidden; pointer-events: none; transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s; }
  .bk.is-anim .bk-layers { grid-area: 1 / 1; align-self: center; justify-self: start; width: min(100%, 400px); margin: 0; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(28px); transition: opacity .45s ease .1s, transform .45s ease .1s, visibility 0s linear .55s; }
  .bk.is-anim .bk-hero.is-split .bk-layers { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease .1s, transform .45s ease .1s, visibility 0s; }
  .bk.is-anim .bk-layer { padding: 10px 14px; font-size: 16px; }
  .bk.is-anim .bk-layer__text { font-size: 15px; }
  .bk.is-anim .bk-hero__promise { font-size: clamp(34px, min(4.6vw, 7.4vh), 64px); }
  /* плоская картинка (нет WebGL, например удалённый рабочий стол) — справа по центру высоты, рядом с текстом */
  .bk.is-anim .bk-sv { left: auto; right: 2%; top: 50%; bottom: auto; width: min(56%, 980px); max-height: 78%; transform: translateY(-46%); }
}
/* очень высокое окно (выше 1000 px): блок первого экрана — в верхней тысяче пикселей, а не посреди пустоты */
@media (min-width: 761px) and (min-height: 1001px) {
  .bk.is-anim .bk-hero__grid { height: 1000px; }
  .bk.is-anim .bk-sv { top: 500px; }
  .bk.is-anim .bk-hero__hint { top: 930px; bottom: auto; }
}
@media (min-width: 761px) and (max-height: 760px) {
  .bk.is-anim .bk-hero__lead { display: none; }
}

/* ── тело: оглавление + статья ── */
.bk-body { display: grid; grid-template-columns: var(--toc) minmax(0, 1fr); gap: 56px; align-items: start; padding-bottom: 48px; }
.bk-toc { position: sticky; top: 24px; padding-top: 56px; font-size: 14px; }
.bk-toc__toggle { display: none; }
.bk-toc__title { margin: 0 0 10px; font-weight: 650; color: var(--muted); }
.bk-toc__panel { position: relative; padding-left: 22px; }
.bk-toc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bk-toc__list a { position: relative; display: block; padding: 6px 0; color: var(--muted); text-decoration: none; line-height: 1.3; }
.bk-toc__list a:hover { color: var(--ink); }
.bk-toc__list a.is-on { color: var(--ink); font-weight: 650; }
.bk-toc__mark { position: absolute; left: -22px; top: 50%; width: 10px; height: 2px; background: var(--line); }
.bk-toc__list a.is-on .bk-toc__mark { background: var(--ink); width: 14px; }
.bk-toc__gauge { position: absolute; left: 0; top: 30px; bottom: 0; width: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.bk-toc__gauge span { position: absolute; inset: 0; transform-origin: top; transform: scaleY(var(--p, 0)); background: linear-gradient(var(--water), var(--deep)); }

.bk-article { min-width: 0; }
.bk-sec { padding: 72px 0 8px; scroll-margin-top: 16px; }
.bk-sec > p, .bk-sec > .bk-note, .bk-sec > ul, .bk-sec > dl { max-width: 68ch; }
.bk-h2 { margin: 0 0 14px; font: 780 clamp(30px, 3.4vw, 44px)/1.08 var(--text); letter-spacing: -.02em; text-wrap: balance; max-width: 22ch; }
.bk-h3 { margin: 0 0 10px; font: 700 22px/1.25 var(--text); letter-spacing: -.01em; }
.bk-sum { font-size: 21px; line-height: 1.5; color: #24382F; margin: 0 0 22px; }
.bk-sec p { margin: 0 0 14px; }
.bk-cap { font-size: 14px; color: var(--muted); margin-top: 10px; max-width: 68ch; }
.bk-head-row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; }
.bk-ref { font-size: .62em; line-height: 0; margin-left: 1px; }
.bk-ref a { text-decoration: none; padding: 0 2px; border-radius: 3px; background: rgba(46, 138, 134, .12); }

.bk-note { margin: 24px 0; padding: 18px 22px; border-radius: var(--r-m); background: var(--silt); }
.bk-note__title { font-weight: 700; margin: 0 0 6px !important; }
.bk-note p:last-child { margin-bottom: 0; }

/* термины словарика */
.bk-term { position: relative; border-bottom: 1.5px dotted var(--water); cursor: help; }
.bk-term__tip { position: absolute; z-index: 30; left: 50%; bottom: calc(100% + 10px); width: min(320px, 80vw); transform: translate(-50%, 6px); padding: 12px 14px; border-radius: 10px; background: var(--ink); color: #E8F0EC; font-size: 14px; line-height: 1.45; font-weight: 400; opacity: 0; visibility: hidden; transition: opacity .15s, transform .15s, visibility .15s; pointer-events: none; text-align: left; }
.bk-term__tip b { color: var(--lily); font-weight: 650; }
.bk-term:hover .bk-term__tip, .bk-term:focus .bk-term__tip, .bk-term.is-open .bk-term__tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.bk-term.is-left .bk-term__tip { left: 0; transform: translate(0, 6px); }
.bk-term.is-left:hover .bk-term__tip, .bk-term.is-left:focus .bk-term__tip, .bk-term.is-left.is-open .bk-term__tip { transform: translate(0, 0); }
.bk-term.is-right .bk-term__tip { left: auto; right: 0; transform: translate(0, 6px); }
.bk-term.is-right:hover .bk-term__tip, .bk-term.is-right:focus .bk-term__tip, .bk-term.is-right.is-open .bk-term__tip { transform: translate(0, 0); }

/* «Для инженеров» */
.bk-eng { margin: 28px 0 0; max-width: 78ch; border-top: 2px solid var(--ink); }
.bk-eng summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 40px 14px 0; cursor: pointer; list-style: none; position: relative; font-weight: 650; }
.bk-eng summary::-webkit-details-marker { display: none; }
.bk-eng summary::after { content: ""; position: absolute; right: 6px; top: 20px; width: 12px; height: 12px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.bk-eng[open] summary::after { transform: rotate(-135deg); top: 26px; }
.bk-eng__label { font-size: 13px; font-weight: 700; color: #fff; background: var(--ink); padding: 2px 9px; border-radius: 999px; }
.bk-eng__body { padding: 0 0 18px; font-size: 16px; line-height: 1.6; }
.bk-eng__formula { font: 600 17px/1.5 var(--text); font-feature-settings: "tnum" 1; padding: 12px 16px; border-left: 3px solid var(--water); background: var(--card); }

/* таблицы */
.bk-table { overflow-x: auto; margin: 22px 0 0; -webkit-overflow-scrolling: touch; }
.bk-table table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.bk-table th, .bk-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.bk-table thead th { font-size: 14px; color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--ink); }
.bk-table tbody th { font-weight: 650; }
.bk-table small { display: block; font-size: 13px; color: var(--muted); font-weight: 400; }
.bk-eng__table table { font-size: 15px; }

/* ── сравнение: растяжение ── */
.bk-stretch { margin: 8px 0 0; padding: 22px; border-radius: var(--r-m); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.bk-stretch__lab { display: grid; gap: 14px; }
.bk-strip__name { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 2px !important; font-weight: 650; }
.bk-strip__val { font-feature-settings: "tnum" 1; color: var(--muted); font-weight: 600; }
.bk-strip__svg { width: 100%; height: 48px; display: block; overflow: visible; }
.bk-strip__clamp { fill: #A9B3AE; }
.bk-strip_epdm .bk-strip__band, .bk-strip_epdm .bk-strip__tail { fill: var(--rubber); }
.bk-strip_pvc .bk-strip__band, .bk-strip_pvc .bk-strip__tail { fill: #3F6C8C; }
.bk-strip_concrete .bk-strip__band, .bk-strip_concrete .bk-strip__tail { fill: #A7A49B; }
.bk-strip__verdict { margin: 4px 0 0 !important; font-size: 14px; color: var(--muted); min-height: 1.45em; }
.bk-strip.is-torn .bk-strip__verdict { color: var(--red); font-weight: 600; }
.bk-stretch__temp { margin-top: 18px; }
.bk-strip.is-beyond .bk-strip__band { stroke: var(--lily); stroke-width: 2; stroke-dasharray: 6 4; }
.bk-strip.is-cold .bk-strip__name { color: var(--deep); }
.bk-stretch__control { display: grid; gap: 6px; margin-top: 18px; font-weight: 600; }
.bk-stretch__control output { font-feature-settings: "tnum" 1; }

input[type="range"].bk-range, .bk input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.bk input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--water) var(--fill, 0%), var(--line) var(--fill, 0%)); }
.bk input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--line); }
.bk input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--water); }
.bk input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: var(--ink); border: 4px solid var(--lily); }
.bk input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); border: 4px solid var(--lily); }

.bk-compare { margin-top: 28px; }
.bk-compare__m { font-size: 16px !important; color: var(--ink) !important; }
.bk-compare__m_epdm { box-shadow: inset 0 4px 0 var(--rubber); }
.bk-compare__v.is-good { background: rgba(46, 138, 134, .07); }

/* ── калькулятор ── */
.bk-calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px 32px; margin-top: 8px; padding: 26px; border-radius: var(--r-m); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.bk-calc__inputs { display: grid; gap: 16px; align-content: start; }
.bk-num { display: grid; gap: 4px; }
.bk-num__label { font-weight: 650; font-size: 16px; }
.bk-num__label small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.bk-num__row { display: grid; grid-template-columns: 1fr 86px auto; gap: 10px; align-items: center; }
.bk-num__input { width: 100%; min-height: 44px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 10px; font: 600 17px var(--text); font-feature-settings: "tnum" 1; color: var(--ink); background: #fff; }
.bk-num__unit { color: var(--muted); font-size: 15px; }
.bk-chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bk-chips legend { font-weight: 650; font-size: 16px; margin-bottom: 8px; padding: 0; }
.bk-chip { position: relative; }
.bk-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk-chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 15px; font-weight: 600; transition: background-color .15s, box-shadow .15s; }
.bk-chip input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.bk-chip input:focus-visible + span { outline: 3px solid var(--lily); outline-offset: 2px; }
.bk-calc__art { margin: 0; align-self: start; }
.bk-unfold { width: 100%; height: auto; display: block; color: var(--ink); }
.bk-unfold__sheet { fill: var(--rubber); }
.bk-unfold__edge { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 6 6; }
.bk-unfold__pond { fill: #2E8A86; opacity: .95; }
.bk-unfold__deep { fill: var(--deep); }
.bk-unfold__dims path { stroke: var(--ink); stroke-width: 1.5; fill: none; marker-start: none; }
.bk-unfold__dims text { font: 650 15px var(--text); fill: var(--ink); font-feature-settings: "tnum" 1; }
.bk-unfold__ground { stroke: var(--reed); stroke-width: 3; }
.bk-unfold__profile { fill: none; stroke: var(--rubber); stroke-width: 4; stroke-linejoin: round; }
.bk-unfold * { transition: all .25s ease; }
.bk-calc__out { grid-column: 1 / -1; }
.bk-calc__sheet { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
.bk-calc__sheet div { padding: 12px 14px; border-radius: 10px; background: var(--paper); }
.bk-calc__sheet dt { font-size: 13px; color: var(--muted); }
.bk-calc__sheet dd { margin: 2px 0 0; font: 750 21px/1.2 var(--text); font-feature-settings: "tnum" 1; }
.bk-calc__say { margin: 14px 0 0 !important; font-size: 16px; color: #2C3F38; }
.bk-calc__rolls { grid-column: 1 / -1; }
.bk-calc__rolls h3 { font-size: 18px; margin: 10px 0 12px; }
.bk-calc__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.bk-calc__more { margin-top: 12px; }
.bk-calc__noscript { grid-column: 1 / -1; }
.bk-calc__empty { padding: 14px 16px; border-radius: 10px; background: var(--silt); font-size: 16px; }

/* карточка рулона */
.bk-roll { display: grid; grid-template-rows: auto 1fr; border-radius: var(--r-m); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; min-width: 0; }
.bk-roll__photo { position: relative; display: block; aspect-ratio: 4 / 3; background: #fff; }
.bk-roll__photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.bk-roll__hit { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--lily); color: var(--lily-ink); }
.bk-roll__body { display: grid; gap: 6px; padding: 12px 14px 14px; align-content: start; }
.bk-roll__brand { margin: 0 !important; font-size: 13px; font-weight: 650; color: var(--clay); }
.bk-roll__name { font-size: 15px; line-height: 1.35; font-weight: 600; color: var(--ink) !important; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bk-roll__name:hover { text-decoration: underline; }
.bk-roll__specs { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2px 14px; margin: 2px 0 0; font-size: 13px; }
.bk-roll__specs dt { color: var(--muted); }
.bk-roll__specs dd { margin: 0; font-weight: 600; font-feature-settings: "tnum" 1; }
.bk-roll__fit { margin: 4px 0 0 !important; font-size: 13px; line-height: 1.4; padding: 6px 8px; border-radius: 6px; background: var(--paper); }
.bk-roll__foot { display: grid; gap: 10px; margin-top: 6px; }
.bk-roll__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.bk-roll__sum { font: 750 19px/1.2 var(--text); font-feature-settings: "tnum" 1; }
.bk-roll__ppm { font-size: 13px; color: var(--muted); font-feature-settings: "tnum" 1; }
.bk-stock { font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: 6px; background: var(--silt); color: var(--muted); }
.bk-stock_in { background: #DDF0E2; color: #2F6B3A; }
.bk-strip-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 250px); gap: 14px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x mandatory; margin-top: 18px; }
.bk-strip-rail > * { scroll-snap-align: start; }

/* ── толщина ── */
.bk-thick { display: grid; gap: 4px; margin-top: 8px; max-width: 78ch; }
.bk-thick__row { display: grid; grid-template-columns: 120px 1fr; column-gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bk-thick__row > :not(.bk-thick__slab) { grid-column: 2; }
.bk-thick__slab { grid-row: 1 / span 3; align-self: center; height: 70px; display: grid; align-items: center; }
.bk-thick__slab span { display: block; height: calc(var(--mm) * 18px); border-radius: 2px; background: var(--rubber); box-shadow: 0 calc(var(--mm) * 9px) 0 var(--felt), 0 calc(var(--mm) * 9px + 10px) 0 var(--sand); }
.bk-thick__mm { font-feature-settings: "tnum" 1; color: var(--clay); margin-right: 6px; }
.bk-thick__live { font-size: 15px; color: var(--muted); }

/* ── монтаж: шаги ── */
.bk-steps { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; margin-top: 10px; align-items: start; }
.bk-steps__art { position: sticky; top: 64px; margin: 0; padding: 14px; border-radius: var(--r-m); background: linear-gradient(#E3ECE7, #EEF2EE); }
.bk-st { width: 100%; height: auto; display: block; }
.bk-st .st-t { font: 600 15px var(--text); fill: #F2D27A; }
.bk-st > * { transition: opacity .45s ease; }
.bk-st .st-dug, .bk-st .st-1, .bk-st .st-2, .bk-st .st-3, .bk-st .st-4, .bk-st .st-5, .bk-st .st-6, .bk-st .st-7 { opacity: 0; }
.ge2 .bk-st .st-dug, .ge3 .bk-st .st-3, .ge5 .bk-st .st-5, .ge6 .bk-st .st-6, .ge7 .bk-st .st-7, .eq1 .bk-st .st-1, .eq2 .bk-st .st-2, .eq4 .bk-st .st-4 { opacity: 1; }
.ge2 .bk-st .st-flat { opacity: 0; }
.bk-st .st-water { transform-box: fill-box; transform-origin: bottom; transform: scaleY(1); transition: transform 1.6s cubic-bezier(.3,.7,.2,1); }
.eq5 .bk-st .st-water.is-filling { transform: scaleY(1); }
.bk-steps__list { list-style: none; margin: 0; padding: 0; counter-reset: st; }
.bk-step { counter-increment: st; position: relative; padding: 4px 0 28px 58px; min-height: 22vh; }
.bk-step::before { content: counter(st); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 750 18px var(--text); background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); color: var(--muted); transition: all .25s; }
.bk-step.is-on::before { background: var(--ink); color: #fff; box-shadow: none; }
.bk-step::after { content: ""; position: absolute; left: 19px; top: 46px; bottom: 6px; width: 2px; background: var(--line); }
.bk-step:last-child::after { display: none; }
.bk-step__title { margin: 6px 0 8px; font: 700 21px/1.25 var(--text); }
.bk-step p { margin: 0 0 10px; font-size: 17px; }
.bk-step__warn { padding: 10px 12px; border-radius: 10px; background: #F6E7E1; font-size: 15px !important; }
.bk-step__warn::before { content: "Частая ошибка. "; font-weight: 700; color: var(--red); }

/* ── уход и ремонт ── */
.bk-repair { margin: 6px 0 26px; padding: 22px; border-radius: var(--r-m); background: var(--rubber); color: #E7ECE9; max-width: 78ch; }
.bk-repair .bk-h3 { color: #fff; }
.bk-repair__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bk-repair__list li { display: grid; grid-template-columns: 74px 1fr; column-gap: 14px; font-size: 16px; line-height: 1.5; }
.bk-repair__list li > :not(.bk-repair__t) { grid-column: 2; }
.bk-repair__list b { color: #fff; }
.bk-repair__t { grid-row: 1 / span 3; font: 700 15px var(--text); color: var(--lily); font-feature-settings: "tnum" 1; padding-top: 1px; }
.bk-repair .bk-term { border-bottom-color: var(--lily); }
.bk-care { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; margin: 0; max-width: 78ch !important; }
.bk-care dt { font-weight: 700; margin-bottom: 4px; }
.bk-care dd { margin: 0; font-size: 16px; }

/* что ещё понадобится */
.bk-extras__h { margin-top: 40px; }
.bk-extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.bk-extras__group { padding: 16px; border-radius: var(--r-m); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.bk-extras__title { display: flex; justify-content: space-between; gap: 10px; font-weight: 700; margin: 0 0 4px !important; }
.bk-extras__title .bk-link { font-size: 14px; }
.bk-extras__text { font-size: 15px; color: var(--muted); }
.bk-extras__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.bk-extras__list a { display: grid; grid-template-columns: 52px 1fr auto; gap: 10px; align-items: center; padding: 6px; border-radius: 10px; text-decoration: none; color: var(--ink); }
.bk-extras__list a:hover { background: var(--paper); }
.bk-extras__list img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 6px; }
.bk-extras__name { font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bk-extras__price { font-size: 14px; font-weight: 650; white-space: nowrap; font-feature-settings: "tnum" 1; }

/* ── гид по подбору ── */
.bk-guide { display: grid; gap: 18px; padding: 24px; border-radius: var(--r-m); background: var(--ink); color: #E7EEEA; }
.bk-guide__q { border: 0; margin: 0; padding: 0; }
.bk-guide__q legend { font-weight: 700; font-size: 17px; margin-bottom: 10px; padding: 0; color: #fff; }
.bk-guide__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.bk-opt { position: relative; display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); cursor: pointer; transition: background-color .15s, box-shadow .15s; }
.bk-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk-opt__name { font-weight: 650; font-size: 16px; }
.bk-opt small { font-size: 13px; color: #A9BDB4; }
.bk-opt:has(input:checked) { background: var(--lily); color: var(--lily-ink); box-shadow: none; }
.bk-opt:has(input:checked) small { color: #5A4A10; }
.bk-opt:has(input:focus-visible) { outline: 3px solid var(--lily); outline-offset: 2px; }
.bk-guide__out { padding: 18px 20px; border-radius: 12px; background: rgba(255,255,255,.07); }
.bk-guide__out h3 { margin: 0 0 8px; font: 750 24px/1.2 var(--text); color: #fff; }
.bk-guide__out ul { margin: 0 0 14px; padding-left: 20px; }
.bk-guide__out li { margin-bottom: 4px; font-size: 16px; }
.bk-guide__out .bk-btn_ghost { color: #fff !important; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.bk-guide__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bk-guide-rules { margin: 22px 0 0; padding-left: 20px; }
.bk-guide-rules li { margin-bottom: 8px; }
.bk-guide-table tr.is-on { background: rgba(235, 201, 75, .18); }

/* ── вопросы ── */
.bk-faq__search input { width: 100%; max-width: 520px; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font: 500 16px var(--text); background: #fff; margin-bottom: 14px; }
.bk-faq { max-width: 78ch; border-top: 1px solid var(--line); }
.bk-q { border-bottom: 1px solid var(--line); }
.bk-q summary { position: relative; padding: 16px 40px 16px 0; cursor: pointer; list-style: none; font-weight: 650; font-size: 18px; line-height: 1.4; }
.bk-q summary::-webkit-details-marker { display: none; }
.bk-q summary::after { content: ""; position: absolute; right: 8px; top: 22px; width: 10px; height: 10px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.bk-q[open] summary::after { transform: rotate(-135deg); top: 27px; }
.bk-q__a p { margin: 0 0 16px; font-size: 17px; color: #24382F; }

/* ── заявка (общий _lead.html: классы cp-*) ── */
.bk-lead { padding: clamp(56px, 8vw, 104px) 0; background: var(--ink); color: #E3ECE7; }
.bk-lead__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.bk-lead .bk-h2 { color: #fff; max-width: 18ch; }
.bk-lead__text p { font-size: 18px; color: #B7C9C0; max-width: 46ch; }
.bk-lead a:not(.bk-btn) { color: var(--lily); }
.bk .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,.14); }
.bk .cp-lead__form { display: grid; gap: 14px; }
.bk .cp-field { display: grid; gap: 6px; }
.bk .cp-field__label { font-size: 14px; font-weight: 600; color: #B7C9C0; }
.bk .cp-field__input { min-height: 52px; border-radius: 12px; border: 0; padding: 0 16px; font: 500 17px var(--text); color: var(--ink); background: #fff; }
.bk .cp-field__input[aria-invalid="true"] { box-shadow: 0 0 0 3px #E07A62; }
.bk .cp-field__error, .bk .cp-lead__error { color: #F5B3A3; font-size: 14px; font-weight: 600; }
.bk .cp-check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: #A8BBB2; }
.bk .cp-check input { width: 22px; height: 22px; flex: none; margin: 0; accent-color: var(--lily); }
.bk .cp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 24px; border-radius: 999px; border: 0; font: 650 17px var(--text); cursor: pointer; background: var(--lily); color: var(--lily-ink); }
.bk .cp-btn_wide { width: 100%; }
.bk .cp-lead__done-title { font: 750 28px/1.15 var(--text); color: #fff; margin: 0 0 8px; }
.bk .cp-lead__wave { width: 90px; color: var(--lily); margin-bottom: 12px; }
.bk .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* источники */
.bk-sources { padding: 40px 0 64px; font-size: 14px; color: var(--muted); }
.bk-sources__note { max-width: 78ch; }
.bk-sources__list { columns: 2 360px; column-gap: 40px; padding-left: 22px; margin: 0; }
.bk-sources__list li { break-inside: avoid; margin-bottom: 8px; }
.bk-sources__list li:target { background: rgba(235, 201, 75, .3); border-radius: 4px; }

/* ── телефон и планшет ── */
@media (max-width: 1080px) {
  .bk-body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bk-toc { position: fixed; z-index: 55; left: 16px; bottom: 16px; top: auto; padding: 0; }
  .bk-toc__toggle { display: inline-flex; gap: 10px; align-items: center; min-height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 650 15px var(--text); box-shadow: 0 6px 18px rgba(19, 38, 31, .25); cursor: pointer; }
  .bk-toc__toggle b { font-weight: 600; color: var(--lily); font-feature-settings: "tnum" 1; }
  .bk-toc__panel { display: none; position: absolute; left: 0; bottom: 56px; width: min(320px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; padding: 18px 18px 18px 38px; border-radius: 16px; background: #fff; box-shadow: 0 10px 40px rgba(19, 38, 31, .25); }
  .bk-toc.is-open .bk-toc__panel { display: block; }
  .bk-toc__gauge { left: 18px; top: 48px; bottom: 18px; }
  .bk-toc__list a { padding: 8px 0; font-size: 15px; }
  .bk-calc { grid-template-columns: minmax(0, 1fr); }
  .bk-steps { grid-template-columns: minmax(0, 1fr); }
  .bk-steps__art { top: 8px; z-index: 3; box-shadow: 0 8px 20px rgba(19, 38, 31, .12); }
  .bk-step { min-height: 0; }
  .bk-lead__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 760px) {
  .bk { font-size: 17px; }
  .bk-hero { height: 200vh; }
  .bk-hero__grid { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 12px; padding-top: 64px; }
  .bk-hero__text { padding-top: 0; }
  .bk-hero__h1 { font-size: 15px; margin-bottom: 8px; }
  .bk-hero__lead { display: none; }
  .bk.is-anim .bk-hero__live { font-size: 14px; line-height: 1.4; margin-bottom: 14px; }
  .bk.is-anim .bk-hero__cta { flex-wrap: nowrap; gap: 8px; }
  .bk.is-anim .bk-hero__cta .bk-btn { min-height: 44px; padding: 0 12px; font-size: 14px; white-space: nowrap; }
  .bk:not(.is-anim) .bk-hero__lead { display: block; }
  .bk-hero__promise { font-size: clamp(30px, 8.6vw, 40px); }
  .bk-sv { left: -6%; width: 112%; bottom: 170px; max-height: 40%; }
  .bk-layers { position: absolute; left: 16px; right: 16px; bottom: 76px; width: auto; margin: 0; justify-self: stretch; }
  .bk.is-anim .bk-layer:not(.is-on) { display: none; }
  .bk:not(.is-anim) .bk-layers { position: static; }
  .bk-hero__cta .bk-btn { flex: 1 1 auto; }
  .bk.is-anim .bk-hero__hint { display: none; }
  .bk-sec { padding-top: 56px; }
  .bk-sum { font-size: 19px; }
  .bk-calc, .bk-stretch, .bk-guide { padding: 16px; margin-inline: -4px; }
  .bk-num__row { grid-template-columns: 1fr 78px auto; }
  .bk-calc__sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk-care { grid-template-columns: minmax(0, 1fr); }
  .bk-thick__row { grid-template-columns: 70px 1fr; column-gap: 14px; }
  .bk-repair__list li { grid-template-columns: 58px 1fr; }
  /* таблицы — карточками */
  .bk-compare table, .bk-compare tbody, .bk-compare tr, .bk-compare th, .bk-compare td,
  .bk-brands table, .bk-brands tbody, .bk-brands tr, .bk-brands th, .bk-brands td,
  .bk-guide-table table, .bk-guide-table tbody, .bk-guide-table tr, .bk-guide-table th, .bk-guide-table td { display: block; }
  .bk-compare thead, .bk-brands thead, .bk-guide-table thead { display: none; }
  .bk-compare tr, .bk-brands tr, .bk-guide-table tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .bk-compare th, .bk-compare td, .bk-brands th, .bk-brands td, .bk-guide-table th, .bk-guide-table td { border: 0; padding: 4px 0; }
  .bk-compare td::before, .bk-brands td::before, .bk-guide-table td::before { content: attr(data-label) ": "; font-weight: 650; color: var(--muted); }
  .bk-compare__v.is-good { background: none; }
  .bk-term__tip { position: fixed; left: 16px !important; right: 16px; bottom: 16px; top: auto; width: auto; transform: translateY(8px) !important; }
  .bk-term:hover .bk-term__tip, .bk-term:focus .bk-term__tip, .bk-term.is-open .bk-term__tip { transform: none !important; }
}

/* «меньше движения»: без анимаций, функции работают */
@media (prefers-reduced-motion: reduce) {
  .bk *, .bk *::before, .bk *::after { transition: none !important; animation: none !important; }
  .bk { scroll-behavior: auto; }
}
@media print {
  .bk-hero__scene, .bk-toc, .bk-progress, .bk-lead, .bk-calc, .bk-guide, .bk-stretch { display: none !important; }
  .bk-hero { height: auto; } .bk-hero__stage { position: static; height: auto; }
  .bk-eng[open] .bk-eng__body, .bk-eng .bk-eng__body { display: block; }
}
