/* ============================================================
   besaflex.ru — «технический паспорт»: белый лист, волосяные
   линейки, чёрные плашки, коралловый акцент из палитры темы
   (secondary #E36159, tertiary #2BAAB1). Oswald + Inter.
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-cyr.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("fonts/inter-lat.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;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-400-cyr.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-400-lat.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-600-cyr.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-600-lat.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #0b0b0c;
  --ink-2: #1d1e20;
  --ink-3: #3a3b3e;
  --muted: #6c6d6a;
  --muted-2: #8d8e8a;
  --paper: #ffffff;
  --paper-2: #f4f4f1;
  --paper-3: #eceae4;
  --line: #dcdcd6;
  --line-2: #bdbdb6;
  --accent: #e36159;
  --accent-ink: #c2423a;
  --tech: #2baab1;
  --radius: 2px;
  --shell: 1280px;
  --pad: clamp(16px, 4vw, 40px);
  --fs-h1: clamp(2.2rem, 1.2rem + 3.4vw, 4.4rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 1.9vw, 2.7rem);
  --fs-h3: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  --fs-body: clamp(0.95rem, 0.9rem + 0.16vw, 1.03rem);
  --gap: clamp(18px, 2.4vw, 32px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  font-feature-settings: "kern" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4, h5 {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 0.9em; }
p:last-child { margin-bottom: 0; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip:focus { left: 8px; top: 8px; }

/* --- типографика служебная ---------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--accent);
}
.eyebrow--light { color: #b9b9b3; }

.lead {
  font-size: clamp(1rem, 0.95rem + 0.35vw, 1.2rem);
  line-height: 1.5;
  color: var(--ink-3);
}
.muted { color: var(--muted); }
.small { font-size: 13px; line-height: 1.5; }
.nowrap { white-space: nowrap; }

.num {
  font-family: "Inter", sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* --- шапка --------------------------------------------------- */

.util {
  background: var(--ink);
  color: #a9aaa5;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.util .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  padding-top: 4px;
  padding-bottom: 4px;
}
.util a { color: #d9dad4; }
.util a:hover { color: #fff; }
.util-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.util-links span { color: #6f706c; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.site-head.is-stuck { box-shadow: 0 1px 0 var(--line), 0 12px 28px -24px rgba(0, 0, 0, 0.7); }
.site-head .shell {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 36px);
  min-height: 68px;
}

.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand-word {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}
.brand-sub {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 4px;
}

.nav { display: flex; align-items: stretch; gap: 2px; margin-left: auto; }
.nav > li { list-style: none; position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 68px;
  padding: 0 13px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-bottom: 2px solid transparent;
}
.nav-link:hover { border-bottom-color: var(--accent); }
.nav-link[aria-expanded="true"] { border-bottom-color: var(--ink); }
.nav-link .caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: 0.55; }

.head-cta { display: flex; align-items: center; gap: 12px; }
.head-contact {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.head-contact:hover { border-bottom-color: var(--accent); }
.head-contact span { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
}
.burger i, .burger i::before, .burger i::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  content: "";
  position: relative;
}
.burger i::before { position: absolute; top: -6px; }
.burger i::after { position: absolute; top: 6px; }

/* мега-меню */
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: min(920px, 92vw);
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--ink);
  padding: 26px 28px 24px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 26px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.4);
  z-index: 95;
}
.mega[data-open="true"] { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  font-size: 13.5px;
  border-bottom: 1px dotted transparent;
}
.mega-list a:hover { color: var(--accent-ink); }
.mega-list .c { font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.mega-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 3px;
}
.mega-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

/* мобильное меню */
.mobile {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--paper);
  padding: 18px var(--pad) 40px;
  overflow: auto;
}
.mobile.is-open { display: block; }
.mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.mobile-close { border: 1px solid var(--line); background: #fff; width: 42px; height: 42px; font-size: 20px; line-height: 1; }
.mobile nav { display: grid; gap: 0; }
.mobile nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.mobile-sub { padding: 4px 0 12px 16px; display: grid; gap: 8px; border-bottom: 1px solid var(--line); }
.mobile-sub a { font-family: "Inter", sans-serif; font-size: 14px; text-transform: none; border: 0; padding: 0; color: var(--muted); }
.mobile-contacts { margin-top: 26px; display: grid; gap: 6px; font-size: 15px; }

/* --- хлебные крошки ----------------------------------------- */
.crumbs { padding: 16px 0 0; font-size: 12px; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a:hover { color: var(--ink); }

/* --- кнопки -------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: #fff; border-color: #fff; color: var(--ink); }
.btn--light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--wide { width: 100%; }
.btn .arr { font-size: 15px; line-height: 1; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.link-arrow span { transition: transform 0.18s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* --- чипы ---------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  transition: border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip b { font-weight: 600; color: var(--ink); }
.chip.is-active b { color: #fff; }
.chip .n { font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.chip.is-active .n { color: #b9b9b3; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  color: var(--muted);
  background: #fff;
}
.tag--accent { border-color: var(--accent); color: var(--accent-ink); }
.tag--tech { border-color: var(--tech); color: #1c7c81; }
.tag--dark { background: var(--ink); border-color: var(--ink); color: #fff; }

/* --- секции -------------------------------------------------- */
.section { padding: clamp(44px, 6vw, 84px) 0; }
.section--tight { padding: clamp(32px, 4vw, 56px) 0; }
.section--paper { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #fff; }
.section--rule { border-top: 1px solid var(--line); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(22px, 3vw, 38px);
}
.sec-head .t { max-width: 720px; }
.sec-head h2 { margin-top: 10px; }
.sec-head p { margin: 12px 0 0; color: var(--muted); max-width: 60ch; }
.sec-head .side { flex: 0 0 auto; }
.sec-index {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--muted-2);
}
.section--dark .sec-index { color: #6f706c; }
.section--dark .sec-head p { color: #a9aaa5; }
.section--dark .eyebrow { color: #b9b9b3; }

/* --- герой --------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(120% 90% at 75% 20%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero .shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
  padding-top: clamp(34px, 5vw, 64px);
  padding-bottom: clamp(34px, 5vw, 64px);
}
.hero-copy { max-width: 620px; }
.hero h1 { margin: 16px 0 0; letter-spacing: 0.01em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { color: #c9cac4; margin: 18px 0 0; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-phone {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #a9aaa5;
}
.hero-phone b {
  font-family: "Oswald", sans-serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.hero-facts {
  margin-top: clamp(26px, 3vw, 40px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hero-facts div { display: grid; gap: 2px; }
.hero-facts b {
  font-family: "Oswald", sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  line-height: 1;
}
.hero-facts span { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: #8e8f89; }

.hero-art {
  position: relative;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: clamp(18px, 2.4vw, 34px);
}
.hero-art img { width: 100%; height: auto; filter: grayscale(1) contrast(1.05); }
.hero-art .cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-art .legend {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.01em;
}
.hero-art .badge {
  position: absolute;
  top: -13px;
  left: -1px;
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 11px;
}

/* --- карточки серий ----------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.series-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.series-card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 24px 40px -34px rgba(0, 0, 0, 0.5); }
.series-card .pic {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
  display: grid;
  place-items: center;
  padding: 16px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.series-card .pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.series-card .body { padding: 16px 18px 18px; display: grid; gap: 8px; }
.series-card .code {
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.series-card h3 { font-size: 19px; letter-spacing: 0.01em; }
.series-card .meta { font-size: 12px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.series-card .foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  border-top: 1px solid var(--line);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.series-card:hover .foot { color: var(--ink); }

/* --- карточки товаров --------------------------------------- */
.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.prod-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.prod-card:hover { border-color: var(--ink); box-shadow: 0 20px 36px -32px rgba(0, 0, 0, 0.45); }
.prod-card .pic {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.prod-card .pic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform 0.3s var(--ease); }
.prod-card:hover .pic img { transform: scale(1.03); }
.prod-card .pic .series-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 7px;
  color: var(--muted);
}
.prod-card .body { padding: 14px 16px 0; display: grid; gap: 6px; }
.prod-card .code {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.prod-card .bom {
  position: absolute;
  right: 10px;
  bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-variant-numeric: tabular-nums;
}
.prod-card h3 { font-family: "Inter", sans-serif; font-size: 14.5px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.prod-card h3 a:hover { color: var(--accent-ink); }
.prod-card .spec { font-size: 12px; color: var(--muted); line-height: 1.5; }
.prod-card .foot {
  margin-top: auto;
  padding: 12px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.prod-card .foot .go {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  white-space: nowrap;
}
.prod-card:hover .foot .go { color: var(--ink); border-bottom-color: var(--accent); }
.price { font-family: "Oswald", sans-serif; font-size: 16px; font-weight: 600; letter-spacing: 0.02em; white-space: nowrap; }
.price small { font-family: "Inter", sans-serif; font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); display: block; }
.price--ask { font-family: "Inter", sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-3); }

/* --- сетки выбора (тип шва) --------------------------------- */
.choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
}
.choice-card {
  position: relative;
  border: 1px solid var(--line);
  padding: clamp(20px, 2.4vw, 32px);
  background: #fff;
  display: grid;
  gap: 12px;
  transition: border-color 0.18s, background 0.18s;
}
.choice-card:hover { border-color: var(--ink); background: var(--paper-2); }
.choice-card .k {
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.choice-card h3 { font-size: clamp(20px, 2vw, 26px); }
.choice-card p { color: var(--muted); font-size: 13.5px; margin: 0; }
.choice-card .list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.choice-card .list a { border: 1px solid var(--line); padding: 4px 9px; font-size: 11.5px; letter-spacing: 0.04em; }
.choice-card .list a:hover { border-color: var(--ink); }
.choice-card .go {
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 2px solid var(--accent);
  justify-self: start;
  padding-bottom: 2px;
}

/* --- характеристики: таблица -------------------------------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.spec-table caption { text-align: left; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); padding-bottom: 10px; }
.spec-table th, .spec-table td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.spec-table th { font-weight: 400; color: var(--muted); width: 58%; padding-right: 16px; }
.spec-table td { font-weight: 500; font-variant-numeric: tabular-nums; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table .ask { color: var(--muted-2); font-weight: 400; font-size: 12px; }

/* таблица «серии × параметры» */
.spec-table--grid th { width: auto; font-weight: 600; color: var(--ink); padding-right: 12px; white-space: nowrap; }
.spec-table--grid thead th {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
}
.spec-table--grid td { font-size: 12.5px; color: var(--ink-3); }
.spec-table--grid tbody th { font-size: 13px; }
.spec-table--grid a { border-bottom: 1px solid var(--line-2); }
.spec-table--grid a:hover { border-bottom-color: var(--accent); }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.facts li { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.facts li:last-child { border-bottom: 0; }
.facts b { font-weight: 600; font-variant-numeric: tabular-nums; }

/* --- текстовая колонка -------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { margin: 1.6em 0 0.5em; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.prose h3 { margin: 1.4em 0 0.4em; font-size: 1.12rem; font-family: "Inter", sans-serif; font-weight: 600; letter-spacing: 0; }
.prose p { color: var(--ink-3); }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; color: var(--ink-3); }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { border-bottom: 1px solid var(--accent); }
.prose a:hover { background: rgba(227, 97, 89, 0.12); }
.prose blockquote {
  margin: 1.4em 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
  color: var(--ink-3);
  font-size: 14px;
}

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.side-col { display: grid; gap: 18px; position: sticky; top: 84px; }
.panel { border: 1px solid var(--line); background: #fff; }
.panel-head { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.panel-body { padding: 16px 18px; display: grid; gap: 12px; }
.panel--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel--dark .panel-head { border-color: rgba(255, 255, 255, 0.18); color: #a9aaa5; }
.panel--dark .facts li { border-color: rgba(255, 255, 255, 0.14); }

/* --- карточка товара: галерея ------------------------------- */
.product-top {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-areas: "gallery info" "specs info";
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.p-gallery { grid-area: gallery; }
.p-info { grid-area: info; }
.p-specs { grid-area: specs; }
.gallery { display: grid; gap: 12px; }
.gallery-main {
  position: relative;
  border: 1px solid var(--line);
  background: var(--paper-2);
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 36px);
}
.gallery-main img { width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.gallery-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-thumbs button {
  width: 64px; height: 64px; padding: 6px; background: var(--paper-2);
  border: 1px solid var(--line); cursor: pointer;
}
.gallery-thumbs button[aria-current="true"] { border-color: var(--ink); background: #fff; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.gallery-note { font-size: 11.5px; color: var(--muted-2); }

.product-info h1 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.9rem); }
.product-info .code-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 0; }
.product-info .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; }
.buy {
  margin-top: 22px;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
  display: grid;
  gap: 12px;
}
.buy-price { display: grid; gap: 6px; }
.buy-price .p { font-family: "Oswald", sans-serif; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; line-height: 1; }
.buy-price .note { font-size: 11.5px; color: var(--muted); max-width: 52ch; }
.buy-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.buy-actions .btn { flex: 1 1 190px; }
.buy-meta { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.buy-meta span { display: flex; gap: 8px; align-items: baseline; }
.buy-meta span::before { content: "—"; color: var(--accent); }

/* --- FAQ ----------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  line-height: 1;
  color: var(--accent);
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 0 18px; color: var(--ink-3); font-size: 13.5px; max-width: 72ch; }

/* --- пагинация ---------------------------------------------- */
.pager { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: clamp(24px, 3vw, 40px); }
.pager a, .pager span {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  padding: 0 10px;
}
.pager a:hover { border-color: var(--ink); }
.pager .is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager .gap { border: 0; color: var(--muted-2); }
.pager .dir { gap: 6px; }

/* --- CTA-полоса --------------------------------------------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: clamp(30px, 4vw, 52px) 0;
}
.cta-band .shell { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.1rem); max-width: 22ch; }
.cta-band p { color: #a9aaa5; margin: 8px 0 0; font-size: 13.5px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- подвал -------------------------------------------------- */
.footer { background: var(--ink); color: #a9aaa5; padding: clamp(34px, 4vw, 56px) 0 0; font-size: 13px; }
.footer a { color: #cfd0ca; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(20px, 3vw, 40px); padding-bottom: 34px; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer .brand-mark { background: #fff; color: var(--ink); }
.footer h4 { font-family: "Inter", sans-serif; font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #6f706c; margin: 0 0 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer .about { max-width: 34ch; color: #8e8f89; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: #6f706c;
}
.footer-bottom .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* --- служебные страницы ------------------------------------- */
.narrow { max-width: 820px; }
.page-head { padding: clamp(8px, 1vw, 14px) 0 clamp(18px, 2vw, 26px); border-bottom: 1px solid var(--line); }
.page-head h1 { margin: 12px 0 0; }
.page-head .lead { margin-top: 14px; max-width: 70ch; }

.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.info-card { border: 1px solid var(--line); padding: 20px; background: #fff; display: grid; gap: 8px; align-content: start; }
.info-card .n { font-family: "Oswald", sans-serif; font-size: 30px; line-height: 1; color: var(--line-2); }
.info-card h3 { font-size: 17px; }
.info-card p { font-size: 13px; color: var(--muted); margin: 0; }
.info-card a { border-bottom: 1px solid var(--accent); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-line { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-line .k { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.contact-line .v { font-size: 17px; font-weight: 500; }
.contact-line .v a:hover { color: var(--accent-ink); }

.doc-list { list-style: none; margin: 0; padding: 0; }
.doc-list li { display: flex; align-items: flex-start; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.doc-list .ico { width: 34px; height: 42px; flex: 0 0 auto; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 9px; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.doc-list .t { display: grid; gap: 3px; }
.doc-list .t b { font-weight: 600; }
.doc-list .t span { font-size: 12.5px; color: var(--muted); }

/* --- мелочи -------------------------------------------------- */
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }
.dim-note { font-size: 11.5px; color: var(--muted-2); display: flex; align-items: center; gap: 8px; }
.dim-note::before { content: ""; width: 22px; height: 1px; background: var(--line-2); }
.badge-row { display: flex; flex-wrap: wrap; gap: 6px; }
.center { text-align: center; }

.scheme { width: 100%; height: 100%; }
.scheme text { font-family: "Inter", sans-serif; font-size: 13px; fill: var(--muted); }
.scheme .dim { stroke: var(--line-2); stroke-width: 1; }
.scheme .part { fill: var(--ink); }

/* --- поиск --------------------------------------------------- */
.search-box { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 8px; }
.search-box input {
  flex: 1 1 320px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  background: #fff;
  font: inherit;
  font-size: 16px;
}
.search-box input:focus { border-color: var(--ink); outline: none; }
.search-status { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); margin: 10px 0 0; }
.results { display: grid; gap: 0; margin-top: 12px; border-top: 1px solid var(--line); }
.res { display: grid; gap: 3px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.res:hover { background: var(--paper-2); }
.res-t { font-weight: 600; font-size: 14.5px; }
.res-d { font-size: 12.5px; color: var(--muted); }

/* --- адаптив ------------------------------------------------ */
@media (max-width: 1080px) {
  .hero .shell { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 560px; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav, .head-contact { display: none; }
  .burger { display: inline-flex; }
  .head-cta { margin-left: auto; }
}

@media (max-width: 860px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .choice, .two-col, .contact-grid, .info-grid { grid-template-columns: 1fr; }
  .product-top { grid-template-columns: 1fr; grid-template-areas: "info" "gallery" "specs"; }
  .side-col { position: static; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .util-links span { display: none; }
}

@media (max-width: 640px) {
  .grid--3, .grid--2, .grid--4, .prod-grid { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hero-facts b { font-size: 22px; }
  .hero-facts span { font-size: 9.5px; letter-spacing: 0.06em; }
  .footer-grid { grid-template-columns: 1fr; }
  .buy-actions .btn { flex: 1 1 100%; }
  .spec-table th { width: 52%; }
  .crumbs { font-size: 11px; }
  .util { display: none; }
  .site-head .shell { min-height: 58px; gap: 10px; }
  .head-cta .btn { display: none; }
  .brand-word { font-size: 17px; letter-spacing: 0.1em; }
  .brand-sub { display: none; }
  .burger { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
  .site-head, .footer, .cta-band, .util, .hero-actions { display: none; }
}
