/* ==========================================================================
   ИНДРИС — главная страница (прототип редизайна)
   Цвета логотипа: navy #21415F, steel #457AA6. Акцент — сигнальный жёлтый,
   как на пластинах навесного оборудования.
   ========================================================================== */

:root {
  --navy-950: #0A1826;
  --navy-900: #0F2337;
  --navy-800: #17314B;
  --navy: #21415F;
  --navy-600: #2D5579;
  --steel: #457AA6;
  --steel-400: #6A98C0;
  --steel-200: #BCD3E7;
  --steel-100: #E2ECF5;
  --steel-50: #F1F6FA;

  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --surface-2: #EEF2F6;
  --ink: #0E1C2B;
  --ink-2: #2B3B4C;
  --muted: #5E6E80;
  --line: #DDE4EB;
  --line-2: #E8EDF2;

  --accent: #FFC21F;
  --accent-600: #F2B000;
  --ok: #1F9D63;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --cut: 14px;

  --sh-1: 0 1px 2px rgba(14, 28, 43, .05), 0 4px 14px rgba(14, 28, 43, .05);
  --sh-2: 0 18px 40px -16px rgba(14, 28, 43, .28);

  --ff-head: "Unbounded", system-ui, sans-serif;
  --ff: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1320px;
  --gutter: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font: 400 16px/1.55 var(--ff);
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; border-radius: 6px; }
.sr-only { 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: clamp(56px, 7vw, 104px) 0; }
.section--bg { background: var(--bg); }

.icon { width: 20px; height: 20px; }
.icon--sm { width: 16px; height: 16px; }

/* фирменная «стрелка» из знака — используется как маркер */
.arrow-glyph {
  display: inline-block; width: 10px; height: 12px; background: currentColor;
  clip-path: polygon(0 0, 100% 37%, 46% 37%, 46% 100%);
}

/* ---------- typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px/1.2 var(--ff); letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel);
}
.eyebrow::before {
  content: ""; width: 10px; height: 12px; background: currentColor;
  clip-path: polygon(0 0, 100% 37%, 46% 37%, 46% 100%);
}
.eyebrow--light { color: var(--steel-200); }

.h2 {
  font: 600 clamp(26px, 3vw, 40px)/1.12 var(--ff-head);
  letter-spacing: -.02em; color: var(--navy-950);
}
.h2 span { color: var(--steel); }
.lead { font-size: clamp(16px, 1.3vw, 18px); color: var(--muted); line-height: 1.6; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(28px, 3.4vw, 44px);
}
.section-head__text { display: grid; gap: 14px; max-width: 760px; }
.link-more {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-weight: 600; color: var(--navy); padding: 8px 0;
  border-bottom: 1.5px solid var(--steel-200); transition: border-color .2s, gap .2s var(--ease);
}
.link-more:hover { border-color: var(--navy); gap: 12px; }

/* ---------- buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 12px;
  font: 600 15px/1 var(--ff); white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--go { transform: translateX(4px); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn--accent { background: var(--accent); color: var(--navy-950); }
.btn--accent:hover { background: var(--accent-600); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-800); }
.btn--ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn--line-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.btn--line-light:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn--block { width: 100%; white-space: normal; text-align: center; height: auto; min-height: var(--h); padding-top: 10px; padding-bottom: 10px; line-height: 1.25; }
/* срез угла — как у стрелок в знаке */
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px; color: var(--navy);
  transition: background-color .2s, color .2s;
}
.icon-btn:hover { background: var(--surface-2); }
.icon-btn .badge {
  position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 9px;
  background: var(--accent); color: var(--navy-950); font: 700 11px/1 var(--ff);
  transform: scale(0); transition: transform .25s var(--ease);
}
.icon-btn .badge.is-on { transform: scale(1); }
.icon-btn .badge.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--navy-950); color: var(--steel-200); font-size: 13px; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 40px; }
.topbar__list { display: flex; align-items: center; gap: 24px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item .icon { width: 15px; height: 15px; color: var(--steel-400); }
.topbar a:hover { color: #fff; }
.socials { display: flex; gap: 6px; }
.socials a {
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
  color: var(--steel-200); transition: background-color .2s, color .2s;
}
.socials a:hover { background: rgba(255,255,255,.08); color: #fff; }
.socials .icon { width: 16px; height: 16px; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(14,28,43,.35); }
.header__row { display: flex; align-items: center; gap: 20px; height: 80px; }
.header__logo img { width: 172px; }
.header__burger { display: none; }

.catalog-btn { height: 48px; padding: 0 20px 0 16px; gap: 12px; }
.catalog-btn .burger-ico { width: 18px; height: 14px; position: relative; display: inline-block; }
.catalog-btn .burger-ico i {
  position: absolute; left: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s, width .25s var(--ease);
}
.catalog-btn .burger-ico i:nth-child(1) { top: 0; width: 100%; }
.catalog-btn .burger-ico i:nth-child(2) { top: 6px; width: 70%; }
.catalog-btn .burger-ico i:nth-child(3) { top: 12px; width: 100%; }
.catalog-btn[aria-expanded="true"] .burger-ico i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.catalog-btn[aria-expanded="true"] .burger-ico i:nth-child(2) { opacity: 0; }
.catalog-btn[aria-expanded="true"] .burger-ico i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.search { position: relative; flex: 1; min-width: 160px; }
.search input {
  width: 100%; height: 48px; padding: 0 52px 0 18px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg);
  transition: border-color .2s, background-color .2s;
}
.search input::placeholder { color: #8796A6; }
.search input:focus { outline: none; border-color: var(--steel); background: #fff; }
.search button {
  position: absolute; right: 5px; top: 5px; width: 38px; height: 38px; border-radius: 9px;
  display: grid; place-items: center; color: var(--navy);
}
.search button:hover { background: var(--surface-2); }

.header__phone { display: grid; gap: 2px; text-align: right; line-height: 1.15; }
.header__phone > a:first-child { font: 600 17px/1.2 var(--ff-head); letter-spacing: -.01em; color: var(--navy-950); }
.header__phone .callback-link {
  font-size: 13px; color: var(--steel); font-weight: 500;
  border-bottom: 1px dashed currentColor; justify-self: end;
}
.header__phone .callback-link:hover { color: var(--navy); }
.header__actions { display: flex; gap: 4px; }

/* mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px rgba(14,28,43,.35);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .25s var(--ease); }
.mega__grid { display: grid; grid-template-columns: 1.25fr repeat(4, 1fr); gap: 28px; padding: 32px 0 36px; }
.mega__col h3 {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font: 600 14px/1.3 var(--ff-head); color: var(--navy-950);
}
.mega__col h3 .arrow-glyph { color: var(--steel); }
.mega__col--accent { background: var(--steel-50); border-radius: var(--r); padding: 20px; margin: -20px 0; }
.mega__col li a {
  display: flex; justify-content: space-between; gap: 12px; padding: 7px 0;
  color: var(--ink-2); font-size: 14.5px; transition: color .15s, padding .2s var(--ease);
}
.mega__col li a:hover { color: var(--steel); padding-left: 4px; }
.mega__col li small { color: #94A3B3; font-size: 12.5px; }
.mega__all { margin-top: 10px; font-weight: 600; font-size: 14px; color: var(--navy); display: inline-flex; gap: 6px; align-items: center; }

.mainnav { background: #fff; border-bottom: 1px solid var(--line-2); }
.mainnav__list { display: flex; align-items: center; gap: 4px; height: 52px; overflow-x: auto; scrollbar-width: none; }
.mainnav__list::-webkit-scrollbar { display: none; }
.mainnav__list a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.mainnav__list a:hover { background: var(--bg); color: var(--navy); }
.mainnav__list a.is-hot { color: var(--navy); font-weight: 600; }
.mainnav__list a.is-hot::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--accent);
  transform: rotate(45deg);
}
.mainnav__list .sep { flex: 1; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--bg); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 30%, transparent 75%);
}
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 32px; align-items: center;
  padding-top: clamp(40px, 5vw, 72px); padding-bottom: 32px;
}
.hero__content { display: grid; gap: 24px; justify-items: start; position: relative; z-index: 2; }
.hero__title {
  font: 700 clamp(34px, 4.2vw, 60px)/1.06 var(--ff-head);
  letter-spacing: -.035em; color: var(--navy-950);
}
.hero__title span { color: var(--steel); display: inline-block; }
.hero__lead { max-width: 540px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, auto); gap: 8px 36px;
  margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--line);
}
.hero__facts div { display: grid; gap: 4px; }
.hero__facts dt { font: 600 clamp(22px, 2.2vw, 30px)/1 var(--ff-head); color: var(--navy); letter-spacing: -.02em; }
.hero__facts dd { font-size: 13.5px; color: var(--muted); line-height: 1.35; max-width: 160px; }

.hero__visual { position: relative; aspect-ratio: 1.18; }
.hero__mark {
  position: absolute; inset: -4% -10% -4% 4%; width: 106%; height: 108%;
  z-index: 0; overflow: visible;
}
.hero__mark path { transform-box: fill-box; }
.hero__mark .m-steel { fill: var(--steel-100); }
.hero__mark .m-navy { fill: #DAE4EE; }
.hero__img {
  position: absolute; z-index: 1; left: -6%; right: -4%; top: 22%;
  width: 110%; max-width: none; mix-blend-mode: multiply;
  /* фон обложек Индриса #F7F7F7 — доводим до белого, чтобы multiply его «съел» */
  filter: brightness(1.035);
}
.hotspot { position: absolute; z-index: 3; left: var(--x); top: var(--y); }
.hotspot__dot {
  position: relative; display: block; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 4px 10px rgba(14,28,43,.3);
  transform: translate(-50%, -50%);
}
.hotspot__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--accent); animation: ping 2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
.hotspot__card {
  position: absolute; right: 12px; top: 14px; width: 236px;
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center;
  padding: 10px 14px 10px 10px; border-radius: 14px; background: #fff; box-shadow: var(--sh-2);
  transition: transform .25s var(--ease);
}
.hotspot:hover .hotspot__card { transform: translateY(-3px); }
.hotspot__card img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: var(--steel-50); mix-blend-mode: multiply; }
.hotspot__card b { display: block; font-size: 13px; line-height: 1.3; color: var(--navy-950); font-weight: 600; }
.hotspot__card span { font-size: 13px; color: var(--steel); font-weight: 600; }

/* сборка знака при загрузке */
.js .hero__mark .m1 { animation: in-tl 1.1s var(--ease) both .15s; }
.js .hero__mark .m2 { animation: in-tr 1.1s var(--ease) both .25s; }
.js .hero__mark .m3 { animation: in-bl 1.1s var(--ease) both .35s; }
.js .hero__mark .m4 { animation: in-br 1.1s var(--ease) both .45s; }
@keyframes in-tl { from { transform: translate(-30%, -20%); opacity: 0; } }
@keyframes in-tr { from { transform: translate(20%, -30%); opacity: 0; } }
@keyframes in-bl { from { transform: translate(-20%, 30%); opacity: 0; } }
@keyframes in-br { from { transform: translate(30%, 20%); opacity: 0; } }
/* картинку не анимируем: анимация ломает mix-blend-mode в Chrome */

/* быстрые типы навесного */
.types { position: relative; z-index: 2; padding-bottom: clamp(32px, 4vw, 56px); }
.types__list {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px;
}
.type {
  display: grid; justify-items: center; gap: 8px; padding: 14px 8px 12px;
  border-radius: 14px; background: rgba(255,255,255,.75); border: 1px solid var(--line-2);
  text-align: center; font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: border-color .2s, transform .2s var(--ease), box-shadow .2s, background-color .2s;
}
.type img { width: 100%; height: 64px; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s var(--ease); }
.type small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; margin-top: -4px; }
.type:hover { background: #fff; border-color: var(--steel-200); transform: translateY(-3px); box-shadow: var(--sh-1); }
.type:hover img { transform: scale(1.06); }

/* ==========================================================================
   Product card
   ========================================================================== */
.pcard {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r);
  overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease), border-color .25s;
}
.pcard:hover { box-shadow: var(--sh-2); transform: translateY(-4px); border-color: transparent; }
.pcard__media {
  position: relative; display: block; aspect-ratio: 4 / 3; background: var(--steel-50);
  overflow: hidden;
}
.pcard__media img {
  position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain;
  mix-blend-mode: multiply; transition: transform .4s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__media--cover img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.pcard__flags { position: absolute; left: 12px; top: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; }
.flag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 7px;
  font-size: 12px; font-weight: 600; background: #fff; color: var(--navy); box-shadow: var(--sh-1);
}
.flag--accent { background: var(--accent); color: var(--navy-950); }
.flag--dark { background: rgba(10,24,38,.72); color: #fff; box-shadow: none; backdrop-filter: blur(4px); }
.pcard__compare {
  position: absolute; right: 10px; top: 10px; z-index: 1; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; background: #fff; color: var(--muted); box-shadow: var(--sh-1);
  transition: color .2s, background-color .2s;
}
.pcard__compare:hover { color: var(--navy); }
.pcard__compare.is-on { background: var(--navy); color: #fff; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 18px; flex: 1; }
.pcard__tag { font-size: 12.5px; color: var(--steel); font-weight: 600; }
.pcard__title { font: 600 15px/1.35 var(--ff); color: var(--navy-950); overflow-wrap: break-word; hyphens: auto; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; } /* вся карточка кликабельна */
.pcard__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); }
.pcard__meta span { display: inline-flex; align-items: center; gap: 6px; }
.pcard__meta .icon { width: 14px; height: 14px; color: var(--steel-400); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 10px; }
.pcard__price { font: 600 18px/1.1 var(--ff-head); color: var(--navy-950); letter-spacing: -.02em; white-space: nowrap; }
.pcard__price small { font: 500 13px var(--ff); color: var(--muted); letter-spacing: 0; margin-right: 2px; }
.pcard__price--req { font: 600 15px var(--ff); color: var(--steel); }
.pcard__cart {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: var(--accent); color: var(--navy-950);
  transition: background-color .2s, transform .2s var(--ease);
}
.pcard__cart:hover { background: var(--accent-600); }
.pcard__cart.is-added { background: var(--ok); color: #fff; }
.pcard__req { position: relative; z-index: 1; }

/* ==========================================================================
   Подбор по технике
   ========================================================================== */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 8px 0 18px;
  border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; font-size: 15px; color: var(--ink-2);
  transition: border-color .2s, background-color .2s, color .2s;
}
.tab b {
  min-width: 32px; height: 32px; padding: 0 8px; border-radius: 8px; display: grid; place-items: center;
  font: 600 13px/1 var(--ff-head); background: var(--surface-2); color: var(--navy);
  transition: background-color .2s, color .2s;
}
.tab:hover { border-color: var(--steel-200); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tab[aria-selected="true"] b { background: var(--accent); color: var(--navy-950); }

.picker { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2fr); gap: 20px; align-items: stretch; }
.picker__machine {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--r-lg); background: var(--steel-50); overflow: hidden;
  isolation: isolate;
}
.picker__machine::before {
  content: ""; position: absolute; right: -60px; top: -40px; width: 260px; height: 270px; z-index: -1;
  background: url("../img/mark.svg") no-repeat center / contain; opacity: .07;
}
.picker__machine img {
  width: 116%; max-width: none; margin: -4px -8% 0; aspect-ratio: 2.15; object-fit: contain;
  mix-blend-mode: multiply;
  filter: brightness(1.035);
}
.picker__machine h3 { font: 600 22px/1.2 var(--ff-head); color: var(--navy-950); letter-spacing: -.02em; }
.picker__machine p { color: var(--muted); font-size: 15px; }
.picker__stats { display: flex; gap: 28px; padding: 14px 0; border-top: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200); }
.picker__stats div { display: grid; gap: 2px; }
.picker__stats b { font: 600 20px/1.1 var(--ff-head); color: var(--navy); white-space: nowrap; }
.picker__stats span { font-size: 13px; color: var(--muted); }
.picker__machine .btn { margin-top: auto; align-self: flex-start; }
.picker__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.picker__grid .pcard__media { aspect-ratio: 1.25; }
.picker__panel { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } }

.help-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 24px; border-radius: var(--r); background: var(--navy); color: #fff;
  position: relative; overflow: hidden; isolation: isolate;
}
.help-card::before {
  content: ""; position: absolute; right: -50px; bottom: -60px; width: 220px; height: 230px; z-index: -1;
  background: url("../img/mark.svg") no-repeat center / contain; opacity: .16; filter: brightness(2.2) saturate(.6);
}
.help-card h3 { font: 600 18px/1.3 var(--ff-head); letter-spacing: -.01em; }
.help-card p { color: var(--steel-200); font-size: 14.5px; }

/* ==========================================================================
   Каталог — бенто
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.tile {
  --cut: 26px;
  position: relative; grid-column: span 3; display: flex; flex-direction: column; gap: 6px;
  padding: 24px; border-radius: var(--r); background: #fff; overflow: hidden; isolation: isolate;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.tile__title { font: 600 17px/1.25 var(--ff-head); color: var(--navy-950); letter-spacing: -.01em; max-width: 78%; }
.tile__count { font-size: 13.5px; color: var(--muted); }
.tile__img {
  position: absolute; z-index: -1; right: -6%; bottom: -4%; width: 72%; height: 66%;
  object-fit: contain; object-position: right bottom; mix-blend-mode: multiply;
  transition: transform .45s var(--ease);
}
.tile__img--soft { filter: brightness(1.035); }
.tile:hover .tile__img { transform: scale(1.06) translate(-2%, -2%); }
.tile__go {
  position: absolute; left: 24px; bottom: 22px; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; background: var(--bg); color: var(--navy);
  transition: background-color .2s, color .2s;
}
.tile:hover .tile__go { background: var(--accent); color: var(--navy-950); }

.tile--hero { grid-column: span 6; grid-row: span 2; background: var(--steel-50); padding: 32px; gap: 12px; }
.tile--hero .tile__title { font-size: clamp(22px, 2.2vw, 30px); max-width: 520px; }
.tile--hero .tile__img { width: 56%; height: 62%; right: -3%; bottom: 3%; object-position: right bottom; }
.tile--hero .tile__count { font-size: 15px; }
.tile__sub { display: grid; gap: 2px; margin-top: 14px; max-width: 330px; position: relative; z-index: 1; }
.tile__sub a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px; background: rgba(255,255,255,.75);
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  transition: background-color .2s, color .2s, padding .2s var(--ease);
}
.tile__sub a:hover { background: #fff; color: var(--navy); padding-left: 18px; }
.tile__sub small { color: var(--muted); font: 600 12.5px var(--ff-head); }
.tile__label {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding: 0 12px; border-radius: 8px; background: var(--accent);
  font-size: 12.5px; font-weight: 700; color: var(--navy-950); letter-spacing: .02em;
}

.tile--used {
  grid-column: span 12; min-height: 0; padding: 0; background: var(--navy-950); color: #fff;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); --cut: 34px;
}
.tile--used .tile__body { padding: 36px; display: grid; gap: 14px; align-content: center; }
.tile--used .tile__title { color: #fff; font-size: clamp(22px, 2.2vw, 30px); max-width: none; }
.tile--used .tile__count { color: var(--steel-200); font-size: 15px; }
.tile--used .tile__photo { position: relative; min-height: 260px; }
.tile--used .tile__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--used .tile__photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, var(--navy-950) 0%, rgba(10,24,38,.4) 30%, transparent 60%);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 10px;
  font-size: 14px; font-weight: 500; background: rgba(255,255,255,.07); color: #fff;
  border: 1px solid rgba(255,255,255,.1); transition: background-color .2s, border-color .2s;
}
.chip small { color: var(--steel-200); font-size: 12px; }
.chip:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); }
.chip--light { background: #fff; color: var(--ink-2); border-color: var(--line); }
.chip--light small { color: var(--muted); }
.chip--light:hover { background: #fff; border-color: var(--navy); }
.chip--light.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip--light.is-active small { color: var(--steel-200); }

/* ==========================================================================
   Бренды (бегущая строка)
   ========================================================================== */
.brands { border-block: 1px solid var(--line-2); background: #fff; overflow: hidden; }
.brands__row { display: flex; align-items: center; gap: 40px; padding: 26px 0; }
.brands__label { flex: none; font-size: 14px; color: var(--muted); max-width: 210px; line-height: 1.4; }
.marquee { position: relative; flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: 40px; padding-right: 40px;
  font: 600 22px/1 var(--ff-head); color: #A3B1C0; letter-spacing: -.01em; white-space: nowrap;
  transition: color .2s;
}
.marquee__track span:hover { color: var(--navy); }
.marquee__track span::after { content: ""; width: 9px; height: 11px; background: var(--steel-200); clip-path: polygon(0 0, 100% 37%, 46% 37%, 46% 100%); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Карусели
   ========================================================================== */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 28px; margin: -6px -4px -28px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; gap: 8px; }
.carousel__btn {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow .2s, background-color .2s, opacity .2s;
}
.carousel__btn:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.carousel__btn:disabled { opacity: .35; cursor: default; box-shadow: inset 0 0 0 1.5px var(--line); }
.carousel__btn--prev .icon { transform: rotate(180deg); }
.head-tools { display: flex; align-items: center; gap: 16px; }

/* ==========================================================================
   Почему мы / сервис (тёмная секция)
   ========================================================================== */
.why { position: relative; background: var(--navy-900); color: #fff; overflow: hidden; isolation: isolate; }
.why::before {
  content: ""; position: absolute; z-index: -1; width: 760px; height: 800px; right: -180px; top: -160px;
  background: url("../img/mark.svg") no-repeat center / contain; opacity: .06; filter: brightness(3) saturate(0);
}
.why .h2 { color: #fff; }
.why .h2 span { color: var(--accent); }
.why .lead { color: var(--steel-200); }
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.feature {
  display: grid; align-content: start; gap: 14px; padding: 26px;
  border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  transition: background-color .25s, border-color .25s;
}
.feature:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,194,31,.12); color: var(--accent);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font: 600 17px/1.3 var(--ff-head); letter-spacing: -.01em; }
.feature p { color: var(--steel-200); font-size: 15px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding-top: 28px; }
.step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent) 0 40px, rgba(255,255,255,.12) 40px);
}
.step b { display: block; font: 600 13px/1 var(--ff-head); color: var(--accent); margin-bottom: 12px; letter-spacing: .04em; }
.step h4 { font: 600 16px/1.3 var(--ff); margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--steel-200); }

/* ==========================================================================
   Техника с пробегом
   ========================================================================== */
.used-filters { margin-bottom: 24px; }
.pcard--used .pcard__media { aspect-ratio: 3 / 2; }
.pcard--used .pcard__title { font-size: 16px; }

/* ==========================================================================
   Заявка + контакты
   ========================================================================== */
.contact { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; }
.lead-card {
  position: relative; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg);
  background: var(--navy); color: #fff; overflow: hidden; isolation: isolate;
}
.lead-card::before {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 440px; right: -140px; bottom: -160px;
  background: url("../img/mark.svg") no-repeat center / contain; opacity: .12; filter: brightness(2.4) saturate(.5);
}
.lead-card .h2 { color: #fff; }
.lead-card .lead { color: var(--steel-200); margin-top: 14px; max-width: 520px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13px; color: var(--steel-200); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px;
  border: 1.5px solid rgba(255,255,255,.14); background: rgba(255,255,255,.06); color: #fff;
  transition: border-color .2s, background-color .2s;
}
.field textarea { height: 96px; padding: 14px 16px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23BCD3E7' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: rgba(188,211,231,.6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,.1); }
.consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--steel-200); line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex: none; }
.consent a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.form__submit { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form__note { font-size: 13px; color: var(--steel-200); }
.form-success {
  display: none; margin-top: 28px; padding: 24px; border-radius: var(--r);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
}
.form-success h3 { font: 600 18px var(--ff-head); margin-bottom: 6px; }
.form-success p { color: var(--steel-200); }
.is-sent .form { display: none; }
.is-sent .form-success { display: block; animation: fade .4s var(--ease); }

.contacts-card { display: grid; gap: 16px; align-content: start; }
.contacts-list { display: grid; gap: 4px; padding: 12px; border-radius: var(--r-lg); background: var(--bg); }
.contacts-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; }
.contacts-list .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--steel);
}
.contacts-list small { display: block; font-size: 12.5px; color: var(--muted); }
.contacts-list b, .contacts-list a.big { font-weight: 600; color: var(--navy-950); font-size: 16px; }
.contacts-list a:hover { color: var(--steel); }
.contacts-list .phones { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.map {
  position: relative; display: grid; place-items: center; min-height: 220px; border-radius: var(--r-lg); overflow: hidden;
  background:
    radial-gradient(circle at 52% 46%, rgba(69,122,166,.18), transparent 40%),
    linear-gradient(var(--line-2) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, var(--line-2) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--steel-50);
}
.map::before, .map::after { content: ""; position: absolute; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.map::before { left: -10%; right: -10%; top: 58%; height: 14px; transform: rotate(-8deg); }
.map::after { top: -10%; bottom: -10%; left: 34%; width: 10px; transform: rotate(14deg); }
.map__pin {
  position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px;
}
.map__pin i {
  width: 46px; height: 46px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--navy); box-shadow: var(--sh-2); display: grid; place-items: center;
}
.map__pin i::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
.map__pin .btn { box-shadow: var(--sh-2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--navy-950); color: var(--steel-200); padding: 64px 0 28px; font-size: 14.5px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.2fr; gap: 32px; }
.footer__brand img { width: 170px; margin-bottom: 18px; }
.footer__brand p { max-width: 280px; line-height: 1.55; }
.footer h4 { font: 600 13px/1 var(--ff-head); color: #fff; margin-bottom: 18px; letter-spacing: .02em; }
.footer li + li { margin-top: 10px; }
.footer a { transition: color .15s; }
.footer a:hover { color: #fff; }
.footer__phone { font: 600 18px/1.2 var(--ff-head); color: #fff; }
.footer .socials { margin-top: 16px; }
.footer .socials a { width: 40px; height: 40px; background: rgba(255,255,255,.06); }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); font-size: 13px; color: #7F93A8;
}
.footer__legal { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.prose mark { background: #FFF1C2; color: inherit; padding: 0 3px; border-radius: 2px; }

/* ==========================================================================
   Modal, drawer, cookie
   ========================================================================== */
.overlay {
  position: fixed; inset: 0; z-index: 90; background: rgba(10,24,38,.55); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s;
}
.overlay.is-open { opacity: 1; visibility: visible; transition: opacity .25s; }
.modal {
  position: fixed; z-index: 100; left: 50%; top: 50%; width: min(460px, calc(100% - 32px));
  transform: translate(-50%, -46%); opacity: 0; visibility: hidden;
  padding: 36px 32px 32px; border-radius: var(--r-lg); background: #fff; box-shadow: 0 40px 80px -20px rgba(10,24,38,.5);
  transition: transform .3s var(--ease), opacity .25s, visibility 0s .3s;
}
.modal.is-open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); transition: transform .3s var(--ease), opacity .25s; }
.modal__close { position: absolute; right: 14px; top: 14px; }
.modal h3 { font: 600 22px/1.2 var(--ff-head); color: var(--navy-950); letter-spacing: -.02em; }
.modal p { color: var(--muted); margin-top: 8px; font-size: 15px; }
.modal .form { grid-template-columns: 1fr; margin-top: 20px; }
.modal .field label { color: var(--muted); }
.modal .field input { background: var(--bg); color: var(--ink); border-color: var(--line); }
.modal .field input:focus { border-color: var(--steel); background: #fff; }
.modal .consent { color: var(--muted); }
.modal .consent a { color: var(--navy); }
.modal .form-success { background: var(--steel-50); border-color: var(--steel-100); color: var(--ink); }
.modal .form-success p { color: var(--muted); }

.drawer {
  position: fixed; z-index: 100; top: 0; bottom: 0; left: 0; width: min(380px, 88vw);
  background: #fff; transform: translateX(-100%); transition: transform .35s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.is-open { transform: none; box-shadow: 30px 0 60px -20px rgba(10,24,38,.4); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 16px 16px 20px; border-bottom: 1px solid var(--line-2); }
.drawer__head img { width: 140px; }
.drawer__body { padding: 16px 20px 28px; display: grid; gap: 20px; }
.drawer .search { flex: none; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: center; padding: 13px 4px; border-bottom: 1px solid var(--line-2); font-weight: 500; }
.drawer__nav a .icon { color: var(--steel-400); width: 16px; height: 16px; }
.drawer__contacts { display: grid; gap: 6px; font-size: 14.5px; color: var(--muted); }
.drawer__contacts .footer__phone { color: var(--navy-950); }

.cookie {
  position: fixed; z-index: 80; left: 20px; bottom: 20px; width: min(400px, calc(100% - 40px));
  display: flex; gap: 16px; align-items: center; padding: 16px 16px 16px 20px;
  border-radius: 16px; background: var(--navy-950); color: var(--steel-200); font-size: 13.5px; line-height: 1.45;
  box-shadow: var(--sh-2); transform: translateY(140%); transition: transform .4s var(--ease);
}
.cookie.is-shown { transform: none; }
.cookie a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .header__phone .callback-link { display: none; }
  .types__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mega__grid { grid-template-columns: repeat(3, 1fr); }
  .mega__col--accent { margin: 0; }
  .footer__grid { grid-template-columns: 1.2fr repeat(2, 1fr); }
  .footer__contacts { grid-column: span 1; }
}

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 720px; width: 100%; justify-self: center; }
  .picker { grid-template-columns: 1fr; }
  .picker__machine { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; column-gap: 28px; }
  .picker__machine img { grid-row: span 5; grid-column: 2; width: 100%; margin: 0; }
  .carousel__track { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento .tile { grid-column: span 6; }
  .bento .tile--hero { grid-column: span 12; grid-row: auto; min-height: 420px; }
  .bento .tile--hero .tile__img { width: 62%; height: 78%; }
  .bento .tile--used { grid-column: span 12; }
  .contact { grid-template-columns: 1fr; }
}

.header__actions .icon-btn--phone { display: none; }

@media (max-width: 920px) {
  .topbar { display: none; }
  .header__row { height: 64px; gap: 8px; }
  .header__burger { display: inline-grid; }
  .header__logo { margin-right: auto; }
  .header__logo img { width: 136px; }
  .catalog-btn, .header .search, .header__phone { display: none; }
  .header__actions .icon-btn--compare { display: none; }
  .header__actions .icon-btn--phone { display: inline-grid; }
  .mainnav { display: none; }
  .mega__grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .tile--used { grid-template-columns: 1fr; }
  .tile--used .tile__photo { min-height: 220px; order: -1; }
  .tile--used .tile__photo::before { background: linear-gradient(0deg, var(--navy-950) 0%, transparent 60%); }
  .brands__row { flex-direction: column; align-items: flex-start; gap: 16px; padding: 22px 0; }
  .brands__label { max-width: none; }
  .marquee { width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  html { scroll-padding-top: 76px; }
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; width: 100%; }
  .hero__facts dd { font-size: 12px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__visual { aspect-ratio: 1.05; }
  .hotspot__card { width: 196px; grid-template-columns: 44px 1fr; }
  .hotspot__card img { width: 44px; height: 44px; }
  .types__list { grid-template-columns: repeat(8, 112px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .types__list::-webkit-scrollbar { display: none; }
  .type { scroll-snap-align: start; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; height: 44px; font-size: 14px; }
  .picker__machine { display: flex; padding: 22px; }
  .picker__stats { gap: 20px; }
  .picker__stats b { font-size: 17px; }
  .picker__machine img { width: 100%; }
  .picker__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard__body { padding: 12px 12px 14px; gap: 6px; }
  .pcard__title { font-size: 13.5px; }
  .pcard__tag { font-size: 11.5px; }
  .pcard__price { font-size: 15px; }
  .pcard__cart { width: 38px; height: 38px; border-radius: 10px; }
  .pcard__compare { width: 32px; height: 32px; right: 8px; top: 8px; }
  .carousel__track { grid-auto-columns: 74%; gap: 12px; }
  .carousel__nav { display: none; }
  .bento { gap: 10px; grid-auto-rows: minmax(170px, auto); }
  .bento .tile { grid-column: span 12; padding: 20px; }
  .bento .tile--hero { min-height: 0; padding: 24px 20px 200px; }
  .bento .tile--hero .tile__img { width: 100%; height: 190px; right: -12%; }
  .tile__sub { max-width: none; }
  .tile__title { font-size: 16px; }
  .tile__img { width: 56%; height: 78%; }
  .tile--used .tile__body { padding: 24px 20px 28px; }
  .why__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
}

/* ==========================================================================
   ВНУТРЕННИЕ СТРАНИЦЫ
   ========================================================================== */

/* ---------- шапка страницы ---------- */
.page-head { position: relative; background: var(--bg); overflow: hidden; isolation: isolate; padding: 26px 0 clamp(32px, 4vw, 52px); }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line-2) 1px, transparent 1px), linear-gradient(90deg, var(--line-2) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); mask-image: linear-gradient(90deg, transparent 20%, #000 75%);
}
.page-head::after {
  content: ""; position: absolute; z-index: -1; right: max(-40px, calc((100vw - var(--container)) / 2 - 140px)); top: -30px;
  width: 300px; height: 315px; background: url("../img/mark.svg") no-repeat center / contain; opacity: .07;
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; font-size: 13.5px; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: ""; width: 5px; height: 8px; background: #A9B6C3; clip-path: polygon(0 0, 100% 50%, 0 100%); margin-right: 2px; }
.breadcrumbs a:hover { color: var(--navy); }
.breadcrumbs [aria-current] { color: var(--ink-2); }
.crumbs-bar { padding-top: 22px; }
.crumbs-bar .breadcrumbs { margin-bottom: 0; }
.page-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-title { font: 700 clamp(28px, 3.4vw, 46px)/1.1 var(--ff-head); letter-spacing: -.03em; color: var(--navy-950); max-width: 920px; }
.page-title span { color: var(--steel); }
.page-sub { margin-top: 14px; max-width: 720px; font-size: clamp(15.5px, 1.2vw, 17px); color: var(--muted); line-height: 1.6; }
.page-head .chips { margin-top: 26px; }
.section--tight { padding: clamp(36px, 4.5vw, 64px) 0; }
.section-title { font: 600 clamp(22px, 2.2vw, 30px)/1.15 var(--ff-head); letter-spacing: -.02em; color: var(--navy-950); }

/* ---------- формы на светлом фоне ---------- */
.form--light .field label { color: var(--muted); }
.form--light .field input, .form--light .field select, .form--light .field textarea {
  background-color: var(--bg); color: var(--ink); border-color: var(--line);
}
.form--light .field input::placeholder, .form--light .field textarea::placeholder { color: #8796A6; }
.form--light .field input:focus, .form--light .field select:focus, .form--light .field textarea:focus { border-color: var(--steel); background-color: #fff; }
.form--light .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235E6E80' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); }
.form--light .consent { color: var(--muted); }
.form--light .consent a { color: var(--navy); }
.form--light .form__note { color: var(--muted); }
.file-drop {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; cursor: pointer;
  border: 1.5px dashed var(--steel-200); background: var(--steel-50); color: var(--ink-2); font-size: 14px; transition: border-color .2s, background-color .2s;
}
.file-drop:hover { border-color: var(--steel); background: #fff; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--steel); flex: none; }
.file-drop small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }

/* чекбоксы, радио, переключатели */
.check { position: relative; display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; padding: 3px 0; }
.check input {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; flex: none; margin: 0; cursor: pointer;
  border-radius: 6px; border: 1.5px solid #C5D0DB; background: #fff center / 14px no-repeat; transition: background-color .15s, border-color .15s;
}
.check input:checked {
  background-color: var(--navy); border-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.check input[type="radio"] { border-radius: 50%; }
.check input[type="radio"]:checked { background-image: none; box-shadow: inset 0 0 0 4px #fff; }
.check:hover input:not(:checked) { border-color: var(--steel); }
.check small { margin-left: auto; color: #94A3B3; font-size: 12.5px; }
.switch { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14.5px; font-weight: 500; cursor: pointer; }
.switch input { appearance: none; -webkit-appearance: none; position: relative; width: 42px; height: 24px; border-radius: 12px; background: #C5D0DB; cursor: pointer; transition: background-color .2s; flex: none; margin: 0; }
.switch input::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.switch input:checked { background: var(--navy); }
.switch input:checked::after { transform: translateX(18px); }
.input, .select {
  width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--bg); font-size: 14.5px; transition: border-color .2s, background-color .2s;
}
.input:focus, .select:focus { outline: none; border-color: var(--steel); background-color: #fff; }
.select {
  appearance: none; -webkit-appearance: none; width: auto; padding-right: 40px; background-color: #fff; font-weight: 500; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2321415F' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.option-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.ocard {
  position: relative; display: grid; gap: 4px; padding: 16px 16px 16px 48px; border-radius: 14px; cursor: pointer;
  box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; transition: box-shadow .2s, background-color .2s;
}
.ocard input { position: absolute; left: 16px; top: 17px; }
.ocard input {
  appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; border-radius: 50%;
  border: 1.5px solid #C5D0DB; background: #fff; transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.ocard input:checked { background: var(--navy); border-color: var(--navy); box-shadow: inset 0 0 0 4px #fff; }
.ocard b { font-weight: 600; font-size: 15px; color: var(--navy-950); }
.ocard span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.ocard:hover { box-shadow: inset 0 0 0 1.5px var(--steel-200); }
.ocard:has(input:checked) { box-shadow: inset 0 0 0 2px var(--navy); background: var(--steel-50); }

/* ---------- текст ---------- */
.prose { max-width: 780px; color: var(--ink-2); font-size: 16.5px; line-height: 1.72; }
.prose > * + * { margin-top: 16px; }
.prose h2 { margin-top: 44px; font: 600 clamp(21px, 2vw, 27px)/1.2 var(--ff-head); letter-spacing: -.02em; color: var(--navy-950); }
.prose h3 { margin-top: 30px; font: 600 18px/1.3 var(--ff-head); color: var(--navy-950); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { display: grid; gap: 8px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 10px; height: 12px; background: var(--steel); clip-path: polygon(0 0, 100% 37%, 46% 37%, 46% 100%); }
.prose ol { counter-reset: li; }
.prose ol li { position: relative; padding-left: 40px; counter-increment: li; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: 1px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--steel-50); color: var(--navy); font: 600 13px var(--ff-head); }
.prose a { color: var(--steel); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--navy); }
.prose strong, .prose b { color: var(--navy-950); font-weight: 600; }
.prose .lead { color: var(--muted); font-size: 15px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--steel-50); color: var(--navy-950); font-weight: 600; }
@media (max-width: 640px) {
  .prose table, .prose thead, .prose tbody, .prose tr, .prose th, .prose td { display: block; }
  .prose thead { display: none; }
  .prose tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .prose td { padding: 2px 0; border: 0; }
  .prose td:first-child { color: var(--navy-950); font-weight: 600; }
}
.note { padding: 18px 20px; border-radius: 14px; background: var(--steel-50); border-left: 3px solid var(--steel); font-size: 15px; color: var(--ink-2); line-height: 1.6; }

.side-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
.side-nav { position: sticky; top: 104px; display: grid; gap: 2px; padding: 10px; border-radius: var(--r); background: var(--bg); }
.side-nav a { padding: 11px 14px; border-radius: 10px; font-weight: 500; font-size: 14.5px; color: var(--ink-2); transition: background-color .15s, color .15s; }
.side-nav a:hover { background: #fff; color: var(--navy); }
.side-nav a.is-active { background: #fff; color: var(--navy); font-weight: 600; box-shadow: var(--sh-1); }

/* ---------- каталог: корень ---------- */
.mcards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.mcard {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px 18px 20px; border-radius: var(--r);
  background: #fff; border: 1px solid var(--line-2); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.mcard:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: transparent; }
.mcard img { width: 118%; max-width: none; margin: -6px -9% 4px; aspect-ratio: 2; object-fit: contain; mix-blend-mode: multiply; filter: brightness(1.035); }
.mcard h3 { font: 600 15.5px/1.3 var(--ff-head); color: var(--navy-950); letter-spacing: -.01em; }
.mcard p { font-size: 13.5px; color: var(--muted); }
.mcard b { margin-top: auto; padding-top: 8px; font: 600 15px var(--ff-head); color: var(--navy); }

.ccats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ccat {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 12px; padding: 24px; border-radius: var(--r);
  background: #fff; overflow: hidden; transition: box-shadow .25s; --cut: 22px;
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.ccat:hover { box-shadow: var(--sh-2); }
.ccat h3 { font: 600 19px/1.25 var(--ff-head); color: var(--navy-950); letter-spacing: -.015em; }
.ccat h3 a:hover { color: var(--steel); }
.ccat__count { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.ccat ul { display: grid; gap: 2px; margin-top: 14px; }
.ccat li a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 14.5px; color: var(--ink-2); border-bottom: 1px dashed var(--line-2); transition: color .15s; }
.ccat li a:hover { color: var(--steel); }
.ccat li small { color: #94A3B3; font-size: 12.5px; }
.ccat__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 14px; color: var(--navy); }
.ccat__img { align-self: center; width: 100%; height: 170px; object-fit: contain; mix-blend-mode: multiply; }

.cta-band {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  padding: clamp(28px, 3.5vw, 44px); border-radius: var(--r-lg); background: var(--navy); color: #fff; overflow: hidden; isolation: isolate;
}
.cta-band::before { content: ""; position: absolute; z-index: -1; width: 380px; height: 400px; right: 4%; top: -120px; background: url("../img/mark.svg") no-repeat center / contain; opacity: .12; filter: brightness(2.4) saturate(.5); }
.cta-band h2 { font: 600 clamp(22px, 2.4vw, 32px)/1.15 var(--ff-head); letter-spacing: -.02em; max-width: 640px; }
.cta-band p { color: var(--steel-200); margin-top: 10px; max-width: 600px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- каталог: раздел ---------- */
.listing { display: grid; grid-template-columns: 284px minmax(0, 1fr); gap: 28px; align-items: start; }
.filters {
  position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto; overscroll-behavior: contain;
  padding: 6px 20px 20px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); scrollbar-width: none;
}
.filters:hover { scrollbar-width: thin; }
.filters__head { display: none; }
.fgroup { border-bottom: 1px solid var(--line-2); }
.fgroup summary {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 0;
  list-style: none; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--navy-950);
}
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary .icon { width: 16px; height: 16px; color: var(--muted); transform: rotate(90deg); transition: transform .2s var(--ease); }
.fgroup[open] summary .icon { transform: rotate(-90deg); }
.fgroup__body { display: grid; gap: 6px; padding-bottom: 16px; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.range .input { height: 42px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 9px; font-size: 13.5px; font-weight: 500;
  box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink-2); transition: background-color .15s, box-shadow .15s, color .15s;
}
.pill:hover span { box-shadow: inset 0 0 0 1.5px var(--steel-200); }
.pill input:checked + span { background: var(--navy); color: #fff; box-shadow: none; }
.filters__switch { padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.filters__actions { display: grid; gap: 8px; padding-top: 18px; }
.filters__reset { font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px; }
.filters__reset:hover { color: var(--navy); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar__count { font-size: 14.5px; color: var(--muted); }
.toolbar__count b { color: var(--navy-950); font-weight: 600; }
.toolbar__right { display: flex; align-items: center; gap: 10px; }
.filters-btn { display: none; }
.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 18px; }
.active-filters button { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 12px; border-radius: 9px; background: var(--steel-50); font-size: 13.5px; font-weight: 500; color: var(--navy); }
.active-filters button .icon { width: 14px; height: 14px; color: var(--muted); }
.active-filters button:hover .icon { color: var(--navy); }
.grid-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-products--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.more-row { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination a, .pagination span {
  min-width: 44px; height: 44px; padding: 0 12px; display: grid; place-items: center; border-radius: 10px;
  font-weight: 600; font-size: 14.5px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .15s;
}
.pagination a:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.pagination .is-current { background: var(--navy); color: #fff; box-shadow: none; }
.pagination .gap { box-shadow: none; background: none; min-width: 20px; padding: 0; color: var(--muted); }
.seo-block { margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-2); display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
/* сводная категория: три равные колонки - текст, плашки, SEO-текст (отступ снизу от CTA = отступу сверху) */
.seo-block--tri { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 0; }
.seo-block--tri .prose { display: grid; gap: 12px; }
.seo-block--tri .prose h2 { font-size: 26px; }
@media (max-width: 960px) { .seo-block--tri { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- фото производства (мозаика) ---------- */
.pgal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 12px; }
.pgal__item { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: var(--steel-50); }
.pgal__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.pgal__item:hover img { transform: scale(1.045); }
.pgal__item--w2 { grid-column: span 2; }
.pgal__item figcaption {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); padding: 8px 12px;
  border-radius: 10px; background: rgba(10,24,38,.72); color: #fff; font-size: 13px; font-weight: 500;
}
.pgal__item--dark { background: var(--navy-950); display: grid; align-items: center; padding: 28px; }
.pgal__item--dark h3 { color: #fff; font-size: 22px; margin: 10px 0 8px; }
.pgal__item--dark p { color: rgba(255,255,255,.72); font-size: 15px; margin-bottom: 18px; }
@media (max-width: 960px) {
  .pgal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 10px; }
  .pgal__item--w2 { grid-column: span 2; }
  .pgal__item figcaption { font-size: 12px; left: 8px; bottom: 8px; }
}

/* ---------- поиск ---------- */
.search-hero { margin-top: 6px; max-width: 760px; }
.search-hero input { height: 60px; font-size: 18px; padding-left: 22px; padding-right: 64px; background: #fff; border-radius: 14px; }
.search-hero button { top: 8px; right: 8px; width: 44px; height: 44px; border-radius: 10px; background: var(--accent); color: var(--navy-950); }
.search-hero button:hover { background: var(--accent-600); }
.search-hints { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 14px; color: var(--muted); }
.search-hints a { color: var(--navy); font-weight: 500; border-bottom: 1px dashed var(--steel-200); }
.search-hints a:hover { border-color: var(--navy); }
mark { background: rgba(255,194,31,.35); color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- карточка товара ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.gallery { position: sticky; top: 100px; display: grid; gap: 12px; min-width: 0; }
.product > *, .listing > *, .cart > *, .two-col > *, .split > * { min-width: 0; }
.gallery__main { position: relative; aspect-ratio: 1.18; border-radius: var(--r-lg); background: var(--steel-50); overflow: hidden; }
.gallery__main img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; transition: opacity .25s; }
/* слой-заглушка: лёгкая версия кадра (в кэше из превью) с размытием, пока грузится большая */
.gallery__layer { opacity: 0; filter: blur(16px); transition: opacity .3s, filter .3s; }
.gallery__main.is-loading .gallery__layer { opacity: .92; filter: blur(10px); }
.gallery__main.is-loading > img[data-gallery-main] { opacity: .3; }
.gallery__main::after {
  content: ''; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(110deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.55) 50%, rgba(255,255,255,0) 65%);
  background-size: 200% 100%; animation: gshine 1.1s linear infinite;
}
.gallery__main.is-loading::after { opacity: 1; }
@keyframes gshine { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .gallery__main::after { animation: none; } }
.gallery--photo .gallery__main { aspect-ratio: 3 / 2; background: var(--navy-950); }
.gallery--photo .gallery__main img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.gallery--photo .gallery__main::after { background: linear-gradient(110deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.22) 50%, rgba(255,255,255,0) 65%); }
.gallery__flags { position: absolute; left: 16px; top: 16px; z-index: 1; display: flex; gap: 6px; flex-wrap: wrap; }
.gallery__arrow {
  position: absolute; top: 50%; z-index: 1; width: 44px; height: 44px; margin-top: -22px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--navy); box-shadow: var(--sh-1);
  opacity: 0; transition: opacity .2s, background-color .2s;
}
.gallery__main:hover .gallery__arrow, .gallery__arrow:focus-visible { opacity: 1; }
.gallery__arrow:hover { background: #fff; }
.gallery__arrow--prev { left: 14px; }
.gallery__arrow--prev .icon { transform: rotate(180deg); }
.gallery__arrow--next { right: 14px; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; z-index: 1; height: 28px; padding: 0 10px; border-radius: 8px; display: grid; place-items: center; background: rgba(10,24,38,.72); color: #fff; font-size: 12.5px; font-weight: 600; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.gallery__thumb { position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--steel-50); overflow: hidden; transition: opacity .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 8%; mix-blend-mode: multiply; }
.gallery--photo .gallery__thumb { aspect-ratio: 4 / 3; }
.gallery--photo .gallery__thumb img { object-fit: cover; padding: 0; mix-blend-mode: normal; }
.gallery__thumb.is-active { outline: 2px solid var(--navy); outline-offset: -2px; }
.gallery__thumb:not(.is-active):hover { opacity: .75; }

.pinfo { display: grid; gap: 20px; }
.pinfo__top { display: grid; gap: 12px; }
.pinfo__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.flag--outline { background: var(--steel-50); box-shadow: none; color: var(--navy); }
.pinfo h1 { font: 700 clamp(24px, 2.5vw, 34px)/1.15 var(--ff-head); letter-spacing: -.025em; color: var(--navy-950); }
.pinfo__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; color: var(--muted); }
.pinfo__meta button { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; color: var(--navy); }
.pinfo__meta button .icon { width: 16px; height: 16px; }
.pinfo__meta button.is-on { color: var(--steel); }
.stock { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ok); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(31,157,99,.15); }

.variants { display: grid; gap: 10px; }
.variants__label { font-size: 14px; font-weight: 600; color: var(--navy-950); }
.variants__label span { font-weight: 400; color: var(--muted); }
.variants__list { display: flex; flex-wrap: wrap; gap: 6px; }
.variant {
  display: grid; gap: 2px; padding: 8px 10px; border-radius: 11px; text-align: center;
  box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; transition: box-shadow .15s, background-color .15s;
}
.variant b { font: 600 14px/1.2 var(--ff-head); color: var(--navy-950); }
.variant small { font-size: 12px; color: var(--muted); }
.variant:hover { box-shadow: inset 0 0 0 1.5px var(--steel-200); }
.variant.is-current { box-shadow: inset 0 0 0 2px var(--navy); background: var(--steel-50); }

.keyspecs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.keyspec { display: grid; gap: 4px; padding: 13px 14px; border-radius: 12px; background: var(--bg); }
.keyspec span { font-size: 12.5px; color: var(--muted); }
.keyspec b { font: 600 16px/1.2 var(--ff-head); color: var(--navy-950); letter-spacing: -.01em; }

.buybox { display: grid; gap: 16px; padding: 24px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--sh-1); }
.buybox__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.buybox__price b { font: 700 clamp(28px, 2.8vw, 36px)/1 var(--ff-head); letter-spacing: -.035em; color: var(--navy-950); }
.buybox__price small { font-size: 15px; color: var(--muted); }
.buybox__note { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.buybox__row { display: flex; gap: 10px; flex-wrap: wrap; }
.buybox__row .btn { flex: 1 1 180px; }
.qty { display: inline-flex; align-items: center; height: 52px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); background: #fff; flex: none; }
.qty button { width: 42px; height: 100%; display: grid; place-items: center; font-size: 20px; color: var(--navy); border-radius: 12px; }
.qty button:hover { background: var(--bg); }
.qty input { width: 40px; height: 100%; border: 0; text-align: center; font-weight: 600; background: none; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { outline: none; }
.qty--sm { height: 42px; border-radius: 10px; }
.qty--sm button { width: 36px; }
.qty--sm input { width: 34px; }
.perks { display: grid; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.perks li .icon { color: var(--steel); width: 20px; height: 20px; margin-top: 1px; }
.perks b { color: var(--navy-950); font-weight: 600; }
.manager {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 16px 18px; border-radius: 14px; background: var(--steel-50);
}
.manager div { display: grid; gap: 2px; font-size: 13.5px; color: var(--muted); }
.manager a.manager__phone { font: 600 17px var(--ff-head); color: var(--navy-950); }

.ptabs { margin-top: clamp(48px, 6vw, 80px); }
.ptabs .tabs { border-bottom: 1px solid var(--line-2); padding-bottom: 16px; }
.ptab-panel { padding-top: 12px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.specs { display: grid; }
.specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { color: var(--navy-950); font-weight: 500; }
.specs__group { margin-top: 26px; margin-bottom: 4px; font: 600 14px var(--ff-head); color: var(--navy); }
.specs__group:first-child { margin-top: 0; }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .03em; }

.info-cards { display: grid; gap: 12px; }
.info-card { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 18px; border-radius: 14px; background: var(--bg); }
.info-card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--steel); }
.info-card h3 { font: 600 15.5px/1.3 var(--ff); color: var(--navy-950); }
.info-card p { font-size: 14px; color: var(--muted); margin-top: 3px; line-height: 1.5; }

/* ---------- техника с пробегом ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.fact { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg); }
.fact .ico { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--steel); }
.fact .ico .icon { width: 18px; height: 18px; }
.fact span { display: block; font-size: 12.5px; color: var(--muted); }
.fact b { font-weight: 600; font-size: 15px; color: var(--navy-950); }
.address-card { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 16px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.address-card .icon { color: var(--steel); width: 22px; height: 22px; margin: 2px auto 0; }
.address-card small { display: block; color: var(--muted); font-size: 12.5px; }

/* ---------- корзина ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.cart__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.cart__clear { font-size: 14px; font-weight: 600; color: var(--muted); }
.cart__clear:hover { color: #C53030; }
.cart-list { display: grid; gap: 10px; }
.citem {
  display: grid; grid-template-columns: 104px minmax(0, 1fr) auto 150px 40px; gap: 18px; align-items: center;
  padding: 12px 14px 12px 12px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); transition: opacity .25s, transform .25s var(--ease);
}
.citem.is-removing { opacity: 0; transform: translateX(16px); }
.citem__img { width: 104px; height: 88px; border-radius: 12px; background: var(--steel-50); display: grid; place-items: center; overflow: hidden; }
.citem__img img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.citem__info { display: grid; gap: 4px; }
.citem__tag { font-size: 12.5px; font-weight: 600; color: var(--steel); }
.citem__title { font-weight: 600; font-size: 15.5px; line-height: 1.35; color: var(--navy-950); }
.citem__title:hover { color: var(--steel); }
.citem__unit { font-size: 13px; color: var(--muted); }
.citem__sum { text-align: right; font: 600 18px/1.2 var(--ff-head); color: var(--navy-950); white-space: nowrap; letter-spacing: -.02em; }
.citem__sum small { display: block; font: 500 12.5px var(--ff); color: var(--muted); letter-spacing: 0; }
.citem__remove { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: #94A3B3; transition: background-color .15s, color .15s; }
.citem__remove:hover { background: #FDECEC; color: #C53030; }
.summary { position: sticky; top: 100px; display: grid; gap: 14px; padding: 26px; border-radius: var(--r-lg); background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.summary::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 272px; right: -90px; bottom: -110px; background: url("../img/mark.svg") no-repeat center / contain; opacity: .14; filter: brightness(2.4) saturate(.5); }
.summary h2 { font: 600 20px var(--ff-head); }
.summary__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--steel-200); }
.summary__row b { color: #fff; font-weight: 600; }
.summary__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.14); }
.summary__total span { color: var(--steel-200); }
.summary__total b { font: 700 28px/1 var(--ff-head); letter-spacing: -.03em; }
.summary p { font-size: 13px; color: var(--steel-200); line-height: 1.5; }
.checkout { margin-top: 28px; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-2); }
.checkout__step { display: grid; gap: 16px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line-2); }
.checkout__step:last-of-type { border: 0; margin-bottom: 0; padding-bottom: 0; }
.checkout__step h2 { display: flex; align-items: center; gap: 12px; font: 600 19px var(--ff-head); color: var(--navy-950); }
.checkout__step h2 i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 600 13px var(--ff-head); font-style: normal; background: var(--accent); color: var(--navy-950); }
.checkout .form { margin-top: 0; }
.empty-state { display: grid; justify-items: center; gap: 14px; padding: 64px 24px; text-align: center; border-radius: var(--r-lg); background: var(--bg); }
.empty-state img { width: 90px; opacity: .5; }
.empty-state h2 { font: 600 24px var(--ff-head); color: var(--navy-950); }
.empty-state p { color: var(--muted); max-width: 420px; }
[hidden] { display: none !important; }

/* ---------- сравнение ---------- */
.compare-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: #fff; }
.ctable { width: 100%; min-width: 860px; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.ctable th, .ctable td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-2); }
.ctable tbody th { position: sticky; left: 0; z-index: 1; background: #fff; color: var(--muted); font-weight: 500; }
.ctable thead td, .ctable thead th { border-bottom: 1px solid var(--line); }
.ctable thead th { position: sticky; left: 0; z-index: 2; width: 230px; background: #fff; vertical-align: bottom; font-weight: 500; color: var(--muted); }
.ctable td { color: var(--navy-950); font-weight: 500; min-width: 210px; }
.ctable tr.group th, .ctable tr.group td { background: var(--bg); font: 600 13px var(--ff-head); color: var(--navy); padding-top: 10px; padding-bottom: 10px; }
.ctable tr.is-diff td { background: rgba(255,194,31,.09); }
.ctable.only-diff tr.is-same { display: none; }
.chead { position: relative; display: grid; gap: 10px; }
.chead__img { aspect-ratio: 1.5; border-radius: 12px; background: var(--steel-50); display: grid; place-items: center; overflow: hidden; }
.chead__img img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.chead__title { font-weight: 600; line-height: 1.35; color: var(--navy-950); }
.chead__title:hover { color: var(--steel); }
.chead__price { font: 600 17px var(--ff-head); color: var(--navy-950); letter-spacing: -.02em; }
.chead__remove { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #fff; color: var(--muted); box-shadow: var(--sh-1); }
.chead__remove:hover { color: #C53030; }
.na { color: #A9B6C3; font-weight: 400; }

/* ---------- о компании / производство / сервис ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.media-card { position: relative; border-radius: var(--r-lg); background: var(--steel-50); overflow: hidden; aspect-ratio: 1.3; display: grid; place-items: center; isolation: isolate; }
.media-card::before { content: ""; position: absolute; z-index: -1; inset: 8% 6% auto auto; width: 56%; height: 70%; background: url("../img/mark.svg") no-repeat center / contain; opacity: .1; }
.media-card img { width: 112%; max-width: none; mix-blend-mode: multiply; filter: brightness(1.035); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { display: grid; gap: 6px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); }
.stat b { font: 700 clamp(28px, 3vw, 40px)/1 var(--ff-head); color: var(--navy); letter-spacing: -.03em; }
.stat span { font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.list-check { display: grid; gap: 12px; }
.list-check li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.list-check li::before { content: ""; width: 28px; height: 28px; border-radius: 8px; background: var(--steel-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23457AA6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }
.list-check b { color: var(--navy-950); }
.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.features-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature--light { background: #fff; border-color: var(--line-2); }
.feature--light:hover { background: #fff; border-color: var(--steel-200); }
.feature--light h3 { color: var(--navy-950); }
.feature--light p { color: var(--muted); }
.feature--light .feature__icon { background: var(--steel-50); color: var(--navy); }
.steps--light { margin-top: 0; }
.steps--light .step::before { background: linear-gradient(90deg, var(--accent) 0 40px, var(--line) 40px); }
.steps--light .step b { color: var(--accent-600); }
.steps--light .step h4 { color: var(--navy-950); }
.steps--light .step p { color: var(--muted); }
.apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.app { display: grid; align-content: start; gap: 12px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); }
.app img { width: 100%; height: 110px; object-fit: contain; mix-blend-mode: multiply; }
.app h3 { font: 600 16px/1.3 var(--ff-head); color: var(--navy-950); }
.app ul { display: grid; gap: 6px; }
.app li a { font-size: 14px; color: var(--ink-2); border-bottom: 1px solid transparent; transition: color .15s, border-color .15s; }
.app li a:hover { color: var(--steel); border-color: var(--steel-200); }
.brand-row { display: flex; flex-wrap: wrap; gap: 8px; }
.brand-row span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line-2); font: 600 14px var(--ff-head); color: var(--ink-2); }
.review-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.review-link { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.review-link:hover { border-color: transparent; box-shadow: var(--sh-2); }
.review-link b { display: block; font: 600 17px var(--ff-head); color: var(--navy-950); }
.review-link span { font-size: 14px; color: var(--muted); }
.review-link .icon { color: var(--navy); }
.service-dirs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sdir { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); }
.sdir .feature__icon { background: var(--steel-50); color: var(--navy); }
.sdir h3 { font: 600 17px/1.3 var(--ff-head); color: var(--navy-950); }
.sdir p { font-size: 14.5px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.sdir .brand-row { margin-top: 12px; gap: 6px; }
.sdir .brand-row span { height: 30px; padding: 0 10px; font-size: 12.5px; background: var(--bg); border: 0; }
.form-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line-2); box-shadow: var(--sh-1); }
.form-card h2 { font: 600 clamp(20px, 2vw, 26px)/1.2 var(--ff-head); color: var(--navy-950); letter-spacing: -.02em; }
.form-card > p { color: var(--muted); margin-top: 8px; }
.form-card .form { margin-top: 22px; }
.form-card .form-success { background: var(--steel-50); border-color: var(--steel-100); color: var(--ink); }
.form-card .form-success p { color: var(--muted); }
.form-label { grid-column: 1 / -1; margin-top: 8px; font: 600 14px var(--ff-head); color: var(--navy); }

/* ---------- контакты ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ccard { display: grid; align-content: start; gap: 8px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line-2); }
.ccard .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--steel-50); color: var(--steel); margin-bottom: 6px; }
.ccard small { font-size: 13px; color: var(--muted); }
.ccard .big { font: 600 18px/1.3 var(--ff-head); color: var(--navy-950); letter-spacing: -.01em; }
.ccard a:hover { color: var(--steel); }
.ccard p { font-size: 14.5px; color: var(--ink-2); }
.map--big { min-height: 440px; }
.map__actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

/* ---------- 404 ---------- */
.notfound { position: relative; display: grid; justify-items: center; gap: 18px; padding: clamp(56px, 9vw, 120px) 0; text-align: center; }
.notfound__code { display: flex; align-items: center; gap: clamp(6px, 1.5vw, 18px); font: 700 clamp(96px, 16vw, 200px)/1 var(--ff-head); color: var(--navy); letter-spacing: -.06em; }
.notfound__code img { width: clamp(76px, 12vw, 150px); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.notfound h1 { font: 600 clamp(22px, 2.6vw, 32px) var(--ff-head); color: var(--navy-950); letter-spacing: -.02em; }
.notfound p { color: var(--muted); max-width: 520px; }
.notfound .search { width: min(560px, 100%); flex: none; }
.notfound .chips { justify-content: center; }

/* ---------- адаптив внутренних страниц ---------- */
@media (max-width: 1080px) {
  .listing { grid-template-columns: 1fr; }
  .filters {
    position: fixed; z-index: 100; top: 0; bottom: 0; left: 0; width: min(380px, 90vw); max-height: none; border-radius: 0; border: 0;
    padding: 0 20px 20px; transform: translateX(-100%); transition: transform .35s var(--ease);
  }
  .filters.is-open { transform: none; box-shadow: 30px 0 60px -20px rgba(10,24,38,.4); }
  .filters__head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; margin-bottom: 4px; background: #fff; border-bottom: 1px solid var(--line-2); font: 600 18px var(--ff-head); color: var(--navy-950); }
  .filters__actions { position: sticky; bottom: -20px; background: #fff; padding-bottom: 20px; }
  .filters-btn { display: inline-flex; }
  .product { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .cart { grid-template-columns: 1fr; }
  .summary { position: relative; top: auto; }
  .mcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seo-block { grid-template-columns: 1fr; }
  .side-layout { grid-template-columns: 1fr; gap: 24px; }
  .side-nav { position: static; display: flex; overflow-x: auto; scrollbar-width: none; }
  .side-nav a { white-space: nowrap; }
  .features-grid, .apps, .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .ccats { grid-template-columns: 1fr; }
  .grid-products--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .citem { grid-template-columns: 88px auto minmax(0, 1fr) 40px; grid-template-areas: "img info info rm" "img qty sum sum"; gap: 10px 12px; }
  .citem__img { grid-area: img; width: 88px; height: 80px; align-self: start; }
  .citem__info { grid-area: info; }
  .citem .qty { grid-area: qty; justify-self: start; }
  .citem__sum { grid-area: sum; align-self: center; }
  .citem__remove { grid-area: rm; align-self: start; }
  .review-links, .service-dirs, .features-grid--3, .stats--3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .page-head { padding-top: 18px; }
  .breadcrumbs { margin-bottom: 14px; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; margin-right: calc(var(--gutter) * -1); }
  .breadcrumbs::-webkit-scrollbar { display: none; }
  .page-head .chips { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
  .page-head .chips::-webkit-scrollbar { display: none; }
  .page-head .chip { flex: none; }
  .mcards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mcard { padding: 14px; }
  .mcard h3 { font-size: 14px; }
  .ccat { grid-template-columns: 1fr; padding: 20px; }
  .ccat__img { order: -1; height: 130px; }
  .grid-products, .grid-products--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .toolbar .select { max-width: 190px; }
  .keyspecs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pcard--used .pcard__req { display: none; }
  .citem__sum { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
  .gallery__thumbs { grid-template-columns: repeat(6, 64px); overflow-x: auto; scrollbar-width: none; }
  .gallery__arrow { opacity: 1; width: 38px; height: 38px; margin-top: -19px; }
  .buybox { padding: 18px; }
  .buybox__row .btn { flex-basis: 100%; }
  .qty { flex: 1; justify-content: space-between; }
  .citem .qty { flex: none; }
  .features-grid, .apps, .stats, .contact-cards { grid-template-columns: 1fr; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .specs div { grid-template-columns: 1fr; gap: 2px; }
  .ctable tbody th, .ctable thead th { width: 130px; min-width: 130px; }
  .ctable td { min-width: 180px; }
  .map--big { min-height: 300px; }
}

/* ---------- тема на CMS: уведомления, ошибки форм, заглушка фото ---------- */
.toast {
  position: fixed; z-index: 120; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
  max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 14px; background: var(--navy-950); color: #fff;
  font-size: 14.5px; box-shadow: var(--sh-2); transition: transform .35s var(--ease); pointer-events: none;
}
.toast.is-shown { transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; margin-left: 6px; }
.is-invalid { border-color: #E5484D !important; color: #E5484D !important; }
.pcard__media img.pcard__noimg { inset: 30%; width: 40%; height: 40%; opacity: .12; mix-blend-mode: normal; }
.types__list li { display: grid; }
.nowrap { white-space: nowrap; }
.mega__col { min-width: 0; }
@media (max-width: 920px) { .mega { display: none; } }

/* кнопки «Написать» в VK / MAX в блоке менеджера */
.manager .manager__msg { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- телефоны: две линии со значками операторов (parts/phone_lines.tpl) ---------- */
.plines { display: grid; gap: 10px; text-align: left; }
.pline { display: grid; grid-template-columns: 22px auto; column-gap: 10px; align-items: center; justify-content: start; }
.pline .opico { width: 22px; height: 22px; grid-row: span 2; flex: none; }
.pline__free { font: 600 16px/1.25 var(--ff-head); letter-spacing: -.01em; color: var(--navy-950); white-space: nowrap; }
.pline__sub { font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.pline__sub a { color: var(--ink-2); font-weight: 500; white-space: nowrap; }
.pline a:hover { color: var(--steel); }
/* шапка: строка на линию — значок | 8 800 | мобильный, колонки выровнены */
.plines--header { grid-template-columns: 18px auto auto; column-gap: 10px; row-gap: 4px; align-items: center; }
.plines--header .pline { display: contents; }
.plines--header .opico { width: 18px; height: 18px; grid-row: auto; }
.plines--header .pline__free { font-size: 15px; line-height: 1.2; }
.plines--header .pline__sub a { color: var(--muted); }
.plines--header .pline__op { display: none; }
/* подвал */
.plines--dark .pline__free { color: #fff; font-size: 17px; }
.plines--dark .pline__sub, .plines--dark .pline__sub a { color: var(--steel-200); }
.plines--dark a:hover { color: var(--accent); }
.drawer__contacts .plines { margin-bottom: 6px; }
.ccard .plines { margin: 4px 0 2px; }
.contacts-list .plines { margin-top: 4px; }
/* «Перезвоните мне» в верхней полосе */
.topbar__callback { font: inherit; color: inherit; border-bottom: 1px dashed currentColor; line-height: 1.2; }
.topbar__callback:hover { color: #fff; }
@media (max-width: 1240px) {
  .plines--header { grid-template-columns: 18px auto; }
  .plines--header .pline__sub { display: none; }
}

/* ---------- услуга «Пожаротушение» в карточке техники ---------- */
.service-offer {
  display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; align-items: start;
  padding: 16px 18px; border-radius: 14px; background: #FFF6DC; border: 1px solid #F6D77A; border-left: 4px solid var(--accent);
}
.service-offer__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-950); color: var(--accent); grid-row: span 3; }
.service-offer__ico .icon { width: 22px; height: 22px; }
.service-offer__label { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #8A6400; }
.service-offer__title { font: 600 15.5px/1.3 var(--ff-head); color: var(--navy-950); letter-spacing: -.01em; }
.service-offer__text { font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.service-offer .btn { grid-column: 2; justify-self: start; margin-top: 8px; }
@media (max-width: 520px) {
  .service-offer { grid-template-columns: 1fr; }
  .service-offer__ico { grid-row: auto; }
  .service-offer .btn { grid-column: 1; }
}
