/* Fliegl-Rus — стили сайта */

/* ---------- Шрифты (лежат локально, лицензия SIL OFL) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.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: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/unbounded-latin.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 {
  --navy: #14181D;
  --navy-2: #1D232A;
  --navy-3: #2A323B;
  --blue: #B8151B;
  --blue-hi: #FF6166;
  --blue-soft: #F1F2F4;
  --orange: #D9232A;
  --orange-hi: #EE444A;
  --orange-dark: #B2141A;
  --ink: #12161B;
  --text: #333B45;
  --muted: #6B7480;
  --line: #DFE3E8;
  --bg: #F3F4F6;
  --white: #fff;
  --ok: #1E9E62;
  --err: #D0342C;

  --font-body: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-display: 'Unbounded', 'Manrope', 'Segoe UI', Arial, sans-serif;

  --gutter: 20px;
  --container: 1240px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px rgba(15, 18, 22, .08);
  --shadow-lg: 0 24px 60px rgba(15, 18, 22, .16);
  --header-h: 72px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--blue-hi); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--bg { background: var(--bg); }
.section--dark { background: var(--navy); color: #C9D6E3; }
.section--dark h2, .section--dark h3 { color: #fff; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
h2 { font-size: clamp(27px, 3.2vw, 40px); }
h3 { font-size: clamp(19px, 1.7vw, 22px); letter-spacing: -.01em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 26px; height: 3px; border-radius: 2px; background: var(--orange); }
.section--dark .eyebrow { color: var(--blue-hi); }
.section__head { max-width: 780px; margin-bottom: 44px; }
.section__head p { margin-top: 16px; font-size: 18px; color: var(--muted); }
.section--dark .section__head p { color: #A9BACB; }
.lead { font-size: 18px; }
.link { color: var(--blue); font-weight: 700; border-bottom: 1px solid rgba(184, 21, 27, .35); transition: border-color .2s; }
.link:hover { border-color: var(--blue); }
.note { font-size: 14px; color: var(--muted); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border-radius: 10px;
  background: var(--orange); color: #fff;
  font-weight: 800; font-size: 16px; line-height: 1.2; text-align: center;
  box-shadow: 0 8px 20px rgba(217, 35, 42, .28);
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 12px 26px rgba(217, 35, 42, .34); }
.btn:active { transform: none; }
.btn[disabled] { opacity: .65; cursor: default; transform: none; }
.btn--sm { min-height: 42px; padding: 9px 18px; font-size: 15px; }
.btn--lg { min-height: 58px; padding: 16px 32px; font-size: 17px; }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 2px #fff; }
.btn--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--line:hover { background: #fff; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn--blue { background: var(--blue); box-shadow: 0 8px 20px rgba(184, 21, 27, .26); }
.btn--blue:hover { background: #A31217; box-shadow: 0 12px 26px rgba(184, 21, 27, .32); }
.btn .icon { width: 20px; height: 20px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(15, 18, 22, .06); }
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .04em; color: var(--navy); }
.logo__text small { margin-top: 5px; font-size: 10.5px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--blue); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav__drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 12px; border-radius: 8px;
  font-weight: 700; font-size: 15px; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav > a:hover, .nav__drop > button:hover, .nav__drop:focus-within > button { background: var(--bg); color: var(--blue); }
.nav__drop { position: relative; }
.nav__drop > button .icon { width: 16px; height: 16px; transition: transform .2s; }
.nav__drop:hover > button .icon, .nav__drop:focus-within > button .icon { transform: rotate(180deg); }
.nav__menu {
  position: absolute; left: 0; top: 100%;
  min-width: 330px; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 12px; border-radius: 8px; font-weight: 700; font-size: 15px; color: var(--ink); }
.nav__menu a span { font-weight: 500; font-size: 13px; color: var(--muted); white-space: nowrap; }
.nav__menu a:hover { background: var(--blue-soft); color: var(--blue); }
.nav__menu a.is-sub { padding-left: 26px; font-weight: 600; }
.header__contacts { display: flex; align-items: center; gap: 18px; flex: none; }
.header__phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header__phone a { font-weight: 800; font-size: 17px; color: var(--ink); white-space: nowrap; }
.header__phone a:hover { color: var(--blue); }
.header__phone small { font-size: 12px; color: var(--muted); }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; background: var(--bg); position: relative; flex: none; }
.burger span, .burger::before, .burger::after { content: ''; position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
.burger::before { top: 15px; }
.burger span { top: 21px; }
.burger::after { top: 27px; }
.burger[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span { opacity: 0; }
.burger[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Главный экран ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 14, 17, .96) 0%, rgba(11, 14, 17, .88) 34%, rgba(11, 14, 17, .42) 66%, rgba(11, 14, 17, .18) 100%),
    linear-gradient(0deg, rgba(11, 14, 17, .85) 0%, rgba(11, 14, 17, 0) 38%);
}
.hero__inner { padding-top: 76px; padding-bottom: 40px; min-height: min(760px, calc(100vh - var(--header-h))); display: flex; flex-direction: column; justify-content: center; }
.hero__content { max-width: 690px; }
.hero__tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 30px; background: rgba(255, 97, 102, .16); border: 1px solid rgba(255, 97, 102, .4); font-size: 14px; font-weight: 700; color: #F6C9CB; margin-bottom: 22px; }
.hero__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(217, 35, 42, .25); }
.hero h1 { color: #fff; font-size: clamp(33px, 5vw, 60px); line-height: 1.07; letter-spacing: -.025em; }
.hero h1 em { font-style: normal; color: var(--blue-hi); }
.hero__lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); color: #C8D7E5; max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 60px; }
.stat { padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); backdrop-filter: blur(6px); }
.stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(21px, 2.1vw, 28px); line-height: 1.15; color: #fff; }
.stat b small { font-size: .6em; font-weight: 600; color: var(--blue-hi); }
.stat span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; color: #AFC1D3; }

/* ---------- Каталог ---------- */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__img { position: relative; aspect-ratio: 3 / 2; background: #E9EEF3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__img img { transform: scale(1.04); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 30px; font-size: 12.5px; font-weight: 800; line-height: 1.3; background: var(--navy); color: #fff; }
.badge--stock { background: var(--ok); }
.badge--order { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.badge--new { background: var(--orange); }
.badge--gov { background: var(--blue); }
.card__badges { position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card__kind { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.card__title { margin-top: 6px; font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -.01em; color: var(--ink); }
.card__text { margin-top: 10px; font-size: 15px; color: var(--muted); }
.card__specs { margin: 16px 0 20px; display: grid; gap: 7px; font-size: 14.5px; }
.card__specs li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 7px; border-bottom: 1px dashed var(--line); }
.card__specs li span { color: var(--muted); }
.card__specs li b { color: var(--ink); font-weight: 700; text-align: right; }
.card__side { display: flex; flex-direction: column; flex: 1; }
.card__actions { margin-top: auto; display: flex; gap: 10px; }
.card__actions .btn { flex: 1; padding-left: 12px; padding-right: 12px; }
.card--wide { grid-column: span 2; }
.card--wide .card__img { aspect-ratio: 1920 / 897; }
.card--wide .card__body { flex-direction: row; gap: 36px; padding: 26px 28px 28px; }
.card--wide .card__main { flex: 1.15; }
.card--wide .card__side { flex: 1; }
.card--wide .card__title { font-size: 28px; }
.card--wide .card__volumes { margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 30px; background: var(--blue-soft); color: #8F0F14; font-size: 14px; font-weight: 700; transition: background .2s, color .2s; }
a.chip:hover { background: var(--blue); color: #fff; }
.chip--plain { background: var(--bg); color: var(--text); font-weight: 600; }
.section--dark .chip--plain { background: rgba(255, 255, 255, .08); color: #DCE7F1; border: 1px solid rgba(255, 255, 255, .12); }
.card__volumes { margin: 16px 0 20px; }
.card__volumes p { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; }

/* ---------- Подбор по задаче ---------- */
.chooser { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; }
.chooser__tabs { display: grid; gap: 8px; }
.chooser__tabs button {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  font-weight: 700; font-size: 15.5px; color: var(--ink); line-height: 1.3;
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.chooser__tabs button .icon { color: var(--blue); }
.chooser__tabs button:hover { border-color: var(--blue); }
.chooser__tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--shadow); }
.chooser__tabs button[aria-selected="true"] .icon { color: var(--orange-hi); }
.chooser__panel { display: grid; grid-template-columns: 1fr 44%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; min-height: 400px; }
.chooser__body { padding: 32px; display: flex; flex-direction: column; }
.chooser__body h3 { font-size: 24px; }
.chooser__body p { margin-top: 12px; }
.chooser__body ul { margin: 18px 0 24px; display: grid; gap: 9px; }
.chooser__body li { position: relative; padding-left: 28px; font-size: 15.5px; }
.chooser__body li::before { content: ''; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8151B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.chooser__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.chooser__img { background: #E9EEF3; }
.chooser__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Преимущества ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.section--dark .feature { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.feature__icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.feature__icon .icon { width: 26px; height: 26px; }
.section--dark .feature__icon { background: rgba(255, 97, 102, .16); color: var(--blue-hi); }
.feature p { margin-top: 10px; font-size: 15.5px; color: var(--muted); }
.section--dark .feature p { color: #A9BACB; }
.feature--num { counter-increment: feat; }
.feature--num::before { content: '0' counter(feat); display: block; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--orange); margin-bottom: 12px; }
.features--num { counter-reset: feat; }

/* ---------- Блок «текст + фото» ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.split--wide-text { grid-template-columns: 1.1fr .9fr; }
.split__img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #E9EEF3; }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__text > p { margin-top: 16px; }
.checks { margin-top: 22px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks li b { color: var(--ink); }
.section--dark .checks li b { color: #fff; }

/* ---------- Шасси ---------- */
.chassis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.chassis__item { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.chassis__item b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; }
.chassis__item span { display: block; margin-top: 8px; font-size: 14.5px; color: #A9BACB; }
.chassis__item a { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--blue-hi); }
.chassis__item a:hover { color: #fff; }

/* ---------- Таблицы ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; -webkit-overflow-scrolling: touch; }
.table { min-width: 640px; font-size: 15px; }
.table th, .table td { padding: 13px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table thead th { background: var(--navy); color: #fff; font-weight: 700; font-size: 14.5px; white-space: nowrap; position: sticky; top: 0; }
.table thead th:first-child { border-top-left-radius: calc(var(--radius) - 1px); }
.table thead th:last-child { border-top-right-radius: calc(var(--radius) - 1px); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table tbody th { font-weight: 600; color: var(--text); width: 42%; }
.table tbody td { font-weight: 700; color: var(--ink); }
.table tbody tr:nth-child(even) { background: #F8FAFC; }
.table tr.is-group th { background: var(--blue-soft); color: #8F0F14; font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.table--compare tbody th { width: auto; white-space: nowrap; }
.table--compare tbody th a { color: var(--blue); font-weight: 800; }
.table--compare tbody th a:hover { text-decoration: underline; }
.table--compare td { font-weight: 600; }
.table--multi tbody th { width: 30%; min-width: 220px; }
.table--multi td { text-align: center; white-space: nowrap; }
.table--multi thead th:not(:first-child) { text-align: center; }
.table-note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Покупка ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; }
.steps li { position: relative; padding: 24px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 14px; }
.steps li b { display: block; color: var(--ink); font-size: 17px; line-height: 1.3; }
.steps li span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.term { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.term .icon { width: 30px; height: 30px; color: var(--orange); margin-top: 2px; }
.term b { display: block; color: var(--ink); font-size: 17px; }
.term span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }

/* ---------- О производителе ---------- */
.timeline { display: grid; gap: 0; border-left: 2px solid rgba(255, 255, 255, .16); margin-left: 8px; }
.timeline li { position: relative; padding: 0 0 20px 26px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--navy); }
.timeline b { font-family: var(--font-display); font-weight: 700; color: #fff; margin-right: 10px; }

/* ---------- Вопросы ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 22px; cursor: pointer; list-style: none; font-weight: 800; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8151B' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 22px; }
.faq details p + p { margin-top: 10px; }

/* ---------- Заявка ---------- */
.order { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.order__info h2 { color: #fff; }
.order__info > p { margin-top: 16px; font-size: 18px; color: #B9C9D9; }
.contacts { margin-top: 30px; display: grid; gap: 16px; }
.contacts li { display: flex; gap: 14px; align-items: flex-start; }
.contacts .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: rgba(255, 97, 102, .16); color: var(--blue-hi); }
.contacts small { display: block; font-size: 13px; color: #8FA3B8; }
.contacts a, .contacts b { font-weight: 800; font-size: 18px; color: #fff; }
.contacts a:hover { color: var(--blue-hi); }
.form { padding: 32px; border-radius: 18px; background: #fff; color: var(--text); box-shadow: var(--shadow-lg); }
.form h3, .section--dark .form h3 { font-size: 23px; color: var(--ink); }
.form > p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.field { display: block; }
.field--full { grid-column: 1 / -1; }
.field > span { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.field > span i { font-style: normal; color: var(--orange); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  font-size: 16px; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7480' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 18px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(184, 21, 27, .14); }
.field.is-invalid input { border-color: var(--err); box-shadow: 0 0 0 4px rgba(208, 52, 44, .12); }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13.5px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue); }
.consent a { color: var(--blue); text-decoration: underline; }
.consent.is-invalid { color: var(--err); }
.form .btn { width: 100%; margin-top: 18px; }
.form__status { min-height: 0; margin-top: 12px; font-size: 14.5px; font-weight: 700; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }

/* ---------- Подвал ---------- */
.footer { background: #0B0E11; color: #92A5B8; font-size: 14.5px; }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 36px; padding: 56px 0 40px; }
.footer .logo__text b { color: #fff; }
.footer__about { margin-top: 16px; max-width: 320px; }
.footer h4 { color: #fff; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a:hover { color: #fff; }
.footer__contacts a { color: #fff; font-weight: 800; font-size: 17px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; }
.footer__bottom a { text-decoration: underline; }
.footer__legal { max-width: 760px; }

/* ---------- Всплывающее окно ---------- */
.modal { width: min(520px, calc(100vw - 28px)); max-height: calc(100vh - 28px); padding: 0; border: 0; border-radius: 18px; background: transparent; overflow: visible; }
.modal::backdrop { background: rgba(11, 14, 17, .72); backdrop-filter: blur(3px); }
.modal .form { position: relative; max-height: calc(100vh - 28px); overflow-y: auto; }
.modal .form__grid { grid-template-columns: 1fr; }
.modal .form h3 { padding-right: 44px; }
.modal__close { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); z-index: 2; }
.modal__close:hover { background: var(--line); }

/* ---------- Хлебные крошки ---------- */
.crumbs { padding: 18px 0 0; font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 8px; }
.crumbs li + li::before { content: '/'; margin-right: 8px; color: #B4C0CC; }
.crumbs a:hover { color: var(--blue); }

/* ---------- Страница модели: первый экран ---------- */
.phero { background: linear-gradient(180deg, #F2F5F8 0%, #fff 100%); padding-bottom: 60px; }
.phero__grid { display: grid; grid-template-columns: 1fr 1.02fr; gap: 50px; align-items: center; padding-top: 30px; }
.phero__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.phero__logo { height: 54px; width: auto; margin-bottom: 18px; }
.phero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 50px); line-height: 1.08; letter-spacing: -.02em; color: var(--navy); }
.phero h1 span { display: block; margin-top: 12px; font-family: var(--font-body); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.35; font-weight: 700; letter-spacing: 0; color: var(--muted); }
.phero__lead { margin-top: 20px; font-size: 18px; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.phero__price { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.phero__price b { color: var(--ink); }
.phero__media { position: relative; }
.phero__img { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); background: #E9EEF3; aspect-ratio: 3 / 2; }
.phero__img img { width: 100%; height: 100%; object-fit: cover; }
.phero__cap { margin-top: 10px; font-size: 13px; color: var(--muted); text-align: right; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.kpi { padding: 20px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.kpi b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); line-height: 1.15; color: var(--navy); }
.kpi b small { font-size: .58em; font-weight: 600; color: var(--blue); }
.kpi span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.35; color: var(--muted); }

/* Якорное меню страницы */
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 64px); }
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 14px 12px; font-weight: 700; font-size: 14.5px; color: var(--muted); border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
.subnav a:hover { color: var(--blue); border-color: var(--blue); }

/* Задачи */
.tasks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.task { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); }
.task b { display: block; color: var(--ink); font-size: 17px; }
.task span { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); }

/* Исполнения */
.variants__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.variants__tabs button { padding: 11px 18px; border-radius: 30px; background: #fff; border: 1.5px solid var(--line); font-weight: 800; font-size: 15px; color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.variants__tabs button:hover { border-color: var(--blue); color: var(--blue); }
.variants__tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.variant { display: grid; grid-template-columns: 1fr 1.25fr; gap: 30px; padding: 30px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.variant + .variant { margin-top: 20px; }
.js .variant + .variant { margin-top: 0; }
.variant__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.variant h3 { font-size: 23px; }
.variant__chassis { margin-top: 6px; font-weight: 700; color: var(--blue); }
.variant__text { margin-top: 14px; }
.variant__list { margin: 16px 0 22px; display: grid; gap: 9px; }
.variant__list li { position: relative; padding-left: 26px; font-size: 15.5px; }
.variant__list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 3px; border-radius: 2px; background: var(--orange); }
.variant .table-wrap { align-self: start; }
.variant .table { min-width: 0; font-size: 14.5px; }
.variant .table th, .variant .table td { padding: 10px 14px; }
.variant .table tbody th { width: 54%; }

/* Устройство */
.schemes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.schemes--2 { grid-template-columns: repeat(2, 1fr); }
.scheme { border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; }
.scheme img { width: 100%; aspect-ratio: 595 / 472; object-fit: contain; background: #fff; }
.scheme figcaption { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.scheme figcaption b { display: block; color: var(--ink); font-size: 17px; }
.scheme figcaption span { display: block; margin-top: 6px; font-size: 15px; color: var(--muted); }

/* Галерея */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery button { position: relative; display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; background: #E9EEF3; }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button::after { content: ''; position: absolute; inset: 0; background: rgba(15, 18, 22, 0); transition: background .25s; }
.gallery button:hover::after { background: rgba(15, 18, 22, .18); }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 10, 12, .94); }
.lightbox::backdrop { background: rgba(8, 10, 12, .94); }
.lightbox__inner { width: 100%; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 64px 22px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; border-radius: 8px; }
.lightbox__cap { margin-top: 14px; color: #C9D6E3; font-size: 15px; text-align: center; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; transition: background .2s; }
.lightbox button:hover { background: rgba(255, 255, 255, .26); }
.lightbox__close { right: 16px; top: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Опции */
.options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; }
.options li { position: relative; padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); }
.options li::before { content: '+'; position: absolute; left: 0; top: 11px; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; background: var(--orange); color: #fff; font-weight: 800; font-size: 17px; line-height: 1; }
.options li b { color: var(--ink); }
.section--dark .options li { border-color: rgba(255, 255, 255, .12); }
.section--dark .options li b { color: #fff; }

/* Видео */
.video { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); box-shadow: var(--shadow-lg); }
.video button { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; }
.video button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .3s, transform .5s; }
.video button:hover img { opacity: 1; transform: scale(1.03); }
.video__play { position: relative; display: grid; place-items: center; width: 86px; height: 86px; border-radius: 50%; background: var(--orange); color: #fff; box-shadow: 0 0 0 12px rgba(217, 35, 42, .25); transition: transform .2s; }
.video button:hover .video__play { transform: scale(1.07); }
.video__play svg { width: 34px; height: 34px; margin-left: 5px; fill: currentColor; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__label { position: absolute; left: 20px; bottom: 16px; right: 20px; color: #fff; font-weight: 700; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); text-align: left; }

/* Поставка */
.supply { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.supply li { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.supply .icon { width: 30px; height: 30px; color: var(--orange); margin-bottom: 12px; }
.supply b { display: block; color: var(--ink); font-size: 17px; line-height: 1.3; }
.supply span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* Другие модели */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Призыв */
.cta { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 40px 44px; border-radius: 20px; background: linear-gradient(110deg, var(--navy) 0%, var(--navy-3) 100%); color: #C9D6E3; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 44px solid rgba(255, 97, 102, .1); pointer-events: none; }
.cta h2 { color: #fff; font-size: clamp(23px, 2.5vw, 31px); }
.cta p { margin-top: 10px; font-size: 17px; max-width: 640px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; z-index: 1; }

/* Текстовые страницы */
.doc { max-width: 840px; margin: 0 auto; padding: 50px var(--gutter) 90px; }
.doc h1 { font-size: clamp(27px, 3.4vw, 38px); margin-bottom: 12px; }
.doc h2 { font-size: 21px; margin: 36px 0 12px; }
.doc p, .doc li { margin-bottom: 10px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc .meta { color: var(--muted); margin-bottom: 28px; }

/* Нижняя панель на телефоне */
.mbar { display: none; }

/* Появление блоков */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .header__phone small { display: none; }
  .nav > a, .nav__drop > button { padding: 9px 9px; font-size: 14.5px; }
  .header__inner { gap: 16px; }
  .chassis { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .supply { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1140px) {
  :root { --header-h: 64px; }
  /* backdrop-filter делает шапку контейнером для position: fixed — на телефонах отключаем, иначе меню не раскроется на весь экран */
  .header { background: #fff; backdrop-filter: none; }
  .burger { display: block; order: 3; }
  .header__contacts { margin-left: auto; }
  .header__contacts .btn { display: none; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 14px var(--gutter) 110px; background: #fff; overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .25s, visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav > a, .nav__drop > button { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; justify-content: space-between; }
  .nav__drop > button .icon { display: none; }
  .nav__menu { position: static; opacity: 1; visibility: visible; transform: none; min-width: 0; border: 0; box-shadow: none; padding: 6px 0 10px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav__menu a { padding: 10px 8px; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
  .chooser { grid-template-columns: 1fr; }
  .chooser__tabs { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-text { grid-template-columns: 1fr; gap: 34px; }
  .order { grid-template-columns: 1fr; gap: 34px; }
  .phero__grid { grid-template-columns: 1fr; gap: 30px; }
  .phero__media { order: -1; }
  .tasks { grid-template-columns: repeat(2, 1fr); }
  .variant { grid-template-columns: 1fr; }
  .schemes { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: repeat(2, 1fr); }
  .terms { grid-template-columns: repeat(2, 1fr); }
  .cta { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 15.5px; padding-bottom: 68px; }
  .section { padding: 56px 0; }
  .section--tight { padding: 44px 0; }
  .section__head { margin-bottom: 30px; }
  .section__head p, .lead { font-size: 16.5px; }
  .logo__mark { width: 36px; height: 36px; }
  .logo__text b { font-size: 16.5px; }
  .logo__text small { font-size: 9.5px; letter-spacing: .3em; }
  .header__phone a { font-size: 0; }
  .header__phone a::before { content: ''; display: block; width: 44px; height: 44px; border-radius: 10px; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B8151B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2z'/%3E%3C/svg%3E") center / 22px no-repeat; }
  .hero__bg img { object-position: 50% 50%; }
  .hero::before { background: linear-gradient(180deg, rgba(11, 14, 17, .93) 0%, rgba(11, 14, 17, .8) 55%, rgba(11, 14, 17, .93) 100%); }
  .hero__inner { padding-top: 44px; padding-bottom: 30px; min-height: 0; }
  .table--compare thead th:first-child, .table--compare tbody th { position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--line); }
  .table--compare tbody th { background: #fff; }
  .table--compare tbody tr:nth-child(even) th { background: #F8FAFC; }
  .table--compare thead th:first-child { z-index: 2; }
  .hero__actions .btn { width: 100%; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 36px; }
  .stat { padding: 14px; }
  .catalog { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .card--wide .card__img { aspect-ratio: 3 / 2; }
  .card--wide .card__body { flex-direction: column; gap: 0; padding: 22px; }
  .card--wide .card__title { font-size: 24px; }
  .chooser__tabs { grid-template-columns: 1fr; }
  .chooser__panel { grid-template-columns: 1fr; min-height: 0; }
  .chooser__img { order: -1; aspect-ratio: 16 / 9; }
  .chooser__body { padding: 22px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 22px; }
  .chassis { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; }
  .supply { grid-template-columns: 1fr; }
  .tasks { grid-template-columns: 1fr; }
  .schemes, .schemes--2 { grid-template-columns: 1fr; }
  .related { grid-template-columns: 1fr; }
  .options { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .kpis { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 30px; }
  .kpi { padding: 14px 16px; }
  .phero { padding-bottom: 40px; }
  .phero__actions .btn { width: 100%; }
  .phero__logo { height: 44px; }
  .variant { padding: 20px; }
  .variants__tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--gutter) * -1) 16px; padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .variants__tabs::-webkit-scrollbar { display: none; }
  .variants__tabs button { flex: none; }
  .form { padding: 22px 18px; }
  .form__grid { grid-template-columns: 1fr; }
  .cta { padding: 28px 22px; }
  .cta__actions .btn { width: 100%; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; padding: 40px 0 28px; }
  .table th, .table td { padding: 11px 13px; }
  .table { font-size: 14.5px; }
  .lightbox__inner { padding: 60px 8px 18px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 14px; transform: none; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px;
    padding: 9px var(--gutter) calc(9px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 18, 22, .1);
  }
  .mbar .btn { min-height: 48px; padding: 10px 12px; font-size: 15.5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .header, .footer, .mbar, .subnav, .modal, .cta, .video, #order { display: none !important; }
  body { padding: 0; }
  .section { padding: 24px 0; }
  .js .reveal { opacity: 1; transform: none; }
  .js [role="tabpanel"][hidden] { display: grid !important; }
}

/* ---------- Дополнения для сайта Fliegl ---------- */
.nav__menu--cols { display: grid; grid-template-columns: repeat(3, minmax(220px, 1fr)); gap: 2px 14px; min-width: 780px; left: -140px; padding: 14px; align-items: start; }
.nav__menu--cols > div { display: flex; flex-direction: column; }
.nav__group { display: block; padding: 6px 12px 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.nav__menu--cols a { font-size: 14.5px; padding: 8px 12px; }
.nav__menu--cols a span { display: none; }

.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter button { padding: 11px 18px; border-radius: 30px; background: #fff; border: 1.5px solid var(--line); font-weight: 800; font-size: 15px; color: var(--ink); transition: background .2s, border-color .2s, color .2s; }
.filter button small { margin-left: 6px; font-size: 13px; font-weight: 700; opacity: .55; }
.filter button:hover { border-color: var(--blue); color: var(--blue); }
.filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.card[hidden] { display: none; }

.stock { display: grid; gap: 18px; }
.stock__item { display: grid; grid-template-columns: 360px 1fr 210px; gap: 30px; align-items: center; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.stock__img { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; background: #E9EEF3; }
.stock__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.stock__item:hover .stock__img img { transform: scale(1.04); }
.stock__img .card__badges { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.stock__body h3 { font-size: clamp(20px, 2vw, 24px); }
.stock__body h3 a:hover { color: var(--blue); }
.stock__body p { margin-top: 8px; font-size: 15.5px; color: var(--muted); }
.stock__specs { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 16px; }
.stock__specs li { font-size: 13.5px; color: var(--muted); }
.stock__specs b { display: block; font-size: 17px; color: var(--ink); white-space: nowrap; }
.stock__actions { display: flex; flex-direction: column; gap: 10px; }
.stock__actions .btn { width: 100%; justify-content: center; }
.stock__note { margin-top: 20px; font-size: 14.5px; color: var(--muted); }
.gallery__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.section--dark .options li { border-color: rgba(255, 255, 255, .12); }

@media (max-width: 1140px) {
  .nav__menu--cols { grid-template-columns: 1fr; min-width: 0; left: 0; padding: 4px 0 8px; }
  .nav__menu--cols a span { display: inline; }
  .stock__item { grid-template-columns: 300px 1fr; }
  .stock__actions { grid-column: 1 / -1; flex-direction: row; }
}
@media (max-width: 720px) {
  .stock__item { grid-template-columns: 1fr; gap: 18px; padding: 14px; }
  .stock__actions { flex-direction: column; }
}@media (min-width: 1141px) { .chassis--3 { grid-template-columns: repeat(3, 1fr); } }
.gallery--few { grid-template-columns: repeat(2, 1fr); max-width: 980px; }
.gallery--few button, .gallery--few button:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 2; }
