/*
  Сайт STEINMANN по «Руководству по использованию фирменного стиля», v1.0, 2025.
  Сетка: модульная, 12 колонок, одинаковый межмодульный отступ на всех экранах (2.6).
  Цвет: только диджитал-палитра (2.2), пропорции информационного макета: белый, светло-серый под оборудованием, акценты жёлтым.
  Шрифт: TT Neoris (Medium — заголовки, Regular — текст). Пока нет веб-лицензии, по правилу 2.3 «Шрифтовая альтернатива»:
  TT Neoris Medium → Inter SemiBold (600), TT Neoris Regular → Inter Regular (400).
  Шрифтовая схема для диджитал (2.3): 96 / 40 / 26 / 20 / 16, интерлиньяж заголовков 100%, текста 120%.
  Сайт — информационный носитель бренда, поэтому одна светлая тема.
*/
:root {
  color-scheme: light;
  /* Основная палитра */
  --yellow: #FFDE3A;
  --orange: #FE6240;
  --black: #000000;
  --white: #FFFFFF;
  /* Дополнительная палитра */
  --grey: #6F6E73;
  --grey-2: #D0D2DE;
  --grey-3: #F2F3F6;

  --font: "TT Neoris", "Inter", Arial, sans-serif;
  --w-head: 600;
  --w-text: 400;

  /* Шрифтовая схема 96 / 40 / 26 / 20 / 16 (макет 1920), масштабируется к ширине экрана */
  --t-96: clamp(44px, 6.67vw, 96px);
  --t-40: clamp(28px, 2.78vw, 40px);
  --t-26: clamp(19px, 1.81vw, 26px);
  --t-20: clamp(16px, 1.39vw, 20px);
  --t-16: clamp(14px, 1.11vw, 16px);
  --lh-head: 1;
  --lh-text: 1.2;

  --gut: 16px;      /* межмодульный отступ, неизменный при масштабировании */
  --wrap: 1440px;
  --r: 12px;
  --logo-w: 224px;  /* компьютер 220–230, планшет 180–190, телефон 140–150 px */
  --hdr-h: 84px;
}
@media (max-width: 1080px) { :root { --logo-w: 184px; --hdr-h: 76px; } }
@media (max-width: 640px) { :root { --logo-w: 144px; --hdr-h: 64px; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { background: var(--white); color: var(--black); font-family: var(--font); font-weight: var(--w-text); font-size: var(--t-16); line-height: var(--lh-text); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--white); }
a { color: inherit; }
h1, h2, h3 { font-weight: var(--w-head); line-height: var(--lh-head); letter-spacing: -0.02em; margin: 0; text-wrap: balance; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
p { margin: 0; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.num { font-variant-numeric: tabular-nums; }
.t40 { font-size: var(--t-40); }
.t20 { font-size: var(--t-20); }
.muted { color: var(--grey); }

/* Модульная сетка 12 колонок */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 900px) { .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); } }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gut); }
.g12 > * { min-width: 0; grid-column: span 12; }
.c2 { --sp: 2; } .c3 { --sp: 3; } .c4 { --sp: 4; } .c5 { --sp: 5; } .c6 { --sp: 6; } .c7 { --sp: 7; }
@media (min-width: 1081px) {
  .g12 > :is(.c2, .c3, .c4, .c5, .c6, .c7) { grid-column: span var(--sp); }
  .g12 > .off1 { grid-column: var(--start) / span var(--sp); }
}
@media (min-width: 641px) and (max-width: 1080px) {
  .g12 > :is(.c2, .c3, .c4) { grid-column: span 6; }
  .g12 > .t-keep { grid-column: span var(--sp); }
}

/* Знак — четыре квадрата; основное место — правый верхний угол */
.sign { display: grid; grid-template-columns: repeat(2, 1fr); gap: 33.33%; width: 24px; aspect-ratio: 1; }
.sign i { background: currentColor; display: block; aspect-ratio: 1; }

/* Логотип: охранное поле = ширина знака = 7,8% длины логотипа */
.logo { display: block; width: var(--logo-w); flex: none; margin-block: calc(var(--logo-w) * 0.078); margin-left: 0; margin-right: calc(var(--logo-w) * 0.078); }
.logo img { width: 100%; height: auto; }

/* Кнопки — жёлтый для акцентов и ховера */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 10px; border: 1px solid transparent; font-weight: var(--w-text); font-size: var(--t-16); text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn-y { background: var(--yellow); color: var(--black); }
.btn-y:hover { background: var(--black); color: var(--yellow); }
.btn-k { background: var(--black); color: var(--white); }
.btn-k:hover { background: var(--yellow); color: var(--black); }
.btn-o { background: transparent; border-color: var(--black); color: var(--black); }
.btn-o:hover { background: var(--yellow); border-color: var(--yellow); }
.btn-sm { min-height: 40px; padding: 0 16px; }
.link { font-size: var(--t-20); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { background: var(--yellow); }

/* Шапка */
.topbar { background: var(--black); color: var(--grey-2); font-size: 14px; }
.topbar .wrap { display: flex; gap: 32px; align-items: center; height: 36px; overflow: hidden; }
.topbar span:last-child { margin-left: auto; color: var(--white); }
@media (max-width: 760px) { .topbar .hide-m { display: none; } .topbar span:last-child { margin-left: 0; } }
header.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--grey-2); }
.hdr .wrap { display: flex; align-items: center; gap: 32px; height: var(--hdr-h); }
nav.main { display: flex; gap: 4px; }
nav.main a { text-decoration: none; padding: 10px 14px; border-radius: 10px; }
nav.main a:hover, nav.main a.on { background: var(--yellow); }
.hdr-phone { margin-left: auto; text-align: right; }
.hdr-phone b { font-weight: var(--w-head); font-size: var(--t-20); display: block; white-space: nowrap; }
.hdr-phone b a { text-decoration: none; }
.hdr-phone small { color: var(--grey); font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--grey-2); border-radius: 10px; background: var(--white); align-items: center; justify-content: center; flex: none; }
.burger span { width: 18px; height: 2px; background: var(--black); position: relative; display: block; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--black); }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
@media (max-width: 1080px) { nav.main, .hdr .btn-y { display: none; } .burger { display: inline-flex; } .hdr .wrap { gap: var(--gut); } }
@media (max-width: 560px) { .hdr-phone small { display: none; } }
.hdr-call { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--yellow); align-items: center; justify-content: center; flex: none; margin-left: auto; }
.hdr-call svg { width: 22px; height: 22px; fill: none; stroke: var(--black); stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: round; }
@media (max-width: 459px) { .hdr .wrap { gap: 12px; } .hdr-phone b { font-size: 15px; } }
@media (max-width: 419px) { .hdr-phone { display: none; } .hdr-call { display: inline-flex; } }
.mnav { display: none; border-top: 1px solid var(--grey-2); background: var(--white); }
.mnav.open { display: block; }
.mnav .wrap { display: grid; padding-block: 8px 20px; }
.mnav a { text-decoration: none; padding: 14px 0; font-size: var(--t-20); border-bottom: 1px solid var(--grey-2); }
.mnav .btn { margin-top: var(--gut); }

/* Секции */
section { padding-block: 64px; }
@media (min-width: 900px) { section { padding-block: 96px; } }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: var(--gut); flex-wrap: wrap; margin-bottom: 40px; }
.eyebrow { font-size: var(--t-16); color: var(--grey); margin-bottom: 16px; }
.lead { font-size: var(--t-26); max-width: 34ch; }

/* Hero: первый контакт — приоритет жёлтого, оборудование на жёлтом фоне (имиджевая акцентная подача) */
.hero { padding-block: 40px var(--gut); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding-block: 32px; }
.hero h1 { font-size: var(--t-96); hyphens: manual; -webkit-hyphens: manual; }
.hero .lead { margin-top: 32px; }
.hero-cta { display: flex; gap: var(--gut); flex-wrap: wrap; margin-top: 40px; }
.hero-note { margin-top: 48px; padding-top: var(--gut); border-top: 1px solid var(--black); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px var(--gut); }
.hero-pic { position: relative; background: var(--yellow); border-radius: var(--r); min-height: 520px; display: flex; align-items: end; justify-content: center; padding: 96px 32px 32px; margin: 0; overflow: hidden; }
.hero-pic img { width: 100%; max-height: 520px; object-fit: contain; }
.hero-pic .sign { position: absolute; top: 28px; right: 28px; color: var(--white); }
.hero-pic figcaption { position: absolute; left: 28px; right: 80px; top: 26px; }
.hero-pic figcaption b { display: block; font-weight: var(--w-head); font-size: var(--t-20); }
@media (max-width: 1080px) { .hero-pic { min-height: 340px; } }

/* Ряд каталога */
.cat-main { background: var(--yellow); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; min-height: 360px; }
.cat-main h2 { font-size: var(--t-40); display: flex; gap: 8px; align-items: start; }
.cat-main h2 sup { font-size: var(--t-16); font-weight: var(--w-text); letter-spacing: 0; margin-top: 2px; }
.cat-main ul { list-style: none; margin: auto 0 0; padding: 28px 0 0; display: grid; }
.cat-main a { display: flex; justify-content: space-between; gap: 10px; text-decoration: none; padding: 8px 0; border-bottom: 1px solid var(--black); }
.cat-main a:hover { text-decoration: underline; }
.cat-tile { background: var(--grey-3); border-radius: var(--r); padding: 28px; text-decoration: none; display: flex; flex-direction: column; gap: 8px; min-height: 360px; transition: background .15s; }
.cat-tile:hover { background: var(--yellow); }
.cat-tile b { font-weight: var(--w-head); font-size: var(--t-20); }
.cat-tile small { color: var(--grey); font-size: var(--t-16); }
.cat-tile:hover small { color: var(--black); }
.cat-tile .pic { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding-top: var(--gut); }
.cat-tile img { max-height: 220px; object-fit: contain; }
@media (max-width: 640px) { .cat-tile, .cat-main { min-height: 0; } .cat-tile .pic { min-height: 200px; } }

/* Пиктограммы: сетка 24×24, линия = 1 модуль, скругления углов, квадратные окончания линий */
.ico { width: 48px; height: 48px; fill: none; stroke: var(--black); stroke-width: 1; stroke-linecap: square; stroke-linejoin: round; }
.adv > div { padding-top: 28px; border-top: 1px solid var(--black); display: grid; gap: var(--gut); align-content: start; }
.adv b { font-weight: var(--w-head); font-size: var(--t-26); line-height: var(--lh-head); }
.adv p { color: var(--grey); }

/* Фильтр и карточки */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--grey-2); background: var(--white); border-radius: 999px; min-height: 40px; padding: 0 16px; font-size: var(--t-16); color: var(--black); display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.chip:hover { border-color: var(--yellow); background: var(--yellow); }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: var(--white); }
.chip span { color: var(--grey); }
.chip[aria-pressed="true"] span { color: var(--grey-2); }
.cards { margin-top: 32px; }
@media (min-width: 1081px) and (max-width: 1280px) { .cards > .c3 { grid-column: span 4; } }
.card { display: flex; flex-direction: column; border: 1px solid var(--grey-2); border-radius: var(--r); overflow: hidden; background: var(--white); transition: border-color .15s; }
.card:hover { border-color: var(--black); }
.card .pic { background: var(--grey-3); aspect-ratio: 4 / 3; max-width: 100%; display: flex; align-items: center; justify-content: center; padding: 24px; position: relative; text-decoration: none; }
.card .pic img { max-height: 100%; object-fit: contain; transition: transform .25s; }
.card:hover .pic img { transform: scale(1.03); }
.card .tag { position: absolute; left: 12px; top: 12px; font-size: 14px; background: var(--white); border-radius: 6px; padding: 4px 8px; }
.card .body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { font-size: var(--t-20); line-height: var(--lh-text); letter-spacing: 0; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { background: var(--yellow); }
.card .type { color: var(--grey); }
.card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); margin: 8px 0 0; padding-top: var(--gut); border-top: 1px solid var(--grey-2); }
.card dt { font-weight: var(--w-head); font-size: var(--t-20); }
.card dd { margin: 4px 0 0; font-size: 14px; color: var(--grey); }
.card .foot { margin-top: auto; padding-top: var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.price { font-weight: var(--w-head); font-size: var(--t-20); white-space: nowrap; }
.price.q { font-weight: var(--w-text); color: var(--grey); }

/* Этапы — реальная последовательность работ */
.steps { padding: 0; margin: 0; counter-reset: s; }
.steps li { list-style: none; background: var(--grey-3); border-radius: var(--r); padding: 28px; min-height: 220px; display: flex; flex-direction: column; gap: 8px; }
.steps li::before { counter-increment: s; content: "0" counter(s); font-size: var(--t-40); font-weight: var(--w-head); line-height: var(--lh-head); margin-bottom: auto; padding-bottom: 32px; }
.steps b { font-weight: var(--w-head); font-size: var(--t-20); }
.steps p { color: var(--grey); }
@media (max-width: 640px) { .steps li { min-height: 0; } }

/* Жёлтая полоса цифр */
.band-y { background: var(--yellow); }
.figs > div { border-top: 1px solid var(--black); padding-top: var(--gut); }
.figs b { display: block; font-size: var(--t-96); font-weight: var(--w-head); letter-spacing: -0.03em; line-height: var(--lh-head); }
.figs span { display: block; margin-top: 12px; font-size: var(--t-20); max-width: 20ch; }
@media (max-width: 640px) { .g12.figs > .c3 { grid-column: span 6; } }

/* Производство — тёмно-серый фон и имиджевая фотография */
.band-g { background: var(--grey); color: var(--white); }
.band-g .eyebrow { color: var(--yellow); }
.band-g h2 { font-size: var(--t-40); }
.band-g .copy { display: grid; gap: 28px; align-content: center; }
.band-g .copy > p { font-size: var(--t-20); max-width: 46ch; }
.cert > div { border-top: 1px solid var(--white); padding-top: 12px; }
.cert b { display: block; font-size: var(--t-26); font-weight: var(--w-head); margin-bottom: 8px; }
.prod-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 1600 / 1134; max-width: 100%; }
.prod-photo img { width: 100%; height: 100%; object-fit: cover; }

/* География */
.cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.cities span { padding: 8px 14px; background: var(--grey-3); border-radius: 999px; }

/* Дилеры — оранжевый как дополнительный цвет */
.dealer { background: var(--orange); border-radius: var(--r); padding: clamp(28px, 4vw, 56px); color: var(--black); }
.dealer h2 { font-size: var(--t-40); }
.dealer ul { margin: 0; padding: 0; list-style: none; }
.dealer li { padding: 14px 0; border-bottom: 1px solid var(--black); font-size: var(--t-20); }
.dealer .act { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }

/* Форма */
.contacts-list { display: grid; gap: var(--gut); margin-top: 40px; }
.contacts-list div { border-top: 1px solid var(--grey-2); padding-top: 12px; }
.contacts-list small { display: block; color: var(--grey); margin-bottom: 4px; }
.contacts-list b { font-weight: var(--w-head); font-size: var(--t-20); }
form.f { background: var(--grey-3); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); display: grid; gap: var(--gut); }
.formf { background: var(--grey-3); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); display: grid; gap: var(--gut); }
.f h3 { font-size: var(--t-26); }
.f label { display: grid; gap: 8px; color: var(--grey); }
.f input, .f select, .f textarea { font: inherit; color: var(--black); background: var(--white); border: 1px solid var(--grey-2); border-radius: 10px; padding: 12px 14px; width: 100%; font-size: 16px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--black); }
.f .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); }
.f .two > * { min-width: 0; }
.f .agree { font-size: 14px; color: var(--grey); }
.f .ok { background: var(--yellow); border-radius: 10px; padding: var(--gut); }
.f .ok small { display: block; margin-top: 8px; font-size: 14px; }
.f .bad { border-color: var(--orange); }
@media (max-width: 480px) { .f .two { grid-template-columns: minmax(0, 1fr); } }

/* Подвал */
footer { background: var(--black); color: var(--grey-2); padding-block: 64px 32px; }
footer h4 { color: var(--white); font-weight: var(--w-head); font-size: var(--t-16); margin: 0 0 16px; }
footer a { display: block; text-decoration: none; padding: 4px 0; }
footer a:hover { color: var(--yellow); }
footer .logo { --logo-w: 200px; margin-top: 0; }
.ft-b { margin-top: 48px; padding-top: var(--gut); border-top: 1px solid var(--grey); display: flex; justify-content: space-between; gap: var(--gut); flex-wrap: wrap; font-size: 14px; color: var(--grey-2); }
.ft-b p { max-width: 80ch; }

/* Страница товара */
.crumbs { font-size: 14px; color: var(--grey); display: flex; gap: 8px; flex-wrap: wrap; padding-block: 24px 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { background: var(--yellow); color: var(--black); }
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr-h) + 1px); z-index: 20; background: var(--white); border-bottom: 1px solid var(--grey-2); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav a { text-decoration: none; padding: 8px 14px; border-radius: 10px; white-space: nowrap; }
.subnav a:hover { background: var(--yellow); }
/* ── Карточка товара v2: галерея, плитки характеристик, нумерованные преимущества ── */
.pd { padding-block: 24px 56px; align-items: start; }
.gal { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr-h) + 24px); display: grid; gap: 12px; }
.gal-main { position: relative; background: var(--grey-3); border-radius: var(--r); aspect-ratio: 4 / 3.2; max-width: 100%; display: flex; align-items: center; justify-content: center; padding: clamp(20px, 4vw, 48px); border: 0; width: 100%; cursor: zoom-in; overflow: hidden; }
.gal-main img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .2s; }
.gal-main.dark { background: var(--black); padding: 0; }
.gal-main.dark img { width: 100%; height: 100%; object-fit: contain; }
.gal-main .sign { position: absolute; top: 20px; right: 20px; color: var(--black); }
.gal-main.dark .sign { color: var(--yellow); }
.gal-zoom { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 10px; background: var(--white); display: flex; align-items: center; justify-content: center; }
.gal-zoom svg { width: 20px; height: 20px; fill: none; stroke: var(--black); stroke-width: 1.5; stroke-linecap: square; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--white); font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.gal-nav:hover, .gal-zoom:hover { background: var(--yellow); }
.gal-nav.prev { left: 14px; } .gal-nav.next { right: 14px; }
.gal-cap { font-size: 14px; color: var(--grey); min-height: 1.2em; display: flex; justify-content: space-between; gap: var(--gut); }
.gal-cap span:last-child { flex: none; font-variant-numeric: tabular-nums; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.thumbs button { flex: 0 0 auto; width: 84px; height: 64px; border-radius: 8px; border: 1px solid var(--grey-2); background: var(--grey-3); padding: 4px; display: flex; align-items: center; justify-content: center; }
.thumbs button.dark { background: var(--black); padding: 0; overflow: hidden; }
.thumbs button img { max-width: 100%; max-height: 100%; object-fit: contain; }
.thumbs button.dark img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button[aria-current="true"] { border: 2px solid var(--black); }
.thumbs button:hover { border-color: var(--black); }
.pd-info { display: grid; gap: 20px; }
.pd-info h1 { font-size: clamp(32px, 4.2vw, 60px); line-height: 1.05; overflow-wrap: anywhere; }
.pd-info .type { font-size: var(--t-20); }
.pd-info .tagline { color: var(--grey); }
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.keys > div { border-radius: var(--r); padding: 16px; min-height: 112px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-width: 0; }
.keys > div:nth-child(1) { background: var(--yellow); }
.keys > div:nth-child(2) { background: var(--black); color: var(--white); }
.keys > div:nth-child(3) { background: var(--grey-3); }
.keys b { font-size: clamp(22px, 2.3vw, 32px); font-weight: var(--w-head); line-height: 1; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.keys span { font-size: 13px; line-height: 1.2; }
.keys > div:nth-child(2) span { color: var(--grey-2); }
.pd-buy { border: 1px solid var(--grey-2); border-radius: var(--r); padding: 20px; display: grid; gap: var(--gut); }
.pd-buy .top { display: flex; justify-content: space-between; align-items: start; gap: var(--gut); flex-wrap: wrap; }
.pd-buy .price.q { font-size: var(--t-26); color: var(--black); font-weight: var(--w-head); white-space: normal; }
.pd-buy small { color: var(--grey); font-size: 14px; display: block; margin-top: 6px; }
.warranty { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow); border-radius: 8px; padding: 8px 12px; font-weight: var(--w-head); font-size: 14px; white-space: nowrap; }
.warranty svg { width: 18px; height: 18px; fill: none; stroke: var(--black); stroke-width: 1.5; stroke-linejoin: round; }
.pd-buy .row { display: flex; gap: var(--gut); flex-wrap: wrap; }
.pd-buy .row .btn { flex: 1 1 180px; }
.pd-perks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px var(--gut); font-size: 14px; }
.pd-perks span::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--yellow); margin-right: 8px; vertical-align: 1px; }
@media (max-width: 1080px) { .gal { position: static; } }
@media (max-width: 480px) { .keys { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .keys > div:nth-child(3) { grid-column: span 2; min-height: 0; } .pd-perks { grid-template-columns: minmax(0, 1fr); } .thumbs button { width: 68px; height: 52px; } }

.pd-sec { padding-block: 64px; border-bottom: 1px solid var(--grey-2); scroll-margin-top: 150px; }
.pd-sec > .eyebrow { margin-bottom: 12px; }
.pd-sec > h2 { font-size: var(--t-40); margin-bottom: 32px; }
.adv-grid { align-items: stretch; }
.adv-t { border-radius: var(--r); padding: clamp(20px, 2.4vw, 28px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 16px; align-content: start; background: var(--grey-3); min-height: 200px; }
.adv-t .n { font-size: var(--t-40); font-weight: var(--w-head); line-height: 1; }
.adv-t b { font-size: var(--t-20); font-weight: var(--w-head); line-height: 1.15; align-self: center; }
.adv-t p { grid-column: 2; font-size: 15px; }
.adv-t.y { background: var(--yellow); }
.adv-t.k { background: var(--black); color: var(--white); }
.adv-t.k .n { color: var(--yellow); }
.adv-t.k p { color: var(--grey-2); }
.adv-pic { border-radius: var(--r); background: var(--grey-3); border: 0; padding: 20px; display: flex; align-items: center; justify-content: center; min-height: 200px; cursor: zoom-in; overflow: hidden; }
.adv-pic.dark { background: var(--black); padding: 0; }
.adv-pic img { max-width: 100%; max-height: 320px; object-fit: contain; }
.adv-pic.dark img { width: 100%; height: 100%; object-fit: cover; max-height: none; }
@media (min-width: 641px) and (max-width: 1080px) { .g12.adv-grid > .c4 { grid-column: span 6; } }

.about-wrap { align-items: start; }
.about-p { font-size: var(--t-26); max-width: 40ch; }
.about-pic { border-radius: var(--r); background: var(--grey-3); border: 0; padding: 24px; display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; max-width: 100%; width: 100%; cursor: zoom-in; }
.about-pic.dark { background: var(--black); padding: 0; overflow: hidden; }
.about-pic.dark img { width: 100%; height: 100%; object-fit: cover; max-height: none; }
.adv-t.wide p { max-width: 70ch; }
.adv-t { min-height: 180px; }
.about-pic img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vs { margin-top: 40px; border: 1px solid var(--grey-2); border-radius: var(--r); overflow: hidden; }
.vs h3 { font-size: var(--t-26); padding: 20px 24px; background: var(--black); color: var(--white); margin: 0; }
.vs dl { margin: 0; display: grid; }
.vs dl > div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: var(--gut); padding: 14px 24px; border-top: 1px solid var(--grey-2); }
.vs dl > div:first-child { border-top: 0; }
.vs dt { font-weight: var(--w-head); }
.vs dd { margin: 0; }
@media (max-width: 640px) { .vs dl > div { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 12px 16px; } .vs h3 { padding: 16px; } }

.apps { align-items: stretch; }
.app { border: 1px solid var(--grey-2); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; background: var(--white); }
.app .pic { background: var(--black); aspect-ratio: 4 / 3; max-width: 100%; display: block; border: 0; padding: 0; cursor: zoom-in; overflow: hidden; }
.app .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.app .pic:hover img { transform: scale(1.03); }
.app .body { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.app b { font-size: var(--t-20); font-weight: var(--w-head); }
.app p { color: var(--grey); font-size: 15px; }
.app.txt { background: var(--grey-3); border-color: var(--grey-3); }
.app.txt .body { padding: 24px; }
.app.txt .body::before { content: ""; width: 24px; height: 4px; background: var(--yellow); margin-bottom: 8px; }
@media (min-width: 641px) and (max-width: 1080px) { .g12.apps > .c3 { grid-column: span 6; } }
.areas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.areas span { border: 1px solid var(--grey-2); border-radius: 999px; padding: 8px 14px; }
.rate { margin-top: 32px; border: 1px solid var(--grey-2); border-radius: var(--r); overflow: hidden; }
.rate-scroll { overflow-x: auto; }
.rate table { width: 100%; border-collapse: collapse; min-width: 420px; }
.rate th, .rate td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--grey-2); vertical-align: middle; }
.rate thead th { background: var(--yellow); font-weight: var(--w-head); }
.rate tbody tr:last-child td, .rate tbody tr:last-child th { border-bottom: 0; }
.rate tbody th { font-weight: var(--w-text); }
.bars { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: 10px; }
.bars i { width: 6px; height: 18px; background: var(--grey-2); display: block; }
.bars.l1 i:nth-child(-n+1), .bars.l2 i:nth-child(-n+2), .bars.l3 i:nth-child(-n+3) { background: var(--black); }
.rate .no { color: var(--grey); }
.rate-note { padding: 12px 16px; font-size: 13px; color: var(--grey); border-top: 1px solid var(--grey-2); background: var(--grey-3); }

.tech { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 0; margin: 0; list-style: none; }
.tech li { padding: 16px 16px 16px 44px; background: var(--grey-3); border-radius: 10px; position: relative; min-height: 64px; display: flex; align-items: center; }
.tech li::before { content: ""; position: absolute; left: 16px; top: 50%; margin-top: -6px; width: 12px; height: 12px; background: var(--yellow); }
@media (max-width: 1080px) { .tech { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tech { grid-template-columns: minmax(0, 1fr); } .tech li { min-height: 0; } }

.spec-keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 8px; margin-bottom: 40px; }
.spec-keys > div { border-top: 2px solid var(--black); padding: 14px 0 0; min-width: 0; }
.spec-keys b { display: block; font-size: var(--t-26); font-weight: var(--w-head); line-height: 1.05; overflow-wrap: anywhere; }
.spec-keys span { display: block; font-size: 13px; color: var(--grey); margin-top: 6px; }
.specs { row-gap: 32px; }
.spec-g { border: 1px solid var(--grey-2); border-radius: var(--r); overflow: hidden; align-self: start; }
.spec-g h3 { font-size: 15px; letter-spacing: .04em; text-transform: uppercase; background: var(--yellow); padding: 12px 16px; margin: 0; line-height: 1.2; }
.spec-g .sc { overflow-x: auto; }
.spec-g table { width: 100%; border-collapse: collapse; }
.spec-g td, .spec-g th { padding: 11px 16px; border-bottom: 1px solid var(--grey-2); vertical-align: top; text-align: left; }
.spec-g tbody tr:last-child td { border-bottom: 0; }
.spec-g td:first-child { color: var(--grey); width: 52%; }
.spec-g td:not(:first-child) { font-variant-numeric: tabular-nums; }
.spec-g thead th { font-weight: var(--w-head); background: var(--grey-3); }
.spec-g table.multi td:first-child { width: 38%; }
.specs .wide { grid-column: span 12; }
@media (max-width: 480px) { .spec-g td, .spec-g th { padding: 10px 12px; font-size: 14px; } .spec-g table:not(.multi) tr { display: grid; } .spec-g table:not(.multi) td:first-child { width: auto; padding-bottom: 0; border-bottom: 0; font-size: 13px; } }

.kit-wrap { align-items: start; }
.kit { padding: 0; margin: 0; list-style: none; counter-reset: k; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gut); }
.kit li { counter-increment: k; padding: 14px 0 14px 44px; border-top: 1px solid var(--grey-2); position: relative; }
.kit li::before { content: counter(k, decimal-leading-zero); position: absolute; left: 0; top: 14px; font-weight: var(--w-head); font-size: 14px; color: var(--grey); font-variant-numeric: tabular-nums; }
.kit.single { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 760px) { .kit { grid-template-columns: minmax(0, 1fr); } }
.opt-box { background: var(--grey-3); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.opt-box h3 { font-size: var(--t-26); margin-bottom: 8px; }
.opt-box .kit-note { color: var(--grey); margin-bottom: 16px; }
.opt-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.opt-box li { padding: 12px 0 12px 28px; border-top: 1px solid var(--grey-2); position: relative; }
.opt-box li::before { content: "+"; position: absolute; left: 4px; top: 11px; font-weight: var(--w-head); }

.pd-cta { margin-top: 64px; background: var(--yellow); border-radius: var(--r); padding: clamp(28px, 4vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: var(--gut); flex-wrap: wrap; }
.pd-cta h2 { font-size: var(--t-40); max-width: 20ch; }

/* Просмотр изображений */
.lb { position: fixed; inset: 0; z-index: 120; background: var(--black); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); color: var(--white); }
.lb[hidden] { display: none; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: var(--gut); padding: 4px 4px 12px; }
.lb-top span { color: var(--grey-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-stage.light { background: var(--white); border-radius: var(--r); padding: 16px; }
.lb button { border: 0; border-radius: 10px; background: var(--white); color: var(--black); width: 44px; height: 44px; font-size: 22px; line-height: 1; }
.lb button:hover { background: var(--yellow); }
.lb .lb-prev, .lb .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb .lb-prev { left: 8px; } .lb .lb-next { right: 8px; }
.lb-cap { text-align: center; padding: 12px 8px 4px; font-size: 15px; color: var(--grey-2); }

/* Каталог */
.page-head { padding-block: 32px 8px; }
.page-head h1 { font-size: clamp(30px, 6.67vw, 96px); margin-top: 24px; }
.page-head .lead { margin-top: 20px; }
.cat-block { padding-block: 48px; border-top: 1px solid var(--grey-2); }
.cat-block:first-child { border-top: 0; }
.cat-block h2 { font-size: var(--t-40); }
.cat-block p { color: var(--grey); margin-top: 12px; font-size: var(--t-20); }
.cat-block .cards { margin-top: 28px; }

/* Текстовые страницы */
.text-col p { font-size: var(--t-20); margin-bottom: var(--gut); max-width: 52ch; }
.text-col h3 { font-size: var(--t-26); margin: 8px 0 var(--gut); }
.req { background: var(--grey-3); border-radius: var(--r); padding: 24px; display: grid; gap: 8px; margin-top: 32px; }
.req div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: var(--gut); }
.req span { color: var(--grey); }
@media (max-width: 480px) { .req div { grid-template-columns: minmax(0, 1fr); gap: 0; } }


/* Сравнение */
.cmp { padding-block: 56px 72px; border-top: 1px solid var(--grey-2); }
.cmp h2 { font-size: var(--t-40); }
.cmp .lead { margin-top: 16px; max-width: 60ch; font-size: var(--t-20); }
.cmp-scroll { margin-top: 32px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--grey-2); border-radius: var(--r); }
.cmp-scroll:focus-visible { outline-offset: -2px; }
.cmp table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 640px; }
.cmp.cmp-wide table { min-width: 860px; }
.cmp th, .cmp td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--grey-2); }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: 0; }
.cmp thead th { background: var(--yellow); font-weight: var(--w-head); font-size: var(--t-20); }
.cmp thead th a { text-decoration: none; }
.cmp thead th a:hover { text-decoration: underline; }
.cmp tbody th { font-weight: var(--w-text); color: var(--grey); width: 200px; }
.cmp th:first-child { position: sticky; left: 0; z-index: 1; background: var(--white); min-width: 140px; border-right: 1px solid var(--grey-2); }
.cmp thead th:first-child { background: var(--yellow); }
.cmp-hint { display: none; margin-top: 8px; font-size: 14px; color: var(--grey); }
@media (max-width: 900px) { .cmp-hint { display: block; } .cmp tbody th { width: auto; } }
@media (max-width: 640px) { .cmp th, .cmp td { padding: 12px; font-size: 14px; } .cmp thead th { font-size: 16px; } .cmp th:first-child { min-width: 104px; max-width: 120px; } .cmp table { min-width: 560px; } .cmp.cmp-wide table { min-width: 720px; } }
.tasks { margin-top: 32px; }
.task { border: 1px solid var(--grey-2); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; background: var(--white); transition: border-color .15s; }
.task:hover { border-color: var(--black); }
.task .pic { background: var(--grey-3); aspect-ratio: 4 / 3; max-width: 100%; display: flex; align-items: center; justify-content: center; padding: 20px; }
.task .pic img { max-height: 100%; object-fit: contain; }
.task .body { padding: 20px; display: grid; gap: 8px; align-content: start; flex: 1; }
.task small { color: var(--grey); }
.task b { font-weight: var(--w-head); font-size: var(--t-20); }
.task .more { margin-top: auto; padding-top: 8px; text-decoration: underline; text-underline-offset: 3px; }
.warranty-badge { display: inline-block; background: var(--yellow); border-radius: 6px; padding: 4px 10px; font-size: 14px; }

.sw > div { background: var(--grey-3); border-radius: var(--r); padding: 24px; display: grid; gap: 6px; align-content: start; }
.sw b { font-size: var(--t-26); font-weight: var(--w-head); }
.sw small { color: var(--grey); font-size: 14px; }
.sw p { margin-top: 8px; }
@media (min-width: 641px) and (max-width: 1080px) { .g12.sw > .c4 { grid-column: span 6; } }
#home-choose .cmp { border-top: 0; padding-top: 0; }
#home-choose .cmp-vet { padding-top: 0; }
.cmp-vet table { min-width: 860px; }
.cmp-vet tbody td { font-size: 15px; }
.sw b { display: inline-block; background: var(--yellow); padding: 2px 8px; border-radius: 6px; justify-self: start; }
.sw-av { margin-top: 24px; border: 1px solid var(--grey-2); border-radius: var(--r); padding: 20px; display: grid; gap: 16px; }
.sw-av a { text-decoration: none; border-top: 2px solid var(--black); padding-top: 12px; display: grid; gap: 4px; }
.sw-av a:hover b { text-decoration: underline; }
.sw-av b { font-weight: var(--w-head); }
.sw-av span { color: var(--grey); font-size: 14px; }
/* Модальное окно */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .6); display: flex; align-items: center; justify-content: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal[hidden] { display: none; }
.modal-box { background: var(--white); border-radius: var(--r); width: min(600px, 100%); max-height: 100%; overflow: auto; position: relative; }
.modal-box .f { background: var(--white); }
.modal-box h2 { font-size: var(--t-40); padding-right: 72px; }
.modal-box .sign { position: absolute; right: 64px; top: 20px; color: var(--yellow); }
.modal-x { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 10px; border: 0; background: var(--grey-3); font-size: 22px; line-height: 1; }
.modal-x:hover { background: var(--yellow); }
.view { animation: fade .25s ease; }
@keyframes fade { from { opacity: .4; } to { opacity: 1; } }
.formf .b24-form-header {
    display: none;
}

.formf .b24-form-wrapper {
    background: transparent;
    padding: 0;
    border: none;
}

.formf .b24-form-padding-side {
    padding: 0;
    margin-top: 0px;
}

.formf .b24-form-control-string .b24-form-control-label {
    position: relative;
    padding: 0;
    top: unset;
    transform: unset;
    order: -1;
    color: var(--grey);
    opacity: 1;
    display: inline-flex;
}

.formf .b24-form-control-container {
    display: grid;
    gap: 8px;
    margin: 0;
}

.formf .b24-form-control-icon-after .b24-form-control {
    font: inherit;
    color: var(--black);
    background: var(--white);
    border: 1px solid var(--grey-2);
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
    font-size: 16px;
}

.formf.f .b24-form-field-agreement {
    display: none;
}

.formf.f .b24-form-field-agreement label input {
    width: unset;
}

.formf.f .b24-form-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: var(--w-text);
    font-size: var(--t-16);
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s;
    background: var(--black);
    color: var(--white);
    box-shadow: none;
}

.formf.f .b24-form-btn:hover { 
    background: var(--yellow); 
    color: var(--black);
}

.formf.f .b24-form-wrapper.b24-form-border-bottom {
	border: none;
}