/* ============================================================================
   Неруд-Икс · Дизайн-система «Тёплая логистика» · v6.0
   Слой 01-base · модуль 8 px, контейнер 1240/1440, шрифты Manrope
   Палитра поддомена подставляется инлайном в <head> (ЧАСТЬ 31)
   ============================================================================ */

/* ---------- 01 BASE ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/manrope-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F, U+2190-2199, U+2212;
}

:root {
  --bg: #F6F3ED;
  --bg-alt: #EFEAE0;
  --ink: #1E2522;
  --ink-soft: #5C6560;
  --accent: #B86535;
  --deep: #2F6451;
  --sand: #E6D7C4;
  --line: #E0DAD0;
  --amber: #E8A04A;
  --danger: #B5342F;
  --ok: #2F7D4A;
  --max-a: #6D3BEF;
  --max-b: #9B4DFF;
  --paper: #FFFFFF;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --t-fast: 120ms;
  --t-base: 220ms;
  --t-slow: 380ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --sh-sm: 0 1px 2px rgba(30, 37, 34, .06);
  --sh-md: 0 8px 24px rgba(30, 37, 34, .08);
  --sh-lg: 0 18px 48px rgba(30, 37, 34, .12);
  --sh-accent: 0 10px 24px rgba(184, 101, 53, .32);

  --header-h: 72px;
  --topbar-h: 36px;
  --stickybar-h: 64px;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
html, body {
  overflow-x: clip;
  max-width: 100vw;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', 'Golos Text', 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'tnum' 0;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.is-locked { overflow: hidden; }

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

::selection { background: color-mix(in srgb, var(--accent) 26%, transparent); }

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--deep) 60%, transparent);
  outline-offset: 2px;
  border-radius: 4px;
}

.visually-hidden, .skip {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.skip {
  left: 8px; top: 8px; z-index: 200;
  background: var(--ink); color: var(--bg);
  padding: 8px 16px; border-radius: 8px;
  clip: auto; clip-path: none; width: auto; height: auto;
  transform: translateY(-200%);
  transition: transform var(--t-base) var(--ease);
}
.skip:focus { transform: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.ico { width: 20px; height: 20px; flex: none; }

/* Типографика (3.3) */
h1 { font-size: clamp(28px, 4.4vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -0.022em; }
h2, .h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.16; letter-spacing: -0.018em; }
h3, .h3 { font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.24; letter-spacing: -0.012em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-soft); }
.kicker {
  font-size: 12.5px; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
}
/* ровный текст: переносы по слогам, запрет висячих строк, единый ритм абзацев */
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }
.seo-text p, .prose p, .article__body p, .faq__a { margin-bottom: 16px; line-height: 1.68; }
h2, .h2, h3, .h3 { margin: 0 0 12px; }
.section h2 + p, .sec-head + p { margin-top: 0; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li + li { margin-top: 6px; }
b, strong { font-weight: 800; }
.num, .price, .tabular { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }

/* ---------- КНОПКИ (3.5) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; font-weight: 700; line-height: 1;
  padding: 12px 24px; min-height: 48px; font-size: 15px;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-base) var(--ease),
              background var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              filter var(--t-fast) var(--ease);
  white-space: nowrap; user-select: none;
}
.btn--lg { padding: 16px 32px; min-height: 56px; font-size: 17px; border-radius: 14px; }
.btn--sm { padding: 8px 16px; min-height: 36px; font-size: 13px; border-radius: 10px; }
.btn--block { width: 100%; }
.btn--primary {
  background: linear-gradient(160deg, var(--accent), color-mix(in srgb, var(--accent) 75%, #7a3c14));
  color: #fff; box-shadow: var(--sh-accent);
}
.btn--dark { background: var(--ink); color: var(--bg); }
.btn--outline { border: 1.5px solid var(--line); color: var(--ink); background: var(--paper); }
.btn--outline-dark { border: 1.5px solid rgba(246, 243, 237, .4); color: #F6F3ED; background: rgba(246, 243, 237, .10); }
.btn--ghost { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); }
.btn--max {
  background: linear-gradient(135deg, var(--max-a), var(--max-b));
  color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 8px 20px rgba(109, 59, 239, .28);
}
.btn--link { background: none; color: var(--deep); text-decoration: underline; text-underline-offset: 3px; padding: 4px 0; min-height: 0; }
.btn:hover { transform: translateY(-2px); }
.btn--primary:hover { box-shadow: 0 14px 30px rgba(184, 101, 53, .38); }
.btn--outline:hover { border-color: var(--deep); color: var(--deep); }
.btn--outline-dark:hover { background: rgba(246, 243, 237, .18); }
.btn:active { transform: none; filter: brightness(.96); }
.btn:disabled, .btn.is-disabled { opacity: .45; pointer-events: none; }
.btn.is-loading { pointer-events: none; opacity: .8; }
.btn.is-loading::after {
  content: ''; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
  animation: ddspin .7s linear infinite;
}
.btn.is-success { background: var(--ok); color: #fff; }
@keyframes ddspin { to { transform: rotate(360deg); } }

/* ---------- ИКОНКИ-КНОПКИ ---------- */
.iconbtn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px; color: var(--ink);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.iconbtn:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); }
.iconbtn__badge {
  position: absolute; top: 2px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.iconbtn.is-bump { animation: bump .28s var(--ease); }
@keyframes bump { 50% { transform: scale(1.12); } }
.iconbtn--max { width: auto; padding: 0 10px; gap: 6px; background: linear-gradient(135deg, var(--max-a), var(--max-b)); color: #fff; }
.iconbtn--max:hover { transform: translateY(-2px); background: linear-gradient(135deg, var(--max-a), var(--max-b)); filter: brightness(1.06); color: #fff; }
.iconbtn__maximg { width: 22px; height: 22px; }
.iconbtn__maxlabel { font-size: 12px; font-weight: 800; letter-spacing: .04em; }

/* ---------- 02 LAYOUT: ТОПБАР + ШАПКА (18) ---------- */
.topbar {
  height: var(--topbar-h); background: var(--ink); color: rgba(246, 243, 237, .78);
  font-size: 12.5px; display: flex; align-items: center;
}
.topbar__in { display: flex; align-items: center; gap: 10px; width: 100%; }
.topbar__dot { opacity: .45; }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.topbar__link { color: rgba(246, 243, 237, .78); transition: color var(--t-fast); }
.topbar__link:hover { color: #fff; }
.topbar__tel { color: #F6F3ED; font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.header__in {
  height: var(--header-h);
  display: flex; align-items: center; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 8px; color: var(--ink); flex: none; }
.logo__mark { color: var(--accent); display: flex; }
.logo__word { font-weight: 800; font-size: 18px; letter-spacing: -0.03em; white-space: nowrap; }
.logo__crest img { width: 28px; height: 28px; border-radius: 6px; object-fit: cover; display: none; }
.logo__city { font-size: 11px; color: var(--ink-soft); display: none; max-width: 110px; line-height: 1.15; }

.citybtn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper);
  font-size: 13.5px; font-weight: 700; color: var(--ink);
  transition: border-color var(--t-fast), background var(--t-fast);
  max-width: 170px;
}
.citybtn:hover { border-color: var(--accent); }
.citybtn__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.citybtn .ico--chev { color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.nav__btn, .nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 12px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--ink);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  position: relative;
}
.nav__btn:hover, .nav__link:hover { color: var(--accent); }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 2px; width: 16px; height: 2px; background: var(--accent); border-radius: 2px;
}
.nav__btn { border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; }
.nav__btn[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }

.head-utils { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.head-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; margin-right: 6px; }
.head-phone__num { font-size: 15px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.head-phone__hint { font-size: 11px; color: var(--ink-soft); }
.burger { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; }
.burger:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.burger__dots { display: flex; gap: 4px; }
.burger__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }

/* Мегаменю */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-lg); z-index: 55;
  animation: megain var(--t-base) var(--ease-out);
}
@keyframes megain { from { opacity: 0; transform: translateY(-8px); } }
.mega__grid {
  display: grid; grid-template-columns: repeat(3, 1fr) 260px; gap: 16px;
  padding: 24px 20px;
}
.mega__scene {
  position: relative; display: block; border-radius: var(--r-md); overflow: hidden;
  color: #fff; isolation: isolate; min-height: 150px;
}
.mega__scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform var(--t-slow) var(--ease); }
.mega__scene::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(30, 37, 34, .82));
}
.mega__scene:hover img { transform: scale(1.05); }
.mega__scene span { position: absolute; left: 16px; bottom: 36px; font-weight: 800; font-size: 17px; }
.mega__scene b { position: absolute; left: 16px; bottom: 14px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; }
.mega__list { display: flex; flex-direction: column; gap: 6px; padding: 4px 8px; }
.mega__kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; }
.mega__list a { font-size: 14px; font-weight: 600; color: var(--ink); padding: 4px 0; }
.mega__list a:hover { color: var(--accent); }
.mega__all { color: var(--deep) !important; font-weight: 700 !important; margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; }
.mega__cats { grid-column: 1 / -2; min-width: 0; }
.mega__catgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.mega__cat {
  display: flex; align-items: center; gap: 9px; min-width: 0;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-md);
  background: #fff; font-size: 13.5px; font-weight: 700; line-height: 1.25; color: var(--ink);
  transition: border-color var(--t-base) var(--ease), color var(--t-base) var(--ease);
}
.mega__cat:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 2px 10px rgba(31, 38, 35, .08); }
.mega__cat .ico { flex: none; color: var(--deep); }
.mega__cat:hover .ico { color: var(--accent); }
.mega__cat span { min-width: 0; }
.mega__cat em {
  margin-left: auto; flex: none; font-style: normal; font-size: 11.5px; font-weight: 700;
  color: var(--ink-soft); background: rgba(47, 100, 81, .08); border-radius: 999px; padding: 2px 8px;
}
.mmenu__purkicker { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 14px 0 2px; }

/* Дроверы */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(420px, 100vw); background: var(--bg);
  display: flex; flex-direction: column;
  box-shadow: var(--sh-lg);
  transform: translateX(100%); transition: transform var(--t-slow) var(--ease);
  overscroll-behavior: contain;
}
.drawer.is-open { transform: none; }
.drawer--menu { width: min(360px, 100vw); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--line); flex: none;
}
.drawer__title { font-size: 18px; font-weight: 800; }
.drawer__search { position: relative; padding: 12px 20px; flex: none; }
.drawer__search .input { padding-left: 40px; }
.drawer__searchico { position: absolute; left: 32px; top: 50%; transform: translateY(-28%); color: var(--ink-soft); }
.drawer__body { overflow-y: auto; padding: 0 20px 24px; overscroll-behavior: contain; }
.drawer__group { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 8px 0; }
.drawer__empty { padding: 24px 0; text-align: center; color: var(--ink-soft); font-size: 14px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.citylist { display: flex; flex-direction: column; }
.citylist__item a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px;
  color: var(--ink); transition: background var(--t-fast);
}
.citylist__item a:hover { background: var(--sand); }
.citylist__item.is-current a { background: var(--sand); font-weight: 700; }
.citylist__crest { width: 24px; height: 24px; border-radius: 6px; object-fit: cover; flex: none; background: var(--paper); }
.citylist__name { font-size: 15px; font-weight: 600; }
.citylist__region { margin-left: auto; font-size: 11px; color: var(--ink-soft); }
.overlay {
  position: fixed; inset: 0; z-index: 85; background: rgba(30, 37, 34, .46);
  opacity: 0; transition: opacity var(--t-slow) var(--ease);
}
.overlay.is-on { opacity: 1; }

/* Мобильное меню */
.mcity {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 14px 16px; margin: 12px 0; border-radius: var(--r-md);
  background: var(--sand); font-weight: 700; text-align: left;
}
.mcity__hint { margin-left: auto; font-size: 11px; color: var(--ink-soft); font-weight: 500; }
.mmenu { display: flex; flex-direction: column; }
.mmenu__link, .mmenu__accbtn {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 8px; font-size: 16px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--line); text-align: left;
}
.mmenu__accbtn .ico--chev { margin-left: auto; transition: transform var(--t-base); }
.mmenu__accbtn[aria-expanded="true"] .ico--chev { transform: rotate(180deg); }
.mmenu__accbody { padding: 8px 0 12px 32px; display: flex; flex-direction: column; gap: 4px; }
.mmenu__accbody a { font-size: 14.5px; color: var(--ink); padding: 4px 0; }
.mphone {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 16px 0 10px; font-size: 19px; font-weight: 800; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.drawer__worktime { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 13px; color: var(--ink-soft); }

/* ---------- ХЛЕБНЫЕ (7.11) — ПО ЦЕНТРУ ---------- */
.crumbs { padding: 16px 0 4px; }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 13px; color: var(--ink-soft); }
.crumbs li { display: flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: '/'; color: var(--line); }
.crumbs a { color: var(--ink-soft); }
.crumbs a:hover { color: var(--accent); }
.crumbs li:last-child { color: var(--ink); font-weight: 600; }

/* ---------- СЕКЦИИ ---------- */
.section { padding: clamp(56px, 8vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: var(--bg); }
.sec-head { max-width: 880px; margin: 0 0 36px; text-align: left; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.sec-head .kicker { display: inline-flex; align-items: center; gap: 10px; }
.sec-head .kicker::before {
  content: ''; width: 34px; height: 3px; border-radius: 2px; flex: none;
  background: var(--cat-accent, var(--accent));
}
.sec-head__lead { max-width: 72ch; }
.sec-head .kicker { color: var(--accent); }
.section--dark .sec-head .kicker { color: var(--amber); }
.sec-head__lead { color: var(--ink-soft); font-size: clamp(15.5px, 1.2vw, 17px); }
.section--dark .sec-head__lead { color: rgba(246, 243, 237, .7); }

/* Reveal-анимации (3.9) */
.js-reveal { opacity: 1; transform: none; }
.has-js .js-reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.has-js .js-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .js-reveal { opacity: 1; transform: none; }
}

/* ---------- 03 HOME: HERO-СЛАЙДЕР (требование: 3–5 фото, авто + ручное) ---------- */
.hero { position: relative; min-height: 620px; height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; color: #F6F3ED; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__slide img, .hero__slide picture { width: 100%; height: 100%; }
.hero__slide img { object-fit: cover; object-position: 50% 60%; }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,37,34,.66) 0%, rgba(30,37,34,.34) 46%, rgba(30,37,34,.14) 100%); }
.hero__dusts { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: .85; }
.hero__in { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; padding-top: 24px; padding-bottom: 56px; }
.hero__copy { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(246,243,237,.14); border: 1px solid rgba(246,243,237,.22);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 999px; padding: 6px 14px; font-size: 12.5px; font-weight: 700; color: #F6F3ED;
}
.hero__chip img { width: 18px; height: 18px; border-radius: 4px; object-fit: cover; }
.hero h1 { max-width: 22ch; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.hero__lead { max-width: 46ch; color: rgba(246,243,237,.86); font-size: clamp(15.5px, 1.3vw, 18px); }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__metrics { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 8px; }
.hero__metrics li { display: flex; flex-direction: column; gap: 2px; }
.hero__metrics b { font-size: 20px; font-weight: 800; color: var(--amber); font-variant-numeric: tabular-nums; }
.hero__metrics span { font-size: 12px; color: rgba(246,243,237,.7); max-width: 150px; }

/* Управление слайдером */
.hero__nav { position: absolute; z-index: 3; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 10px; }
.hero__arrow {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(246,243,237,.14); border: 1px solid rgba(246,243,237,.3);
  color: #F6F3ED; display: flex; align-items: center; justify-content: center;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background var(--t-fast), transform var(--t-fast);
}
.hero__arrow:hover { background: rgba(246,243,237,.26); transform: scale(1.05); }
.hero__dots { display: flex; gap: 8px; }
.hero__dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(246,243,237,.4); transition: width var(--t-base) var(--ease), background var(--t-base); }
.hero__dot.is-active { width: 28px; background: var(--amber); }
.hero__counter { position: absolute; z-index: 3; left: 24px; bottom: 28px; font-size: 12.5px; font-weight: 700; color: rgba(246,243,237,.75); font-variant-numeric: tabular-nums; }
.hero__progress { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(246,243,237,.15); }
.hero__progress i { display: block; height: 100%; width: 0; background: var(--amber); }
.hero__slide-title { position: absolute; z-index: 3; left: 24px; bottom: 44px; font-size: 12px; color: rgba(246,243,237,.6); letter-spacing: .04em; }

/* Карточка «Сейчас на складе» */
.stock {
  background: var(--bg); color: var(--ink); border-radius: var(--r-lg);
  padding: 20px; box-shadow: var(--sh-lg); width: 100%; max-width: 400px; margin-left: auto;
  animation: floaty 4.8s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-4px); } }
.stock__kicker { font-size: 11.5px; color: var(--ink-soft); font-weight: 600; margin-bottom: 4px; }
.stock__title { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.stock__row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.stock__row img { width: 56px; height: 42px; border-radius: 8px; object-fit: cover; flex: none; }
.stock__name { font-size: 13.5px; font-weight: 600; line-height: 1.25; flex: 1; }
.stock__price { font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stock__foot { font-size: 12px; color: var(--ink-soft); margin-top: 12px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent); }
.dot--wait { background: var(--amber); box-shadow: 0 0 0 3px color-mix(in srgb, var(--amber) 20%, transparent); }

/* ---------- ПРОМО ---------- */
.promos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.promo {
  background: var(--paper); border-radius: var(--r-lg); padding: 24px;
  min-height: 168px; display: flex; flex-direction: column; gap: 8px;
  box-shadow: var(--sh-sm); border: 1px solid var(--line);
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.promo:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.promo h3 { font-size: 19px; }
.promo p { font-size: 14px; color: var(--ink-soft); }
.promo a { margin-top: auto; font-weight: 700; font-size: 14px; color: var(--deep); display: inline-flex; align-items: center; gap: 6px; }
.promo a:hover { color: var(--accent); }

/* ---------- ЗАДАЧИ ---------- */
.tasks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.task {
  position: relative; border-radius: var(--r-lg); overflow: hidden; display: block;
  color: #fff; min-height: 220px; isolation: isolate;
}
.task img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--t-slow) var(--ease); }
.task::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(30,37,34,.86)); }
.task:hover img { transform: scale(1.05); }
.task__in { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; flex-direction: column; gap: 4px; }
.task__name { font-size: 20px; font-weight: 800; }
.task__desc { font-size: 13px; color: rgba(255,255,255,.82); }
.task__price { font-size: 14px; font-weight: 700; color: var(--amber); font-variant-numeric: tabular-nums; }

/* ---------- КВИЗ ---------- */
.quiz-wrap { background: linear-gradient(180deg, color-mix(in srgb, var(--sand) 35%, var(--bg-alt)), var(--bg-alt)); }
.quiz { max-width: 860px; margin: 0 auto; background: var(--paper); border-radius: var(--r-xl); padding: 32px 40px; box-shadow: var(--sh-md); }
.quiz__progress { display: flex; align-items: center; gap: 8px; margin: 20px 0 28px; }
.quiz__pdot { width: 10px; height: 10px; border-radius: 50%; background: var(--line); flex: none; transition: background var(--t-base); }
.quiz__pdot.is-done { background: var(--deep); }
.quiz__pdot.is-cur { background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.quiz__pline { flex: 1; height: 2px; background: var(--line); }
.quiz__step { font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left;
  padding: 18px; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.quiz__opt:hover { border-color: var(--accent); transform: translateY(-2px); }
.quiz__opt.is-on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--bg)); }
.quiz__opt b { font-size: 16px; }
.quiz__opt span { font-size: 13px; color: var(--ink-soft); }
.quiz__opt .ico { color: var(--accent); }
.quiz__range-row { display: flex; flex-direction: column; gap: 12px; }
.quiz__range-val { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums; }
input[type="range"].quiz__range { width: 100%; accent-color: var(--accent); height: 32px; }
.quiz__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  font-size: 13.5px; font-weight: 600; background: var(--bg); cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.chip:hover { border-color: var(--accent); }
.chip.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.quiz__est { font-size: 14px; color: var(--deep); font-weight: 700; background: color-mix(in srgb, var(--deep) 10%, transparent); padding: 8px 14px; border-radius: 10px; display: inline-block; }
.quiz__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.quiz__sum { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.quiz__note { font-size: 12px; color: var(--ink-soft); }
.quiz__success { text-align: center; display: flex; flex-direction: column; gap: 14px; align-items: center; padding: 24px 0; }
.quiz__success .ico { width: 48px; height: 48px; color: var(--ok); }

/* ---------- КАРТОЧКА ТОВАРА .pcard (21) ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pcard {
  display: flex; flex-direction: column; background: var(--paper);
  border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--sh-sm); position: relative;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.pcard__media { position: relative; display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--sand); }
.pcard__media > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transition: transform var(--t-slow) var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; border-radius: 8px; }
.badge--hit { background: var(--accent); color: #fff; box-shadow: 0 4px 12px rgba(184,101,53,.3); }
.badge--tag { background: rgba(255,255,255,.9); color: var(--ink); border: 1px solid var(--line); }
.badge--sale { background: var(--danger); color: #fff; }
.pcard__fav { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.92); box-shadow: var(--sh-sm); }
.pcard__fav.is-on { color: var(--accent); }
.pcard__fav.is-on .ico { fill: currentColor; }
.pcard__qv { position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 8px); opacity: 0; background: rgba(30,37,34,.8); color: #fff; font-size: 12.5px; font-weight: 700; padding: 8px 14px; border-radius: 999px; transition: opacity var(--t-base), transform var(--t-base); }
.pcard:hover .pcard__qv { opacity: 1; transform: translate(-50%, 0); }
.pcard__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard__avail { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); font-weight: 600; }
.pcard__title { font-size: 16.5px; font-weight: 700; line-height: 1.3; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a { color: var(--ink); }
.pcard__title a:hover { color: var(--accent); }
.pcard__specs { display: flex; flex-direction: column; gap: 5px; }
.pcard__specs li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-soft); }
.pcard__specs .ico { width: 15px; height: 15px; color: var(--deep); }
.pcard__heat { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--ink-soft); }
.meter { flex: 1; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 999px; background: var(--accent); width: 0; transition: width .6s var(--ease-out); }
.meter--deep i { background: var(--deep); }
.meter--amber i { background: var(--amber); }
.meter--soft i { background: var(--ink-soft); }
.pcard__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pcard__price .price { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.price-old { font-size: 13px; color: var(--ink-soft); text-decoration: line-through; }
.price-unit { font-size: 13px; color: var(--ink-soft); }
.pcard__buy { display: flex; gap: 8px; margin-top: auto; }
.pcard__buy .btn { flex: 1; }
.pcard--out .pcard__buy .btn--primary { pointer-events: none; opacity: .45; }

/* ---------- РЕЙТИНГ ПОРОД ---------- */
.rating { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.rating__row { display: grid; grid-template-columns: 220px 1fr; gap: 16px 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; }
.rating__name { font-weight: 700; font-size: 15.5px; }
.rating__name span { display: block; font-size: 12px; color: var(--ink-soft); font-weight: 500; }
.rating__meters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.rating__m { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--ink-soft); }
.rating__note { text-align: center; font-size: 12px; color: var(--ink-soft); margin-top: 8px; }
.rating__scale { text-align: center; font-size: 11.5px; color: var(--ink-soft); }

/* ---------- УСЛОВИЯ ---------- */
.conds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cond {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px; border-radius: var(--r-md); border: 1.5px solid var(--line);
  color: var(--ink); font-weight: 700; font-size: 15px; background: var(--paper);
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.cond:hover { border-color: var(--deep); transform: translateY(-2px); }
.cond .ico { color: var(--deep); transition: transform var(--t-fast); }
.cond:hover .ico { transform: translateX(4px); }

/* ---------- КАЧЕСТВО ---------- */
.quality { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.qstep { display: flex; flex-direction: column; gap: 8px; }
.qstep img { border-radius: var(--r-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.qstep b { font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.qstep p { font-size: 13px; font-weight: 600; line-height: 1.35; }

/* ---------- ПРАЙС-ТАБЛИЦА ---------- */
.price-table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--paper); }
.price-table-wrap .hint-scroll { display: none; }
.price-table { min-width: 640px; }
.price-table caption { caption-side: top; text-align: left; padding: 14px 18px; font-size: 13px; color: var(--ink-soft); }
.price-table th, .price-table td { padding: 12px 18px; text-align: left; font-size: 14px; border-top: 1px solid var(--line); }
.price-table thead th { background: var(--bg-alt); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); border-top: 0; }
.price-table td.num, .price-table th.num { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.price-table tbody tr:hover { background: color-mix(in srgb, var(--sand) 30%, var(--paper)); }
.price-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }

/* ---------- ДОСТАВКА ПРЕВЬЮ ---------- */
.home-del { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.home-del__img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); }
.home-del__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.home-del__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.home-del__li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.home-del__li .ico { color: var(--deep); margin-top: 2px; }
.home-del__nb { font-size: 13.5px; color: var(--ink-soft); margin-bottom: 16px; }
.home-del__nb a { font-weight: 600; }

/* ---------- ФИШКИ ---------- */
.features { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px 20px; }
.feature b.f-num { display: block; font-size: 12px; font-weight: 800; color: var(--amber); letter-spacing: .12em; margin-bottom: 6px; }
.feature h3 { font-size: 15.5px; margin-bottom: 6px; }
.feature p { font-size: 13px; color: rgba(246,243,237,.72); }

/* ---------- РАБОТЫ ---------- */
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; transition: transform var(--t-base), box-shadow var(--t-base); }
.work:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.work img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.work__in { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.work__type { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.work__meta { font-size: 12.5px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 2px; }
.work__meta b { color: var(--accent); font-variant-numeric: tabular-nums; }

/* ---------- СЦЕНАРИИ / ОТЗЫВЫ ---------- */
.stories { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.story { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.story__role { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--deep); }
.story p { font-size: 14px; color: var(--ink); }
.story__foot { font-size: 12px; color: var(--ink-soft); margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-size: 15.5px; font-weight: 700; text-align: left; color: var(--ink);
}
.faq__q:hover { color: var(--accent); }
.faq__q .ico { transition: transform var(--t-base) var(--ease); color: var(--accent); flex: none; }
.faq__q[aria-expanded="true"] .ico { transform: rotate(180deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-slow) var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a p { padding: 0 22px 20px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- SEO-ТЕКСТ ---------- */
.seo-text { max-width: 860px; margin: 0 auto; font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.seo-text p + p { margin-top: 14px; }
.seo-text h2 { font-size: 24px; margin-bottom: 14px; }

/* ---------- ФИНАЛЬНЫЙ CTA ---------- */
.final-cta { position: relative; overflow: hidden; border-radius: 0; }
.final-cta__bg { position: absolute; inset: 0; }
.final-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(30,37,34,.9), rgba(30,37,34,.62)); }
.final-cta__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; color: #F6F3ED; }
.final-cta h2 { color: #fff; }
.final-cta p { color: rgba(246,243,237,.82); margin-top: 12px; }
.final-cta .form { background: var(--paper); border-radius: var(--r-lg); padding: 28px; color: var(--ink); box-shadow: var(--sh-lg); }

/* ---------- ФОРМЫ (3.6) ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 700; }
.field__opt { font-weight: 500; color: var(--ink-soft); }
.input {
  height: 48px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--bg); padding: 0 14px; font-size: 15px; width: 100%;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  caret-color: var(--deep);
}
textarea.input { height: auto; padding: 12px 14px; resize: vertical; min-height: 72px; }
.input:hover { border-color: var(--ink-soft); }
.input:focus { outline: none; border-color: var(--deep); box-shadow: 0 0 0 4px color-mix(in srgb, var(--deep) 14%, transparent); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.field__err { font-size: 13px; color: var(--danger); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--ink-soft); cursor: pointer; }
.consent input { margin-top: 2px; accent-color: var(--deep); width: 16px; height: 16px; flex: none; }
.consent a { text-decoration: underline; }
.hp-field { position: absolute; left: -9999px; }

/* ---------- МОДАЛКИ ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal::before { content: ''; position: absolute; inset: 0; background: rgba(30,37,34,.5); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal__box { position: relative; background: var(--bg); border-radius: var(--r-lg); padding: 28px; width: min(460px, 100%); max-height: 90vh; overflow-y: auto; box-shadow: var(--sh-lg); animation: modalin var(--t-slow) var(--ease-out); }
.modal__box--qv { width: min(880px, 100%); }
@keyframes modalin { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal__close { position: absolute; top: 12px; right: 12px; }
.modal__title { font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.modal__lead { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.qv { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qv img { border-radius: var(--r-md); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.qv__info { display: flex; flex-direction: column; gap: 12px; }
.qv__price { font-size: 26px; font-weight: 800; }

/* ---------- ТОСТЫ ---------- */
.toast-zone { position: fixed; right: 20px; bottom: 20px; z-index: 120; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 40px)); }
.toast {
  background: var(--ink); color: var(--bg); border-radius: var(--r-md);
  padding: 14px 18px; font-size: 14px; box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 12px;
  animation: toastin var(--t-slow) var(--ease-out);
}
.toast--ok .ico { color: #7BD88F; }
.toast--error .ico { color: #FF8A80; }
.toast--info .ico { color: var(--amber); }
.toast a { color: var(--amber); font-weight: 700; margin-left: auto; white-space: nowrap; }
@keyframes toastin { from { opacity: 0; transform: translateY(12px); } }
.toast.is-out { opacity: 0; transform: translateX(20px); transition: all var(--t-base); }

/* ---------- STICKYBAR / НАВЕРХ ---------- */
.stickybar { display: none; }
.totop {
  position: fixed; right: 20px; bottom: 88px; z-index: 70;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--bg); box-shadow: var(--sh-md);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t-fast), opacity var(--t-base);
}
.totop:hover { transform: translateY(-3px); }

/* ---------- ФУТЕР ---------- */
.footer { background: var(--ink); color: rgba(246,243,237,.85); padding: 56px 0 32px; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(246,243,237,.12); }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col a { color: rgba(246,243,237,.78); font-size: 14px; transition: color var(--t-fast); }
.footer__col a:hover { color: #fff; }
.logo--footer { color: #F6F3ED; }
.footer__slogan { font-size: 13px; color: rgba(246,243,237,.6); margin-top: 10px; max-width: 260px; }
.footer__nbkicker { margin-top: 16px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(246,243,237,.5); }
.footer__nb { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.footer__nb a { font-size: 13px !important; }
.footer__kicker { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,243,237,.5); margin-bottom: 6px; }
.footer__tel { font-size: 19px; font-weight: 800; color: #F6F3ED !important; font-variant-numeric: tabular-nums; }
.footer__wt { font-size: 12.5px; color: rgba(246,243,237,.6); }
.footer__mail { font-size: 13.5px; }
.footer__quizlink { color: var(--amber) !important; font-weight: 700; }
.footer__legal { padding-top: 24px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: rgba(246,243,237,.5); }
.footer__docs a { color: rgba(246,243,237,.65); }

/* ---------- COOKIE ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 110;
  background: var(--ink); color: var(--bg); border-radius: var(--r-md);
  padding: 16px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  box-shadow: var(--sh-lg); font-size: 13.5px; max-width: 640px; margin: 0 auto;
  /* фон плашки не крадёт клики: нажимаются только сама кнопка и ссылка */
  pointer-events: none;
}
.cookie a, .cookie button, .cookie .btn { pointer-events: auto; }
.cookie a { color: var(--amber); text-decoration: underline; }
.cookie .btn { margin-left: auto; }

/* ---------- 04 PAGES ---------- */
.page-head { padding: 28px 0 8px; text-align: left; }
.page-head h1 { margin-bottom: 10px; max-width: 26ch; }
.page-head .lead { max-width: 72ch; margin: 0; }

/* Каталог: фильтры */
.catbar { position: sticky; top: var(--header-h); z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding: 12px 0; border-bottom: 1px solid var(--line); }
.catbar__in { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.catbar__count { font-size: 13.5px; color: var(--ink-soft); font-weight: 600; margin-left: auto; }
.select { height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); padding: 0 12px; font-size: 13.5px; font-weight: 600; }
.fchips { display: flex; gap: 8px; flex-wrap: wrap; padding: 14px 0 0; }
.cat-empty { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; gap: 14px; align-items: center; color: var(--ink-soft); }
.cat-empty .ico { width: 44px; height: 44px; color: var(--line); }

/* Карточка товара — 16 зон */
.product { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 8px; }
.gallery { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.gallery__main { aspect-ratio: 4/3; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 10px; }
.gallery__thumb { width: 84px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; opacity: .8; }
.gallery__thumb.is-on { border-color: var(--accent); opacity: 1; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; box-shadow: var(--sh-sm); }
.gallery__arrow--l { left: 10px; }
.gallery__arrow--r { right: 10px; }
.pinfo { display: flex; flex-direction: column; gap: 16px; }
.pinfo__avail { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); flex-wrap: wrap; }
.pinfo__price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pinfo__price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pinfo__benefit { background: color-mix(in srgb, var(--danger) 10%, transparent); color: var(--danger); font-size: 13px; font-weight: 800; padding: 4px 10px; border-radius: 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; }
.qty button { width: 40px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); }
.qty button:hover { color: var(--accent); background: var(--bg-alt); }
.qty input { width: 64px; height: 44px; text-align: center; border: 0; background: none; font-weight: 700; font-variant-numeric: tabular-nums; }
.pinfo__total { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.pinfo__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.pinfo__cta .btn--primary { flex: 2; min-width: 160px; }
.pinfo__extra { display: flex; gap: 8px; }
.guarantees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.guar { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; font-size: 12.5px; }
.guar .ico { color: var(--deep); }
.guar b { font-size: 13px; }
.slotbox { display: flex; gap: 10px; align-items: center; background: color-mix(in srgb, var(--deep) 8%, var(--bg)); border-radius: var(--r-md); padding: 12px 16px; font-size: 13.5px; }
.slotbox .ico { color: var(--deep); }
.tabs { margin-top: 48px; }
.tabs__nav { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1.5px solid var(--line); }
.tabs__btn { padding: 12px 18px; font-size: 14.5px; font-weight: 700; color: var(--ink-soft); white-space: nowrap; border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; }
.tabs__btn.is-on { color: var(--ink); border-color: var(--accent); }
.tabs__pane { padding: 28px 0; display: none; }
.tabs__pane.is-on { display: block; animation: fadein var(--t-base) var(--ease-out); }
@keyframes fadein { from { opacity: 0; } }
.spec-table th { text-align: left; font-weight: 600; color: var(--ink-soft); padding: 10px 16px 10px 0; width: 45%; font-size: 14px; vertical-align: top; }
.spec-table td { padding: 10px 0; font-size: 14.5px; font-weight: 600; border-bottom: 1px solid var(--line); }
.spec-table th { border-bottom: 1px solid var(--line); }
.sticky-buy {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line); padding: 10px 0; display: none;
}
.sticky-buy__in { display: flex; align-items: center; gap: 16px; }
.sticky-buy__name { font-weight: 700; font-size: 14px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sticky-buy__price { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }

/* Услуги */
.scards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scard { display: flex; flex-direction: column; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); color: var(--ink); }
.scard:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.scard__cat { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); }
.scard__t { font-size: 16px; font-weight: 700; line-height: 1.3; }
.scard__d { font-size: 13px; color: var(--ink-soft); }
.scard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }
.scard__price { font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--accent); }
.scard .ico { color: var(--deep); transition: transform var(--t-fast); }
.scard:hover .ico { transform: translateX(4px); }

/* Доставка */
.del-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: ds; }
.del-step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; counter-increment: ds; }
.del-step::before { content: '0' counter(ds); font-size: 12px; font-weight: 800; color: var(--accent); letter-spacing: .1em; display: block; margin-bottom: 8px; }
.del-step b { font-size: 14.5px; display: block; margin-bottom: 6px; }
.del-step p { font-size: 12.5px; color: var(--ink-soft); }
.zones { margin-top: 32px; }

/* О компании */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about-img { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-md); }
.about-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0; }
.counter { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 12px; }
.counter b { display: block; font-size: 34px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.counter span { font-size: 13px; color: var(--ink-soft); }
.principles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.principle { background: var(--paper); border-left: 3px solid var(--accent); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 20px 22px; }
.principle b { display: block; margin-bottom: 6px; }
.principle p { font-size: 14px; color: var(--ink-soft); }
.reqs { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; font-size: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.reqs div { display: flex; gap: 8px; }
.reqs span { color: var(--ink-soft); min-width: 90px; }

/* Города */
.citygrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.citytile { display: flex; flex-direction: column; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 12px; color: var(--ink); text-align: center; transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.citytile:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--accent); }
.citytile img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--bg-alt); }
.citytile b { font-size: 14.5px; }
.citytile span { font-size: 11.5px; color: var(--ink-soft); }

/* Блог */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; color: var(--ink); transition: transform var(--t-base), box-shadow var(--t-base); }
.post:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.post img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post__in { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post__date { font-size: 12px; color: var(--ink-soft); }
.post__t { font-size: 16.5px; font-weight: 700; line-height: 1.35; }
.post__lead { font-size: 13.5px; color: var(--ink-soft); }
.post__more { margin-top: auto; font-weight: 700; font-size: 13.5px; color: var(--deep); }
.article-body { max-width: 780px; margin: 0 auto; font-size: 16.5px; line-height: 1.7; }
.article-body p + p { margin-top: 16px; }
.article-body h2 { font-size: 24px; margin: 32px 0 12px; }
.article-toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 24px; margin: 24px 0; }
.article-toc b { display: block; margin-bottom: 8px; font-size: 14px; }
.article-toc ol { list-style: decimal; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.article-toc a { font-size: 14px; }

/* Корзина / оформление / сравнение */
.cart-grid { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px 16px; }
.cart-line + .cart-line { margin-top: 10px; }
.cart-line img { width: 88px; height: 66px; border-radius: 10px; object-fit: cover; }
.cart-line__t { font-weight: 700; font-size: 14.5px; }
.cart-line__meta { font-size: 12.5px; color: var(--ink-soft); }
.cart-line__right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-line__sum { font-weight: 800; font-variant-numeric: tabular-nums; }
.cart-sum { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 12px; }
.cart-sum__row { display: flex; justify-content: space-between; font-size: 14px; }
.cart-sum__row--total { font-size: 19px; font-weight: 800; border-top: 1px solid var(--line); padding-top: 12px; }
.cart-empty { text-align: center; padding: 60px 20px; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.cmp-table-wrap { overflow-x: auto; }
.cmp-table th, .cmp-table td { border: 1px solid var(--line); padding: 12px 16px; font-size: 13.5px; text-align: left; }
.cmp-table th { background: var(--bg-alt); }
.cmp-table td:first-child { font-weight: 700; background: var(--paper); }

/* Контакты */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; }
.contact-row .ico { color: var(--deep); margin-top: 3px; }
.contact-row b { display: block; font-size: 15px; }
.contact-row span { font-size: 13.5px; color: var(--ink-soft); }

/* Опт */
.opt-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.opt-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.opt-card .ico { color: var(--accent); width: 28px; height: 28px; }
.opt-card b { font-size: 16px; }
.opt-card p { font-size: 13.5px; color: var(--ink-soft); }

/* Акции */
.akc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.akc { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 28px; color: #fff; isolation: isolate; min-height: 220px; display: flex; flex-direction: column; gap: 10px; }
.akc::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(140deg, var(--deep), color-mix(in srgb, var(--deep) 60%, var(--ink))); }
.akc:nth-child(2n)::before { background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--ink))); }
.akc b { font-size: 22px; font-weight: 800; }
.akc p { color: rgba(255,255,255,.85); font-size: 14px; max-width: 52ch; }
.akc__cond { font-size: 12px; color: rgba(255,255,255,.6); margin-top: auto; }
.akc__term { font-size: 12px; background: rgba(255,255,255,.16); padding: 4px 10px; border-radius: 999px; align-self: flex-start; }

/* 404 */
.page-404 { text-align: center; padding: 80px 20px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.page-404 .ico { width: 72px; height: 72px; color: var(--accent); }
.page-404 h1 { font-size: clamp(40px, 8vw, 88px); }
.page-404__links { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Поиск по сайту */
.searchbox { max-width: 640px; margin: 0 auto; position: relative; }
.searchbox .input { height: 56px; padding-left: 48px; font-size: 16px; }
.searchbox .ico { position: absolute; left: 16px; top: 18px; color: var(--ink-soft); }
.search-res { max-width: 760px; margin: 24px auto 0; display: flex; flex-direction: column; gap: 8px; }
.search-res a { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 18px; color: var(--ink); font-weight: 600; }
.search-res a:hover { border-color: var(--accent); }
.search-res a span { display: block; font-weight: 500; font-size: 13px; color: var(--ink-soft); }

/* Калькуляторы */
.calc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.calc-tile { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--ink); transition: transform var(--t-base), box-shadow var(--t-base); }
.calc-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.calc-tile .ico { color: var(--accent); width: 26px; height: 26px; }
.calc-box { max-width: 860px; margin: 0 auto; background: var(--paper); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh-md); display: flex; flex-direction: column; gap: 18px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-res { background: color-mix(in srgb, var(--deep) 8%, var(--bg)); border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.calc-res b { font-size: 22px; font-variant-numeric: tabular-nums; }
.calc-res .line { display: flex; justify-content: space-between; font-size: 14px; gap: 16px; }

/* ============================================================================
   05 АДАПТИВНОСТЬ (ЧАСТЬ 4: 1440→1240→1024→980→768→560→420→360→320)
   Правила: не ломать вертикальный скролл, не приклеивать блоки к краям,
   контейнер всегда с padding, таблицы/фильтры скроллятся горизонтально
   ============================================================================ */

/* ≤1240 */
@media (max-width: 1240px) {
  :root { --container: 100%; }
  .mega__grid { grid-template-columns: repeat(3, 1fr); }
  .mega__cats { grid-column: 1 / -1; }
  .mega__list { grid-column: span 3; flex-direction: row; flex-wrap: wrap; gap: 4px 20px; }
  .mega__all { margin-left: auto; }
  .head-phone__hint { display: none; }
  .nav__btn, .nav__link { padding: 10px 9px; font-size: 14px; }
  .features { grid-template-columns: repeat(3, 1fr); }
  .quality { grid-template-columns: repeat(3, 1fr); }
  .citygrid { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ≤1024 */
@media (max-width: 1024px) {
  .hero { height: auto; min-height: 0; }
  .hero__in { grid-template-columns: 1fr; gap: 28px; padding-bottom: 72px; }
  .stock { max-width: 100%; margin: 0; animation: none; }
  .hero__counter, .hero__slide-title { display: none; }
  .product { grid-template-columns: 1fr; }
  .home-del { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .final-cta__in { grid-template-columns: 1fr; gap: 28px; }
  .del-steps { grid-template-columns: repeat(2, 1fr); }
  .rating__row { grid-template-columns: 1fr; gap: 12px; }
  .qv { grid-template-columns: 1fr; }
  .guarantees { grid-template-columns: 1fr 1fr; }
}

/* ≤980 — бургер */
@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: flex; }
  .head-phone { display: none; }
  .logo__city { display: none; }
  .citybtn { max-width: 150px; padding: 7px 10px; font-size: 13px; }
  .iconbtn--max .iconbtn__maxlabel { display: none; }
  .iconbtn--max { width: 40px; padding: 0; }
  .header__in { gap: 10px; }
}

/* ≤768 */
@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .section { padding: 48px 0; }
  .pgrid, .tasks, .conds, .scards, .blog-grid, .stories { grid-template-columns: repeat(2, 1fr); }
  .promos, .akc-grid { grid-template-columns: 1fr; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .quality { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .citygrid { grid-template-columns: repeat(3, 1fr); }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .opt-cards, .calc-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-grid { grid-template-columns: 1fr; }
  .cart-sum { position: static; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .reqs { grid-template-columns: 1fr; }
  .hero h1 { text-shadow: 0 1px 3px rgba(0,0,0,.5); }
  .hero__in { padding-top: 32px; }
  .hero__veil { background: linear-gradient(180deg, rgba(30,37,34,.45) 0%, rgba(30,37,34,.72) 60%, rgba(30,37,34,.85) 100%); }
  .hero__cta .btn { flex: 1; }
  .hero__metrics { gap: 16px 24px; }
  .quiz { padding: 24px 20px; border-radius: var(--r-lg); }
  .price-table-wrap .hint-scroll { display: block; font-size: 12px; color: var(--ink-soft); padding: 8px 18px 0; }
  .sticky-buy { display: none !important; }
  .guarantees { grid-template-columns: 1fr; }
}

/* ≤560 — stickybar */
@media (max-width: 560px) {
  .stickybar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
    height: var(--stickybar-h); background: color-mix(in srgb, var(--bg) 94%, transparent);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(30,37,34,.10);
  }
  .stickybar__btn {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px; font-size: 11px; font-weight: 700; color: var(--ink); position: relative;
  }
  .stickybar__btn .ico { color: var(--deep); }
  .stickybar__badge { position: absolute; top: 6px; right: calc(50% - 26px); min-width: 16px; height: 16px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-style: normal; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
  body { padding-bottom: var(--stickybar-h); }
  .totop { bottom: calc(var(--stickybar-h) + 12px); right: 12px; }
  .toast-zone { bottom: calc(var(--stickybar-h) + 12px); left: 12px; right: 12px; max-width: none; }
  .pgrid, .tasks, .conds, .scards, .works, .blog-grid, .stories, .features, .calc-grid { grid-template-columns: 1fr; }
  .quality { grid-template-columns: repeat(2, 1fr); }
  .citygrid { grid-template-columns: repeat(2, 1fr); }
  .opt-cards { grid-template-columns: 1fr; }
  .quiz__opts { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; }
  .crumbs ol { justify-content: flex-start; font-size: 12px; }
  .header__in { height: 64px; }
  :root { --header-h: 64px; }
  .logo__word { font-size: 16px; }
  .citybtn { max-width: 120px; }
  .citybtn .ico--chev { display: none; }
  .hero__metrics li { min-width: 40%; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line img { width: 64px; height: 52px; }
  .cart-line__right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .pinfo__price { font-size: 28px; }
  .pinfo__cta .btn { flex: 1 1 100%; }
  .mega__grid { grid-template-columns: 1fr; padding: 16px; }
  .mega__cats { grid-column: 1 / -1; }
  .mega__catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega__list { grid-column: span 1; }
  .modal__box { padding: 22px 18px; }
  .footer { padding-bottom: 24px; }
}

/* ≤420 */
@media (max-width: 420px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; }
  .citybtn__name { max-width: 84px; }
  .topbar { font-size: 11.5px; }
  .topbar__link:nth-of-type(1), .topbar__link:nth-of-type(2) { display: none; }
  .btn--lg { padding: 14px 24px; font-size: 16px; }
}

/* ≤360 */
@media (max-width: 360px) {
  h1 { font-size: 26px; }
  .container { padding-left: 12px; padding-right: 12px; }
  .quality { grid-template-columns: 1fr; }
  .citygrid { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr; }
  .iconbtn--max { display: none; }
}

/* ≤320 — ничего не должно прижиматься к краям и ломать скролл */
@media (max-width: 320px) {
  .topbar { display: none; }
  .logo__crest, .logo__city { display: none; }
  .hero__metrics { display: none; }
  .crumbs { display: none; }
}

/* Печать — базово, без ломки */
@media print {
  .header, .topbar, .footer, .stickybar, .totop, .cookie, .hero__nav, .drawer, .overlay, .modal,
  .calc--noprint, .calc__cta, .calc__presets, .final-cta, .hero { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
  a { color: #000; text-decoration: underline; }
  /* Печать расчёта: таблица результата целиком, без обрезки по ширине */
  .calc__card { border: 0; box-shadow: none; }
  .calc__rows, .calc__rows th, .calc__rows td { border: 1px solid #999; border-collapse: collapse; padding: 6px 8px; font-size: 12pt; }
  .calc__total { border-top: 2px solid #000; padding-top: 8px; font-size: 14pt; }
}

/* ==== ЧАСТЬ 281-287: safe-area, landscape, hover, autofill ==== */
.stickybar{padding-bottom:calc(8px + env(safe-area-inset-bottom,0px))}
.header__top{padding-top:env(safe-area-inset-top,0px)}
@media (orientation: landscape) and (max-height: 480px){
  .hero{min-height:340px}
  .stickybar{position:static}
}
@media (hover: hover) and (pointer: fine){
  .pcard:hover .pcard__media img{transform:scale(1.03)}
  .btn--primary:hover{filter:brightness(1.06)}
}
input:-webkit-autofill,textarea:-webkit-autofill{-webkit-box-shadow:0 0 0 60px #fff inset;box-shadow:0 0 0 60px #fff inset;-webkit-text-fill-color:#23201B}
.akc__fine{margin:10px 0 0;padding:0 0 0 18px;font-size:12px;line-height:1.5;color:var(--ink-soft,#6b665e)}
.akc__fine li{margin:2px 0}
.price__note{font-size:13px;color:var(--ink-soft,#6b665e);margin:4px 0}
.pcard__garant{margin:10px 0 0;font-size:13px;line-height:1.55;color:var(--ink-soft,#6b665e)}
.pcard__garant p{margin:4px 0}
.calc__plural{font-size:13px;color:var(--ink-soft,#6b665e)}
.svc__details{margin:8px 0 0;padding:0 0 0 20px;line-height:1.6}
.svc__details li{margin:6px 0}

/* ===== Блог: скелет статьи (ЧАСТЬ 38) ===== */
.art-lead{max-width:780px;margin:0 auto 20px;font-size:17.5px;line-height:1.65;color:var(--ink);font-weight:600}
.art-toc{max-width:780px;margin:0 auto 28px;background:var(--surface-2,#f7f7f5);border:1px solid var(--line,#e5e5e0);border-radius:var(--r-md,14px);padding:18px 22px}
.art-toc b{display:block;font-size:13px;text-transform:uppercase;letter-spacing:.08em;color:var(--ink-soft);margin-bottom:10px}
.art-toc ol{margin:0;padding:0 0 0 20px;columns:2;column-gap:32px}
.art-toc li{margin:6px 0;break-inside:avoid;font-size:14.5px;line-height:1.45}
.art-toc a{color:var(--ink);text-decoration:none;border-bottom:1px dashed var(--line)}
.art-toc a:hover{color:var(--accent)}
.article-body h2{max-width:780px;margin:36px auto 12px;font-size:24px;line-height:1.25}
.article-body h3{max-width:780px;margin:24px auto 8px;font-size:19px}
.article-body p{max-width:780px;margin:0 auto 14px;line-height:1.7}
.art-table{max-width:780px;margin:22px auto;width:100%;border-collapse:collapse;font-size:14px}
.art-table caption{caption-side:top;text-align:left;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-soft);padding-bottom:8px}
.art-table th,.art-table td{border:1px solid var(--line,#e5e5e0);padding:8px 10px;text-align:left;vertical-align:top}
.art-table thead th{background:var(--surface-2,#f7f7f5);font-size:13px}
.art-err{max-width:780px;margin:28px auto;padding:20px 24px;border-left:4px solid #d9534f;background:rgba(217,83,79,.06);border-radius:0 var(--r-md,14px) var(--r-md,14px) 0}
.art-err>b{display:block;margin-bottom:10px;font-size:15px;text-transform:uppercase;letter-spacing:.06em}
.art-err ul{margin:0;padding:0 0 0 20px}
.art-err li{margin:6px 0;line-height:1.55}
.art-links{max-width:780px;margin:28px auto}
.art-links>b{display:block;margin-bottom:12px;font-size:15px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-soft)}
.art-links__row{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}
.art-lnk{display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:16px;border:1px solid var(--line,#e5e5e0);border-radius:var(--r-md,14px);text-decoration:none;color:var(--ink);background:var(--bg,#fff);transition:transform .2s,box-shadow .2s}
.art-lnk:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.08)}
.art-lnk span{font-weight:700;font-size:14.5px;line-height:1.35}
.art-lnk b{color:var(--accent);font-size:15px}
.art-city{max-width:780px;margin:28px auto;padding:18px 22px;background:var(--surface-2,#f7f7f5);border-radius:var(--r-md,14px);line-height:1.65}
.art-faq{max-width:780px;margin:28px auto}
.art-faq>b{display:block;margin-bottom:12px;font-size:15px;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-soft)}
.art-faq details{border:1px solid var(--line,#e5e5e0);border-radius:var(--r-md,14px);padding:14px 18px;margin:8px 0;background:var(--bg,#fff)}
.art-faq summary{cursor:pointer;font-weight:700;font-size:15px;list-style:none}
.art-faq summary::-webkit-details-marker{display:none}
.art-faq summary::before{content:"+";margin-right:10px;color:var(--accent);font-weight:800}
.art-faq details[open] summary::before{content:"–"}
.art-faq details p{margin:10px 0 0;line-height:1.6;max-width:none}
@media(max-width:640px){.art-toc ol{columns:1}.article-body h2{font-size:21px}}

/* iOS: поля >=16px, иначе Safari zoom при фокусе и «уезжает» модалка */
@media(max-width:640px){
  .input, textarea.input, select.input, .quiz__range { font-size: 16px; }
  .modal { padding: 12px; }
  .modal__box { max-height: 92vh; }
}

/* Страховка: если быстрый просмотр по какой-то причине пуст — не показываем пустую плашку */
#modal-qv:has(.qv:empty) { display: none !important; }
.qv:empty { display: none; }

/* КОРЕНЬ БОЛЕЗНИ МОДАЛОК: авторское display:flex перекрывало браузерное
   правило [hidden]{display:none}, из-за чего окна «торчали» всегда и не
   закрывались визуально. Возвращаем hidden силу на всех элементах. */
[hidden] { display: none !important; }

/* ==== Раунд-3: плотная шапка при скролле ==== */
.header.is-scrolled { background: var(--bg); box-shadow: var(--sh-sm); }

/* ==== Раунд-3: карточки сценариев (было голое текстовое полотно) ==== */
.scenes { counter-reset: sc; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.scene { position: relative; overflow: hidden; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px 22px 20px; box-shadow: var(--sh-sm); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out); }
.scene::after { counter-increment: sc; content: counter(sc, decimal-leading-zero); position: absolute; top: 14px; right: 18px; font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: color-mix(in srgb, var(--accent) 16%, transparent); }
.scene::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--accent), var(--deep)); opacity: .85; }
.scene:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.scene .kicker { display: block; margin-bottom: 8px; }
.scene b { display: block; font-size: 17.5px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; padding-right: 52px; }
.scene p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 1000px) { .scenes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .scenes { grid-template-columns: 1fr; gap: 14px; } .scene::after { font-size: 38px; } }

/* ==== Раунд-3: галерея товара тянется на всю колонку (убираем пустую песочную полосу) ==== */
.product > .gallery { display: flex; flex-direction: column; align-self: stretch; height: 100%; }
.product > .gallery .gallery__main { flex: 1 1 auto; aspect-ratio: auto; min-height: 380px; }
@media (max-width: 900px) { .product > .gallery .gallery__main { min-height: 0; aspect-ratio: 4/3; flex: 0 0 auto; } }

/* ==== Раунд-3: гарантии в карточке — три аккуратных блока вместо простыни ==== */
.pcard__garant { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.pcard__garant p { margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; font-size: 13px; line-height: 1.55; color: var(--ink-soft); box-shadow: var(--sh-sm); }
.pcard__garant p b { display: block; color: var(--ink); margin-bottom: 4px; }
@media (max-width: 900px) { .pcard__garant { grid-template-columns: 1fr; gap: 10px; } }

/* ==== Раунд-4: мобильная шапка без тесноты (375px и уже) ==== */
@media (max-width: 560px) {
  /* топбар: одна центрированная строка о режиме работы — телефон и ссылки живут в меню и футере */
  .topbar__in { justify-content: center; gap: 6px; }
  .topbar__in > .topbar__item:first-of-type,
  .topbar__in > .topbar__dot,
  .topbar__right { display: none; }
  /* шапка: логотип + город + корзина + бургер, ничего не обрезается */
  .head-utils .js-fav-btn,
  .head-utils .js-cmp-btn,
  .head-utils .iconbtn--max { display: none; }
  .header__in { gap: 8px; }
  .logo { flex: 0 0 auto; }
  .logo__word { font-size: 15.5px; letter-spacing: -0.01em; }
  .citybtn { flex: 1 1 auto; min-width: 0; max-width: none; justify-content: flex-start; }
  .citybtn__name { max-width: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .head-utils { margin-left: auto; display: flex; align-items: center; gap: 6px; }
  .burger { flex: 0 0 auto; }
}
@media (max-width: 360px) {
  .logo__word { font-size: 14.5px; }
  .citybtn { padding: 7px 8px; }
}

/* ==== Разделы каталога (13, новое ТЗ): плитки материалов ==== */
.catsecs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.catsec { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-sm); transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out), border-color var(--t-med); }
.catsec:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.catsec .ico { color: var(--accent); }
.catsec b { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.catsec span { font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }
.catsec em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--deep); margin-top: auto; }
@media (max-width: 1000px) { .catsecs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .catsecs { grid-template-columns: 1fr; gap: 10px; } }

/* ——— Семь калькуляторов, компонент .calc (ЧАСТЬ 501.1) ——— */
.calc { padding: 28px 0; }
.calc__card { max-width: 1080px; margin: 0 auto; background: var(--paper); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh-md); display: flex; flex-direction: column; gap: 22px; }
.calc__head h2 { font-size: 26px; letter-spacing: -0.02em; }
.calc__sub { color: var(--ink-soft); font-size: 14.5px; margin-top: 6px; max-width: 760px; }
.calc__how { margin-top: 6px; }
.calc__form { display: flex; flex-direction: column; gap: 20px; }
.calc__body { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; align-items: start; }
.calc__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calc__fieldset { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; }
.calc__fieldset legend { font-size: 13px; font-weight: 700; padding: 0; margin-bottom: 6px; }
.calc__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip--calc { display: inline-flex; flex-direction: column; gap: 2px; text-align: left; padding: 8px 12px; cursor: pointer; }
.chip--calc b { font-size: 13px; font-weight: 700; }
.chip--calc small { font-size: 11px; color: var(--ink-soft); line-height: 1.3; }
.chip--calc .chip__in { position: absolute; opacity: 0; pointer-events: none; }
.chip--calc.is-on { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip--calc.is-on small { color: rgba(255,255,255,.82); }
.calc__presets { grid-column: 1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.calc__presets-t { font-size: 12.5px; font-weight: 700; color: var(--ink-soft); }
.calc__warn { grid-column: 2; grid-row: 1 / span 2; background: color-mix(in srgb, var(--accent) 7%, var(--bg)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); border-radius: var(--r-md); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.calc__warn-i { font-size: 13px; line-height: 1.5; margin: 0; }
.calc__warn-i--idle { color: var(--ink-soft); font-style: italic; }
.calc__live { background: color-mix(in srgb, var(--deep) 7%, var(--bg)); border-radius: var(--r-md); padding: 18px; font-size: 14px; color: var(--ink-soft); }
.calc__result { display: flex; flex-direction: column; gap: 16px; }
.calc__rows caption, .calc__extra caption { caption-side: top; text-align: left; font-size: 12.5px; color: var(--ink-soft); padding-bottom: 8px; }
.calc__rows th, .calc__rows td, .calc__extra th, .calc__extra td { padding: 9px 12px; font-size: 13.5px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.calc__rows th[scope="row"], .calc__extra th[scope="row"] { font-weight: 700; white-space: normal; }
.calc__rows td.num, .calc__extra td.num { font-variant-numeric: tabular-nums; font-weight: 700; white-space: nowrap; }
.calc__why { color: var(--ink-soft); font-size: 12.5px; }
.calc__extra { background: var(--bg); border-radius: var(--r-md); padding: 16px; }
.calc__extra .h4, .calc__cheaper .h4, .calc__trucks .h4 { display: block; font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.calc__verdict { font-size: 14px; color: var(--deep); font-weight: 700; background: color-mix(in srgb, var(--deep) 9%, transparent); padding: 10px 14px; border-radius: 10px; margin: 0; }
.calc__cheaper { border: 1.5px solid var(--deep); border-radius: var(--r-md); padding: 16px; background: color-mix(in srgb, var(--deep) 6%, var(--bg)); }
.calc__cheaper p { font-size: 13.5px; margin: 0 0 10px; }
.calc__cheaper-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.calc__abon { display: flex; gap: 18px; flex-wrap: wrap; font-size: 14px; margin-bottom: 8px; }
.calc__trucks { }
.calc__truck-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.calc__truck { border: 1px solid var(--line); border-radius: var(--r-md); padding: 12px; display: flex; flex-direction: column; gap: 3px; font-size: 13px; background: var(--bg); }
.calc__truck b { font-size: 16px; }
.calc__truck small { color: var(--ink-soft); font-size: 11.5px; }
.calc__truck.is-best { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--bg)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 14%, transparent); }
.calc__total { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: var(--ink); color: var(--bg); border-radius: var(--r-md); padding: 16px 20px; font-size: 15px; }
.calc__total b { font-size: 26px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.calc__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.calc__foot { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.calc__disclaimer { font-size: 12.5px; color: var(--ink-soft); margin: 0; }
.calc__links { font-size: 12.5px; margin: 0; }
.calc__links a { color: var(--deep); }
.has-js .calc__nojs { display: none; }
.badge--ok { background: var(--ok, #2F6451); color: #fff; }

/* ——— Квизы разделов (ЧАСТЬ 510.1) ——— */
.quiz__q { font-size: 21px; margin: 4px 0 16px; letter-spacing: -0.01em; }
.quiz__opt { text-decoration: none; }
.quiz__hint { margin-top: 14px; font-size: 14px; }
.quiz__hint summary { cursor: pointer; font-weight: 700; color: var(--deep); }
.quiz__hint p { margin: 10px 0; color: var(--ink-soft); line-height: 1.55; }
.quiz__volform { display: flex; flex-direction: column; gap: 14px; }
.quiz__volrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.quiz__livevol { margin: 0; font-size: 14px; color: var(--ink-soft); }
.quiz__livevol b { color: var(--deep); font-size: 17px; }
.quiz__back { display: inline-block; margin-top: 16px; font-size: 13.5px; font-weight: 700; color: var(--deep); text-decoration: none; }
.quiz__back:hover { text-decoration: underline; }
.quiz__fb { margin-top: 10px; font-size: 12.5px; color: var(--ink-soft); font-style: italic; }
.quiz__resume { font-size: 13.5px; background: color-mix(in srgb, var(--deep) 8%, transparent); border-radius: 10px; padding: 10px 14px; margin: 0 0 14px; }
.quiz__result { display: flex; flex-direction: column; gap: 18px; }
.quiz__verdict { font-size: 16px; line-height: 1.65; margin: 0; }
.quiz__verdict a { color: var(--deep); }
.quiz__cards { margin-top: 4px; }
.quiz__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.quiz__phone-note { font-size: 12.5px; color: var(--ink-soft); margin: 0; }

/* ——— Адаптив калькуляторов и квизов (ЧАСТЬ 158) ——— */
@media (max-width: 1000px) {
  .calc__body { grid-template-columns: 1fr; }
  .calc__warn { grid-column: 1; grid-row: auto; }
  .calc__truck-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .calc__card { padding: 20px 16px; }
  .calc__inputs { grid-template-columns: 1fr; }
  .quiz__volrow { grid-template-columns: 1fr; }
  .calc__total { flex-direction: column; align-items: flex-start; gap: 6px; }
  .calc__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- УБОРКА СНЕГА: премиум-страница раздела (сезон) ---------- */
.nav__link--snow { color: var(--deep); font-weight: 800; }
.nav__link--snow em {
  font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--deep); color: #fff; border-radius: 999px; padding: 2px 7px; margin-left: 2px; vertical-align: 2px;
}
.nav__link--snow:hover { color: var(--accent); }
.btn--inv { color: #fff; border-color: rgba(255,255,255,.55); }
.btn--inv:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.snowhero { position: relative; isolation: isolate; color: #fff; padding: 74px 0 56px; overflow: hidden; }
.snowhero__bg { position: absolute; inset: 0; z-index: -2; }
.snowhero__bg img { width: 100%; height: 100%; object-fit: cover; }
.snowhero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(18, 32, 28, .93) 8%, rgba(18, 32, 28, .72) 46%, rgba(18, 32, 28, .38) 100%);
}
.snowhero h1 { color: #fff; max-width: 860px; }
.snowhero__kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: #bfe3d6;
}
.snowhero__lead { max-width: 760px; margin-top: 14px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.92); }
.snowhero__usp { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; max-width: 860px; }
.snowhero__usp li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.94); }
.snowhero__usp .ico { flex: none; margin-top: 2px; color: #8fd0b8; }
.snowhero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.snowhero__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 12px 40px; margin: 34px 0 0; }
.snowhero__stats dt { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; color: #fff; }
.snowhero__stats dd { margin: 2px 0 0; font-size: 12.5px; color: rgba(255,255,255,.75); max-width: 180px; }
.snowtiers { margin-top: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow-x: auto; }
.snowtiers table { width: 100%; border-collapse: collapse; min-width: 640px; }
.snowtiers th, .snowtiers td { padding: 14px 16px; text-align: center; font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--line); }
.snowtiers thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); background: var(--bg-alt); }
.snowtiers tbody th { text-align: left; font-size: 14.5px; font-weight: 700; }
.snowtiers td { font-size: 16px; font-weight: 800; }
.snowtiers td em { display: block; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--accent); }
.snowtiers__best { background: rgba(47, 100, 81, .07); }
.snowtiers__note { padding: 14px 18px 16px; font-size: 13.5px; color: var(--ink-soft); margin: 0; }
.snowadv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.snowadv__i { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 20px 18px; }
.snowadv__i .ico { color: var(--deep); }
.snowadv__i b { display: block; margin: 10px 0 6px; font-size: 16px; }
.snowadv__i p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.steps { list-style: none; counter-reset: st; margin: 26px auto 0; padding: 0; max-width: 860px; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: st; position: relative; padding: 16px 20px 16px 74px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); }
.steps li::before {
  content: counter(st); position: absolute; left: 18px; top: 16px; width: 40px; height: 40px; border-radius: 12px;
  background: var(--deep); color: #fff; font-size: 18px; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.steps b { font-size: 16px; }
.steps p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.snowrev { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.snowrev__i { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.snowrev__i .ico { color: var(--accent); flex: none; }
.snowrev__i p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.snowrev__i cite { font-style: normal; font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.snowcta {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(120deg, var(--deep), #1d4a3c); border-radius: 18px; padding: 34px 36px; color: #fff;
}
.snowcta__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.snowpromo { display: grid; grid-template-columns: 1.05fr 1fr; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--paper); }
.snowpromo img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }
.snowpromo__in { padding: 30px 32px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.snowpromo__in p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.snowpromo__list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.snowpromo__list li { position: relative; padding-left: 22px; font-size: 14.5px; font-weight: 600; }
.snowpromo__list li::before { content: ''; position: absolute; left: 4px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.snowpromo__cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; }
@media (max-width: 980px) {
  .snowhero__usp { grid-template-columns: 1fr; }
  .snowhero__stats { grid-template-columns: repeat(2, auto); gap: 16px 32px; }
  .snowadv, .snowrev { grid-template-columns: 1fr 1fr; }
  .snowpromo { grid-template-columns: 1fr; }
  .snowpromo img { min-height: 240px; max-height: 300px; }
}
@media (max-width: 640px) {
  .snowhero { padding: 52px 0 40px; }
  .snowhero__stats dt { font-size: 21px; }
  .snowadv, .snowrev { grid-template-columns: 1fr; }
  .snowcta { padding: 26px 22px; }
  .steps li { padding-left: 66px; }
}

/* ---------- FIX: кнопки на тёмном, меню «снег», отступы CTA ---------- */
.btn--inv { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.btn--inv:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.nav__link--snow { white-space: nowrap; }
.nav__link--snow .nav__snow-mini { display: none; }
.nav__link--snow em { vertical-align: 1px; }
@media (max-width: 1500px) { .nav__link--snow em { display: none; } }
@media (max-width: 1360px) {
  .nav__link--snow .nav__snow-full { display: none; }
  .nav__link--snow .nav__snow-mini { display: inline; }
}
/* кнопки заявок не прилегают к краям шаблона */
.final-cta__in { padding-top: 18px; padding-bottom: 18px; }
.final-cta .form { padding: 32px; }
.final-cta .form .btn { margin-bottom: 2px; }
.hero__cta { gap: 14px; }
.snowhero__cta { gap: 14px; }
.snowcta { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: center; background: linear-gradient(120deg, var(--ink) 0%, #2E3A33 58%, #3B2E22 100%); border-radius: var(--r-xl); padding: 42px 46px; color: #F6F3ED; box-shadow: var(--sh-lg); }
.snowcta h2 { color: #fff; }
.snowcta__btns { display: flex; gap: 14px; flex-wrap: wrap; }
.snowcta__btns .btn { flex: 0 0 auto; }
.quiz__chips .chip { cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 700; }
.quiz__foot .btn { margin: 4px 0; }
@media (max-width: 900px) {
  .snowcta { grid-template-columns: 1fr; padding: 28px 22px; gap: 20px; }
  .snowcta__btns .btn { width: 100%; }
  .final-cta .form { padding: 24px 20px; }
}

/* ============================================================
   МОБИЛЬНАЯ ВЕРСИЯ 2.0 — эргономика большого пальца (ЧАСТЬ 178)
   Правила: тап-таргет ≥ 44×44, шрифт ≥ 13px, ничего не обрезается,
   горизонтальные списки скроллятся, поля ввода ≥ 16px (без зума iOS).
   ============================================================ */
@media (max-width: 768px) {
  /* 1. Ничего не обрезаем по горизонтали: сетки и гибкие блоки умеют сжиматься */
  .product, .product > *, .calc, .calc__grid, .pgrid > *, .scards > *,
  .conds > *, .tasks > *, .works > *, .blog-grid > *, .catgrid > * { min-width: 0; }
  .product > .gallery { min-width: 0; max-width: 100%; }

  /* 2. Галерея товара: миниатюры скроллятся, а не обрезаются */
  .gallery__thumbs {
    overflow-x: auto; overflow-y: hidden; padding-bottom: 4px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; gap: 8px;
  }
  .gallery__thumb { flex: 0 0 auto; width: 72px; height: 56px; scroll-snap-align: start; }
  .gallery__arrow { width: 44px; height: 44px; }

  /* 3. Тап-таргеты: ссылки и кнопки получают площадь пальца, не меняя вёрстку */
  .crumbs ol { font-size: 13px; gap: 2px; }
  .crumbs a, .footer a, .topbar__link, .nav__link, .mega__link, .mega__catlink {
    display: inline-flex; align-items: center; min-height: 40px;
  }
  .crumbs li + li::before { margin: 0 2px; }
  .topbar { font-size: 13px; }
  .topbar__tel, .topbar__link { padding: 4px 0; }
  .footer a { padding: 6px 0; }
  .stickybar__btn { font-size: 12px; gap: 3px; }
  .iconbtn, .iconbtn--max, .qty button { min-width: 44px; min-height: 44px; }

  /* 4. Точки слайдера: визуально маленькие, но с большой областью нажатия */
  .hero__dot { position: relative; }
  .hero__dot::after { content: ''; position: absolute; left: -16px; right: -16px; top: -18px; bottom: -18px; }

  /* 5. Формы: высота поля ≥ 44px, шрифт ≥ 16px — Safari не зумит и палец попадает */
  .input, textarea.input, select.input, .select {
    min-height: 46px; font-size: 16px; border-radius: 12px;
  }
  .field label { font-size: 13.5px; }
  .chip { min-height: 40px; padding: 8px 14px; }

  /* 6. Таблицы: явный горизонтальный скролл с подсказкой справа */
  .price-table-wrap, .table-wrap, .compare__wrap {
    position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, #000 88%, transparent 100%);
            mask-image: linear-gradient(to right, #000 88%, transparent 100%);
  }
  .price-table { min-width: 560px; font-size: 13.5px; }
  .price-table td, .price-table th { padding: 10px 12px; }
}

@media (max-width: 560px) {
  /* Крупный, «пальцевый» формат карточек и кнопок */
  .btn { min-height: 46px; padding: 13px 18px; }
  .btn--sm { min-height: 40px; padding: 9px 14px; }
  .pcard__cta button, .pcard__cta .btn { min-height: 44px; }
  .calc__submit .btn, .calc__actions .btn { width: 100%; }
  .hero { min-height: 520px; }
  h1 { font-size: 27px; line-height: 1.18; }
  h2 { font-size: 22px; }
  .lead { font-size: 15.5px; line-height: 1.6; }
  .section { padding: 44px 0; }
  /* Карточка товара: цена и действия крупнее, ничего не прижато к краю */
  .pinfo__price { font-size: 30px; }
  .pinfo__cta { gap: 10px; }
  .qty button { width: 46px; height: 46px; }
  /* Фильтры каталога — горизонтальный скролл вместо многострочной «простыни» */
  .catbar__inner, .chips, .filter-chips {
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px;
  }
  .catbar__inner > *, .chips > * { flex: 0 0 auto; }
}

@media (max-width: 420px) {
  .topbar { font-size: 13px; }
  .gallery__thumb { width: 64px; height: 50px; }
  .crumbs ol { font-size: 12.5px; }
  .container { padding-left: 14px; padding-right: 14px; }
  .calc__row > label { font-size: 14px; }
  .pinfo__meta td, .pinfo__meta th { font-size: 13.5px; padding: 8px 10px; }
}

/* Тёмная тема системы — не слепим ночью (уважаем prefers-color-scheme для формы) */
@media (prefers-color-scheme: dark) {
  input.input, textarea.input, select.input { color-scheme: dark; }
}

/* Мобильная читаемость: на телефоне служебный мелкий текст не мельче 12.5px */
@media (max-width: 768px) {
  .citylist__region, .mcity__hint, .logo__city, .head-phone__hint,
  .scard__cat, .rating__m, .mmenu__purkicker, .chip--calc small {
    font-size: 12.5px;
  }
  .pcard__heat, .stock__kicker, .rating__scale, .citytile span,
  .calc__truck small, .snowtiers td em, .badge {
    font-size: 12.5px;
  }
  .citylist a, .citylist li { min-height: 40px; }
  .stickybar__btn { font-size: 12.5px; }
}

/* Логотип и инлайновые ссылки в тексте: попадаем пальцем на телефоне */
@media (max-width: 768px) {
  .logo, .logo--footer { display: inline-flex; align-items: center; min-height: 44px; }
  .cookie a, .consent a, .form-note a, .fine a, .pinfo__note a { display: inline-block; padding: 6px 0; }
}

/* ==========================================================================
   КАТАЛОГ 2.0 — воздух по краям, галерея в карточках, свой стиль каждого раздела
   ========================================================================== */

/* --- 1. Герой каталога: во всю ширину экрана, вплотную под шапкой сайта --- */
.snowhero {
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}
.snowhero__in { padding-top: 0; padding-bottom: 0; }
.snowhero::after, .snowhero__bg { border-radius: 0; }
/* небольшой воздух между героем и содержимым ниже (каталог, подборка, прайс) */
.snowhero + .container { margin-top: 30px; }
@media (max-width: 640px) {
  .snowhero { padding: 44px 0 34px; }
  .snowhero + .container { margin-top: 22px; }
  .snowhero h1 { font-size: clamp(24px, 7.4vw, 32px); }
  .snowhero__usp { grid-template-columns: 1fr; }
  .snowhero__stats { grid-template-columns: 1fr 1fr; gap: 14px 18px; }
  .snowhero__cta .btn { flex: 1 1 100%; justify-content: center; }
}

/* --- 2. Галерея прямо в карточке каталога --- */
.pcard__shots { position: relative; }
.pcard--cat { --gc-accent: var(--cat-accent, var(--accent)); }
.pcard--cat .pcard__title a:hover { color: var(--gc-accent); }
.pcard__ico {
  position: absolute; left: 10px; bottom: 10px; z-index: 3;
  width: 30px; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .94); box-shadow: 0 4px 14px rgba(23, 42, 58, .22);
  color: var(--cat-deep, var(--deep)); pointer-events: none;
}
.pcard__ico .ico { width: 17px; height: 17px; }
.pgal__nav {
  position: absolute; top: 50%; margin-top: -19px; z-index: 4;
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(18, 26, 36, .58); color: #fff;
  box-shadow: 0 6px 18px rgba(23, 42, 58, .34); cursor: pointer;
  opacity: 1; transform: scale(1);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease), background var(--t-base);
}
.pgal__nav .ico { width: 20px; height: 20px; }
.pgal__nav--prev { left: 8px; }
.pgal__nav--next { right: 8px; }
.pgal__nav:hover { background: rgba(18, 26, 36, .88); transform: scale(1.08); }
/* управление галереей работает и без JS, поэтому видно всегда */
.pgal__navs .pgal__nav:hover { background: rgba(18, 26, 36, .88); }
.pcard:hover .pgal__nav, .pgal__nav:focus-visible { opacity: 1; transform: scale(1.08); }
@media (hover: none) { .pgal__nav { opacity: .96; transform: scale(1); width: 32px; height: 32px; margin-top: -16px; } }
.pgal__dots {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 3;
  display: flex; justify-content: center; align-items: center; gap: 5px; pointer-events: none;
}
/* --- Галерея без JavaScript: кадры переключают скрытые radio, нажимают label --- */
.pgal__r { display: none; }
.pgal__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 60%;
  opacity: 0; transition: opacity .3s var(--ease), transform var(--t-slow) var(--ease);
}
.pgal:hover .pgal__img { transform: scale(1.03); }
.pgal__r:nth-of-type(1):checked ~ .pcard__media .pgal__img--1,
.pgal__r:nth-of-type(2):checked ~ .pcard__media .pgal__img--2,
.pgal__r:nth-of-type(3):checked ~ .pcard__media .pgal__img--3,
.pgal__r:nth-of-type(4):checked ~ .pcard__media .pgal__img--4 { opacity: 1; }

/* точки: сама точка мелкая, область нажатия 22 px */
.pgal__dots i {
  position: relative; display: block; width: 22px; height: 22px; border-radius: 99px;
  background: transparent; cursor: pointer; pointer-events: auto;
}
.pgal__dot { display: block; cursor: pointer; pointer-events: auto; }
.pgal__dots i::after {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 7px; height: 7px; border-radius: 99px;
  background: rgba(255, 255, 255, .68); box-shadow: 0 0 0 1px rgba(23, 42, 58, .28);
  transition: width var(--t-base) var(--ease), background var(--t-base);
}
.pgal__r:nth-of-type(1):checked ~ .pgal__dots .d1 i::after,
.pgal__r:nth-of-type(2):checked ~ .pgal__dots .d2 i::after,
.pgal__r:nth-of-type(3):checked ~ .pgal__dots .d3 i::after,
.pgal__r:nth-of-type(4):checked ~ .pgal__dots .d4 i::after { width: 20px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px rgba(23, 42, 58, .38); }

/* стрелки: в каждом состоянии видна только своя пара */
.pgal__navs { position: absolute; inset: 0; pointer-events: none; }
.pgal__navs .pgal__nav { display: none; pointer-events: auto; }
.pgal__r:nth-of-type(1):checked ~ .pgal__navs .pv1,
.pgal__r:nth-of-type(2):checked ~ .pgal__navs .pv2,
.pgal__r:nth-of-type(3):checked ~ .pgal__navs .pv3,
.pgal__r:nth-of-type(4):checked ~ .pgal__navs .pv4,
.pgal__r:nth-of-type(1):checked ~ .pgal__navs .nx1,
.pgal__r:nth-of-type(2):checked ~ .pgal__navs .nx2,
.pgal__r:nth-of-type(3):checked ~ .pgal__navs .nx3,
.pgal__r:nth-of-type(4):checked ~ .pgal__navs .nx4 { display: flex; }

/* счётчик «2 / 4» — тоже на CSS */
.pgal__count { min-width: 34px; text-align: center; }
.pgal__count::before { content: '1 / ' var(--gn, '1'); }
.pgal__r:nth-of-type(2):checked ~ .pgal__count::before { content: '2 / ' var(--gn, '2'); }
.pgal__r:nth-of-type(3):checked ~ .pgal__count::before { content: '3 / ' var(--gn, '3'); }
.pgal__r:nth-of-type(4):checked ~ .pgal__count::before { content: '4 / ' var(--gn, '4'); }
.pgal.is-loading .pgal__img { opacity: .55; }
.pgal__img { transition: opacity var(--t-base) var(--ease), transform var(--t-slow) var(--ease); }
/* «Быстрый просмотр» уходит в центр кадра, чтобы не мешать точкам галереи */
.pcard__media .pcard__qv { left: 50%; top: 50%; bottom: auto; transform: translate(-50%, -50%) scale(.94); }
.pcard:hover .pcard__media .pcard__qv { transform: translate(-50%, -50%) scale(1); }
@media (hover: none) { .pcard__media .pcard__qv { display: none; } }

/* --- 3. Свой характер у каждого раздела каталога --- */
.cat--pesok    { --cat-grad: radial-gradient(120% 90% at 12% 10%, #E8D7A6 0%, rgba(200,162,74,0) 60%); }
.cat--shcheben { --cat-grad: linear-gradient(115deg, #5B6875 0%, rgba(110,123,139,0) 62%); }
.cat--grunty   { --cat-grad: radial-gradient(110% 80% at 82% 8%, #BFD9A9 0%, rgba(79,122,58,0) 58%); }
.cat--beton    { --cat-grad: linear-gradient(140deg, #2D5F80 0%, rgba(62,124,168,0) 60%); }
.cat--keramzit { --cat-grad: radial-gradient(100% 90% at 20% 12%, #EFC29C 0%, rgba(193,112,60,0) 60%); }
.cat--rastvor  { --cat-grad: linear-gradient(125deg, #6E5390 0%, rgba(138,107,168,0) 58%); }
.cat--zhbi     { --cat-grad: repeating-linear-gradient(90deg, rgba(90,100,112,.16) 0 2px, rgba(90,100,112,0) 2px 26px); }
.cat--smesi    { --cat-grad: radial-gradient(90% 80% at 70% 20%, #DCC49B 0%, rgba(168,118,62,0) 62%); }
.cat--zimnie   { --cat-grad: linear-gradient(160deg, #7FBCCB 0%, rgba(74,144,164,0) 58%); }
.cat--suhie-smesi { --cat-grad: repeating-linear-gradient(45deg, rgba(176,96,63,.13) 0 10px, rgba(176,96,63,0) 10px 22px); }
.cat--dekor    { --cat-grad: radial-gradient(100% 80% at 30% 90%, #E7C6D8 0%, rgba(154,91,122,0) 60%); }
.cat--soproduct{ --cat-grad: repeating-linear-gradient(0deg, rgba(63,125,110,.12) 0 1px, rgba(63,125,110,0) 1px 18px),
                             repeating-linear-gradient(90deg, rgba(63,125,110,.12) 0 1px, rgba(63,125,110,0) 1px 18px); }
.cat--arenda-tehniki { --cat-grad: linear-gradient(120deg, #F0B75E 0%, rgba(208,138,44,0) 55%); }
.cat--uborka-snega   { --cat-grad: linear-gradient(180deg, #3F6491 0%, rgba(91,134,184,0) 62%); }

.snowhero__bg::after {
  content: ''; position: absolute; inset: 0; background: var(--cat-grad, none); mix-blend-mode: soft-light;
}
body[class*='cat--'] .snowhero::after {
  background:
    linear-gradient(100deg, rgba(12, 20, 30, .96) 6%, rgba(12, 20, 30, .88) 34%,
    rgba(12, 20, 30, .64) 64%, rgba(12, 20, 30, .32) 100%);
}
.snowhero--flat::after {
  background: linear-gradient(100deg, rgba(12, 20, 30, .95) 6%, rgba(12, 20, 30, .84) 40%, rgba(12, 20, 30, .5) 100%);
}
/* текст героя: ровная колонка по левой линии сетки */
.snowhero__in > * { margin-left: 0; margin-right: 0; }
.snowhero h1 { max-width: 26ch; text-shadow: 0 1px 3px rgba(8, 14, 22, .38); }
.snowhero__lead, .snowhero__usp li, .snowhero__kicker, .snowhero__stats dd { text-shadow: 0 1px 2px rgba(8, 14, 22, .34); }
.snowhero__lead { line-height: 1.62; font-size: 17px; }

/* геометрия героя: три варианта посадки, выбор детерминирован по городу.
   Текст во всех вариантах начинается от одной и той же линии — как в остальных разделах. */
.herovar--b .snowhero { padding: 88px 0 64px; }
.herovar--b .snowhero__lead { max-width: 780px; }
.herovar--b .snowhero__usp { max-width: 800px; }
.herovar--b .snowhero__stats { margin-top: 30px; }
.herovar--c .snowhero { padding: 62px 0 48px; }
.herovar--c .snowhero__lead { max-width: 900px; }
.herovar--c .snowhero__stats { display: flex; flex-wrap: wrap; gap: 14px 34px; }

/* раскладка карточек: три варианта сетки */
.cardsvar--wide .pgrid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
.cardsvar--compact .pgrid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cardsvar--compact .pcard__body { padding: 13px 13px 15px; }
.cardsvar--compact .pcard__title { font-size: 15.5px; }
@media (max-width: 1000px) {
  .cardsvar--wide .pgrid, .cardsvar--compact .pgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cardsvar--wide .pgrid, .cardsvar--compact .pgrid, .pgrid { grid-template-columns: 1fr; }
}

/* акцент раздела в заголовках, ссылках и плашках каталога */
body[class*='cat--'] .kicker { color: var(--cat-deep); }
body[class*='cat--'] .snowadv .ico,
body[class*='cat--'] .choose .ico { color: var(--cat-accent); }
body[class*='cat--'] .sec-head__lead { max-width: 860px; }
body[class*='cat--'] .price-table thead th { background: var(--cat-tint); color: var(--cat-deep); }
body[class*='cat--'] .pcard { border-color: color-mix(in srgb, var(--cat-accent) 18%, var(--line)); }
body[class*='cat--'] .pcard:hover { border-color: color-mix(in srgb, var(--cat-accent) 45%, var(--line)); }

/* --- Галерея в окне быстрого просмотра --- */
.qv__gal { position: relative; overflow: hidden; border-radius: var(--r-md, 14px); background: var(--sand, #E7DFD1); }
.qv__gal .pgal__img { display: block; width: 100%; height: auto; object-fit: cover; }
.qv__gal .pgal__nav { opacity: .96; transform: none; }
.qv__gal .pgal__dots { bottom: 8px; }

  .price-table td a, .price-table th a { display: inline-block; padding: 8px 0; }

/* --- 4. Удобство тапа на телефоне: цели крупнее 40 px --- */
@media (max-width: 640px) {
  .pcard__title { margin: -6px 0 -4px; }
  .pcard__title a { display: block; padding: 8px 0 6px; }
  .pgal__nav { width: 40px; height: 40px; margin-top: -20px; }
  .pgal__nav--prev { left: 4px; }
  .pgal__nav--next { right: 4px; }
  .pcard__fav { width: 40px; height: 40px; }
  input[type="checkbox"], input[type="radio"] { width: 22px; height: 22px; flex: none; }
  .field label, .form label { display: block; padding: 5px 0 3px; }
  .footer__col li > a, .footer__docs a, .fmenu a { min-height: 44px; display: inline-flex; align-items: center; }
  .crumbs a, .breadcrumbs a { min-height: 40px; display: inline-flex; align-items: center; }
  .textlink, .promo a, .home-del__nb a, .seo a, .prose a { display: inline-block; padding: 6px 0; }
  .btn { min-height: 46px; }
  .btn--sm { min-height: 42px; }
  .chip, .fchip, .tablink, .tabs__btn { min-height: 42px; display: inline-flex; align-items: center; }
}

/* --- Страницы задач /katalog/dlya-*/: свой характер, как у разделов каталога --- */
.cat--dlya-fundament, .cat--dlya-beton { --cat-grad: linear-gradient(140deg, #2D5F80 0%, rgba(62,124,168,0) 60%); }
.cat--dlya-drenazh { --cat-grad: repeating-linear-gradient(0deg, rgba(63,125,110,.12) 0 1px, rgba(63,125,110,0) 1px 18px),
                                repeating-linear-gradient(90deg, rgba(63,125,110,.12) 0 1px, rgba(63,125,110,0) 1px 18px); }
.cat--dlya-dorozhki { --cat-grad: radial-gradient(90% 80% at 70% 20%, #DCC49B 0%, rgba(168,118,62,0) 62%); }
.cat--dlya-gazon { --cat-grad: radial-gradient(110% 80% at 82% 8%, #BFD9A9 0%, rgba(79,122,58,0) 58%); }
.cat--dlya-zima { --cat-grad: linear-gradient(180deg, #3F6491 0%, rgba(91,134,184,0) 62%); }
.cat--dlya-styazhka { --cat-grad: linear-gradient(125deg, #6E5390 0%, rgba(138,107,168,0) 58%); }

/* --- Герой услуг: плотный градиент мотива вместо фотографии --- */
.snowhero--flat .snowhero__bg {
  background:
    var(--cat-grad, linear-gradient(140deg, #2D5F80, #3E7CA8)),
    linear-gradient(135deg, var(--cat-deep, #333B45), var(--cat-accent, #5A6470));
  background-blend-mode: soft-light, normal;
}
.snowhero--flat::after { background: linear-gradient(105deg, rgba(14, 22, 32, .9) 10%, rgba(14, 22, 32, .72) 55%, rgba(14, 22, 32, .4) 100%); }
.cat--usl-all { --cat-grad: linear-gradient(125deg, #6E5390 0%, rgba(138,107,168,0) 58%); }
.cat--usl-dostavka { --cat-grad: radial-gradient(90% 80% at 70% 20%, #DCC49B 0%, rgba(193,112,60,0) 62%); }
.cat--usl-zemlyanye { --cat-grad: radial-gradient(110% 80% at 82% 8%, #BFD9A9 0%, rgba(79,122,58,0) 58%); }
.cat--usl-spec-tehnika { --cat-grad: linear-gradient(120deg, #F0B75E 0%, rgba(208,138,44,0) 55%); }
.cat--usl-zimnee, .cat--usl-uborka-snega, .cat--usl-po-pgm { --cat-grad: linear-gradient(180deg, #3F6491 0%, rgba(91,134,184,0) 62%); }
.cat--usl-blagoustroystvo { --cat-grad: radial-gradient(100% 80% at 30% 90%, #E7C6D8 0%, rgba(154,91,122,0) 60%); }
.cat--usl-konsultacii { --cat-grad: repeating-linear-gradient(90deg, rgba(90,100,112,.16) 0 2px, rgba(90,100,112,0) 2px 26px); }
.cat--usl-po-pesku { --cat-grad: radial-gradient(120% 90% at 12% 10%, #E8D7A6 0%, rgba(200,162,74,0) 60%); }
.cat--usl-po-shchebnyu { --cat-grad: linear-gradient(115deg, #5B6875 0%, rgba(110,123,139,0) 62%); }
.cat--usl-po-gruntam { --cat-grad: radial-gradient(110% 80% at 82% 8%, #C3DEAC 0%, rgba(94,138,62,0) 58%); }
.cat--usl-po-keramzitu { --cat-grad: radial-gradient(100% 90% at 20% 12%, #EFC29C 0%, rgba(193,112,60,0) 60%); }
.cat--usl-po-smesyam { --cat-grad: repeating-linear-gradient(45deg, rgba(176,96,63,.13) 0 10px, rgba(176,96,63,0) 10px 22px); }

/* --- 5. Типографика: ровные строки и «премиальная» мера текста --- */
h1, h2, .h2, h3, .h3, .pcard__title, .scard__t { text-wrap: balance; }
p, li, dd, figcaption, .lead, .sec-head__lead { text-wrap: pretty; }
.seo-text p, .prose p, .article__body p, .faq__a, .works p, .story p {
  max-width: 78ch;
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
}
.lead, .sec-head__lead { max-width: 72ch; }
.snowhero__lead { max-width: 64ch; }
.snowhero__kicker {
  display: inline-flex; align-items: center; gap: 8px;
  max-width: 100%;
  font-size: 12px; letter-spacing: .1em; line-height: 1.4;
  text-transform: uppercase; color: #CFE3E9;
}
.snowhero__usp li, .snowhero__stats dd { hyphens: auto; -webkit-hyphens: auto; }
/* счётчик кадров галереи */
.pgal__count {
  position: absolute; right: 10px; bottom: 10px; z-index: 3;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(20, 28, 38, .62); color: #fff;
  font-size: 11.5px; font-weight: 800; font-variant-numeric: tabular-nums;
  letter-spacing: .02em; pointer-events: none;
}
@media (max-width: 640px) {
  .pgal__count { right: 8px; bottom: 8px; font-size: 11px; padding: 3px 7px; }
  .snowhero__kicker { font-size: 11.5px; letter-spacing: .08em; }
}

/* --- 6. Единая геометрия текста: после героя блоки идут от той же левой линии --- */
.snowhero + .container .page-head,
.snowhero ~ .container .page-head { text-align: left; }
.snowhero + .container .page-head .lead,
.snowhero ~ .container .page-head .lead { margin-left: 0; margin-right: 0; max-width: 72ch; }
.snowhero + .container .page-head h2,
.snowhero ~ .container .page-head h2 { max-width: 24ch; }

/* --- Галерея карточки товара без JavaScript --- */
.pgal2 { position: relative; }
.pgal2__r { display: none; }
.gallery__main { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--sand); }
.gallery__main .gimg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .3s var(--ease);
}
.gallery__main .gimg--1 { position: relative; opacity: 1; }
.pgal2__r:nth-of-type(1):checked ~ .gallery__main .gimg { opacity: 0; }
.pgal2__r:nth-of-type(1):checked ~ .gallery__main .gimg--1,
.pgal2__r:nth-of-type(2):checked ~ .gallery__main .gimg--2,
.pgal2__r:nth-of-type(3):checked ~ .gallery__main .gimg--3,
.pgal2__r:nth-of-type(4):checked ~ .gallery__main .gimg--4 { opacity: 1; }
.pgal2__navs { position: absolute; inset: 0; pointer-events: none; }
.pgal2__navs .gallery__arrow { display: none; pointer-events: auto; }
.pgal2__r:nth-of-type(1):checked ~ .pgal2__navs .pv1,
.pgal2__r:nth-of-type(2):checked ~ .pgal2__navs .pv2,
.pgal2__r:nth-of-type(3):checked ~ .pgal2__navs .pv3,
.pgal2__r:nth-of-type(4):checked ~ .pgal2__navs .pv4,
.pgal2__r:nth-of-type(1):checked ~ .pgal2__navs .nx1,
.pgal2__r:nth-of-type(2):checked ~ .pgal2__navs .nx2,
.pgal2__r:nth-of-type(3):checked ~ .pgal2__navs .nx3,
.pgal2__r:nth-of-type(4):checked ~ .pgal2__navs .nx4 { display: flex; }
.pgal2__r:nth-of-type(1):checked ~ .gallery__thumbs .t1,
.pgal2__r:nth-of-type(2):checked ~ .gallery__thumbs .t2,
.pgal2__r:nth-of-type(3):checked ~ .gallery__thumbs .t3,
.pgal2__r:nth-of-type(4):checked ~ .gallery__thumbs .t4 { border-color: var(--accent); opacity: 1; }
.gallery__thumb { cursor: pointer; }
