:root {
  --ink: #1a1d24;
  --ink-soft: #2c313c;
  --muted: #6a7280;
  --muted-2: #8b939e;
  --white: #ffffff;
  --snow: #f7f8fa;
  --silver: #e6e8ed;
  --silver-2: #d0d4dc;
  --silver-matte: #9aa3b0;
  --steel: #5c6675;
  --line: rgba(26, 29, 36, 0.1);
  --line-strong: rgba(26, 29, 36, 0.16);
  --ok: #1f8a55;
  --gold: #d9a93a;
  --shadow: 0 18px 50px rgba(26, 29, 36, 0.08);
  --shadow-sm: 0 8px 24px rgba(26, 29, 36, 0.06);
  --max: 1160px;
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --radius: 14px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--ink); color: var(--white); }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.muted { color: var(--muted); }

/* —— Top bar —— */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 9px 0;
}
.topbar strong { color: #fff; font-weight: 600; }

/* —— Header —— */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-h);
  padding: 10px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand__img {
  width: 48px;
  height: auto;
  flex: 0 0 auto;
}
.brand__text { min-width: 0; }
.brand__name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand__sub {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 500;
  color: var(--steel);
}
.nav a:hover { color: var(--ink); }
.nav a[href="cart.html"] { display: none; }
.nav-extra { display: none; }
.header__cta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__phones {
  text-align: right;
  line-height: 1.25;
}
.header__phones a {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.header__phones a + a {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}
.socials {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.social {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  transition: transform .15s ease, background .15s ease;
}
.social img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}
.social:hover {
  background: rgba(26, 29, 36, 0.06);
  transform: translateY(-1px);
}
.socials--lg {
  gap: 8px;
}
.socials--lg .social {
  width: 42px;
  height: 42px;
}
.socials--lg .social img {
  width: 24px;
  height: 24px;
}
.header__call {
  display: none;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: var(--ink);
  border: 0;
  background: transparent;
  flex-shrink: 0;
  transition: transform .15s ease, background .15s ease;
}
.header__call svg {
  width: 22px;
  height: 22px;
  display: block;
}
.header__call:hover {
  background: rgba(26, 29, 36, 0.06);
  transform: translateY(-1px);
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-ink {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(26, 29, 36, 0.18);
}
.btn-ink:hover { background: var(--ink-soft); }
.btn-silver {
  background: linear-gradient(180deg, #f4f5f7 0%, #dfe3ea 100%);
  color: var(--ink);
  border-color: #c8ced8;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--shadow-sm);
}
.btn-silver:hover {
  background: linear-gradient(180deg, #ffffff 0%, #e7ebf1 100%);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: rgba(26, 29, 36, 0.03);
}
.btn-line {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-line:hover { border-color: var(--ink); }
.btn-tg {
  background: #2aabee;
  color: #fff;
}
.btn-tg:hover { background: #229ed9; }
.btn-sm {
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  border-radius: 10px;
}

/* —— Hero —— */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: min(88vh, 820px);
}
.hero__plane {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(1200px 560px at 78% 18%, rgba(255, 255, 255, 0.95), transparent 55%),
    radial-gradient(900px 520px at 12% 88%, rgba(154, 163, 176, 0.35), transparent 55%),
    linear-gradient(135deg, #f4f5f8 0%, #d9dee7 42%, #f7f8fa 72%, #ffffff 100%);
}
.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(26, 29, 36, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 29, 36, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 72% 40%, #000 8%, transparent 72%);
  animation: meshDrift 32s linear infinite;
}
.hero__shine {
  position: absolute;
  top: -15%;
  right: -8%;
  width: min(640px, 70vw);
  height: min(640px, 70vw);
  z-index: 1;
  pointer-events: none;
  border-radius: 45%;
  background:
    conic-gradient(from 200deg, rgba(255, 255, 255, 0), rgba(190, 198, 210, 0.4), rgba(255, 255, 255, 0.85), rgba(150, 158, 170, 0.28), transparent 72%);
  filter: blur(10px);
  animation: shinePulse 8s ease-in-out infinite;
}
.hero__mark {
  position: absolute;
  right: max(4vw, calc(50% - 520px));
  top: 50%;
  transform: translateY(-48%);
  z-index: 1;
  width: min(420px, 42vw);
  pointer-events: none;
  opacity: 0.14;
  filter: drop-shadow(0 20px 40px rgba(26, 29, 36, 0.12));
  animation: floatY 6s ease-in-out infinite;
}
.hero__mark img { width: 100%; height: auto; }
@keyframes meshDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 64px 32px, 32px 64px; }
}
@keyframes shinePulse {
  0%, 100% { opacity: 0.55; transform: rotate(0deg) scale(1); }
  50% { opacity: 0.9; transform: rotate(8deg) scale(1.05); }
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: 0;
  width: min(100% - 32px, var(--max));
  max-width: none;
  padding: 72px 0 64px;
  min-height: min(88vh, 820px);
}
.hero__logo {
  width: min(240px, 56vw);
  height: auto;
  margin-bottom: 28px;
  opacity: 0;
  animation: rise .7s .05s ease forwards;
  filter: drop-shadow(0 16px 36px rgba(26, 29, 36, 0.14));
}
.hero h1 {
  margin: 0 0 16px;
  max-width: none;
  width: min(100%, 28ch);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  opacity: 0;
  animation: rise .75s .15s ease forwards;
}
.hero__lead {
  margin: 0 0 28px;
  max-width: min(100%, 62ch);
  color: var(--steel);
  font-size: 17px;
  opacity: 0;
  animation: rise .75s .25s ease forwards;
}
.hero__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  opacity: 0;
  animation: rise .75s .35s ease forwards;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes floatY {
  0%, 100% { transform: translateY(-48%); }
  50% { transform: translateY(calc(-48% - 12px)); }
}

/* —— Metals strip —— */
.metals {
  background: var(--snow);
  border-block: 1px solid var(--line);
  padding: 22px 0;
}
.metals__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}
.metals__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.metal {
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: linear-gradient(165deg, #ffffff 0%, #eef1f5 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.metal__name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.metal__price {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.metal__delta {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ok);
}

/* —— Sections —— */
.section { padding: 84px 0; }
.section--soft { background: var(--snow); }
.section--ink {
  background: var(--ink);
  color: #fff;
}
.section--ink .muted { color: rgba(255, 255, 255, 0.62); }
.sec-head { margin-bottom: 32px; }
.sec-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}
.section--ink .sec-head .eyebrow { color: var(--silver-matte); }
.sec-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.sec-head p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
}
.section--ink .sec-head p { color: rgba(255, 255, 255, 0.62); }
/* Long RU titles must wrap on laptops; nowrap only for short heads on wide screens */
@media (min-width: 1400px) {
  .sec-head h2:not(.sec-head__title--wrap) {
    white-space: nowrap;
    text-wrap: nowrap;
  }
}
.sec-head__title--wrap,
.section--know .sec-head h2 {
  white-space: normal !important;
  text-wrap: balance;
  overflow-wrap: break-word;
  max-width: 22ch;
}
@media (min-width: 900px) {
  .section--know .sec-head h2 {
    max-width: 28ch;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.15;
  }
}

/* —— Categories (Frame 1948759692 photo icons) —— */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cat {
  position: relative;
  overflow: hidden;
  padding: 18px 16px 16px 18px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cat:hover {
  transform: translateY(-2px);
  border-color: #c5cad3;
  box-shadow: var(--shadow-sm);
}
.cat__img {
  position: absolute;
  right: -6%;
  bottom: -8%;
  width: 52%;
  max-width: 160px;
  height: auto;
  max-height: 76%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 8px 16px rgba(26, 29, 36, 0.12));
  transition: transform .25s ease;
}
.cat:hover .cat__img {
  transform: translate(-2px, -3px) scale(1.02);
}
/* Высокие / плотные — чуть правее */
.cat img[src*="lamps"],
.cat img[src*="caps"],
.cat img[src*="battery"],
.cat img[src*="switches"],
.cat img[src*="pots"],
.cat img[src*="watch"],
.cat img[src*="catalysts"],
.cat img[src*="other"] {
  right: -12%;
  bottom: -6%;
  width: 48%;
  max-width: 148px;
  max-height: 78%;
}
/* Широкие композиции */
.cat img[src*="office"] {
  width: 64%;
  max-width: 196px;
  right: -12%;
  bottom: -8%;
  max-height: 84%;
}
.cat img[src*="gold"],
.cat img[src*="coins"],
.cat img[src*="boards"],
.cat img[src*="connectors"],
.cat img[src*="instruments"],
.cat img[src*="pgm"],
.cat img[src*="silver"],
.cat img[src*="testers"] {
  right: -8%;
  bottom: -10%;
  max-height: 72%;
}
/* Низкие широкие — чуть ниже */
.cat img[src*="diodes"],
.cat img[src*="micros"],
.cat img[src*="relay"],
.cat img[src*="cpu"],
.cat img[src*="tantal"],
.cat img[src*="trans"] {
  right: -5%;
  bottom: -12%;
  max-height: 70%;
}
.cat__unit,
.cat > div,
.cat__price {
  position: relative;
  z-index: 1;
  max-width: 54%;
}
.cat:has(img[src*="office"]) .cat__unit,
.cat:has(img[src*="office"]) > div,
.cat:has(img[src*="office"]) .cat__price,
.cat:has(img[src*="caps"]) .cat__unit,
.cat:has(img[src*="caps"]) > div,
.cat:has(img[src*="caps"]) .cat__price,
.cat:has(img[src*="lamps"]) .cat__unit,
.cat:has(img[src*="lamps"]) > div,
.cat:has(img[src*="lamps"]) .cat__price {
  max-width: 50%;
}
.cat__unit {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--silver-matte);
}
.cat h2,
.cat h3 {
  margin: 8px 0 6px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cat p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.cat__price {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.cat-note {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

/* —— Calculator —— */
.calc {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 16px;
  align-items: start;
}
.calc__panel,
.calc__sum {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.calc__search {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--snow);
  margin-bottom: 14px;
  outline: none;
}
.calc__search:focus {
  border-color: var(--ink);
  background: var(--white);
}
.calc__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.calc__tab {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.calc__tab.is-on {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}
.calc__list {
  display: grid;
  gap: 8px;
  max-height: 420px;
  overflow: auto;
}
.calc-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--snow);
}
.calc-item__name { font-weight: 700; }
.calc-item__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--white);
  overflow: hidden;
}
.qty button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.qty input {
  width: 48px;
  height: 36px;
  border: 0;
  border-inline: 1px solid var(--line);
  background: transparent;
  text-align: center;
  font-family: var(--font-mono);
}
.calc__sum {
  position: sticky;
  top: 88px;
  background:
    linear-gradient(165deg, #f8f9fb 0%, #ffffff 40%, #eef1f5 100%);
}
.calc__sum .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.calc__sum .value {
  margin: 10px 0 6px;
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.calc__cart { margin: 18px 0; display: grid; gap: 8px; }
.calc__cart-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.calc__actions { display: grid; gap: 8px; }

.callback-box {
  margin-top: 28px;
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--snow);
}
.callback-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
.callback-form .form__note { grid-column: 1 / -1; }

/* —— Steps —— */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.step {
  padding: 22px 18px;
  min-height: 220px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.step__num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--silver-matte);
  line-height: 1;
}
.step h3 {
  margin: 14px 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
}
.step p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.62); }
.step__tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8c0cc;
}

/* —— Split conditions —— */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.split__card {
  padding: 28px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.split__card h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.03em;
}
.split__card ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.split__card li {
  padding-left: 18px;
  position: relative;
  color: var(--muted);
  font-size: 14px;
}
.split__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 2px;
  border-radius: 2px;
  background: var(--silver-matte);
}

/* —— Features —— */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.features--2 { grid-template-columns: 1fr 1fr; }
.feat {
  padding: 22px 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feat:hover {
  transform: translateY(-2px);
  border-color: #c5cad3;
  box-shadow: var(--shadow-sm);
}
.feat__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  background: linear-gradient(165deg, #f4f5f7 0%, #e4e7ec 100%);
  border: 1px solid rgba(26, 29, 36, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.feat__icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.feat:hover .feat__icon {
  color: var(--ink);
  border-color: rgba(26, 29, 36, 0.12);
  background: linear-gradient(165deg, #ffffff 0%, #eceff3 100%);
}
.feat--photo {
  padding: 0 0 18px;
  overflow: hidden;
}
.feat--photo img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
  background: var(--snow);
}
.feat--photo h3,
.feat--photo p {
  padding-left: 18px;
  padding-right: 18px;
}
.feat--photo h3 { margin-top: 14px; }
.feat h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
}
.feat p { margin: 0; font-size: 14px; color: var(--muted); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.stat {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(165deg, #ffffff, #eef1f5);
  border: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* —— Metal charts —— */
.sec-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.sec-head--row > div:first-child {
  flex: 1 1 280px;
}
.chart-range {
  display: inline-flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  gap: 2px;
}
.chart-range__btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 12px/1 var(--font-body);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.chart-range__btn:hover { color: var(--ink); }
.chart-range__btn.is-on {
  background: var(--ink);
  color: var(--white);
}
.metal-charts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.mchart {
  position: relative;
  padding: 20px 18px 16px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mchart:hover {
  border-color: #c5cad3;
  box-shadow: var(--shadow-sm);
}
.mchart__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}
.mchart__name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.mchart__period {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted-2);
  font-family: var(--font-mono);
}
.mchart__price {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}
.mchart__delta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ok);
}
.mchart__delta.is-down { color: #b42318; }
.mchart__plot {
  position: relative;
  margin: 18px -6px 10px;
  height: 148px;
}
.mchart__plot svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.mchart__plot path.mchart__area {
  opacity: 0.18;
}
.mchart__plot path.mchart__line {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mchart__grid line {
  stroke: rgba(26, 29, 36, 0.06);
  stroke-width: 1;
}
.mchart__cross {
  stroke: rgba(26, 29, 36, 0.28);
  stroke-width: 1;
  stroke-dasharray: 3 4;
  pointer-events: none;
  opacity: 0;
}
.mchart__dot {
  fill: var(--white);
  stroke-width: 2.2;
  pointer-events: none;
  opacity: 0;
}
.mchart.is-scrub .mchart__cross,
.mchart.is-scrub .mchart__dot { opacity: 1; }
.mchart__tip {
  position: absolute;
  top: 8px;
  left: 12px;
  z-index: 2;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(26, 29, 36, 0.92);
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .15s ease, transform .15s ease;
  min-width: 108px;
}
.mchart.is-scrub .mchart__tip {
  opacity: 1;
  transform: none;
}
.mchart__tip b {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mchart__tip span {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-mono);
  font-size: 11px;
}
.mchart__forms {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.metal-charts__note {
  margin: 14px 0 0;
  font-size: 13px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
th {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 700;
  background: var(--snow);
}
td.mono { font-family: var(--font-mono); }
.up { color: var(--ok); }

/* —— FAQ / info —— */
.info-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}
.prose h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.02em;
}
.prose p { margin: 0 0 14px; color: var(--muted); }
.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
}
.faq details {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
  min-width: 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--steel);
  font-family: var(--font-mono);
}
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.faq--wide { max-width: none; }
.faq--stack { grid-template-columns: 1fr; }
@media (max-width: 720px) {
  .faq { grid-template-columns: 1fr; }
}

.know-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.know-mini {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
  align-items: stretch;
}
.know-card {
  border-radius: 16px;
  background: var(--ink);
  color: #e8ecf2;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.know-card--lg {
  padding: 24px 26px;
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
}
.know-card--lg h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.55vw, 22px);
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: var(--white);
  overflow-wrap: anywhere;
  hyphens: auto;
}
.know-card--lg p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.55;
  color: rgba(232, 236, 242, 0.72);
}
.know-card--lg p:last-child { margin-bottom: 0; }
.know-card--sm {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 18px;
  height: 100%;
  box-sizing: border-box;
}
.know-card__ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--silver-matte);
  flex-shrink: 0;
}
.know-card__ic svg { width: 20px; height: 20px; }
.know-card--sm h3 {
  margin: 0 0 6px;
  font-size: 14.5px;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--white);
  overflow-wrap: anywhere;
}
.know-card--sm p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(232, 236, 242, 0.68);
}

/* Laptop / mid widths: long titles + 3 mini cols get cramped */
@media (max-width: 1180px) {
  .know-mini { grid-template-columns: 1fr; }
  .know-card--sm {
    grid-template-columns: 44px minmax(0, 1fr);
    padding: 16px 18px;
  }
  .know-card--sm h3 { font-size: 15px; }
  .know-card--sm p { font-size: 13.5px; }
}
@media (max-width: 980px) {
  .know-grid { grid-template-columns: 1fr; }
  .know-card--lg { padding: 20px 22px; }
}
@media (max-width: 860px) {
  .know-grid,
  .know-mini { grid-template-columns: 1fr; }
}

/* —— Reviews —— */
.slider {
  margin: 0 0 22px;
}
.slider + .slider { margin-top: 8px; }
.slider__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.slider__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.slider__nav { display: none; gap: 8px; }
.slider.is-scrollable .slider__nav { display: flex; }
.slider__nav .btn { min-width: 40px; padding: 0 12px; }
.slider__nav .btn:disabled { opacity: 0.35; pointer-events: none; }
.reviews {
  display: flex;
  gap: 12px;
  overflow-x: hidden;
  padding-bottom: 0;
  cursor: default;
}
.slider.is-scrollable .slider__track {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.slider.is-scrollable .slider__track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.slider__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}
.review {
  flex: 0 0 calc((100% - 24px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  padding: 22px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  box-sizing: border-box;
}
.review p {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--ink-soft);
}
.review__who {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.rating {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  align-items: end;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.rating b {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* —— Contacts / form —— */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}
.contact__info,
.form {
  padding: 28px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.contact__info {
  background: linear-gradient(165deg, #f8f9fb, #ffffff 50%, #eef1f5);
}
.contact__info h3,
.form h2,
.form h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.03em;
}
.contact__block { margin-bottom: 18px; }
.contact__block .lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 6px;
}
.form > p { margin: 0 0 18px; color: var(--muted); font-size: 14px; }
.form__tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.form__tab {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
}
.form__tab.is-on {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.field { display: grid; gap: 6px; }
.field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.field input,
.field textarea,
.field select {
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--snow);
  outline: none;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
  background: var(--white);
}
.field--full { grid-column: 1 / -1; }
.form__foot {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
}
.form__note {
  margin: 0;
  font-size: 13px;
  color: var(--ok);
  min-height: 1.2em;
}

/* —— Footer (prototype: dark 3-zone) —— */
.footer {
  padding: 52px 0 28px;
  border-top: none;
  background: var(--ink);
  color: rgba(232, 236, 242, 0.72);
  font-size: 14px;
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.95fr) minmax(0, 1.85fr) minmax(200px, 0.85fr);
  gap: 28px 36px;
  margin-bottom: 32px;
  align-items: start;
}
.footer strong {
  display: block;
  margin-bottom: 14px;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer .brand {
  margin-bottom: 16px;
  color: var(--white);
}
.footer .brand__img {
  filter: brightness(0) invert(1);
}
.footer .brand__name { color: var(--white); }
.footer .brand__sub { color: rgba(232, 236, 242, 0.62); }
.footer__phones {
  display: grid;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.35;
}
.footer__phones a {
  color: var(--white);
  font-weight: 700;
}
.footer__phones span {
  color: rgba(232, 236, 242, 0.55);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer__mail {
  display: inline-block;
  margin: 0 0 10px;
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.footer__mail:hover { color: var(--silver); }
.footer__meta {
  margin: 0 0 14px;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(232, 236, 242, 0.55);
}
.footer .socials { gap: 8px; }
.footer .social {
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--white);
}
.footer .social:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: var(--snow);
}
.footer .social img { filter: none; }
.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
  font-size: 13px;
}
.footer__cols--catalog {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 16px;
}
.footer__cols--svc {
  grid-template-columns: 1fr;
  gap: 8px;
}
.footer__cols a,
.footer__cols span {
  color: rgba(232, 236, 242, 0.72);
}
.footer__cols a:hover { color: var(--white); }
.footer__copy {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 12px 28px;
  color: rgba(232, 236, 242, 0.48);
}
.footer__copy > span { min-width: 0; max-width: 62ch; }
.footer__copy a { color: rgba(232, 236, 242, 0.72); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.footer__copy a:hover { color: var(--white); }
.footer__dev {
  color: var(--white) !important;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.footer__dev:hover { opacity: 0.85; }
@media (max-width: 1100px) {
  .footer__cols--catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }
  .footer__brand { grid-column: 1 / -1; }
  .footer__cols--catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .footer__copy {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media (max-width: 620px) {
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__cols--catalog { grid-template-columns: 1fr 1fr; }
}

/* —— Mobile —— */
@media (max-width: 980px) {
  .nav, .header__phones { display: none; }
  .burger { display: inline-block; }
  .header__call { display: grid; }
  .header .socials { display: inline-flex; gap: 4px; }
  .header__cta .btn-ink.btn-sm,
  .header .cart-link { display: none; }
  .nav a[href="cart.html"] { display: inline; }
  .header.is-open .nav a[href="cart.html"] { display: block; }
  .header__cta { gap: 4px; }
  .header .social,
  .header__call {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }
  .header .social img { width: 22px; height: 22px; }
  .header__call svg { width: 20px; height: 20px; }
  .header__cta .burger { margin-left: 6px; }
  .header.is-open .nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100dvh - 110px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--white);
    padding: 4px 0 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .header.is-open .nav > a {
    padding: 12px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(26, 29, 36, 0.04);
  }
  .header.is-open .nav > a:last-of-type {
    border-bottom: 0;
  }
  .header.is-open .nav-extra {
    display: grid;
    gap: 10px;
    margin-top: 0;
    padding: 16px 20px 18px;
    background: var(--snow);
    border-top: 1px solid var(--line);
  }
  .nav-extra__phones {
    display: grid;
    gap: 2px;
  }
  .nav-extra__phones a {
    display: block;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--ink);
    line-height: 1.3;
    padding: 2px 0;
  }
  .nav-extra__addr {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--muted);
  }
  .nav-extra__route {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid var(--line-strong);
    background: var(--white);
    color: var(--ink);
    font-size: 14px;
    font-weight: 650;
    width: 100%;
    margin-top: 2px;
  }
  .nav-extra__route:hover {
    border-color: var(--ink);
  }
  .hero__inner {
    min-height: min(78vh, 680px);
    padding: 40px 0 48px;
  }
  .hero__mark {
    opacity: 0.08;
    width: min(360px, 70vw);
    right: -8vw;
  }
  .metals__grid,
  .metal-charts,
  .cat-grid,
  .steps,
  .features,
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .calc, .split, .info-grid, .contact {
    grid-template-columns: minmax(0, 1fr);
  }
  .calc > *, .split > *, .info-grid > *, .contact > *,
  .form, .contact__info, .field { min-width: 0; }
  .field input, .field textarea, .field select { width: 100%; max-width: 100%; }
  .calc__sum { position: static; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 620px) {
  .metals__grid,
  .metal-charts,
  .cat-grid,
  .steps,
  .features,
  .stats {
    grid-template-columns: 1fr;
  }
  .mchart__plot { height: 128px; }
  .callback-form { grid-template-columns: 1fr; }
  .hero__mark { display: none; }
}

/* —— Catalog page —— */
.page-catalog .sec-head h2 {
  white-space: normal;
  text-wrap: balance;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 22px 0 8px;
  font-size: 13px;
  color: var(--muted);
}
.crumbs a:hover { color: var(--ink); }
.crumbs__sep { color: var(--silver-2); }
.crumbs__here { color: var(--ink); font-weight: 600; }

.cat-hero {
  position: relative;
  padding: 28px 0 36px;
  overflow: hidden;
  background:
    radial-gradient(720px 280px at 92% 0%, rgba(26, 29, 36, 0.06), transparent 60%),
    linear-gradient(180deg, var(--snow), var(--white));
  border-bottom: 1px solid var(--line);
}
.cat-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 28px 36px;
  align-items: center;
}
.cat-hero__copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
  text-wrap: balance;
}
.cat-hero__copy p {
  margin: 14px 0 0;
  max-width: 46ch;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
}
.cat-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.cat-hero__cards {
  display: grid;
  gap: 12px;
}
.cat-hero__card {
  padding: 18px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #e8ecf2;
  box-shadow: var(--shadow-sm);
}
.cat-hero__card b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--white);
}
.cat-hero__card span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(232, 236, 242, 0.68);
}

.catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: end;
  margin-bottom: 22px;
}
.catalog-head h1,
.catalog-head h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.catalog-head p {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
}
.view-switch {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 4px;
}
.view-switch button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--steel);
  cursor: pointer;
}
.view-switch button svg { width: 20px; height: 20px; display: block; }
.view-switch button.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.view-switch button:hover { transform: translateY(-1px); }

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}
.plist.is-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.plist.is-list { display: grid; gap: 10px; }
.plist__empty {
  margin: 0;
  padding: 28px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  background: var(--snow);
}
.sku {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
/* form must NOT use display:contents — breaks form.elements / ms2 count */
.sku > form.ms2_form,
.sku > form.sku__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  flex: 1 1 auto;
  height: 100%;
}
.sku__photo {
  display: grid;
  place-items: center;
  aspect-ratio: 1.2;
  border-radius: 14px;
  background:
    radial-gradient(120px 80px at 50% 60%, rgba(255, 255, 255, 0.9), transparent 70%),
    var(--snow);
  overflow: hidden;
}
.sku__photo img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}
.sku__group {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.sku h3 {
  margin: 2px 0 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.sku__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
.sku__price b {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.sku__price span,
.sku__used {
  color: var(--muted);
  font-size: 13px;
}
.sku__used { margin-top: 2px; font-weight: 600; }
.sku__actions {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: auto;
  padding-top: 8px;
}
.sku__sell { flex: 1 1 auto; }
.sku[hidden] { display: none !important; }
.qty {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 40px;
  padding: 0 4px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--white);
}
.qty button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  color: var(--steel);
  font-size: 16px;
  line-height: 1;
}
.qty button:hover { background: var(--snow); color: var(--ink); }
.qty span {
  min-width: 42px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
}

.plist.is-list .sku {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.4fr) auto auto;
  align-items: center;
  gap: 8px 16px;
  padding: 10px 14px;
}
.plist.is-list .sku:has(> form.ms2_form),
.plist.is-list .sku:has(> form.sku__form) {
  display: block;
}
.plist.is-list .sku > form.ms2_form,
.plist.is-list .sku > form.sku__form {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.4fr) auto auto;
  align-items: center;
  gap: 8px 16px;
}
.plist.is-list .sku__photo {
  width: 72px;
  height: 72px;
  aspect-ratio: auto;
  border-radius: 12px;
}
.plist.is-list .sku__photo img { width: 84%; height: 84%; }
.plist.is-list .sku__group { display: none; }
.plist.is-list .sku h3 { margin: 0; font-size: 15px; }
.plist.is-list .sku__prices { text-align: left; }
.plist.is-list .sku__price b { font-size: 26px; }
.plist.is-list .sku__actions { margin: 0; padding: 0; }
.plist.is-list .sku__sell { flex: 0 0 auto; }

.side {
  display: grid;
  gap: 12px;
  position: sticky;
  top: 88px;
}
.side__card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.side__card h2 {
  margin: 0 0 10px;
  font-size: 15px;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.side__lbl {
  display: block;
  margin: 14px 0 8px;
  font-size: 13px;
  font-weight: 700;
}
.side__search,
.side__select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--snow);
  outline: none;
}
.side__search:focus,
.side__select:focus {
  border-color: var(--ink);
  background: var(--white);
}
.side__cats {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.side__cats a:hover { color: var(--steel); }
.notes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.notes li {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 8px;
  align-items: start;
  font-size: 14px;
  position: relative;
}
.notes__mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 138, 85, 0.12);
  color: var(--ok);
  font-size: 13px;
  font-weight: 700;
}
.notes__mark.is-no {
  background: rgba(180, 60, 55, 0.12);
  color: #b43c37;
}
.hint {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.hint__pop {
  grid-column: 1 / -1;
  margin: 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.trio article,
.place {
  padding: 18px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.trio h3,
.place h2,
.place h3 {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
}
.trio ul,
.place p { margin: 0; color: var(--muted); font-size: 14px; }
.trio li { margin: 0 0 8px; }
.ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
}
.ico svg { width: 18px; height: 18px; }
.section--ink .ico {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.reception {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 12px;
  align-items: stretch;
}
.places {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: stretch;
}
.reception .place {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  column-gap: 10px;
  row-gap: 4px;
  padding: 14px 14px;
  border-radius: 12px;
  align-items: start;
  min-height: 0;
  height: 100%;
  box-sizing: border-box;
}
.reception .place .ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  grid-row: 1 / span 2;
}
.reception .place .ico svg { width: 15px; height: 15px; }
.reception .place h2,
.reception .place h3 {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.25;
  align-self: center;
}
.reception .place p {
  margin: 0;
  grid-column: 2;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.map {
  position: relative;
  min-height: 230px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--snow);
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map__go {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  min-height: 38px;
  padding: 0 12px;
  font-size: 13px;
}

.office-shots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.vreviews {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  scrollbar-width: thin;
  cursor: grab;
}
#reviews .slider .vreviews,
#reviews .slider__track.vreviews {
  margin-top: 0;
}
#contacts .office-shots,
#office .office-shots,
.page-catalog .office-shots,
.page-contacts .office-shots {
  margin-top: 8px;
  gap: 8px;
}
#reviews .vreviews {
  margin: 0 0 22px;
}
.office-shot {
  margin: 0;
  min-height: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--snow);
  display: block;
  cursor: zoom-in;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.office-shot:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.office-shot img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
#contacts .office-shot img,
#office .office-shot img,
.page-catalog .office-shot img,
.page-contacts .office-shot img {
  height: 180px;
}
@media (max-width: 720px) {
  .office-shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Office photo lightbox */
.office-lb {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 18px 56px 22px;
  background: rgba(10, 12, 16, 0.82);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.office-lb.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.office-lb__stage {
  position: relative;
  grid-row: 2;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: min(980px, 92vw);
  min-height: 0;
}
.office-lb__img {
  max-width: 100%;
  max-height: min(78vh, 860px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  background: #111;
}
.office-lb__close,
.office-lb__nav {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  line-height: 0;
}
.office-lb__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  z-index: 2;
}
.office-lb__close svg,
.office-lb__nav svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.office-lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  z-index: 2;
}
.office-lb__nav--prev { left: 12px; }
.office-lb__nav--next { right: 12px; }
.office-lb__nav:hover,
.office-lb__close:hover {
  background: #fff;
}
.office-lb__count {
  grid-row: 3;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
@media (max-width: 720px) {
  .office-lb { padding: 56px 12px 18px; }
  .office-lb__nav {
    width: 40px;
    height: 40px;
  }
  .office-lb__nav--prev { left: 4px; }
  .office-lb__nav--next { right: 4px; }
  .office-lb__close {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }
  .office-lb__close svg,
  .office-lb__nav svg {
    width: 16px;
    height: 16px;
  }
}
.reception .place:not(:has(.ico)) {
  grid-template-columns: 1fr;
}
.reception .place:not(:has(.ico)) p {
  grid-column: 1;
}
@media (max-width: 860px) {
  .reception { grid-template-columns: 1fr; }
  .places { grid-template-columns: 1fr 1fr; }
  .map { height: 250px; min-height: 250px; }
}
@media (max-width: 560px) {
  .places { grid-template-columns: 1fr; }
}
.vrev {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - 20px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  min-height: 180px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
}
.vrev-lb {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 24px 18px;
  background: rgba(10, 12, 16, 0.86);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}
.vrev-lb.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.vrev-lb__stage {
  width: min(960px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}
.vrev-lb__video,
.vrev-lb__frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}
.vrev-lb__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
}
.vrev-lb__close:hover {
  background: rgba(255, 255, 255, 0.22);
}
.vrev-lb__close svg {
  width: 22px;
  height: 22px;
}
@media (max-width: 980px) {
  .review,
  .vrev {
    flex: 0 0 min(320px, 82vw);
  }
  .slider:not(.is-scrollable) .slider__track {
    flex-wrap: wrap;
  }
  .slider:not(.is-scrollable) .review,
  .slider:not(.is-scrollable) .vrev {
    flex: 1 1 100%;
  }
}
.vrev img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  opacity: 0.85;
}
.vrev__play {
  position: absolute;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 18px;
}
.vrev__cap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(26, 29, 36, 0.82);
  color: #fff;
  font-size: 12px;
}

.review__stars {
  margin: 0 0 10px;
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 14px;
}
.rating--bar {
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}
.rating--bar .rating__mid { flex: 1; }
.rating--bar .rating__mid b {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: -0.02em;
}

.chem {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.chem__tabs { display: grid; gap: 8px; }
.chem__tab {
  min-height: 48px;
  padding: 10px 14px;
  text-align: left;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  cursor: pointer;
  font-weight: 600;
}
.chem__tab.is-on {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.chem__panel {
  padding: 22px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
}
.chem__panel h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.03em;
}
.chem__panel > p { margin: 0 0 16px; color: rgba(255, 255, 255, 0.72); }
.chem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.chem__cell {
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.chem__cell span {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.bars { margin-top: 16px; display: grid; gap: 8px; }
.bar {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.bar i {
  display: block;
  height: 8px;
  width: var(--w);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), #f0d48a);
}
.bars__cap {
  margin: 4px 0 0;
  text-align: right;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.deal {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 14px;
  align-items: start;
}
.deal__main,
.deal__item {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 16px 18px;
}
.deal__main h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
}
.deal__main p { margin: 0 0 12px; color: rgba(255, 255, 255, 0.72); font-size: 14px; }
.deal__list { display: grid; gap: 8px; }
.deal__item { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.deal__item h3 { margin: 0 0 4px; font-size: 16px; font-family: var(--font-display); }
.deal__item p { margin: 0; color: rgba(255, 255, 255, 0.68); font-size: 14px; }
.section--ink .btn-silver { margin-top: 12px; }

.myths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.myth {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 220px;
  padding: 18px;
  text-align: left;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.myth.is-fact {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.myth__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b43c37;
}
.myth.is-fact .myth__tag { color: #7dcea0; }
.myth .blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.myth__body { display: none; margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.myth.is-fact .myth__body { display: block; }
.myth.is-fact .myth__more { display: none; }
.myth__more {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--steel);
}
.myths__note {
  margin: 0;
  align-self: center;
  color: var(--muted);
  font-size: 15px;
}

.drop {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 120px;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  background: var(--snow);
  text-align: center;
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
}
.drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.drop strong { color: var(--ink); font-size: 14px; }
.drop.is-in { border-color: var(--ink); background: var(--white); }

@media (max-width: 980px) {
  .cat-hero__inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cat-hero__cards {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-layout,
  .reception,
  .chem,
  .deal,
  .trio,
  .myths {
    grid-template-columns: 1fr;
  }
  .office-shots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plist.is-grid { grid-template-columns: 1fr 1fr; }
  .side { position: static; }
  .catalog-side { order: -1; }
  .map { min-height: 250px; height: 250px; }
}
@media (max-width: 620px) {
  .cat-hero__cards { grid-template-columns: 1fr; }
  .catalog-head { grid-template-columns: 1fr; }
  .plist.is-grid { grid-template-columns: 1fr; }
  .plist.is-list .sku,
  .plist.is-list .sku > form.ms2_form,
  .plist.is-list .sku > form.sku__form {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .plist.is-list .sku__prices,
  .plist.is-list .sku__actions { grid-column: 2; }
  .plist.is-list .sku__actions { flex-wrap: wrap; }
  .chem__grid,
  .bar { grid-template-columns: 1fr; }
}

/* —— About, services, product —— */
.nav a[aria-current="page"] { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.split-page {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}
.panel {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.panel h2, .panel h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}
.panel p { margin: 0 0 12px; color: var(--muted); }
.about-block .sec-head { margin-bottom: 22px; }
.about-block .sec-head p { max-width: 68ch; font-size: 17px; line-height: 1.6; }
.about-block .stats { margin-top: 0; }
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
  align-items: stretch;
}
.about-cols .panel h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.about-cols .panel h3:not(:first-child) { margin-top: 20px; }
.about-note {
  margin: 16px 0 0 !important;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font-size: 15px;
}
.board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.board figure {
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  background: var(--snow);
  border: 1px solid var(--line);
}
.board img { width: 100%; height: 120px; object-fit: contain; }
.board figcaption { margin-top: 6px; font-size: 13px; font-weight: 700; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.flow li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
}
.flow b {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.03em;
}
.flow h3 { margin: 0 0 4px; font-size: 16px; font-family: var(--font-display); }
.flow p { margin: 0; color: var(--muted); font-size: 14px; }
.req {
  display: grid;
  margin: 4px 0 0;
}
.req div {
  display: grid;
  grid-template-columns: minmax(140px, 190px) minmax(0, 1fr);
  gap: 8px 20px;
  align-items: baseline;
  padding: 13px 2px;
  border-bottom: 1px solid var(--line);
}
.req div:last-child { border-bottom: 0; padding-bottom: 2px; }
.req dt {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.req dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.quote-card {
  padding: 18px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
}
.quote-card span { display: block; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,.62); }
.quote-card strong {
  display: block;
  margin: 8px 0 4px;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.03em;
}
.quote-card p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; }
.quote-card .chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  line-height: 1.25;
  padding: 8px 12px;
  min-height: 36px;
  box-sizing: border-box;
}
.gold-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gold {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.gold img { width: 100%; height: 120px; object-fit: contain; background: var(--snow); border-radius: 12px; }
.gold h3 { margin: 0; font-size: 16px; font-family: var(--font-display); letter-spacing: -0.02em; }
.gold__row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.gold__row b { font-family: var(--font-mono); font-size: 14px; }
.gold__go { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--steel); }
.mail-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ask {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--ink);
  color: #fff;
}
.ask p { margin: 6px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }
.ask__points {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ask__points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
.ask__ico {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.ask__ico svg { width: 20px; height: 20px; display: block; }
.parcels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.parcel {
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--snow);
}
.parcel a[data-office-lb] {
  display: block;
  cursor: zoom-in;
  margin-bottom: 10px;
}
.parcel img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0;
  background: var(--line);
}
.parcel > img { margin-bottom: 10px; }
.parcel b { display: none; }
.parcel span { color: var(--muted); font-size: 13px; }

.product {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}
.gallery__main {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--snow);
}
.gallery__main img { width: min(100%, 420px); height: 320px; object-fit: contain; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button {
  width: 72px;
  height: 72px;
  padding: 6px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  cursor: pointer;
}
.thumbs button.is-on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.product h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.1vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 12px 0; font-size: 14px; }
.perks li { list-style: none; }
.perks { margin-left: 0; padding: 0; }
.buy-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 14px; }
.related {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 12px;
  overflow: auto;
  scroll-snap-type: x mandatory;
}
.related .sku { scroll-snap-align: start; }
.rel-nav { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 10px; }

@media (max-width: 980px) {
  .split-page, .product, .gold-grid, .mail-steps { grid-template-columns: 1fr 1fr; }
  .gold-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .split-page, .product, .gold-grid, .mail-steps, .parcels, .perks, .board { grid-template-columns: 1fr; }
}

/* —— Narrow screens —— */
html, body { overflow-x: clip; max-width: 100%; }
.header__inner > .brand { flex: 1 1 auto; min-width: 0; }
.header__cta { flex: 0 0 auto; }
.topbar__inner > * { min-width: 0; max-width: 100%; }

@media (max-width: 900px) {
  .plist.is-list .sku,
  .plist.is-list .sku > form.ms2_form,
  .plist.is-list .sku > form.sku__form { grid-template-columns: 64px minmax(0, 1fr); }
  .plist.is-list .sku__photo { grid-row: 1 / span 3; align-self: center; }
  .plist.is-list .sku__prices,
  .plist.is-list .sku__actions { grid-column: 2; }
  .plist.is-list .sku__actions { flex-wrap: wrap; }
}

@media (max-width: 860px) {
  .sec-head h2 { white-space: normal; text-wrap: balance; }
  .topbar { font-size: 12px; }
  .topbar__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .brand__sub {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 34vw;
  }
  .header__inner { gap: 10px; }
  .burger { flex-shrink: 0; }
  /* padding for open nav links is set in the 980px block */
  .hero,
  .hero__inner { min-height: 0; }
  .hero__inner { padding: 28px 0 36px; }
  .hero h1,
  .catalog-head h1,
  .product h1,
  .sec-head h2 { overflow-wrap: break-word; }
  .hero h1 { width: 100%; font-size: clamp(28px, 8vw, 40px); }
  .ask {
    flex-direction: column;
    align-items: stretch;
  }
  .ask__points { width: 100%; }
  .ask .btn { width: 100%; }
  .side__cats {
    max-height: 9.5em;
    overflow: auto;
    padding-right: 4px;
  }
  .product,
  .split-page,
  .mail-steps,
  .parcels,
  .about-cols,
  .board { grid-template-columns: 1fr; }
  .gold-grid { grid-template-columns: 1fr 1fr; }
  .gallery__main { min-height: 220px; }
  .gallery__main img { height: 200px; }
  .table-wrap table { table-layout: fixed; }
  th, td { overflow-wrap: anywhere; }
  .req div { grid-template-columns: 1fr; gap: 4px; padding: 12px 2px; }
  .quote-card strong { font-size: clamp(22px, 6.4vw, 28px); overflow-wrap: anywhere; }
  .gold__row { flex-wrap: wrap; }
  .calc__sum .value { font-size: clamp(32px, 10vw, 44px); }
  .section { padding: 56px 0; }
  .qty button { width: 36px; height: 36px; }
}

@media (max-width: 640px) {
  .brand__sub { display: none; }
  .hero__logo { width: min(168px, 46vw); margin-bottom: 16px; }
  .features--2,
  .gold-grid,
  .perks,
  .chem__grid { grid-template-columns: 1fr; }
  [id] { scroll-margin-top: 96px; }
  .sku__price b,
  .plist.is-list .sku__price b { font-size: 22px; }
  .footer__cols:not(.footer__cols--catalog) { grid-template-columns: 1fr; }
  .btn { max-width: 100%; }
}

@media (max-width: 420px) {
  .brand__img { width: 40px; }
  .header__inner { padding: 8px 0; gap: 8px; }
  .wrap,
  .hero__inner { width: min(100% - 24px, var(--max)); }
}

/* —— Privacy —— */
/* Keep same width as header/footer .wrap — do not set width here */
.wrap.policy {
  width: min(100% - 32px, var(--max));
  max-width: none;
}
.wrap.policy .sec-head p { max-width: none; }
.policy__card h2 {
  margin: 22px 0 10px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.02em;
}
.policy__card h2:first-child { margin-top: 0; }
.policy__card p,
.policy__card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.policy__card ul {
  margin: 0 0 12px;
  padding-left: 1.2em;
}
.policy__card li { margin: 0 0 6px; }
.policy__card a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
/* —— Cart —— */
.cart-link { position: relative; }
.cart-badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}
.cart-badge[hidden] { display: none !important; }
/* miniShop2 toggles .full on AJAX; don't rely on [hidden] (it stays after first add) */
.msMiniCart:not(.full):not(.is-full) .cart-badge { display: none !important; }
.msMiniCart.full .cart-badge,
.msMiniCart.is-full .cart-badge { display: inline-grid; }
.cart-row > .ms2_form { margin: 0; }
.cart-row .qty input.ms2_count {
  width: 48px;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
}
.cart-sum .lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}
.cart-panel { min-width: 0; }
.cart-empty {
  padding: 28px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
  background: var(--snow);
}
.cart-empty p { margin: 0 0 14px; color: var(--muted); }
.cart-list { display: grid; gap: 10px; }
.cart-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.4fr) auto auto auto;
  gap: 12px 14px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.cart-row__photo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--snow);
  overflow: hidden;
}
.cart-row__photo img {
  width: 84%;
  height: 84%;
  object-fit: contain;
}
.cart-row__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}
.cart-row__title a {
  color: inherit;
  text-decoration: none;
}
.cart-row__title a:hover {
  text-decoration: underline;
}
.cart-row__sum b {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.03em;
}
.cart-sum { position: sticky; top: 88px; }
.cart-sum h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}
.cart-sum__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.cart-sum__row b {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: -0.03em;
}

@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-sum { position: static; }
  .cart-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .cart-row .qty,
  .cart-row__sum,
  .cart-row [data-remove] { grid-column: 2; justify-self: start; }
}

@media (max-width: 640px) {
  .header .cart-link { display: none; }
}

/* ========== About: PCB metaphor (light theme) ========== */
html { scroll-padding-top: 96px; }

.about-hero {
  position: relative;
  padding: 28px 0 40px;
  overflow: hidden;
  background:
    radial-gradient(780px 320px at 88% -10%, rgba(26, 29, 36, 0.05), transparent 60%),
    radial-gradient(640px 280px at 0% 100%, rgba(26, 29, 36, 0.04), transparent 55%),
    linear-gradient(180deg, var(--snow), var(--white));
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(26, 29, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 29, 36, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent);
}
.about-hero .wrap { position: relative; z-index: 1; }
.about-hero h1 {
  margin: 0;
  max-width: 920px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--ink);
}
.about-hero h1 em {
  font-style: normal;
  color: inherit;
}
.about-hero__lead {
  margin: 16px 0 0;
  max-width: 760px;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
}
.about-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.about-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 550;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}
.about-chip .ic {
  width: 16px;
  height: 16px;
  color: var(--steel);
}

.about-pcb-section { padding-top: 12px; }

.pcb-layout {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}
.board-wrap { position: sticky; top: 96px; }
.board {
  --pcb: #0f2a22;
  --pcb-2: #0a1c17;
  --pcb-3: #163a2e;
  --copper: #c08a34;
  --copper-dim: rgba(192, 138, 52, 0.38);
  --trace: #8a6427;
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(46, 212, 122, 0.08), transparent 60%),
    linear-gradient(165deg, var(--pcb-3), var(--pcb) 42%, var(--pcb-2));
  border: 1px solid #1c4034;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.board::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 26px 26px;
}
.board::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 18px;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.45);
}
.board__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.trace {
  fill: none;
  stroke: var(--trace);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
  transition: stroke 0.25s, filter 0.25s, stroke-width 0.25s;
}
.trace--dim { stroke: rgba(138, 100, 39, 0.35); stroke-width: 0.85; }
.trace.is-hot {
  stroke: var(--gold);
  stroke-width: 1.9;
  filter: drop-shadow(0 0 5px rgba(217, 169, 58, 0.85));
}
.via {
  fill: var(--pcb-2);
  stroke: var(--copper-dim);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.pad { fill: var(--copper-dim); }
.silk {
  fill: rgba(214, 226, 240, 0.32);
  font: 600 2.4px/1 var(--font-mono);
  letter-spacing: 0.06em;
}
.silk--gold { fill: rgba(217, 169, 58, 0.5); }
.hole {
  fill: var(--pcb-2);
  stroke: rgba(214, 226, 240, 0.18);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.pcb-comp {
  position: absolute;
  z-index: 3;
  border-radius: 7px;
  cursor: pointer;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 8px;
  overflow: hidden;
  color: #e8eef6;
  background: linear-gradient(165deg, #1d2a24, #0f1a16);
  border: 1px solid #2c4a3d;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.3, 1), border-color 0.22s, box-shadow 0.22s;
}
.pcb-comp:hover {
  transform: translateY(-2px);
  border-color: var(--copper);
}
.pcb-comp.is-active {
  border-color: var(--gold);
  background: linear-gradient(165deg, #2a3626, #16221a);
  box-shadow: 0 0 0 1px rgba(217, 169, 58, 0.45), 0 0 24px rgba(217, 169, 58, 0.3), 0 12px 26px rgba(0, 0, 0, 0.45);
}
.pcb-comp::before,
.pcb-comp::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  pointer-events: none;
  background-image: repeating-linear-gradient(90deg, var(--copper) 0 3px, transparent 3px 9px);
  opacity: 0.5;
}
.pcb-comp::before { top: 0; }
.pcb-comp::after { bottom: 0; }
.pcb-comp--nocap::before,
.pcb-comp--nocap::after {
  background-image: repeating-linear-gradient(180deg, var(--copper) 0 3px, transparent 3px 9px);
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: 6px;
  height: auto;
}
.pcb-comp--nocap::after { left: auto; right: 0; }
.pcb-comp__ic { color: var(--gold); }
.pcb-comp__ic svg { width: 100%; height: 100%; display: block; }
.pcb-comp__name {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}
.pcb-comp__meta {
  font-size: 9.5px;
  color: rgba(147, 162, 190, 0.9);
  line-height: 1.25;
}
.pcb-comp.is-active .pcb-comp__meta { color: var(--gold); }
.pcb-comp__pin {
  position: absolute;
  top: 3px;
  left: 5px;
  font: 700 8px/1 var(--font-mono);
  color: rgba(217, 169, 58, 0.7);
}
.pcb-comp--cpu { left: 37%; top: 32%; width: 26%; height: 26.7%; }
.pcb-comp--quartz { left: 8%; top: 13.3%; width: 14%; height: 13.3%; }
.pcb-comp--xrf { left: 70%; top: 10.7%; width: 22%; height: 16%; }
.pcb-comp--conn { left: 3%; top: 45.3%; width: 14%; height: 42.7%; }
.pcb-comp--caps { left: 22%; top: 77.3%; width: 36%; height: 16%; }
.pcb-comp--eeprom { left: 68%; top: 69.3%; width: 22%; height: 16%; }
.pcb-comp--cpu .pcb-comp__ic { width: 32px; height: 32px; }
.pcb-comp--quartz .pcb-comp__ic { width: 18px; height: 18px; }
.pcb-comp--xrf .pcb-comp__ic { width: 22px; height: 22px; }
.pcb-comp--conn { flex-direction: column; gap: 2px; padding: 6px 4px; }
.pcb-comp--conn .pcb-comp__ic { width: 16px; height: 16px; }
.pcb-comp--conn .pcb-comp__name { font-size: 9.5px; }
.pcb-comp--caps .pcb-comp__ic { width: 18px; height: 18px; }
.pcb-comp--eeprom .pcb-comp__ic { width: 22px; height: 22px; }
.pcb-pins {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  margin-top: 2px;
}
.pcb-pins i {
  font: 700 7.5px/1 var(--font-mono);
  font-style: normal;
  color: rgba(217, 169, 58, 0.65);
  background: rgba(217, 169, 58, 0.1);
  border-radius: 2px;
  padding: 1.5px 0;
  text-align: center;
}
.pcb-comp.is-active .pcb-pins i {
  color: var(--gold);
  background: rgba(217, 169, 58, 0.2);
}

.board-legend {
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 12px;
  line-height: 1.45;
}
.board-legend strong { color: var(--ink); font-weight: 600; }

.board-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-bottom: 16px;
}
.board-index button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--muted);
  transition: 0.16s;
}
.board-index button:hover {
  border-color: var(--silver-2);
  color: var(--ink);
}
.board-index button.is-active {
  background: var(--snow);
  border-color: var(--ink);
  color: var(--ink);
}
.board-index .num {
  font: 700 10px/1 var(--font-mono);
  color: var(--muted-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 5px;
  flex: 0 0 auto;
}
.board-index button.is-active .num {
  color: var(--ink);
  border-color: var(--ink);
}

.about-blocks { display: grid; gap: 20px; }
.about-block-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  scroll-margin-top: 100px;
  transition: border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.about-block-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--ink), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.about-block-card.is-active {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.about-block-card.is-active::before { opacity: 1; }
.about-block-card__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.about-block-card__ic {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--snow);
  border: 1px solid var(--line);
  color: var(--ink);
}
.about-block-card__ic svg { width: 24px; height: 24px; }
.about-block-card__tag {
  font: 700 10px/1 var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 6px;
}
.about-block-card__head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.5vw, 26px);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.about-block-card__body p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.about-block-card__body p:last-child { margin-bottom: 0; }
.about-block-card__body b,
.about-block-card__body strong { color: var(--ink); font-weight: 600; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.about-stats--2 { grid-template-columns: repeat(2, 1fr); }
.about-stat {
  background: var(--snow);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.about-stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.about-stat span { font-size: 13px; color: var(--muted); }

.about-equip { display: grid; gap: 12px; margin: 4px 0 14px; }
.about-equip__item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 12px;
  background: var(--snow);
  border: 1px solid var(--line);
}
.about-equip__item--main {
  border-color: var(--line-strong);
  background: var(--snow);
}
.about-equip__ic {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.about-equip__item--main .about-equip__ic {
  background: var(--white);
  border-color: var(--line);
}
.about-equip__ic svg { width: 22px; height: 22px; }
.about-equip__item h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.about-equip__item h3 small {
  font-weight: 500;
  color: var(--muted-2);
  font-size: 12.5px;
}
.about-equip__item p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.about-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.about-spec {
  font: 600 11.5px/1 var(--font-body);
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
}
.about-spec--gold {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line-strong);
}

.about-steps {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.about-steps li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--snow);
  border: 1px solid var(--line);
}
.about-steps__n {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font: 700 14px/1 var(--font-display);
  background: var(--ink);
  color: var(--white);
}
.about-steps h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.about-steps__time {
  font: 600 11px/1 var(--font-mono);
  color: var(--ink);
  margin-left: 6px;
  letter-spacing: 0.02em;
}
.about-steps p {
  margin: 0 !important;
  font-size: 14px !important;
}

.about-advs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.about-adv {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--snow);
  border: 1px solid var(--line);
}
.about-adv__ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.about-adv__ic svg { width: 20px; height: 20px; }
.about-adv h3 {
  margin: 0 0 4px;
  font-size: 14.5px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.about-adv p {
  margin: 0 !important;
  font-size: 13.5px !important;
}

.about-req {
  margin: 8px 0 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
}
.about-req__row {
  display: grid;
  grid-template-columns: minmax(140px, 0.42fr) minmax(0, 1fr);
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.about-req__row:last-child { border-bottom: 0; }
.about-req__row:nth-child(odd) { background: var(--snow); }
.about-req dt {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted-2);
  font-weight: 550;
}
.about-req dd {
  margin: 0;
  font-size: 14px;
  color: var(--ink);
  font-weight: 550;
}
.about-req dd.is-todo {
  color: var(--muted);
  font-style: italic;
  font-weight: 500;
}
.about-req dd a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.about-req__note {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--snow);
  border: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.45;
}
.about-req__note .ic {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--ink);
  margin-top: 1px;
}
.about-req__note b { color: var(--ink); }

.about-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: #e8ecf2;
  box-shadow: var(--shadow);
}
.about-cta h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--white);
}
.about-cta p {
  margin: 0;
  font-size: 14px;
  color: rgba(232, 236, 242, 0.72);
  max-width: 480px;
}
.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}
.about-cta .btn-ink {
  background: var(--white);
  border-color: var(--white);
  color: var(--ink);
}
.about-cta .btn-ink:hover { filter: brightness(0.96); }
.about-cta .btn-line {
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: transparent;
}
.about-cta .btn-line:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.about-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: start;
}
.about-contact-list { display: grid; gap: 12px; }
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.form-card h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.form-card__lead {
  margin: 0 0 18px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 980px) {
  .pcb-layout { grid-template-columns: 1fr; gap: 24px; }
  .board-wrap { position: static; max-width: 520px; margin: 0 auto; width: 100%; }
  .board-index {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .about-contact-grid { grid-template-columns: 1fr; }
  .about-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .about-stats,
  .about-advs { grid-template-columns: 1fr; }
  .about-req__row { grid-template-columns: 1fr; gap: 4px; }
  .board-index { grid-template-columns: repeat(2, 1fr); }
  .pcb-comp__meta { display: none; }
  .pcb-comp--cpu .pcb-comp__name { font-size: 10px; }
}

@media (max-width: 420px) {
  .board-index { grid-template-columns: 1fr 1fr; }
  .about-hero__chips { gap: 8px; }
  .about-chip { font-size: 12.5px; padding: 8px 12px; }
}
