/* ==========================================================================
   НСТ · опорные поручни — дизайн-система
   Палитра снята с бренда nst-comp.ru: слейт #3C4B5C / #243548, графит #1B1B1B
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-var-cyrillic.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  src: url('/assets/fonts/manrope-var-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var-cyrillic.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-var-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* бренд */
  --ink: #243548;
  --ink-2: #3c4b5c;
  --ink-3: #597a9b;
  --graphite: #1b1b1b;
  --muted: #6b7787;
  --muted-2: #8c96a3;
  --line: #dfe3e8;
  --line-soft: #eaedf1;
  --paper: #f6f5f2;
  --paper-2: #efeeea;
  --white: #ffffff;
  --accent: #a8804e;
  --accent-soft: #f0e7db;
  --ok: #3f6b52;

  /* типографика */
  --f-head: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* сетка */
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --sp: clamp(48px, 7vw, 104px);
  --r: 3px;

  /* движение */
  --e-out: cubic-bezier(.16, 1, .3, 1);
  --e-in-out: cubic-bezier(.65, .05, .36, 1);
  --t-fast: .18s;
  --t-mid: .42s;
  --t-slow: .9s;

  --shadow-1: 0 1px 2px rgba(36, 53, 72, .05), 0 8px 24px -16px rgba(36, 53, 72, .25);
  --shadow-2: 0 2px 6px rgba(36, 53, 72, .06), 0 24px 48px -28px rgba(36, 53, 72, .35);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: clamp(15px, 1.02vw, 16.5px);
  line-height: 1.62;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.022em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.25rem); }
h3 { font-size: clamp(1.12rem, 1.5vw, 1.35rem); letter-spacing: -.014em; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }
a { color: var(--ink-2); text-decoration: none; }
a:hover { color: var(--ink); }
img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }
ul, ol { margin: 0 0 1em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink-3); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--ink); color: #fff; }

/* ---------- утилиты ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--ink); color: #fff; padding: 12px 20px; }
.skip:focus { left: 8px; top: 8px; }
.eyebrow {
  font-family: var(--f-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .7em;
  margin: 0 0 1.1em;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--ink-3); flex: none; }
.lead { font-size: clamp(1.02rem, 1.35vw, 1.18rem); line-height: 1.55; color: var(--ink-2); }
.mono { font-family: var(--f-head); font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* ---------- кнопки ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 15px 26px;
  min-height: 50px;
  font-family: var(--f-head);
  font-size: .95rem;
  font-weight: 650;
  letter-spacing: -.005em;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--bg);
  border-radius: var(--r);
  overflow: hidden;
  isolation: isolate;
  transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--e-out);
  will-change: transform;
}
.btn > * { position: relative; z-index: 2; }
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--ink-3);
  transform: translateY(101%);
  transition: transform var(--t-mid) var(--e-out);
}
.btn:hover { color: #fff; border-color: var(--ink-3); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.985); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { --fg: #fff; }
.btn--ghost::before { background: var(--ink); }
.btn--light { --bg: #fff; --fg: var(--ink); border-color: #fff; }
.btn--light::before { background: var(--paper-2); }
.btn--light:hover { color: var(--ink); border-color: var(--paper-2); }
.btn--sm { padding: 10px 18px; min-height: 42px; font-size: .86rem; }
.btn--wide { width: 100%; }
.btn svg { width: 17px; height: 17px; flex: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--f-head);
  font-weight: 650;
  font-size: .92rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: border-color var(--t-fast), gap var(--t-fast) var(--e-out);
}
.link-arrow:hover { border-color: var(--ink); gap: .85em; }
.link-arrow svg { width: 15px; height: 15px; }

/* ---------- шапка ---------- */
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}
.hdr.is-stuck { border-color: var(--line-soft); box-shadow: 0 8px 24px -22px rgba(36, 53, 72, .5); }
.hdr__in {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 34px);
  min-height: 74px;
  transition: min-height var(--t-mid) var(--e-out);
}
.hdr.is-stuck .hdr__in { min-height: 62px; }
.logo { display: flex; align-items: center; gap: 12px; flex: none; }
.logo__mark {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: var(--ink);
  border-radius: 2px;
  color: #fff;
  font-family: var(--f-head);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: -.02em;
}
.logo__txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-family: var(--f-head); font-weight: 800; font-size: 1.02rem; color: var(--ink); letter-spacing: -.02em; }
.logo__sub { font-size: .68rem; color: var(--muted); letter-spacing: .01em; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; min-width: 0; }
.nav__link {
  position: relative;
  padding: 9px 10px;
  font-family: var(--f-head);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 2px;
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 10px; right: 10px; bottom: 4px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-mid) var(--e-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); font-weight: 700; }

.hdr__side { display: flex; align-items: center; gap: 14px; flex: none; }
.hdr__phone { display: flex; flex-direction: column; line-height: 1.2; }
.hdr__phone a { font-family: var(--f-head); font-weight: 700; font-size: .93rem; color: var(--ink); letter-spacing: -.01em; }
.hdr__phone span { font-size: .68rem; color: var(--muted); }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 2px;
  flex: none;
}
.burger span { position: relative; width: 18px; height: 1.5px; background: var(--ink); transition: transform var(--t-mid) var(--e-out), background var(--t-fast); }
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--ink);
  transition: transform var(--t-mid) var(--e-out), top var(--t-mid) var(--e-out);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open .burger span { background: transparent; }
body.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
body.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* мобильное меню */
.mnav {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--white);
  padding: 92px var(--gut) 40px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t-mid) var(--e-out), transform var(--t-mid) var(--e-out), visibility var(--t-mid);
}
body.menu-open .mnav { opacity: 1; visibility: visible; transform: none; }
.mnav__list { list-style: none; padding: 0; margin: 0 0 28px; }
.mnav__list li { margin: 0; border-bottom: 1px solid var(--line-soft); opacity: 0; transform: translateY(10px); }
body.menu-open .mnav__list li { animation: mnavIn .5s var(--e-out) forwards; animation-delay: calc(var(--i) * 40ms); }
@keyframes mnavIn { to { opacity: 1; transform: none; } }
.mnav__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0;
  font-family: var(--f-head);
  font-size: 1.12rem;
  font-weight: 650;
  color: var(--ink);
}
.mnav__list a::after { content: '→'; color: var(--muted-2); font-weight: 400; }
.mnav__meta { display: grid; gap: 6px; font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.mnav__meta a { color: var(--ink); font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; }
body.menu-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(36px, 5vw, 74px) 0 clamp(30px, 4vw, 54px);
  overflow: hidden;
  background: linear-gradient(178deg, #fbfbfa 0%, #f6f5f2 62%, #f6f5f2 100%);
  border-bottom: 1px solid var(--line-soft);
}
.hero__grid-bg {
  position: absolute;
  inset: -10% -5% 0;
  background-image:
    linear-gradient(to right, rgba(36, 53, 72, .055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(36, 53, 72, .055) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 62% 30%, #000 10%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 62% 30%, #000 10%, transparent 72%);
  will-change: transform;
  pointer-events: none;
}
.hero__in {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.hero__copy { max-width: 620px; }
.hero h1 { margin-bottom: .5em; }
.hero h1 em { font-style: normal; color: var(--ink-3); position: relative; }
.hero__lead { max-width: 34em; margin-bottom: 1.7em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.5em; }
.hero__note {
  display: flex; flex-wrap: wrap; gap: 6px 18px;
  font-size: .8rem; color: var(--muted);
}
.hero__note span { display: inline-flex; align-items: center; gap: .5em; }
.hero__note span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); flex: none; }

/* чертёж */
.draft { position: relative; }
.draft svg { width: 100%; height: auto; overflow: visible; }
.draft__frame {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-2);
  padding: clamp(14px, 2vw, 26px);
}
.draft__frame::before,
.draft__frame::after {
  content: '';
  position: absolute;
  width: 10px; height: 10px;
  border: 1px solid var(--ink-3);
  opacity: .55;
}
.draft__frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.draft__frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.draft__cap {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px; margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--line);
  font-family: var(--f-head); font-size: .7rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted-2);
}
.draft__cap b { color: var(--ink); font-weight: 700; letter-spacing: .02em; }

/* SVG-чертёж: анимация прорисовки */
.dline { stroke: var(--ink-2); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dline--thin { stroke: var(--muted-2); stroke-width: .7; }
.dline--main { stroke: var(--ink); stroke-width: 7; }
.dline--dim { stroke: var(--ink-3); stroke-width: .9; stroke-dasharray: 5 4; }
.ddim-text { font-family: var(--f-head); font-size: 8.4px; fill: var(--muted); letter-spacing: .04em; }
.ddot { fill: var(--accent); }

.js .dline[data-draw] { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.js .hero.is-in .dline[data-draw] {
  animation: drawLine 1.5s var(--e-in-out) forwards;
  animation-delay: calc(var(--d, 0) * 1ms + 180ms);
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.js .draft .dfade { opacity: 0; transform: translateY(4px); }
.js .hero.is-in .dfade { animation: dFade .7s var(--e-out) forwards; animation-delay: calc(var(--d, 0) * 1ms + 900ms); }
@keyframes dFade { to { opacity: 1; transform: none; } }

/* карточки-цифры под hero */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); margin-top: clamp(26px, 3.4vw, 44px); border-radius: var(--r); overflow: hidden; }
.fact { background: #fff; padding: 20px 22px; }
.fact__v { font-family: var(--f-head); font-weight: 750; font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--ink); letter-spacing: -.02em; }
.fact__l { font-size: .84rem; color: var(--ink-2); margin-top: 2px; }
.fact__n { font-size: .74rem; color: var(--muted-2); margin-top: 6px; }

/* ---------- секции ---------- */
.sec { padding: var(--sp) 0; }
.sec--tight { padding: clamp(34px, 4.4vw, 62px) 0; }
.sec--paper { background: var(--paper); }
.sec--ink { background: var(--ink); color: rgba(255, 255, 255, .78); }
.sec--ink h2, .sec--ink h3 { color: #fff; }
.sec--ink .eyebrow { color: rgba(255, 255, 255, .55); }
.sec--ink .eyebrow::before { background: rgba(255, 255, 255, .35); }
.sec--line { border-top: 1px solid var(--line-soft); }

.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(18px, 4vw, 64px); align-items: end; margin-bottom: clamp(26px, 3.6vw, 48px); }
.sec__head h2 { max-width: 20em; }
.sec__head .lead { max-width: 32em; }

/* появление */
.js [data-reveal] { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-in { animation: revealUp .8s var(--e-out) forwards; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes revealUp { to { opacity: 1; transform: none; } }

/* ---------- типы поручней ---------- */
.types { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.type {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 22px 22px 18px;
  min-height: 220px;
  overflow: hidden;
  transition: border-color var(--t-fast), transform var(--t-mid) var(--e-out), box-shadow var(--t-mid) var(--e-out);
}
.type::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-mid) var(--e-out);
}
.type:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: var(--ink-3); }
.type:hover::after { transform: scaleX(1); }
.type__count { font-family: var(--f-head); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.type h3 { font-size: 1.06rem; margin-bottom: .5em; }
.type p { font-size: .88rem; color: var(--muted); line-height: 1.55; margin-bottom: 1.2em; }
.type__go { margin-top: auto; display: inline-flex; align-items: center; gap: .5em; font-family: var(--f-head); font-size: .82rem; font-weight: 650; color: var(--ink); }
.type__go svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--e-out); }
.type:hover .type__go svg { transform: translateX(3px); }

/* ---------- бегущая строка нормативов ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line-soft); background: var(--white); padding: 13px 0; }
.marquee__track { display: flex; gap: 0; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 0 22px;
  font-family: var(--f-head); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.marquee__item::after { content: ''; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); flex: none; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- каталог: карточки ---------- */
.grid-prod { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.5vw, 20px); }
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color var(--t-fast), box-shadow var(--t-mid) var(--e-out), transform var(--t-mid) var(--e-out);
}
.pcard:hover { border-color: var(--ink-3); box-shadow: var(--shadow-1); transform: translateY(-3px); }
.pcard__media { position: relative; aspect-ratio: 4 / 3; background: #fbfbfa; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: contain; padding: 8px 6px; transition: transform var(--t-slow) var(--e-out); }
.pcard:hover .pcard__media img { transform: scale(1.045); }
.pcard__badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--ink); color: #fff;
  font-family: var(--f-head); font-size: .64rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 2px;
}
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 15px 16px 16px; border-top: 1px solid var(--line-soft); }
.pcard__name { font-family: var(--f-head); font-weight: 650; font-size: .94rem; line-height: 1.32; color: var(--ink); margin-bottom: 7px; letter-spacing: -.01em; }
.pcard__meta { font-size: .76rem; color: var(--muted-2); margin-bottom: 12px; }
.pcard__meta span { white-space: nowrap; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.pcard__price { font-family: var(--f-head); font-weight: 750; font-size: 1.02rem; color: var(--ink); letter-spacing: -.02em; }
.pcard__price small { font-weight: 500; font-size: .68rem; color: var(--muted-2); letter-spacing: 0; }
.pcard__go { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 2px; transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.pcard__go svg { width: 15px; height: 15px; }
.pcard:hover .pcard__go { background: var(--ink); border-color: var(--ink); color: #fff; }
.pcard__link { position: absolute; inset: 0; z-index: 3; }

/* подсветка за курсором */
.spot { position: relative; }
.spot::before {
  content: '';
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(89, 122, 155, .09), transparent 70%);
  opacity: 0; transition: opacity var(--t-mid);
}
.spot:hover::before { opacity: 1; }

/* ---------- страница каталога ---------- */
.cat-layout { display: grid; grid-template-columns: 258px minmax(0, 1fr); gap: clamp(20px, 3vw, 42px); align-items: start; }
.filters {
  position: sticky; top: 86px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 4px 18px 18px;
}
.filters__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 12px; border-bottom: 1px solid var(--line-soft); }
.filters__title { font-family: var(--f-head); font-weight: 700; font-size: .92rem; color: var(--ink); }
.filters__reset { background: none; border: 0; padding: 0; font-size: .76rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.filters__reset:hover { color: var(--ink); }
.fgroup { border-bottom: 1px solid var(--line-soft); padding: 14px 0; }
.fgroup:last-child { border-bottom: 0; padding-bottom: 0; }
.fgroup__t { font-family: var(--f-head); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.fopt { display: flex; align-items: center; gap: 9px; padding: 5px 0; cursor: pointer; font-size: .87rem; color: var(--ink-2); transition: color var(--t-fast); }
.fopt:hover { color: var(--ink); }
.fopt input { position: absolute; opacity: 0; width: 0; height: 0; }
.fopt__box {
  width: 16px; height: 16px; flex: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  display: grid; place-items: center;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.fopt__box::after { content: ''; width: 8px; height: 4px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg) scale(0); transition: transform var(--t-fast) var(--e-out); margin-top: -2px; }
.fopt input:checked + .fopt__box { background: var(--ink); border-color: var(--ink); }
.fopt input:checked + .fopt__box::after { transform: rotate(-45deg) scale(1); }
.fopt input:focus-visible + .fopt__box { outline: 2px solid var(--ink-3); outline-offset: 2px; }
.fopt__n { margin-left: auto; font-size: .72rem; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.fopt--radio .fopt__box { border-radius: 50%; }
.fopt--radio .fopt__box::after { width: 6px; height: 6px; border: 0; background: #fff; border-radius: 50%; transform: scale(0); margin: 0; }
.fopt--radio input:checked + .fopt__box::after { transform: scale(1); }

.cat-toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.cat-toolbar > .btn[data-filters-open] { display: none; }
.cat-count { font-size: .84rem; color: var(--muted); }
.cat-count b { color: var(--ink); font-family: var(--f-head); font-weight: 700; }
.cat-sort { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7787' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 9px 34px 9px 12px;
  font-size: .84rem;
  color: var(--ink);
  cursor: pointer;
}
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 40px; padding: 5px 6px 5px 12px;
  font-size: .78rem; color: var(--ink-2);
  animation: chipIn .3s var(--e-out);
}
@keyframes chipIn { from { opacity: 0; transform: scale(.92); } }
.chip button { display: grid; place-items: center; width: 18px; height: 18px; border: 0; background: rgba(36, 53, 72, .1); border-radius: 50%; font-size: 0; color: var(--ink); }
.chip button::before { content: '×'; font-size: 13px; line-height: 1; }
.chip button:hover { background: var(--ink); color: #fff; }
.filters__mobile { display: none; }
.empty { padding: 60px 20px; text-align: center; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); }
.empty h3 { margin-bottom: .5em; }

/* FLIP-переход карточек */
.pcard.is-flipping { transition: none; }

/* ---------- карточка товара ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.gal { position: sticky; top: 90px; }
.gal__main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fbfbfa;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  cursor: zoom-in;
}
.gal__main img { width: 100%; height: 100%; object-fit: contain; padding: clamp(16px, 4vw, 40px); transition: transform .7s var(--e-out); }
.gal__main.is-zoom img { transform: scale(1.85); }
.gal__badge { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; font-family: var(--f-head); font-size: .66rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; padding: 6px 10px; border-radius: 2px; }
.gal__hint { position: absolute; right: 12px; bottom: 12px; display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 40px; padding: 6px 12px; font-size: .7rem; color: var(--muted); backdrop-filter: blur(6px); }
.gal__hint svg { width: 13px; height: 13px; }
.gal__thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gal__thumb { width: 76px; height: 76px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; transition: border-color var(--t-fast); }
.gal__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gal__thumb.is-active, .gal__thumb:hover { border-color: var(--ink); }

.pdp__kicker { font-family: var(--f-head); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.pdp h1 { font-size: clamp(1.6rem, 2.9vw, 2.35rem); margin-bottom: .45em; }
.pdp__lead { font-size: 1.02rem; color: var(--ink-2); margin-bottom: 1.4em; }
.pdp__buy { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 0; border-block: 1px solid var(--line-soft); margin-bottom: 18px; }
.pdp__price { font-family: var(--f-head); font-weight: 780; font-size: clamp(1.5rem, 2.4vw, 1.95rem); color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.pdp__price small { font-size: .72rem; font-weight: 500; color: var(--muted-2); letter-spacing: 0; margin-left: 4px; }
.pdp__stock { display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; color: var(--ok); }
.pdp__stock::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(63, 107, 82, .14); }
.pdp__bullets { list-style: none; padding: 0; margin: 0 0 20px; }
.pdp__bullets li { position: relative; padding-left: 22px; font-size: .92rem; margin-bottom: 8px; }
.pdp__bullets li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 1.5px; background: var(--ink-3); }
.pdp__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.pdp__trust div { font-size: .76rem; color: var(--muted); line-height: 1.45; }
.pdp__trust b { display: block; font-family: var(--f-head); font-size: .82rem; color: var(--ink); margin-bottom: 2px; }

/* характеристики */
.spec { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec tr { border-bottom: 1px solid var(--line-soft); }
.spec tr:last-child { border-bottom: 0; }
.spec th { text-align: left; font-weight: 500; color: var(--muted); padding: 10px 12px 10px 0; width: 45%; }
.spec td { padding: 10px 0; color: var(--ink); font-family: var(--f-head); font-weight: 600; }
.spec tr:hover { background: var(--paper); }

/* ---------- посадочные ---------- */
.lhero { padding: clamp(30px, 4vw, 60px) 0 clamp(24px, 3vw, 40px); background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.lhero__in { max-width: 880px; }
.lhero h1 { margin-bottom: .42em; }
.lhero .lead { font-size: clamp(1.02rem, 1.4vw, 1.16rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 7px; font-size: .76rem; color: var(--muted-2); margin-bottom: 18px; }
.crumbs a { color: var(--muted); display: inline-block; padding: 4px 0; min-height: 24px; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs span { opacity: .55; }

.prose { max-width: 74ch; }
.prose h2 { margin: 0 0 .7em; }
.prose h3 { margin: 1.5em 0 .5em; }
.prose p { color: var(--ink-2); }
.prose section + section { margin-top: clamp(28px, 3.4vw, 44px); }
.prose ul { color: var(--ink-2); }
.prose li::marker { color: var(--ink-3); }

.split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px;
  position: sticky; top: 90px;
}
.side-card__t { font-family: var(--f-head); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.side-card + .side-card { margin-top: 16px; position: static; }

/* таблица нормативов */
.norms { width: 100%; border-collapse: collapse; font-size: .86rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.norms th, .norms td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.norms thead th { background: var(--paper); font-family: var(--f-head); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.norms tbody tr:last-child td { border-bottom: 0; }
.norms td:nth-child(2) { font-family: var(--f-head); font-weight: 650; color: var(--ink); white-space: nowrap; }
.norms td:nth-child(3) { color: var(--muted-2); font-size: .78rem; }
.norms tbody tr:hover { background: #fcfcfb; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 20px 0;
  background: none; border: 0; text-align: left;
  font-family: var(--f-head); font-weight: 650; font-size: 1rem; color: var(--ink);
  transition: color var(--t-fast);
}
.faq__q:hover { color: var(--ink-3); }
.faq__ico { position: relative; width: 18px; height: 18px; flex: none; margin-top: 3px; }
.faq__ico::before, .faq__ico::after { content: ''; position: absolute; inset: 50% 0 auto; height: 1.5px; background: var(--ink-3); transition: transform var(--t-mid) var(--e-out); }
.faq__ico::after { transform: rotate(90deg); }
.faq__item.is-open .faq__ico::after { transform: rotate(0); }
.faq__a { overflow: hidden; height: 0; transition: height var(--t-mid) var(--e-out); }
.faq__a > div { padding: 0 40px 22px 0; font-size: .93rem; color: var(--muted); }
.faq__a p { margin: 0; }

/* ---------- форма ---------- */
.form-card {
  position: relative;
  background: var(--ink);
  color: rgba(255, 255, 255, .8);
  border-radius: var(--r);
  padding: clamp(24px, 3.4vw, 44px);
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(600px circle at 85% -10%, rgba(89, 122, 155, .5), transparent 60%),
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  pointer-events: none;
}
.form-card > * { position: relative; }
.form-card h2 { color: #fff; margin-bottom: .4em; }
.form-card__lead { color: rgba(255,255,255,.68); margin-bottom: 1.6em; max-width: 36em; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; color: rgba(255,255,255,.6); font-family: var(--f-head); font-weight: 600; letter-spacing: .02em; }
.field input, .field textarea, .field select {
  width: 100%;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 2px;
  padding: 12px 14px;
  color: #fff;
  font-size: .93rem;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 84px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .34); }
.field input:focus, .field textarea:focus { outline: 0; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.11); box-shadow: 0 0 0 3px rgba(255,255,255,.08); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #d98a7a; }
.field--hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: .76rem; color: rgba(255,255,255,.56); line-height: 1.5; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check__box { width: 16px; height: 16px; flex: none; margin-top: 1px; border: 1px solid rgba(255,255,255,.3); border-radius: 2px; display: grid; place-items: center; transition: background var(--t-fast), border-color var(--t-fast); }
.check__box::after { content: ''; width: 8px; height: 4px; border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); transform: rotate(-45deg) scale(0); transition: transform var(--t-fast) var(--e-out); margin-top: -2px; }
.check input:checked + .check__box { background: #fff; border-color: #fff; }
.check input:checked + .check__box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid #fff; outline-offset: 2px; }
.check a { color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 2px; }
.form-note { font-size: .72rem; color: rgba(255,255,255,.42); margin-top: 12px; }
.form-err { color: #f0b3a6; font-size: .8rem; margin-top: 10px; display: none; }
.form-err.is-on { display: block; }

/* успех */
.form-ok { display: none; text-align: center; padding: 20px 0 10px; }
.form-ok.is-on { display: block; animation: okIn .5s var(--e-out); }
@keyframes okIn { from { opacity: 0; transform: translateY(8px); } }
.form-ok__circle { width: 64px; height: 64px; margin: 0 auto 18px; }
.form-ok__circle circle { stroke: #fff; stroke-width: 2; fill: none; stroke-dasharray: 166; stroke-dashoffset: 166; animation: drawCircle .7s var(--e-in-out) forwards; }
.form-ok__circle path { stroke: #fff; stroke-width: 2.4; fill: none; stroke-linecap: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: drawCheck .45s var(--e-out) .55s forwards; }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.form-ok h3 { color: #fff; margin-bottom: .4em; }
.form-ok p { color: rgba(255,255,255,.66); font-size: .9rem; }

/* ---------- CTA полоса ---------- */
.cta-band { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(20px, 4vw, 48px); align-items: center; }
.cta-band h2 { margin-bottom: .35em; }
.cta-band p { color: var(--muted); max-width: 42em; }
.cta-band__act { display: flex; flex-direction: column; gap: 10px; }
.cta-band__act .btn { width: 100%; }
.cta-band__act small { text-align: center; font-size: .74rem; color: var(--muted-2); }

/* ---------- подвал ---------- */
.ftr { background: #1c2735; color: rgba(255, 255, 255, .58); padding: clamp(40px, 5vw, 68px) 0 0; font-size: .86rem; }
.ftr a { color: rgba(255, 255, 255, .58); transition: color var(--t-fast); }
.ftr a:hover { color: #fff; }
.ftr__top { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, .9fr)); gap: clamp(22px, 3vw, 44px); padding-bottom: clamp(28px, 3.4vw, 44px); }
.ftr__brand .logo__name { color: #fff; }
.ftr__brand .logo__sub { color: rgba(255, 255, 255, .45); }
.ftr__brand p { margin: 16px 0 0; max-width: 26em; font-size: .82rem; line-height: 1.6; }
.ftr__t { font-family: var(--f-head); font-size: .72rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; color: rgba(255, 255, 255, .34); margin-bottom: 14px; }
.ftr__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.ftr__list li { margin: 0; }
.ftr__list a { display: inline-block; padding: 4px 0; min-height: 24px; }
.ftr__contacts { display: grid; gap: 10px; margin-top: 18px; }
.ftr__contacts a { font-family: var(--f-head); font-weight: 700; color: #fff; font-size: .96rem; }
.ftr__contacts span { font-size: .78rem; color: rgba(255,255,255,.4); }
.ftr__bot { border-top: 1px solid rgba(255, 255, 255, .09); padding: 18px 0 22px; display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; font-size: .76rem; color: rgba(255, 255, 255, .34); }
.ftr__bot a { color: rgba(255, 255, 255, .44); display: inline-block; padding: 4px 0; min-height: 24px; }
.ftr__bot span:last-child { margin-left: auto; }

/* нижняя панель на мобильном */
.mbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px max(10px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
  transform: translateY(110%);
  transition: transform var(--t-mid) var(--e-out);
}
.mbar.is-on { transform: none; }
.mbar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 46px; border-radius: 2px;
  font-family: var(--f-head); font-size: .88rem; font-weight: 650;
}
.mbar a svg { width: 16px; height: 16px; }
.mbar__call { border: 1px solid var(--line); color: var(--ink); }
.mbar__ask { background: var(--ink); color: #fff; }

/* ---------- всплывающее уведомление ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 80;
  transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  background: var(--ink); color: #fff;
  padding: 13px 22px; border-radius: 2px;
  font-size: .86rem;
  box-shadow: var(--shadow-2);
  transition: transform var(--t-mid) var(--e-out), visibility var(--t-mid);
  max-width: calc(100vw - 32px);
}
.toast.is-on { transform: translate(-50%, 0); visibility: visible; }
body.filters-open .toast { display: none; }

.prose a, .form-card a, .norms a, .side-card a:not(.btn), .step a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  display: inline-block;
  padding: 3px 0;
  margin: -3px 0;
}
.prose a:hover, .form-card a:hover { text-decoration-color: currentColor; }
.check a { padding: 3px 0; margin: -3px 0; display: inline-block; }

/* ---------- прочее ---------- */
.note-box { border-left: 2px solid var(--accent); background: var(--accent-soft); padding: 16px 18px; border-radius: 0 var(--r) var(--r) 0; font-size: .88rem; color: #6b563a; }
.note-box b { color: #4d3d29; }
.tagrow { display: flex; flex-wrap: wrap; gap: 7px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; font-family: var(--f-head); font-size: .72rem; letter-spacing: .04em; color: var(--muted); background: var(--paper); border: 1px solid var(--line); border-radius: 40px; padding: 4px 12px; transition: color var(--t-fast), border-color var(--t-fast); }
a.tag:hover { color: var(--ink); border-color: var(--ink-3); }
.statrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r); overflow: hidden; margin-top: 26px; }
.statrow > div { background: var(--ink); padding: 18px 20px; }
.statrow b { display: block; font-family: var(--f-head); font-size: 1.3rem; color: #fff; letter-spacing: -.02em; }
.statrow span { font-size: .78rem; color: rgba(255,255,255,.5); }

.steps { display: grid; gap: 0; counter-reset: st; }
.step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: clamp(14px, 2vw, 26px); padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step__n { font-family: var(--f-head); font-weight: 800; font-size: .9rem; color: var(--ink-3); letter-spacing: .04em; padding-top: 3px; }
.step h3 { margin-bottom: .35em; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- адаптив ---------- */
@media (max-width: 1120px) {
  .types, .grid-prod { grid-template-columns: repeat(3, 1fr); }
  .nav__link { padding: 9px 8px; font-size: .84rem; }
  .hdr__phone { display: none; }
}
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; gap: 30px; }
  .hero__copy { max-width: none; }
  .draft { max-width: 520px; }
  .sec__head { grid-template-columns: 1fr; gap: 14px; align-items: start; }
  .split, .pdp { grid-template-columns: 1fr; }
  .gal { position: static; }
  .side-card { position: static; }
  .cat-layout { grid-template-columns: 1fr; }
  .grid-prod { padding-bottom: 78px; }
  .filters {
    position: fixed; inset: auto 0 0 0; z-index: 70;
    max-height: 82vh; overflow-y: auto;
    border-radius: 12px 12px 0 0;
    transform: translateY(101%);
    transition: transform var(--t-mid) var(--e-out);
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    box-shadow: 0 -20px 60px -20px rgba(36,53,72,.35);
  }
  .filters.is-open { transform: none; }
  .filters__mobile {
    display: flex; gap: 8px;
    position: sticky; bottom: 0; left: 0; right: 0;
    margin: 14px -18px calc(-18px - env(safe-area-inset-bottom));
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line-soft);
    box-shadow: 0 -12px 24px -20px rgba(36, 53, 72, .5);
  }
  .filters__mobile .btn { flex: 1; }
  body.filters-open .mbar { transform: translateY(110%); }
  .cat-toolbar > .btn[data-filters-open] { display: inline-flex; }
  .cat-sort { margin-left: 0; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr__side .btn { display: none; }
  .cta-band { grid-template-columns: 1fr; }
  .mbar { display: flex; }
  body { padding-bottom: 0; }
  .pdp__trust { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 760px) {
  .types, .grid-prod { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
  .fact { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: baseline; padding: 15px 18px; }
  .fact__l { margin: 0; }
  .fact__n { grid-column: 2; margin: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .statrow { grid-template-columns: 1fr; }
  .ftr__top { grid-template-columns: 1fr; gap: 26px; }
  .ftr__bot { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ftr__bot span:last-child { margin-left: 0; }
  .norms { display: block; overflow-x: auto; white-space: nowrap; }
  .step { grid-template-columns: 34px minmax(0, 1fr); }
  .type { min-height: 0; padding: 18px 16px 16px; }
  .type h3 { font-size: 1rem; }
  .sec__head h2 { max-width: none; }
  .toast { bottom: 84px; }
  .pdp__buy { gap: 12px; }
  .pdp__buy .btn { width: 100%; }
}
@media (max-width: 420px) {
  .grid-prod { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard__body { padding: 12px 12px 13px; }
  .pcard__name { font-size: .86rem; }
  .pcard__meta { font-size: .7rem; margin-bottom: 9px; }
  .pcard__price { font-size: .95rem; }
  .pcard__go { width: 30px; height: 30px; }
}

/* ---------- доступность / reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js [data-reveal], .js .draft .dfade { opacity: 1; transform: none; }
  .js .dline[data-draw] { stroke-dasharray: none; stroke-dashoffset: 0; }
  .marquee__track { animation: none; }
}

/* печать */
@media print {
  .hdr, .mbar, .mnav, .ftr, .form-card, .toast { display: none !important; }
  body { color: #000; }
  a { text-decoration: underline; }
}
