/* Лендинг «Монтажные системы WM15» — /landings/wm15/
   Общая раскладка; цвета и шрифты темы — в конце файла. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:root { --pad: 64px; --sec-gap: 128px; }
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--pad); }

/* Шапка */
.hdr { display: flex; align-items: center; gap: 40px; min-height: 88px; }
.hdr-logo, .ftr-logo { display: inline-flex; align-items: center; min-height: 44px; color: var(--logo); flex-shrink: 0; }
.hdr-logo svg { width: 133px; height: 34px; fill: currentColor; }
.nav { display: flex; gap: 32px; margin-left: auto; font-size: 15px; }
.nav a, .mail, .tel { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.nav a:hover, .mail:hover, .tel:hover { color: var(--link-hover); }
.hdr-contacts { display: flex; align-items: center; gap: 28px; }
.mail, .tel { gap: 10px; font-size: 15px; white-space: nowrap; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; flex-shrink: 0; }

/* Общие заголовки */
.h1 { font-family: var(--font-display); }
.h2 { font-family: var(--font-display); }
.lead { max-width: 60ch; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.sec { padding-top: var(--sec-gap); }
.sec-head { max-width: 780px; margin-bottom: 48px; }
.sec-head .lead { margin-top: 18px; }

/* Первый экран */
.hero { display: grid; align-items: center; }
.hero-photo img, .hero-band img { width: 100%; height: auto; }
.hero .lead { margin-top: 28px; }

/* Подбор по задаче */
.chooser { margin-bottom: 48px; }
.chooser-q { font-weight: 500; margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font: inherit; font-size: 15px; line-height: 1.2;
  min-height: 44px; padding: 10px 18px;
  color: var(--ink); background: transparent;
  border: 1px solid var(--line-strong); border-radius: 999px;
  cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--chip-on-bg); border-color: var(--chip-on-bg); color: var(--chip-on-ink); }
.chooser-note { min-height: 3.2em; margin-top: 16px; max-width: 70ch; color: var(--ink-2); }

/* Карточки линейки */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--card-gap, 32px); align-items: start; }
.card { display: flex; flex-direction: column; transition: opacity .35s ease; }
.card-media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.card-body { display: flex; flex-direction: column; padding-top: 22px; }
.tier { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.rings { width: 26px; height: 26px; flex-shrink: 0; }
.rings circle, .rings path { fill: none; stroke: var(--ring-off); stroke-width: 2; }
.rings .on { stroke: var(--ring-on); }
.rings .core { fill: var(--ring-on); stroke: none; }
.card-name { margin-top: 10px; font-family: var(--font-display); }
.card-desc { margin-top: 12px; color: var(--ink-2); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.spec dt { font-size: 14px; line-height: 1.35; color: var(--ink-2); }
.spec dd { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin-top: 6px; }
.spec .pre, .spec .unit { font-size: 15px; color: var(--ink-2); }
.card-media-note { margin-top: 18px; font-size: 15px; color: var(--ink-2); }

.card--alt { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--card-gap, 32px); align-items: center; }
.card--alt .card-media img { aspect-ratio: 4 / 3; }
.card--alt .card-body { padding-top: 0; max-width: 720px; }

.cards.is-filtering .card { opacity: .25; }
.cards.is-filtering .card.is-match { opacity: 1; }

/* Намотка */
.wind-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.wind-fig { border-radius: var(--fig-radius, 0); background: var(--fig-bg, transparent); padding: var(--fig-pad, 0); }
.wind-svg { width: 100%; height: auto; overflow: visible; }
.wind-svg text { font-family: var(--font-body); font-size: 14px; fill: var(--ink-2); }
.pipe { fill: var(--pipe); }
.pipe-hi { fill: var(--pipe-hi); }
.thread-bg { fill: var(--thread-bg); }
.thread path { stroke: var(--thread); stroke-width: 3; stroke-linecap: round; }
.dirt circle { fill: var(--rust); }
.tape polygon { fill: var(--tape); stroke: var(--tape-edge); stroke-width: 1; }
.tape.l2 polygon { opacity: .85; }
.coupling rect { fill: var(--fitting); }
.coupling .facet { stroke: var(--fitting-edge); stroke-width: 2; fill: none; }
.gauge .stem { fill: var(--fitting); }
.gauge .dial { fill: var(--gauge-bg); stroke: var(--fitting); stroke-width: 4; }
.gauge .ticks path { stroke: var(--ink-2); stroke-width: 2; }
.gauge .needle { stroke: var(--needle); stroke-width: 3; stroke-linecap: round; transform-box: view-box; transform-origin: 445px 44px; transform: rotate(40deg); }
.gauge .hub { fill: var(--needle); }
.ev-pipe { fill: var(--pipe); }
.ev-bore { fill: var(--fig-bg-solid, var(--bg)); }
.ev-tape { fill: none; stroke: var(--tape); stroke-width: 6; }
.arrow { fill: none; stroke: var(--arrow); stroke-width: 2.5; stroke-linecap: round; }
.arrow-head { fill: none; stroke: var(--arrow); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.spin { transform-box: view-box; transform-origin: 578px 74px; }
.dirt { opacity: 0; }

/* Шаги: без JS — обычный нумерованный список */
.wind-steps { counter-reset: step; display: grid; gap: 6px; }
.wind-steps li { counter-increment: step; }
.wind-steps .step-text, .wind-steps button {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start;
  width: 100%; padding: 12px 14px; text-align: left;
  font: inherit; color: var(--ink-2); background: transparent; border: 0; border-radius: 12px;
}
.wind-steps .step-text::before, .wind-steps button::before {
  content: counter(step);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink); font-size: 15px;
}
.wind-steps button { cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.wind-steps button:hover { color: var(--ink); }
.wind-steps button[aria-current="step"] { color: var(--ink); background: var(--step-on-bg); }
.wind-steps button[aria-current="step"]::before { background: var(--chip-on-bg); border-color: var(--chip-on-bg); color: var(--chip-on-ink); }

/* Состояния анимации — только когда скрипт отработал (класс js на html).
   Без JS рисунок показывает итог: лента намотана, муфта на месте. */
.js .wind-fig .dirt { transition: opacity .5s ease; }
.js .wind-fig .tape polygon { transition: opacity .35s ease, transform .35s ease; transition-delay: calc(var(--i) * 70ms); transform-box: fill-box; transform-origin: 50% 0; }
.js .wind-fig .coupling { transition: opacity .5s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .wind-fig .gauge { transition: opacity .4s ease; }
.js .wind-fig .gauge .needle { transition: transform 1.1s cubic-bezier(.3,1.4,.5,1) .3s; }
.js .wind-fig .ev-tape { transition: opacity .4s ease; }

.js .wind-fig[data-step="0"] .dirt { opacity: 1; }
.js .wind-fig:is([data-step="0"], [data-step="1"]) .tape polygon { opacity: 0; transform: scaleY(0); transition-delay: 0s; }
.js .wind-fig:is([data-step="0"], [data-step="1"], [data-step="2"]) .l2 polygon { opacity: 0; transform: scaleY(0); transition-delay: 0s; }
.js .wind-fig:is([data-step="0"], [data-step="1"]) .ev-tape { opacity: 0; }
.js .wind-fig:not([data-step="4"], [data-step="5"]) .coupling { opacity: 0; transform: translateX(150px); }
.js .wind-fig:not([data-step="5"]) .gauge { opacity: 0; }
.js .wind-fig:not([data-step="5"]) .gauge .needle { transform: rotate(-80deg); transition-delay: 0s; }
.js .wind-fig[data-step="2"] .spin { animation: spin 1.6s cubic-bezier(.4,0,.2,1) 1; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Своя упаковка */
.pack { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pack-photo img { width: 100%; height: auto; }
.pack-text .lead { margin-top: 18px; }

/* Подвал */
.ftr { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 48px; align-items: center; margin-top: var(--sec-gap); padding-block: 48px; border-top: 1px solid var(--line); }
.ftr-logo { align-self: flex-start; }
.ftr-logo svg { width: 125px; height: 32px; fill: currentColor; }
.ftr-contacts p { font-size: 14px; color: var(--ink-2); }
.ftr-contacts { display: flex; flex-wrap: wrap; gap: 0 28px; }
.ftr-contacts a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; white-space: nowrap; }
.ftr-contacts a:hover { color: var(--link-hover); }
.ftr-catalog { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 22px; border: 1px solid var(--line-strong); border-radius: 999px; text-decoration: none; }
.ftr-catalog:hover { border-color: var(--ink); }
.ftr-copy { grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); }

/* Адаптив */
@media (max-width: 1200px) {
  :root { --pad: 48px; --sec-gap: 112px; }
  .hdr--many .nav { display: none; }
  .hdr--many .hdr-contacts { margin-left: auto; }
}
@media (max-width: 960px) {
  :root { --pad: 40px; --sec-gap: 96px; }
  .nav { display: none; }
  .hdr-contacts { margin-left: auto; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--alt { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .wind-grid, .pack { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  :root { --pad: 20px; --sec-gap: 80px; }
  body { font-size: 16px; }
  .lead { font-size: 17px; }
  .hdr { min-height: 72px; }
  .hdr-logo svg { width: 102px; height: 26px; }
  .mail span, .tel span { display: none; }
  .mail, .tel { justify-content: center; min-width: 44px; }
  .hdr-contacts { gap: 4px; }
  .tel--extra { display: none; }
  .cards, .card--alt { grid-template-columns: 1fr; }
  .specs { gap: 14px; }
  .ftr { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}

/* Артикулы в карточке */
.skus { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: 14px; line-height: 1.35; }
.skus th { padding: 0 0 6px; text-align: left; font-weight: 500; color: var(--ink-2); border-bottom: 1px solid var(--line-strong); }
.skus td { padding: 7px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.skus th:first-child, .skus td:first-child { width: 4.6em; padding-right: 12px; white-space: nowrap; }
.skus td:first-child { font-weight: 500; }

/* Ссылка в подсказке подбора */
.chooser-link { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Вся карточка — ссылка на страницу товара: ссылка в названии растянута на карточку */
.card { position: relative; }
.card-link { color: inherit; text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:focus-visible { outline: none; }
.card:has(.card-link:focus-visible) { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: 12px; }
.card:hover .card-link { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
@media (prefers-reduced-motion: reduce) {
  .card:hover { transform: none !important; }
}

/* ===== Блоки лендинга WM15 (поверх общей раскладки, до темы) ===== */
.page-wm15 { --panel: var(--surface, transparent); --panel-line: transparent; }
.v-black.page-wm15 { --panel: transparent; --panel-line: var(--line); }

.kicker { display: inline-block; margin-bottom: 20px; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 20px; line-height: 1.2; }
.hero--wm15 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-top: 24px; }
.hero--wm15 .hero-photo img { aspect-ratio: 1 / 1; object-fit: cover; object-position: center 55%; }
.hero--wm15 .hero-widths { margin-top: 32px; }

/* Факты о компании */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 64px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact-value { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 40px; line-height: 1.05; }
.fact-label { margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* Продукция: четыре карточки */
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.page-wm15 .card-media { border-radius: 14px; overflow: hidden; }
.page-wm15 .card-media img { aspect-ratio: 4 / 5; }
.page-wm15 .card-name { font-size: 28px; }
.material { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: 40px; padding: 28px 32px; border-radius: 20px; background: var(--panel); border: 1px solid var(--panel-line); }
.material-title { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 24px; line-height: 1.15; margin-bottom: 6px; }
.material p:not(.material-title) { color: var(--ink-2); font-size: 16px; }

/* Применение */
.apply { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; margin-bottom: 24px; padding: 56px 64px; border-radius: 24px; }
.apply-text p { margin-top: 18px; font-size: 18px; line-height: 1.6; }
.apply-list li { display: flex; align-items: center; gap: 16px; padding: 15px 0; font-size: 19px; border-bottom: 1px solid var(--apply-line); }
.apply-list li:last-child { border-bottom: 0; }
.apply-list .icon { width: 22px; height: 22px; stroke-width: 2.2; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 280px; gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: 16px; background: #000; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; font-size: 14px; font-weight: 500; line-height: 1.3; }
.span-c2 { grid-column: span 2; }
.span-r2 { grid-row: span 2; }

/* Монтаж: четыре шага */
.msteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: mstep; }
.mstep { counter-increment: mstep; padding: 28px; border-radius: 20px; background: var(--panel); border: 1px solid var(--panel-line); }
.mstep::before { content: counter(mstep); display: block; margin-bottom: 14px; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 52px; line-height: 1; }
.mstep-title { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 24px; line-height: 1.15; margin-bottom: 8px; }
.mstep p:not(.mstep-title) { color: var(--ink-2); font-size: 16px; }

/* Чертежи */
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; max-width: none; }
.sec-head--row > div { max-width: 780px; }
.btn { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 500; text-decoration: none; background: var(--chip-on-bg); color: var(--chip-on-ink); transition: transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { stroke-width: 2; }
.drawings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.drawing { display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: 16px; background: #FFFFFF; color: #1E1A16; text-decoration: none; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.drawing:hover { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--drawing-ring), 0 18px 36px -14px rgba(0, 0, 0, .35); }
.drawing img { width: 100%; height: 400px; object-fit: contain; }
.drawing-cap { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 22px; }
.drawing-cap small { font-family: var(--font-body); font-style: normal; font-weight: 400; font-size: 14px; color: #5D564B; }

/* О компании */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.about-text p { margin-top: 18px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.about-prod-title { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 26px; margin: 10px 0 20px; }
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.prod-card { padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--panel-line); }
.prod-card-title { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 22px; line-height: 1.15; margin-bottom: 8px; }
.prod-card p:not(.prod-card-title) { font-size: 15px; color: var(--ink-2); }

/* Цвета блоков по теме */
.v-cream .kicker { background: var(--yellow); padding: 5px 18px 5px 12px; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.v-cream .apply { background: var(--ink); color: #F2ECDF; --apply-line: rgba(242, 236, 223, .16); }
.v-cream .apply-text p { color: #CFC6B6; }
.v-cream .apply-list .icon { stroke: var(--yellow); }
.v-cream .gallery figcaption { background: var(--yellow); color: var(--ink); }
.v-cream .mstep::before { color: var(--red); }
.v-cream .drawing { --drawing-ring: var(--ink); }
.v-black .kicker { color: var(--wheat); }
.v-black .apply { border: 1px solid var(--line); --apply-line: var(--line); }
.v-black .apply-text p { color: var(--ink-2); }
.v-black .apply-list .icon { stroke: var(--wheat); }
.v-black .gallery figcaption { background: #000; color: var(--wheat); }
.v-black .mstep::before { color: var(--wheat); }
.v-black .drawing { --drawing-ring: var(--wheat); }
.v-black .material-title, .v-black .mstep-title, .v-black .prod-card-title { color: var(--wheat); }

@media (max-width: 1200px) {
  .cards--4, .msteps, .drawings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apply { padding: 48px; gap: 40px; }
  .gallery { grid-auto-rows: 220px; }
  .drawing img { height: 480px; }
}
@media (max-width: 960px) {
  .hero--wm15 { grid-template-columns: 1fr; gap: 32px; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .apply, .about { grid-template-columns: 1fr; }
  .about { gap: 40px; }
  .sec-head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .cards--4, .msteps, .drawings, .material, .prod-grid { grid-template-columns: 1fr; }
  .fact-value { font-size: 30px; }
  .apply { padding: 32px 22px; }
  .apply-list li { font-size: 17px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
  .gallery figcaption { left: 8px; bottom: 8px; font-size: 12px; padding: 4px 8px; }
  .drawing img { height: auto; }
  .material { padding: 24px; }
}

/* Первый экран WM15 — сильнее тем, чтобы длинный заголовок не вылезал из колонки */
.page-wm15 .hero.hero--wm15 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.page-wm15 .hero .h1 { font-size: clamp(48px, 7vw, 100px); }
.page-wm15 .hero--wm15 .hero-photo img { aspect-ratio: 4 / 5; object-position: center 62%; }
.v-black .hero-widths ul { display: flex; flex-wrap: wrap; gap: 8px; }
.v-black .hero-widths li { padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--wheat); font-size: 15px; }
@media (max-width: 960px) {
  .page-wm15 .hero.hero--wm15 { grid-template-columns: 1fr; gap: 32px; }
}

/* ===== Тёмная тема (santehkrep.ru) =====
   Фон как у основного сайта. У фото фон доведён до чистого чёрного, поэтому они
   сливаются со страницей без масок. Пшеничный — цвет логотипа. Шрифты — Fira Sans
   Extra Condensed (заголовки, цифры) и Fira Sans (текст), лицензия SIL OFL (fonts/OFL-fira-sans.txt). */
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/fira-sans-extra-condensed-cyrillic-700-italic.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: italic; font-weight: 700; font-display: swap; src: url('../fonts/fira-sans-extra-condensed-latin-700-italic.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: 'Fira Sans Extra Condensed'; font-style: italic; font-weight: 800; font-display: swap; src: url('../fonts/fira-sans-extra-condensed-cyrillic-800-italic.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Fira Sans Extra Condensed'; font-style: italic; font-weight: 800; font-display: swap; src: url('../fonts/fira-sans-extra-condensed-latin-800-italic.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: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/fira-sans-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/fira-sans-latin-400-normal.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: 'Fira Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/fira-sans-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Fira Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/fira-sans-latin-500-normal.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; }

:root {
  --bg: #000000;
  --ink: #F2EDE4;
  --ink-2: #A9A397;
  --line: rgba(245, 222, 179, .16);
  --line-strong: rgba(245, 222, 179, .42);
  --logo: #F5DEB3;
  --wheat: #F5DEB3;
  --link-hover: #F5DEB3;
  --focus: #F5DEB3;
  --ring-off: rgba(245, 222, 179, .22);
  --ring-on: #F5DEB3;
  --chip-on-bg: #F5DEB3;
  --chip-on-ink: #000000;
  --step-on-bg: rgba(245, 222, 179, .08);
  --font-body: 'Fira Sans', system-ui, sans-serif;
  --font-display: 'Fira Sans Extra Condensed', 'Fira Sans', sans-serif;
  --card-gap: 20px;
  --pipe: #3B3E43; --pipe-hi: #4B4F55; --thread-bg: #2F3236; --thread: #5A5E65; --rust: #8C4A1F;
  --tape: #F2EFE8; --tape-edge: rgba(0, 0, 0, .35);
  --fitting: #C9A14A; --fitting-edge: #8F7030;
  --gauge-bg: #0A0A0A; --needle: #F5DEB3; --arrow: #F5DEB3;
  --fig-bg-solid: #000000;
}
.v-black .h1 { font-size: clamp(56px, 7.2vw, 100px); line-height: .92; font-weight: 800; font-style: italic; letter-spacing: -.01em; }
.v-black .h2 { font-size: clamp(40px, 4.6vw, 66px); line-height: .95; font-weight: 800; font-style: italic; }
.v-black .chip, .v-black .ftr-catalog { font-weight: 500; }

/* Первый экран: текст на чёрном, фото линейки рядом */
.v-black .hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding-top: 24px; }
.v-black .hero-text { padding-block: 48px; }

/* Линейка: карточки в тонкой рамке, при наведении рамка загорается пшеничным.
   Фон карточки не меняем — иначе чёрный фон фото станет заметным прямоугольником. */
.v-black .card {
  padding: 24px; border: 1px solid var(--line); border-radius: 20px;
  transition: opacity .35s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.v-black .card:hover {
  border-color: rgba(245, 222, 179, .7);
  box-shadow: 0 0 0 1px rgba(245, 222, 179, .35), 0 18px 48px -12px rgba(245, 222, 179, .22);
  transform: translateY(-4px);
}
.v-black .card:hover .card-link { text-decoration-color: rgba(245, 222, 179, .6); }
.v-black .card-media img { aspect-ratio: 1 / 1; }
.v-black .tier span { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 18px; color: var(--wheat); }
.v-black .card-name { font-size: 34px; line-height: .98; font-weight: 800; font-style: italic; color: var(--wheat); }
.v-black .spec b { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 46px; line-height: 1; color: var(--ink); }
.v-black .spec .pre, .v-black .spec .unit { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 21px; }

.v-black .chooser-link { color: var(--wheat); text-decoration-color: rgba(245, 222, 179, .5); }
.v-black .chooser-link:hover { text-decoration-color: currentColor; }
.v-black .wind-steps button[aria-current="step"] { background: var(--step-on-bg); }

@media (min-width: 961px) {
  .v-black .card:not(.card--alt)[data-tier="1"] { margin-top: 112px; }
  .v-black .card:not(.card--alt)[data-tier="2"] { margin-top: 56px; }
}
@media (max-width: 960px) {
  .v-black .hero { grid-template-columns: 1fr; gap: 0; }
  .v-black .hero-text { padding-bottom: 0; }
}
@media (max-width: 640px) {
  .v-black .hero-photo { margin-inline: calc(-1 * var(--pad)); }
  .v-black .card { padding: 16px; }
}
