/* trike.by v2. Один файл стилей, всё на переменных. Токены — из хендоффа дизайна. */

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/onest-cyrillic-400.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/onest-latin-400.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: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/onest-cyrillic-500.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/onest-latin-500.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: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/onest-cyrillic-600.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/onest-latin-600.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: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/onest-cyrillic-700.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/onest-latin-700.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 {
  --c-ink: #12171d;
  --c-ink-2: #2b343d;
  --c-ink-3: #3d4751;
  --c-muted: #66707a;
  --c-panel: #1d252d;
  --c-panel-2: #232b33;
  --c-panel-3: #2a333c;
  --c-panel-line: #3a444e;
  --c-on-dark: #ffffff;
  --c-on-dark-2: #c9d3dc;
  --c-on-dark-3: #9fb0bf;
  --c-accent: #d8232a;
  --c-accent-hover: #b01c22;
  --c-accent-soft: #fdecec;
  --c-ok: #0b7a3b;
  --c-ok-bg: #e7f3ec;
  --c-stub: #9a6a0a;
  --c-stub-dark: #e0b35a;
  --c-err-dark: #ff8a8f;
  --c-bg: #ffffff;
  --c-soft: #f3f4f6;
  --c-soft-2: #f4f5f7;
  --c-seg: #e2e5e9;
  --c-line: #e1e5e9;
  --c-line-2: #e6e9ed;
  --c-line-3: #eceef1;
  --c-btn-line: #d6dbe0;
  --c-box-line: #c9cfd6;

  --ff: "Onest", system-ui, sans-serif;
  --fs-h1: clamp(30px, 5vw, 56px);
  --fs-h2: clamp(28px, 3.4vw, 40px);
  --fs-h3: clamp(22px, 2.4vw, 28px);
  --fs-lead: 18px;
  --fs-body: 16px;
  --fs-s: 14px;
  --fs-xs: 13px;
  --fs-min: 12px;

  --r-btn: 12px;
  --r-tag: 8px;
  --r-card: 18px;
  --r-panel: 22px;

  --wrap: 1240px;
  --gutter: 16px;
  --gap-card: 12px;
  --mbar-space: 74px; /* место, которое снизу занимает .mbar: отступ 10 + поля 8 + кнопка 48 + поля 8 */
  --shadow-room: 40px; /* запас под тенью --sh-card (сдвиг 12 + размытие 32) внутри лент с прокруткой */
  --focus-room: 4px; /* запас под обводкой фокуса: 2 px линия + 2 px отступ */
  --sp-section: clamp(48px, 9vw, 88px);
  --sp-panel: clamp(44px, 6vw, 64px);

  --sh-card: 0 12px 32px rgba(18, 23, 29, .10);
  --sh-float: 0 14px 40px rgba(18, 23, 29, .28);
  --sh-bar: 0 10px 30px rgba(18, 23, 29, .18);
}

*, *::before, *::after { box-sizing: border-box; }
/* Авторские правила display перебивают агентское [hidden]: без !important атрибут hidden
   не скрывает элемент, если у него где-то есть своё display (flex/grid/block). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font: var(--fs-body)/1.5 var(--ff);
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c-accent); }
input, textarea, select, button { font: inherit; color: inherit; }
::selection { background: var(--c-accent); color: var(--c-on-dark); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h3); line-height: 1.15; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
/* любой якорь (#biznes, #blog, #kontakty…) останавливается под липкой шапкой, а не за ней */
[id] { scroll-margin-top: 90px; }
.section { padding-top: var(--sp-section); }
/* текст только для экранного диктора */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.section--band {
  margin-top: var(--sp-section);
  padding: var(--sp-panel) 0;
  background: var(--c-soft-2);
}
.section--dark { background: var(--c-ink); color: var(--c-on-dark); }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 24px; }
.section__intro { margin-top: 10px; max-width: 640px; font-size: var(--fs-lead); line-height: 1.55; color: var(--c-ink-3); }

.stub { color: var(--c-stub); font-weight: 400; }
.section--dark .stub, .lead .stub { color: var(--c-stub-dark); }

.ph {
  display: grid;
  place-content: center;
  gap: 4px;
  text-align: center;
  padding: 16px;
  color: var(--c-muted);
  background: var(--c-soft);
  border: 1px dashed var(--c-btn-line);
  border-radius: var(--r-card);
}
.ph__label { font-size: var(--fs-s); font-weight: 600; }
.ph__hint { font-size: var(--fs-min); }
.ph--wide { aspect-ratio: 16 / 9; }
.ph--square { aspect-ratio: 1 / 1; }
.ph--card { aspect-ratio: 4 / 3; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 20px;
  border-radius: var(--r-btn);
  border: 1px solid var(--c-btn-line);
  background: var(--c-bg);
  color: var(--c-ink);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { border-color: var(--c-ink); color: var(--c-ink); }
.btn--dark { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-on-dark); }
.btn--dark:hover { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-dark); }
.btn--accent { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-dark); }
.btn--accent:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); color: var(--c-on-dark); }
.btn--sm { height: 40px; padding: 0 16px; font-size: var(--fs-s); }
.btn--block { width: 100%; }

.only-mob { display: none; }
@media (max-width: 1023px) {
  .only-desk { display: none !important; }
  .only-mob { display: block; }
}

/* --- шапка --- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-line-3);
}
.hdr__bar { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 12px 24px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 22px; letter-spacing: -0.03em; }
.logo__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); }
.logo__tld { color: var(--c-muted); }
.nav { flex: 1 1 0; min-width: 0; display: flex; gap: 18px; font-size: var(--fs-s); overflow-x: auto; scrollbar-width: none; white-space: nowrap; color: var(--c-ink-3); }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 0; border-bottom: 2px solid transparent; font-weight: 500; }
.nav a[aria-current="page"] { color: var(--c-ink); font-weight: 600; border-bottom-color: var(--c-accent); }
.hdr__phone { font-weight: 600; font-size: 15px; white-space: nowrap; }
.hdr__phone a, .mnav__meta a, .lead__call a { color: inherit; text-decoration: none; }
.burger { width: 44px; height: 44px; border: 0; border-radius: var(--r-btn); background: var(--c-soft); cursor: pointer; display: grid; place-content: center; gap: 4px; }
.burger span { width: 18px; height: 2px; border-radius: 2px; background: var(--c-ink); }
.mnav { border-top: 1px solid var(--c-line-3); padding: 12px 16px 18px; display: flex; flex-direction: column; gap: 4px; max-height: calc(100vh - 60px); overflow-y: auto; background: var(--c-bg); }
.mnav a.mnav__item { display: flex; align-items: center; justify-content: space-between; min-height: 48px; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--c-line-3); }
.mnav a.mnav__item::after { content: "→"; color: var(--c-muted); }
.mnav__meta { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: var(--fs-s); color: var(--c-ink-3); }

@media (max-width: 1279px) { .hdr__phone { display: none; } }
@media (max-width: 1023px) {
  .hdr__bar { padding: 8px var(--gutter); gap: 8px; }
  .hdr__bar .logo { flex: 1; font-size: 20px; }
  .hdr__bar .nav, .hdr__bar .btn--dark { display: none; }
}
@media (min-width: 1024px) { .burger, .hdr__call, .mnav { display: none !important; } }

/* --- форма заявки --- */
.lead {
  border-radius: var(--r-panel);
  background: var(--c-ink);
  color: var(--c-on-dark);
  padding: clamp(22px, 3vw, 36px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 20px 40px;
  align-items: start;
}
.lead__text { display: flex; flex-direction: column; gap: 10px; max-width: 420px; }
.lead__text h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; }
.lead__intro, .lead__call { font-size: 15px; line-height: 1.5; color: var(--c-on-dark-3); }
.lead__call b { color: var(--c-on-dark); font-weight: 600; }
.lead__body { grid-column: span 2; min-width: 0; }
.lead form { display: flex; flex-direction: column; gap: 10px; }
.lead__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; padding: 3px; border-radius: 10px; background: var(--c-panel-2); flex: 0 1 320px; }
.seg button { height: 38px; border: 0; border-radius: 8px; cursor: pointer; font-size: var(--fs-s); font-weight: 600; background: transparent; color: var(--c-on-dark-2); }
.seg button[aria-pressed="true"] { background: var(--c-on-dark); color: var(--c-ink); }
.lead__chip { display: flex; align-items: center; gap: 8px; border-radius: 10px; background: var(--c-panel-2); padding: 6px 6px 6px 12px; font-size: var(--fs-xs); min-width: 0; }
.lead__chip-x { border: 0; background: var(--c-panel-line); color: var(--c-on-dark); width: 22px; height: 22px; border-radius: 6px; cursor: pointer; }
.lead__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 10px; }
.lead input:not([type="checkbox"]), .lead select {
  height: 48px; border: 0; border-radius: 10px; background: var(--c-panel-2); color: var(--c-on-dark);
  padding: 0 14px; font-size: 15px; width: 100%; min-width: 0;
}
.lead input::placeholder { color: var(--c-on-dark-3); }
.lead__err { font-size: var(--fs-s); color: var(--c-err-dark); }
/* ловушка для ботов: поле есть в форме, но человеку не видно */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 2px; }
.lead__agree { flex: 1 1 300px; display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-xs); line-height: 1.45; cursor: pointer; color: var(--c-on-dark-2); }
.lead__agree input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--c-accent); cursor: pointer; }
.lead__agree a { color: var(--c-on-dark); text-decoration: underline; }
.lead__send { flex: 1 1 200px; max-width: 100%; height: 50px; }
/* заявка ушла: зелёная карточка, чтобы не потерялась среди белого текста тёмной плашки */
.lead__done { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; padding: 20px 22px; border-radius: var(--r-card); background: var(--c-ok); color: var(--c-on-dark); box-shadow: 0 10px 30px rgba(11, 122, 59, .35); outline: none; animation: lead-done .35s ease-out; }
.lead__done-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-on-dark); color: var(--c-ok); font-size: 24px; font-weight: 700; }
.lead__done-body { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lead__done-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.lead__done-text { font-size: 16px; line-height: 1.45; }
.lead__done-text b { white-space: nowrap; }
.lead__done-note { font-size: var(--fs-s); opacity: .85; }
.lead__done-hours { white-space: nowrap; }
.lead__done .lead__again { background: var(--c-on-dark); color: var(--c-ok); border-color: transparent; }
@keyframes lead-done { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lead__done { animation: none; } }
@media (max-width: 599px) { .lead__body { grid-column: auto; } }

/* --- мобильная нижняя панель --- */
.mbar {
  position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 45;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px;
  border-radius: 16px; background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--sh-bar);
}
@media (min-width: 1024px) { .mbar { display: none !important; } }

/* --- подвал --- */
.ftr { background: var(--c-soft-2); margin-top: 48px; }
.ftr__cols { max-width: var(--wrap); margin: 0 auto; padding: 40px var(--gutter) 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 28px; font-size: var(--fs-s); }
.ftr__col { display: flex; flex-direction: column; gap: 6px; line-height: 1.4; }
.ftr__label { font-size: var(--fs-xs); color: var(--c-muted); }
.ftr__about { color: var(--c-ink-3); line-height: 1.5; }
/* «Каталог» и «Компания» — <details>: на ПК открыты и не сворачиваются, на телефоне — аккордеон */
.ftr__group > summary { list-style: none; pointer-events: none; }
.ftr__group > summary::-webkit-details-marker { display: none; }
.ftr__group[open] > summary { margin-bottom: 6px; }
.ftr__links, .ftr__meta { display: flex; flex-direction: column; gap: 6px; line-height: 1.4; }
@media (max-width: 599px) {
  .ftr__cols { gap: 16px; padding: 28px var(--gutter) 8px; }
  .ftr__about, .ftr__col--contacts .ftr__label { display: none; }
  .ftr__col--contacts b { font-size: 18px; }
  .ftr__meta { flex-direction: row; flex-wrap: wrap; gap: 0; color: var(--c-ink-3); }
  .ftr__meta > span::before { content: "·"; padding: 0 8px; }
  .ftr__group { border-top: 1px solid var(--c-line); }
  .ftr__group + .ftr__group { margin-top: -16px; }
  .ftr__group:last-child { border-bottom: 1px solid var(--c-line); }
  .ftr__group > summary { pointer-events: auto; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 13px 0; font-size: 15px; color: var(--c-ink); }
  .ftr__group > summary::after { content: ""; width: 8px; height: 8px; border: solid var(--c-ink-3); border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .ftr__group[open] > summary { margin-bottom: 0; }
  .ftr__group[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
  .ftr__links { gap: 12px; padding: 2px 0 16px; }
  .ftr .ftr__bottom { flex-wrap: nowrap; align-items: flex-start; gap: 16px; padding-top: 16px; }
  .ftr .ftr__bottom .ftr__link { flex: none; }
}
.ftr__bottom { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter) 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: var(--fs-xs); color: var(--c-muted); }
.ftr__bottom a { color: inherit; text-decoration: underline; }
/* внизу экрана висит .mbar (или .pbar на странице товара): без запаса она закрывает низ подвала */
@media (max-width: 1023px) { .ftr { padding-bottom: var(--mbar-space); } }
body:has(.pbar) .ftr { padding-bottom: var(--mbar-space); }

/* --- текстовые страницы --- */
.prose { max-width: 760px; }
.req { margin: 20px 0 0; max-width: 760px; display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.req div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 4px 24px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.req dt { color: var(--c-muted); }
.req dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 599px) { .req div { grid-template-columns: minmax(0, 1fr); } }
.prose h1 { margin-bottom: 16px; }
.prose h2 { font-size: var(--fs-h3); margin: 32px 0 10px; }
.prose p { font-size: var(--fs-body); line-height: 1.6; color: var(--c-ink-2); margin-bottom: 12px; }
.prose__note { font-size: var(--fs-s); }

/* --- карточка в листинге --- */
.pc { display: flex; flex-direction: column; border: 1px solid var(--c-line-3); border-radius: var(--r-card); background: var(--c-bg); overflow: hidden; }
.pc:hover { box-shadow: var(--sh-card); }
.pc__media { position: relative; display: block; background: var(--c-soft); aspect-ratio: 4 / 3; }
.pc__media img { width: 100%; height: 100%; object-fit: contain; }
.pc__label, .pc__badge { position: absolute; top: 10px; padding: 4px 8px; border-radius: var(--r-tag); font-size: var(--fs-min); font-weight: 600; }
.pc__label { left: 10px; background: var(--c-accent); color: var(--c-on-dark); }
.pc__badge { right: 10px; background: var(--c-bg); color: var(--c-ink); }
.pc__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.pc__brand { font-size: var(--fs-xs); color: var(--c-ink-3); }
.pc__name { font-size: 18px; letter-spacing: -0.02em; }
.pc__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pc__chips li { padding: 3px 8px; border-radius: var(--r-tag); background: var(--c-soft); font-size: var(--fs-min); color: var(--c-ink-2); }
.pc__status { font-size: var(--fs-xs); font-weight: 600; color: var(--c-ok); }
.pc__status--wait { color: var(--c-accent); }
.pc__price .price__value { font-size: 21px; font-weight: 700; }
.pc__price .price__cur { margin-left: 4px; font-size: var(--fs-s); color: var(--c-muted); }
.pc__ask { font-weight: 600; }
/* текстовые кнопки — не ниже 32 px, иначе пальцем не попасть */
.pc__cmp { align-self: flex-start; min-height: 32px; border: 0; background: none; padding: 0; font-size: var(--fs-xs); color: var(--c-ink-3); cursor: pointer; }
.pc__cmp[aria-pressed="true"] { color: var(--c-accent); font-weight: 600; }
.pc__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.pc__more { min-height: 32px; border: 0; background: none; padding: 0; font-size: var(--fs-xs); color: var(--c-ink-3); cursor: pointer; text-align: left; }
.pc__more::after { content: " ▾"; }
.pc__more[aria-expanded="true"]::after { content: " ▴"; }
.pc__specs dl { margin: 0; display: grid; gap: 4px; font-size: var(--fs-xs); }
.pc__specs dl div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--c-line-3); padding: 4px 0; }
.pc__specs dt { color: var(--c-muted); }
.pc__specs dd { margin: 0; text-align: right; }
.pc__specs a { display: inline-block; margin-top: 8px; font-size: var(--fs-xs); font-weight: 600; }

/* --- хлебные крошки --- */
.crumbs { padding-top: 16px; font-size: var(--fs-xs); color: var(--c-muted); }

/* --- страница товара --- */
.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 40px; align-items: start; padding-top: 16px; }
.gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-card); background: var(--c-soft); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; }
.gallery__prev, .gallery__next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--c-bg); box-shadow: var(--sh-card); font-size: 22px; cursor: pointer; }
.gallery__prev { left: 12px; }
.gallery__next { right: 12px; }
.gallery__count { position: absolute; right: 12px; bottom: 12px; padding: 4px 10px; border-radius: var(--r-tag); background: var(--c-bg); font-size: var(--fs-xs); }
/* Ленты с overflow-x обрезают всё, что выходит за их край: тень карточки при наведении и обводку
   фокуса. Поэтому внутри ленты — запас полями, а отрицательные поля того же размера возвращают
   ленту на прежнее место. По бокам запас не больше --gutter: на телефоне дальше — край экрана.
   scroll-padding — чтобы привязка прокрутки ставила карточку туда же, где стоит первая. */
.gallery__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 76px; gap: 8px; overflow-x: auto; padding: var(--focus-room); margin: calc(10px - var(--focus-room)) calc(-1 * var(--focus-room)) calc(-1 * var(--focus-room)); }
.gallery__thumb { padding: 0; border: 1.5px solid transparent; border-radius: 10px; background: var(--c-soft); overflow: hidden; cursor: pointer; aspect-ratio: 1 / 1; }
.gallery__thumb[aria-current="true"] { border-color: var(--c-ink); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__slot .ph { padding: 6px; border-radius: 10px; }

.pinfo { display: flex; flex-direction: column; gap: 14px; }
.pinfo__type { font-size: var(--fs-s); color: var(--c-ink-3); }
.pinfo h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; }
.pinfo__status { align-self: flex-start; padding: 4px 10px; border-radius: var(--r-tag); background: var(--c-ok-bg); color: var(--c-ok); font-size: var(--fs-xs); font-weight: 600; }
.pinfo__status--wait { background: var(--c-accent-soft); color: var(--c-accent-hover); }
.pinfo__lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--c-ink-2); }
.pinfo__keys { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pinfo__keys div { padding: 12px; border-radius: var(--r-btn); background: var(--c-soft); }
.pinfo__keys dt { font-size: var(--fs-xs); color: var(--c-muted); }
.pinfo__keys dd { margin: 2px 0 0; font-weight: 600; }
.pinfo__price { display: flex; flex-direction: column; gap: 2px; }
.pinfo__price .price__value { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.pinfo__price .price__cur { margin-left: 6px; color: var(--c-muted); }
.pinfo__cta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.pinfo__perks { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: var(--fs-s); color: var(--c-ink-3); }
.pinfo__perks li::before { content: "✓ "; color: var(--c-ok); }

.acc__all { float: right; margin-top: -40px; border: 0; background: none; font-size: var(--fs-s); color: var(--c-ink-3); cursor: pointer; }
.acc { border-bottom: 1px solid var(--c-line); }
.acc:first-of-type { margin-top: 20px; }
.acc__head { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border: 0; background: none; font-size: 18px; font-weight: 600; text-align: left; cursor: pointer; }
.acc__count { font-size: var(--fs-xs); font-weight: 500; color: var(--c-muted); }
.spec { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: var(--fs-s); }
.spec th, .spec td { padding: 10px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--c-line-3); }
.spec th { width: 42%; font-weight: 500; color: var(--c-muted); padding-right: 16px; }

/* --- лента карточек: «Другие модели», карусели главной --- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: var(--gap-card); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 8px var(--gutter) var(--shadow-room); margin: 12px calc(-1 * var(--gutter)) calc(8px - var(--shadow-room)); }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1024px) { .rail { grid-auto-columns: calc((100% - 3 * var(--gap-card)) / 4); } }

/* --- плавающая полоса с ценой --- */
.pbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--sh-bar); }
.pbar__in { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.pbar__name { flex: 1; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbar__price .price__value { font-weight: 700; }

@media (max-width: 1023px) {
  .product { grid-template-columns: minmax(0, 1fr); }
  .acc__all { float: none; margin: 12px 0 0; }
}

/* --- каталог: заголовок и плитки разделов --- */
.no-scroll { overflow: hidden; }
.chead { padding-top: 18px; }
.chead h1 { max-width: 760px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.06; text-wrap: balance; }
.chead__lead { max-width: 760px; margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--c-ink-2); }
.ctiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); gap: 10px; overflow-x: auto; scrollbar-width: none; padding: var(--focus-room); margin: calc(24px - var(--focus-room)) calc(-1 * var(--focus-room)) calc(-1 * var(--focus-room)); }
.ctile { display: flex; flex-direction: column; gap: 4px; min-height: 150px; padding: 12px 12px 14px; border: 1.5px solid transparent; border-radius: 16px; background: var(--c-soft); color: var(--c-ink); text-decoration: none; transition: background .2s; }
.ctile:hover { background: var(--c-bg); }
.ctile[aria-current="page"] { background: var(--c-bg); border-color: var(--c-ink); }
.ctile img { height: 78px; width: 100%; object-fit: contain; mix-blend-mode: multiply; margin-bottom: 6px; }
.ctile__name { font-weight: 600; font-size: 15px; }
.ctile__count { font-size: var(--fs-xs); color: var(--c-ink-3); }

/* --- каталог: колонка фильтров и основная часть --- */
.cat { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 28px; }
.filters { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.fgroup { margin: 0; padding: 0 0 16px; border: 0; border-bottom: 1px solid var(--c-line-3); }
.fgroup legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.fopt { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: var(--fs-s); cursor: pointer; }
.fopt input { width: 18px; height: 18px; accent-color: var(--c-ink); }
.flabel { flex: 1; }
.fcount { font-size: var(--fs-xs); color: var(--c-muted); }
.fopt.is-empty { opacity: .45; }
.fhelp { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 14px; background: var(--c-soft); font-size: var(--fs-s); }
.fhelp span { color: var(--c-ink-3); }
.fhelp a { font-weight: 600; }
.filters__head, .filters__foot { align-items: center; gap: 10px; }
.filters__x { width: 44px; height: 44px; border: 0; border-radius: var(--r-btn); background: var(--c-soft); font-size: 22px; cursor: pointer; }
.fopen { display: none; }

.ctool { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; }
.ctool__found { margin-right: auto; font-size: var(--fs-s); color: var(--c-ink-3); }
.ctool__sort { height: 40px; padding: 0 12px; border: 1px solid var(--c-btn-line); border-radius: 10px; background: var(--c-bg); font: inherit; font-size: var(--fs-s); }
.seg--light { flex: 0 0 auto; background: var(--c-seg); }
.seg--light button { padding: 0 14px; color: var(--c-ink-3); }
.seg--light button[aria-pressed="true"] { background: var(--c-bg); color: var(--c-ink); }
.cchips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cchip { height: 32px; padding: 0 12px; border: 1px solid var(--c-btn-line); border-radius: 999px; background: var(--c-bg); font: inherit; font-size: var(--fs-xs); cursor: pointer; }
.cchip--reset { border-color: transparent; color: var(--c-accent); font-weight: 600; }

/* --- каталог: листинг --- */
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cgroup + .cgroup, .cbanner + .cgroup { margin-top: 48px; }
.cgroup__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; margin-bottom: 18px; }
.cgroup__head h2 { font-size: clamp(22px, 2.4vw, 28px); }
.cgroup__head p { margin-top: 6px; font-size: var(--fs-s); color: var(--c-ink-3); }
.cgroup__head a { font-size: var(--fs-s); font-weight: 600; white-space: nowrap; }
.cbiz { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-card); background: var(--c-panel); color: var(--c-on-dark); }
.cbiz ul { margin: 0; padding-left: 18px; font-size: var(--fs-s); color: var(--c-on-dark-2); }
.cbiz a:not(.btn) { color: var(--c-on-dark-3); font-size: var(--fs-s); }
/* фото парка машин внизу плашки, от края до края; верх растворяется в тёмном фоне */
.cbiz { overflow: hidden; }
.cbiz__media { position: relative; margin: auto -20px -20px; aspect-ratio: 1; }
.cbiz__media::before { content: ""; position: absolute; inset: -1px 0 auto; height: 45%; background: linear-gradient(var(--c-panel), transparent); z-index: 1; }
.cbiz__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cbanner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; padding: 22px 24px; border-radius: var(--r-card); background: var(--c-accent-soft); }
.cbanner div { flex: 1 1 320px; display: flex; flex-direction: column; gap: 4px; }
.cbanner span { font-size: var(--fs-s); color: var(--c-ink-3); }

/* фильтр или сортировка включены: одна сетка, порядок из catalog.js */
.listing--flat { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.listing--flat .cgroup, .listing--flat .cgrid { display: contents; }
.listing--flat .cgroup__head, .listing--flat .cbiz, .listing--flat .cbanner { display: none; }

/* вид «списком»: фото слева, текст справа */
.listing--list .cgrid, .listing--list.listing--flat { grid-template-columns: minmax(0, 1fr); }
.listing--list .pc { flex-direction: row; }
.listing--list .pc__media { flex: 0 0 240px; aspect-ratio: auto; }
.cempty { padding: 32px 0; font-size: var(--fs-lead); color: var(--c-ink-3); }

.ctrust { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ctrust li { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 14px; background: var(--c-soft); }
.ctrust span { font-size: var(--fs-xs); color: var(--c-ink-3); }

/* --- SEO-текст под листингом: заголовок слева, текст справа --- */
.seotext { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 48px; padding-bottom: var(--sp-section); }
.seotext h2 { font-size: clamp(22px, 2.4vw, 28px); }
.seotext__body { display: flex; flex-direction: column; gap: 12px; color: var(--c-ink-2); line-height: 1.6; }
.seotext__body h3 { margin-top: 12px; font-size: 19px; }
.seotext__body ul { margin: 0; padding-left: 20px; }
.seotext__more { align-self: flex-start; border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--c-accent); cursor: pointer; }
.seotext__more[aria-expanded="true"] { display: none; }
#seo-more { display: flex; flex-direction: column; gap: 12px; }

/* --- сравнение --- */
.cmpbar { position: fixed; left: 50%; bottom: 20px; z-index: 40; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 14px; background: var(--c-panel); color: var(--c-on-dark); box-shadow: var(--sh-float); font-size: var(--fs-s); }
.cmpbar .btn:not(.btn--accent) { background: transparent; border-color: var(--c-panel-line); color: var(--c-on-dark); }
.cmp { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(18, 23, 29, .55); }
.cmp__box { width: min(960px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; border-radius: var(--r-panel); background: var(--c-bg); overflow: hidden; }
.cmp__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--c-line-3); }
.cmp__head h2 { font-size: 22px; }
.cmp__x { width: 44px; height: 44px; border: 0; border-radius: var(--r-btn); background: var(--c-soft); font-size: 22px; cursor: pointer; }
.cmp__scroll { overflow: auto; }
.cmpt { width: 100%; border-collapse: collapse; font-size: var(--fs-s); }
.cmpt th, .cmpt td { padding: 10px 14px; border-bottom: 1px solid var(--c-line-3); text-align: left; vertical-align: top; }
.cmpt tbody th { color: var(--c-muted); font-weight: 400; white-space: nowrap; }
.cmpt thead th { font-weight: 600; }

@media (max-width: 1240px) {
  .cgrid, .listing--flat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .cat { grid-template-columns: minmax(0, 1fr); }
  .fopen { display: inline-flex; }
  .filters { display: none; }
  /* до 1023 px внизу висит .mbar (z-index 45): полоса сравнения встаёт над ней */
  .cmpbar { bottom: calc(var(--mbar-space) + 10px); }
  .filters--open { position: fixed; inset: 0; z-index: 70; display: flex; overflow-y: auto; padding: 16px var(--gutter) 96px; background: var(--c-bg); }
  .filters--open .filters__head { display: flex; justify-content: space-between; }
  .filters--open .filters__foot { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 2fr; padding: 12px var(--gutter); background: var(--c-bg); border-top: 1px solid var(--c-line-3); }
  .ctrust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seotext { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .cgrid, .listing--flat { grid-template-columns: minmax(0, 1fr); }
  .listing--list .pc { flex-direction: column; }
  .listing--list .pc__media { flex-basis: auto; aspect-ratio: 4 / 3; }
  .ctrust { grid-template-columns: minmax(0, 1fr); }
  .cmpbar { left: 12px; right: 12px; transform: none; }
  /* «Все модели» без фильтров: каждая группа листается пальцем вбок (хендофф, «Каталог») */
  .listing--grouped:not(.listing--flat):not(.listing--list) .cgrid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(82%, 300px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
  .listing--grouped:not(.listing--flat):not(.listing--list) .cgrid > * { scroll-snap-align: start; }
}
@media (max-width: 599px) { .pinfo__cta { grid-template-columns: 1fr; } }

/* --- статьи: карточки и страница --- */
.acards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.acard { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-card); background: var(--c-bg); color: var(--c-ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.acard:hover { transform: translateY(-2px); box-shadow: var(--sh-card); }
.acard__media { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--c-soft); overflow: hidden; }
.acard__media .ph { width: 100%; height: 100%; border-radius: 0; }
.acard__img { width: 78%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.acard__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 18px 18px; }
.acard__tag, .art__tag { font-size: var(--fs-xs); font-weight: 600; color: var(--c-accent); }
/* на /stati/ это h2: сбрасываем межбуквенный отступ заголовков, чтобы карточка выглядела как на главной */
.acard__title { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: normal; text-wrap: pretty; }
.acard__text { font-size: var(--fs-s); line-height: 1.5; color: var(--c-ink-3); }
.acard__more { margin-top: auto; padding-top: 10px; font-size: var(--fs-s); font-weight: 600; }
.acard__more span { color: var(--c-accent); }

.art { max-width: 820px; padding-top: 18px; }
.art__head { display: flex; flex-direction: column; gap: 10px; }
.art__head h1 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; text-wrap: balance; }
.art__cover { margin-top: 24px; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--r-card); background: var(--c-soft); overflow: hidden; }
.art__cover .ph { width: 100%; height: 100%; }
.art__img { width: 70%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
/* своя иллюстрация статьи — сцена, а не модель на белом: на всю рамку */
.acard__img--photo, .art__img--photo { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.art__body { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.65; color: var(--c-ink-2); }
.art__body h2 { margin-top: 18px; font-size: clamp(22px, 2.4vw, 28px); color: var(--c-ink); }
.art__body ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.art__models { margin-top: 24px; }

/* === главная (задача 6) === */
/* --- общие мелочи главной --- */
/* высота минимальная, а не жёсткая: на 375 px «Запросить коммерческое предложение» шире колонки и переносится */
.btn--lg { height: auto; min-height: 54px; max-width: 100%; padding: 8px 24px; font-size: var(--fs-body); white-space: normal; text-align: center; }
.btn--outline { background: transparent; border: 1.5px solid var(--c-ink); color: var(--c-ink); }
.btn--outline:hover { background: var(--c-ink); color: var(--c-on-dark); }
.btn--ghost { background: transparent; border: 1.5px solid var(--c-panel-line); color: var(--c-on-dark); }
.btn--ghost:hover { border-color: var(--c-on-dark); color: var(--c-on-dark); }
.tick { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--c-ok-bg); color: var(--c-ok); font-weight: 700; font-size: var(--fs-s); }
.tick--accent { background: var(--c-accent); color: var(--c-on-dark); }
.section__note { font-size: var(--fs-s); color: var(--c-ink-3); }
.section--band > .wrap > .section__head:first-child { margin-top: 0; }

/* --- первый экран (74-106) --- */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px 40px; align-items: center; padding-top: 24px; }
.hero__text-col { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.hero__badge { align-self: flex-start; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: var(--r-btn); background: var(--c-ink); color: var(--c-on-dark); font-size: var(--fs-s); font-weight: 500; }
.hero__badge > span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--c-accent); }
.hero h1 { font-size: clamp(30px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.04em; }
.hero__lead { max-width: 560px; font-size: var(--fs-lead); line-height: 1.55; color: var(--c-ink-2); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__trust { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.hero__trust li { display: flex; gap: 10px; align-items: flex-start; }
.hero__trust li > span:last-child { display: flex; flex-direction: column; gap: 2px; }
.hero__trust b { font-weight: 600; }
.hero__trust li > span:last-child > span { font-size: var(--fs-s); color: var(--c-ink-3); line-height: 1.4; }
.hero__panel { position: relative; container-type: inline-size; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border-radius: var(--r-panel); background: var(--c-soft-2); }
.hero__tabs { align-self: flex-end; display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-btn); background: var(--c-bg); }
.hero__tabs button { border: 0; border-radius: 9px; padding: 8px 12px; background: transparent; font: inherit; font-size: var(--fs-s); font-weight: 600; cursor: pointer; }
.hero__tabs button[aria-pressed="true"] { background: var(--c-ink); color: var(--c-on-dark); }
.hero__card { display: flex; flex-direction: column; gap: 12px; }
.hero__label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: var(--fs-s); font-weight: 600; }
.hero__hit, .hero__stock { padding: 5px 11px; border-radius: var(--r-tag); line-height: 1.3; }
.hero__hit { background: var(--c-accent); color: var(--c-on-dark); }
.hero__stock { background: var(--c-ok-bg); color: var(--c-ok); }
/* как в дизайне — надпись слева в одной строке с вкладками, если обе помещаются */
@container (min-width: 470px) { .hero__label { position: absolute; top: 16px; left: 16px; height: 45px; display: flex; align-items: center; } }
.hero__media { display: grid; place-items: center; aspect-ratio: 16 / 11; }
.hero__img { width: 92%; height: 92%; object-fit: contain; mix-blend-mode: multiply; }
.hero__info { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px; border-radius: 16px; background: var(--c-bg); }
.hero__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
/* характеристики одной строкой: не влезают рядом с ценой — цена с кнопкой уходят вниз */
.hero__brand, .hero__meta { font-size: var(--fs-s); color: var(--c-ink-3); }
.hero__meta { white-space: nowrap; font-size: var(--fs-xs); }
.hero__name { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.hero__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero__buy .btn { padding: 0 16px; }
.hero__price .price__value { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.hero__price .price__cur { margin-left: 4px; font-size: 18px; font-weight: 600; }

/* --- «Каталог магазина» (108-122) --- */
.stiles { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--focus-room); scrollbar-width: none; padding: var(--focus-room); margin: calc(-1 * var(--focus-room)); }
.stile { display: flex; flex-direction: column; gap: 10px; min-height: 200px; padding: 18px; border-radius: var(--r-card); background: var(--c-bg); color: var(--c-ink); text-decoration: none; scroll-snap-align: start; }
.stile:hover { background: var(--c-line-3); }
.stile__name { font-size: 17px; font-weight: 500; }
.stile__sub { font-size: var(--fs-s); color: var(--c-ink-3); }
.stile__media { flex: 1; display: flex; align-items: flex-end; justify-content: center; min-height: 110px; }
.stile__media img { width: 100%; height: 120px; object-fit: contain; mix-blend-mode: multiply; }

/* --- подбор по весу (126-156) --- */
.pick { padding: clamp(22px, 4vw, 44px); border: 1.5px solid var(--c-line); border-radius: var(--r-panel); background: var(--c-bg); box-shadow: 0 12px 40px rgba(18, 23, 29, .07); }
.pick__badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px; border-radius: 10px; background: var(--c-accent-soft); color: var(--c-accent-hover); font-size: var(--fs-s); font-weight: 600; }
.pick__badge > span { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.pick__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 32px; align-items: start; }
.pick__side { display: flex; flex-direction: column; gap: 12px; }
/* 2 × 2: в четыре колонки «до 1000 кг» переносится по словам */
.pick__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pick__btn { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 0; border-radius: 14px; background: var(--c-soft); color: var(--c-ink); text-align: left; font: inherit; cursor: pointer; }
.pick__btn[aria-pressed="true"] { background: var(--c-ink); color: var(--c-on-dark); }
.pick__big { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.pick__sub { font-size: var(--fs-xs); opacity: .7; }
.pick__list { padding: 6px; border: 1px solid var(--c-line-2); border-radius: 14px; }
.pick__row { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; min-height: 64px; padding: 8px; border-radius: var(--r-btn); color: var(--c-ink); text-decoration: none; }
.pick__row:hover { background: var(--c-soft); }
.pick__img { display: grid; place-items: center; width: 64px; height: 48px; border-radius: 10px; background: var(--c-soft); overflow: hidden; }
.pick__img img { width: 90%; height: 90%; object-fit: contain; mix-blend-mode: multiply; }
.pick__img .ph { width: 100%; height: 100%; padding: 0; border: 0; }
.pick__img .ph__label, .pick__img .ph__hint { display: none; }
.pick__name { min-width: 0; display: flex; flex-direction: column; }
.pick__name b { font-weight: 500; font-size: 15px; }
.pick__name span { font-size: var(--fs-xs); color: var(--c-ink-3); }
.pick__price { font-weight: 600; font-size: 15px; white-space: nowrap; }

/* --- ленты (158-197, 233-275) --- */
.car__track { display: flex; gap: 12px; align-items: stretch; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding: 8px var(--gutter) var(--shadow-room); margin: -6px calc(-1 * var(--gutter)) calc(6px - var(--shadow-room)); }
.car__track > .pc { flex: 0 0 min(78%, 272px); scroll-snap-align: start; }
.car__nav { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.car__count { font-size: var(--fs-s); font-weight: 600; white-space: nowrap; }
.car__bar { flex: 1; height: 4px; border-radius: 2px; background: var(--c-line-2); overflow: hidden; }
.car__bar > span { display: block; height: 100%; width: 100%; border-radius: 2px; background: var(--c-ink); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.car__btn { width: 44px; height: 44px; border: 1px solid var(--c-btn-line); border-radius: var(--r-btn); background: var(--c-bg); font-size: 20px; cursor: pointer; }
.car__btn--dark { border: 0; background: var(--c-ink); color: var(--c-on-dark); }
#skutery .seg { grid-template-columns: repeat(3, auto); }

/* --- для бизнеса (199-231) --- */
.biz { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 28px 56px; align-items: start; }
.biz__text { display: flex; flex-direction: column; gap: 16px; }
.biz__eyebrow { font-size: 15px; font-weight: 600; color: var(--c-err-dark); }
.biz__lead { font-size: 17px; line-height: 1.6; color: var(--c-on-dark-2); }
.biz__offer { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.biz__offer li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.biz__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.biz__cta .btn { flex: 1 1 auto; }
.biz__segs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 10px; align-self: stretch; }
.bseg { display: flex; flex-direction: column; gap: 14px; padding: 18px 18px 16px; border-radius: 16px; background: var(--c-panel); color: var(--c-on-dark); text-decoration: none; transition: background .2s; }
.bseg:hover { background: var(--c-panel-3); color: var(--c-on-dark); }
.bseg__icon { width: 56px; height: 56px; flex: none; }
.bseg__body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.bseg__body b { font-size: 17px; font-weight: 600; }
.bseg__body > span:not(.bseg__model) { font-size: var(--fs-s); line-height: 1.5; color: var(--c-on-dark-2); }
.bseg__model { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--c-panel-line); display: flex; justify-content: space-between; gap: 8px; font-size: var(--fs-s); font-weight: 600; }
.bseg__model span:last-child { color: var(--c-err-dark); }

/* --- для пожилых (277-292) --- */
.elder { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 12px; }
/* фото сцены на всю плашку: на ПК обрезается до высоты текста, на телефоне — почти до квадрата */
.elder__media { position: relative; overflow: hidden; min-height: 320px; border-radius: var(--r-panel); background: var(--c-soft-2); }
.elder__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.elder__text { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--c-line-2); border-radius: var(--r-panel); }
.elder__eyebrow { font-size: var(--fs-s); color: var(--c-ink-3); }
.elder__text h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; }
.elder__text p { font-size: 17px; line-height: 1.55; color: var(--c-ink-3); }
.elder__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* --- почему мы (294-309) --- */
.why { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.why__item { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-card); background: var(--c-bg); box-shadow: 0 1px 2px rgba(18, 23, 29, .05); }
.why__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-btn); background: var(--c-ink); color: var(--c-on-dark); font-weight: 700; font-size: 15px; }
.why__item b { font-size: 18px; font-weight: 600; }
.why__item > span:not(.why__n) { font-size: 15px; line-height: 1.5; color: var(--c-ink-2); }

/* --- о магазине (312-330) --- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 28px 48px; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-panel); background: var(--c-soft-2); }
.about__text { display: flex; flex-direction: column; gap: 16px; }
.about__text p { font-size: 17px; line-height: 1.6; color: var(--c-ink-2); }
.about__eyebrow { font-size: 15px; font-weight: 600; color: var(--c-accent); }
/* кнопка прижата к низу колонки — вровень с цифрами под фото */
.about__more { align-self: flex-start; margin-top: auto; }
.about__side { display: flex; flex-direction: column; gap: 10px; }
.about__photo { margin: 0; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--c-line-2); }
.about__img { width: 100%; height: 100%; object-fit: cover; }
/* «О компании»: фото без цифр — рамка тянется на высоту текста, картинка не задаёт высоту ряда */
.about--page .about__photo { position: relative; aspect-ratio: 4 / 3; }
.about--page .about__img { position: absolute; inset: 0; }
@media (min-width: 900px) { .about--page .about__photo { aspect-ratio: auto; flex: 1; min-height: 280px; } }
/* цифры под фото — одной строкой из четырёх, на узком экране 2×2 */
.about__facts { list-style: none; margin: auto 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.about__facts li { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--c-bg); }
.about__facts b { font-size: clamp(20px, 2vw, 26px); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.about__facts span { font-size: var(--fs-xs); line-height: 1.35; color: var(--c-ink-3); hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 599px) { .about__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* --- частые вопросы (332-347) --- */
.faq__intro { margin-top: 12px; font-size: clamp(18px, 1.8vw, 21px); line-height: 1.5; color: var(--c-ink-2); }
.faq__intro a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.faq__intro a[href="#zayavka"] { color: var(--c-accent); }
.faq { margin-top: 24px; border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q { width: 100%; min-height: 56px; display: flex; align-items: center; gap: 16px; padding: 18px 0; border: 0; background: transparent; font: inherit; font-size: 18px; font-weight: 600; text-align: left; cursor: pointer; color: var(--c-ink); }
.faq__q > span:first-child { flex: 1; }
.faq__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--c-soft); position: relative; }
.faq__icon::before { content: "▾"; position: absolute; inset: 0; display: grid; place-items: center; transition: transform .2s; }
.faq__q[aria-expanded="true"] .faq__icon::before { transform: rotate(180deg); }
.faq__a p { max-width: 820px; margin: 0 0 18px; font-size: var(--fs-body); line-height: 1.6; color: var(--c-ink-2); }

@media (max-width: 1023px) { .why { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* четыре пункта доверия и четыре сегмента — 2 × 2, а не 3 + 1 на планшете; на телефоне в столбик */
@media (max-width: 559px) { .why, .hero__trust, .biz__segs { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .car__bar > span, .faq__icon::before, .acard { transition: none; } }

/* карточка статьи на серой полосе (главная, /stati/): фон картинки темнее полосы, иначе сливается */
.section--band .acard__media { background: var(--c-line-2); }

/* --- 404: трицикл из заглушки с мигающими фарами --- */
.nf { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(32px, 6vw, 72px); }
.nf__text { display: flex; flex-direction: column; gap: 18px; }
.nf__code { font-size: clamp(64px, 10vw, 120px); font-weight: 700; line-height: .9; letter-spacing: -0.05em; color: var(--c-accent); }
.nf h1 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; }
.nf__lead { max-width: 34ch; font-size: var(--fs-lead); line-height: 1.55; color: var(--c-ink-2); }
.nf__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.nf__call { color: var(--c-ink-3); }
.nf__call a { font-weight: 600; color: var(--c-ink); }
.nf__scene { position: relative; width: 100%; max-width: 600px; aspect-ratio: 3 / 2; justify-self: center; }
.nf__scene > * { position: absolute; }
.nf__disc { left: 14%; top: -6%; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--c-accent); }
.nf__img { inset: 0; width: 100%; height: 100%; object-fit: contain; }
/* центр фары (--x, --y) и диаметр свечения (--s) в долях кадра 3:2; высота квадрата = --s × 1,5 */
.nf__glow { left: calc(var(--x) - var(--s) / 2); top: calc(var(--y) - var(--s) * .75); width: var(--s); aspect-ratio: 1; border-radius: 50%; animation: nf-blink 2.4s ease-in-out infinite; pointer-events: none; }
.nf__glow--main { --x: 19.3%; --y: 36.5%; --s: 15%; background: radial-gradient(rgba(255, 255, 255, .95), rgba(220, 235, 255, .5) 35%, transparent 70%); }
.nf__glow--side { --x: 14.7%; --y: 43.3%; --s: 8%; background: radial-gradient(rgba(255, 255, 255, .9), rgba(255, 240, 200, .45) 40%, transparent 70%); animation-delay: .15s; }
.nf__glow--low { --x: 35.8%; --y: 51.5%; --s: 9%; background: radial-gradient(rgba(255, 255, 255, .9), rgba(255, 240, 200, .45) 40%, transparent 70%); animation-delay: .3s; }
@keyframes nf-blink { 0%, 100% { opacity: 0; transform: scale(.6); } 15%, 45% { opacity: 1; transform: scale(1); } 60% { opacity: 0; transform: scale(.6); } }
@media (prefers-reduced-motion: reduce) { .nf__glow { animation: none; opacity: .85; } }

/* --- плашка о cookie: внизу слева на ПК, на всю ширину над нижней панелью на телефоне --- */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 55; width: min(360px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 10px; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--r-card); background: var(--c-bg); box-shadow: var(--sh-float); }
.cookie__text { font-size: var(--fs-xs); line-height: 1.5; color: var(--c-ink-2); }
.cookie__text a { color: var(--c-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie__text b { color: var(--c-ink); font-weight: 700; }
.cookie__btns { display: flex; gap: 8px; }
.cookie__btns .btn { flex: 1 1 0; }
@media (min-width: 1024px) { .cookie__btns .btn--sm { height: 34px; padding: 0 12px; font-size: var(--fs-xs); } }
body:has(.pbar) .cookie { bottom: calc(var(--mbar-space) + 8px); }
.ftr__link { border: 0; padding: 0; background: none; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
@media (max-width: 1023px) {
  .cookie { left: 10px; right: 10px; width: auto; gap: 12px; padding: 16px 18px; bottom: calc(var(--mbar-space) + 8px); }
}
/* сегменты «Для бизнеса» в одну колонку: иконка слева от текста, карточка ниже */
@media (max-width: 559px) {
  .bseg { flex-direction: row; align-items: flex-start; gap: 14px; padding: 16px; }
  .bseg__icon { width: 44px; height: 44px; }
}
