/* =================================================================
   ПОРТБЕТОН — дизайн-система «Concrete Editorial»
   Светлая база цвета бетона + графитовые секции.
   Один акцент: сигнальный оранж (цвет спецтехники).
   Golos Text (display + body) · JetBrains Mono (данные)
   Радиус: 2px везде (почти острые углы, индустриально)
   ================================================================= */

:root {
  /* Бетон — светлая база */
  --bg:        #EDEDEA;
  --bg-2:      #E4E4E0;
  --surface:   #F8F8F6;
  --border:    #D8D8D2;
  --border-2:  #C2C2BB;

  /* Текст на светлом */
  --ink:    #191B1D;
  --ink-2:  #54575B;
  --ink-3:  #8B8E92;

  /* Графит — тёмные секции */
  --coal:        #17191C;
  --coal-2:      #1F2226;
  --coal-3:      #282C31;
  --coal-border: #2E3237;
  --snow:    #F2F2EF;
  --snow-2:  #A6A9AD;
  --snow-3:  #6B6F74;

  /* Акцент — сигнальный оранж */
  --accent:      #D9481F;
  --accent-hov:  #B93C18;
  --accent-dk:   #FF6B3B;   /* на графите */
  --accent-soft: #F6E4DC;

  --font-display: 'Golos Text', 'Arial', sans-serif;
  --font-body:    'Golos Text', 'Arial', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --r: 2px;

  --shadow-sm: 0 1px 3px rgba(20,22,24,.07);
  --shadow:    0 10px 30px -12px rgba(20,22,24,.22);
  --shadow-lg: 0 24px 60px -20px rgba(20,22,24,.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container: 1280px;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }
::selection { background: var(--accent); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}
@media (max-width: 640px) { .container { padding-inline: 18px; } }

/* ── ТИПОГРАФИКА ──────────────────────────────────────────────── */
h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
  letter-spacing: -0.03em;
  line-height: 1.02;
}
h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
}
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
p  { max-width: 62ch; line-height: 1.65; color: var(--ink-2); }

.label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── КНОПКИ ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 26px;
  height: 50px;
  border-radius: var(--r);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: none;
  cursor: pointer;
  transition: transform 130ms var(--ease), background 150ms, color 150ms, border-color 150ms, box-shadow 150ms;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px) scale(0.985); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hov); }
.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-2);
}
.btn--outline:hover { border-color: var(--ink-3); background: var(--surface); }
.btn--outline-inv {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.34);
}
.btn--outline-inv:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.btn--ghost { background: transparent; color: var(--ink-2); padding-inline: 14px; }
.btn--ghost:hover { color: var(--ink); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 0.85rem; }
.btn--lg { height: 56px; padding: 0 32px; font-size: 1rem; }
.btn--full { width: 100%; }

/* ── NAV ──────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(23,25,28,.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: 0.015em;
  color: var(--snow);
}
.nav__logo-mark {
  width: 26px; height: 26px;
  background: var(--accent);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800; color: #fff;
}
.nav__links { display: flex; gap: 26px; flex: 1; }
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--snow-2);
  transition: color 140ms;
}
.nav__links a:hover { color: var(--snow); }
.nav__links a.active { color: var(--snow); font-weight: 600; }
.nav__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.nav__phone {
  display: flex; flex-direction: column; align-items: flex-end; gap: 1px;
  line-height: 1.15;
}
.nav__phone-num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--snow);
  letter-spacing: -0.02em;
}
.nav__phone-num:hover { color: var(--accent-dk); }
.nav__phone-note { font-size: 0.65rem; color: var(--snow-3); }
.nav__cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r);
  padding: 0 14px;
  height: 38px;
  cursor: pointer;
  color: var(--snow-2);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: color 150ms, border-color 150ms;
}
.nav__cart-btn:hover { color: var(--snow); border-color: rgba(255,255,255,.4); }
.nav__cart-count {
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  min-width: 19px; height: 19px;
  padding: 0 4px;
  border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
}
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  align-items: center;
  background: none; border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--r);
  cursor: pointer; padding: 0;
}
.nav__burger span {
  width: 16px; height: 1.6px;
  background: var(--snow);
  border-radius: 2px;
  transition: transform 250ms var(--ease), opacity 200ms;
}
.nav__burger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

/* ── МОБИЛЬНОЕ МЕНЮ ───────────────────────────────────────────── */
#mobile-menu {
  position: fixed; inset: 0;
  background: var(--coal);
  z-index: 99;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 28px) 24px 40px;
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
  overflow-y: auto;
}
#mobile-menu.open { transform: translateX(0); }
.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 15px 0;
  border-bottom: 1px solid var(--coal-border);
  color: var(--snow);
}
.mobile-menu__link:active { color: var(--accent-dk); }
.mobile-menu__meta {
  margin-top: 32px;
  display: flex; flex-direction: column; gap: 10px;
}
.mobile-menu__tg {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
}
.mobile-menu__tg:hover { color: var(--accent-dk); }
.mobile-menu__phone {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-dk);
}
.mobile-menu__note { font-size: 0.85rem; color: var(--snow-3); }

/* ── МОБИЛЬНАЯ ПАНЕЛЬ ЗВОНКА ──────────────────────────────────── */
#call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(23,25,28,.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--coal-border);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
}
#call-bar .btn { flex: 1; height: 46px; font-size: 0.9rem; }
@media (max-width: 860px) {
  #call-bar { display: flex; }
  body { padding-bottom: 68px; }
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: min(94dvh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--coal);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 62%;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(78deg, rgba(15,16,18,.88) 0%, rgba(15,16,18,.62) 38%, rgba(15,16,18,.18) 68%, rgba(15,16,18,.08) 100%),
    linear-gradient(to top, rgba(15,16,18,.82) 0%, rgba(15,16,18,.18) 34%, transparent 60%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding: calc(var(--nav-h) + 48px) 28px 64px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.66);
}
.hero__eyebrow::before {
  content: '';
  width: 30px; height: 2px;
  background: var(--accent-dk);
}
.hero h1 {
  color: #fff;
  max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.35);
}
.hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.82);
  max-width: 46ch;
  line-height: 1.6;
  text-shadow: 0 1px 16px rgba(0,0,0,.3);
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero__facts {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(15,16,18,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.hero__facts-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero__fact {
  padding: 20px 26px 22px 0;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hero__fact + .hero__fact { padding-left: 26px; }
.hero__fact:last-child { border-right: none; }
.hero__fact-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.hero__fact-val span { color: var(--accent-dk); }
.hero__fact-cap { font-size: 0.78rem; color: rgba(255,255,255,.55); margin-top: 3px; }

@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero__content { padding: calc(var(--nav-h) + 56px) 18px 44px; gap: 22px; }
  .hero__facts-inner { grid-template-columns: 1fr 1fr; padding-inline: 18px; }
  .hero__fact { padding: 14px 16px 16px 0; }
  .hero__fact + .hero__fact { padding-left: 0; }
  .hero__fact:nth-child(even) { padding-left: 16px; }
  .hero__fact:nth-child(2) { border-right: none; }
  .hero__fact:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero__fact-val { font-size: 1.2rem; }
}

/* ── СЕКЦИИ ───────────────────────────────────────────────────── */
.section { padding-block: 96px; }
.section--tight { padding-block: 72px; }
.section--coal { background: var(--coal); }
.section--coal h2 { color: var(--snow); }
.section--coal p { color: var(--snow-2); }
.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
  margin-bottom: 52px;
}
.section__header p { margin-top: 14px; max-width: 52ch; }
.section__header .btn { flex-shrink: 0; }
@media (max-width: 640px) {
  .section { padding-block: 64px; }
  .section__header { flex-direction: column; align-items: flex-start; margin-bottom: 36px; gap: 18px; }
}

/* ── КАТЕГОРИИ (главная) ──────────────────────────────────────── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.cat-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  min-height: 300px;
  display: flex;
  background: var(--coal-2);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card:active { transform: scale(0.99); }
.cat-card--hero  { grid-column: span 7; min-height: 420px; }
.cat-card--tall  { grid-column: span 5; min-height: 420px; }
.cat-card--third { grid-column: span 4; }
.cat-card__img { position: absolute; inset: 0; }
.cat-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}
.cat-card:hover .cat-card__img img { transform: scale(1.045); }
.cat-card__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,13,15,.88) 0%, rgba(12,13,15,.34) 46%, rgba(12,13,15,.05) 72%);
  transition: background 300ms;
}
.cat-card__body {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 26px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cat-card__kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
}
.cat-card__name {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.1vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #fff;
}
.cat-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.16);
}
.cat-card__price {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}
.cat-card__price small { font-size: 0.72rem; color: rgba(255,255,255,.55); font-weight: 500; margin-right: 6px; }
.cat-card__count { font-size: 0.78rem; color: rgba(255,255,255,.55); }
.cat-card__arrow {
  width: 34px; height: 34px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.28);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 200ms, border-color 200ms, transform 240ms var(--ease);
}
.cat-card:hover .cat-card__arrow { background: var(--accent); border-color: var(--accent); transform: translateX(3px); }
@media (max-width: 960px) {
  .cat-card--hero, .cat-card--tall { grid-column: span 12; min-height: 320px; }
  .cat-card--third { grid-column: span 6; min-height: 250px; }
}
@media (max-width: 620px) {
  .cat-card--third { grid-column: span 12; min-height: 240px; }
  .cat-card--hero, .cat-card--tall { min-height: 260px; }
}

/* ── ШАГИ ЗАКАЗА ──────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}
.step {
  padding: 34px 34px 8px 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.step + .step { padding-left: 34px; }
.step:last-child { border-right: none; padding-right: 0; }
.step__no {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}
.step__title { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.015em; }
.step__text { font-size: 0.95rem; color: var(--ink-2); max-width: 34ch; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); padding: 26px 0; }
  .step + .step { padding-left: 0; }
  .step:last-child { border-bottom: none; }
}

/* ── СПЛИТ (текст + фото) ─────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
.split--rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split--rev .split__copy { order: 2; }
.split--rev .split__visual { order: 1; }
.split__copy { display: flex; flex-direction: column; gap: 22px; }
.split__copy .btn { align-self: flex-start; }
.split__visual {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-2);
  box-shadow: var(--shadow);
}
.split__visual img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .split, .split--rev { grid-template-columns: 1fr; gap: 32px; }
  .split--rev .split__copy { order: 1; }
  .split--rev .split__visual { order: 2; }
}

/* ── СПИСОК ФАКТОВ ────────────────────────────────────────────── */
.checklist { display: flex; flex-direction: column; }
.checklist li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 0.975rem; color: var(--ink-2);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: '';
  width: 7px; height: 7px;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 9px;
  border-radius: 1px;
}
.checklist strong { color: var(--ink); font-weight: 600; }

/* ── ФОТОПОЛОСА ───────────────────────────────────────────────── */
.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 56px;
}
.photo-row figure {
  border-radius: var(--r);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--bg-2);
}
.photo-row img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.photo-row figure:hover img { transform: scale(1.04); }
.photo-row figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 18px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(12,13,15,.78), transparent);
}
@media (max-width: 760px) {
  .photo-row { grid-template-columns: 1fr; }
  .photo-row figure { aspect-ratio: 16/10; }
}

/* ── ТЕХНИКА (тёмная секция) ──────────────────────────────────── */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fleet-card {
  background: var(--coal-2);
  border: 1px solid var(--coal-border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 220ms var(--ease), border-color 220ms;
}
.fleet-card:hover { transform: translateY(-4px); border-color: #3A3F45; }
.fleet-card__img { aspect-ratio: 16/10; overflow: hidden; }
.fleet-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.fleet-card:hover .fleet-card__img img { transform: scale(1.05); }
.fleet-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.fleet-card__title { font-size: 1.1rem; font-weight: 700; color: var(--snow); letter-spacing: -0.015em; }
.fleet-card__text { font-size: 0.9rem; color: var(--snow-2); line-height: 1.55; max-width: none; }
.fleet-card__meta {
  margin-top: auto;
  padding-top: 16px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--coal-border);
}
.fleet-card__price { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--snow); }
.fleet-card__price small { font-size: 0.72rem; color: var(--snow-3); font-weight: 500; margin-right: 5px; }
.fleet-card__link { font-size: 0.85rem; font-weight: 600; color: var(--accent-dk); }
.fleet-card__link:hover { text-decoration: underline; }
@media (max-width: 900px) { .fleet-grid { grid-template-columns: 1fr; } .fleet-card__img { aspect-ratio: 16/8; } }

/* ── КАЛЬКУЛЯТОР-ТИЗЕР ────────────────────────────────────────── */
.calc-teaser {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  background: var(--accent);
  border-radius: var(--r);
  padding: 40px 44px;
  position: relative;
  overflow: hidden;
}
.calc-teaser::before {
  content: 'м³';
  position: absolute;
  right: 220px; top: -34px;
  font-family: var(--font-mono);
  font-size: 11rem;
  font-weight: 700;
  color: rgba(255,255,255,.1);
  pointer-events: none;
  line-height: 1;
}
.calc-teaser h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); }
.calc-teaser p { color: rgba(255,255,255,.85); margin-top: 10px; max-width: 48ch; }
.calc-teaser .btn { background: #fff; color: var(--ink); }
.calc-teaser .btn:hover { background: var(--snow); }
@media (max-width: 760px) {
  .calc-teaser { grid-template-columns: 1fr; padding: 30px 24px; }
  .calc-teaser::before { display: none; }
}

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 0;
  font-size: 1.02rem; font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  background: none; border: none; cursor: pointer; text-align: left;
  transition: color 150ms;
}
.faq-q:hover { color: var(--accent); }
.faq-q::after {
  content: '+';
  font-size: 1.5rem; font-weight: 300;
  color: var(--ink-3);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 260ms var(--ease), color 150ms;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(45deg); color: var(--accent); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--ease); }
.faq-q[aria-expanded="true"] + .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; min-height: 0; font-size: 0.95rem; color: var(--ink-2); line-height: 1.65; max-width: 60ch; }
.faq-a-inner::after { content: ''; display: block; height: 22px; }
.faq-a-inner a { color: var(--accent); font-weight: 600; }

/* ── КОНТАКТЫ ─────────────────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.contact-split__map {
  min-height: 460px;
  position: relative;
  background: var(--bg-2);
}
/* адрес-заглушка на время загрузки карты */
.contact-split__map::before {
  content: 'д. Вистино, Кингисеппский район';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; color: var(--ink-3);
  letter-spacing: 0.04em;
}
.contact-split__map iframe { position: relative; z-index: 1; }
.contact-split__map iframe { width: 100%; height: 100%; border: none; display: block; filter: grayscale(.35) contrast(1.02); }
.contact-split__info {
  padding: 44px 40px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 26px;
  border-left: 1px solid var(--border);
}
.contact-row { display: flex; flex-direction: column; gap: 3px; }
.contact-row__label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); }
.contact-row__val { font-size: 1rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
.contact-row__val a { color: var(--accent); }
.contact-row__val a:hover { text-decoration: underline; }
.contact-row__val--big { font-family: var(--font-mono); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; }
@media (max-width: 900px) {
  .contact-split { grid-template-columns: 1fr; }
  .contact-split__map { min-height: 300px; order: 2; }
  .contact-split__info { border-left: none; border-bottom: 1px solid var(--border); padding: 30px 24px; order: 1; }
}

/* ── ФИНАЛЬНЫЙ CTA ────────────────────────────────────────────── */
.cta-final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(40%, 380px);
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--coal-border);
  box-shadow: var(--shadow-lg);
  background: var(--coal);
  min-height: 196px;
}
.cta-final__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 30px 34px 30px 38px;
  position: relative;
  border-left: 3px solid var(--accent);
}
.cta-final__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dk);
  margin-bottom: 10px;
}
.cta-final h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--snow);
  max-width: 18ch;
  margin: 0 0 10px;
}
.cta-final p {
  font-size: 0.925rem;
  line-height: 1.62;
  color: var(--snow-2);
  max-width: 44ch;
  margin: 0;
}
.cta-final__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--coal-border);
}
.cta-final__cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-final__phone {
  font-family: var(--font-mono);
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  transition: color 150ms;
  line-height: 1.2;
}
.cta-final__phone:hover { color: var(--accent-dk); }
.cta-final__tg {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--snow-2);
  transition: color 150ms;
}
.cta-final__tg:hover { color: #fff; }
.cta-final__hours {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--snow-3);
}
.cta-final__media {
  position: relative;
  min-height: 196px;
  background: var(--coal-2);
}
.cta-final__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}
.cta-final__media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--coal) 0%, rgba(23,25,28,.55) 18%, transparent 42%),
    linear-gradient(180deg, transparent 55%, rgba(23,25,28,.35) 100%);
  pointer-events: none;
}
.cta-final__media::after {
  content: '24/7';
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(23,25,28,.55);
  backdrop-filter: blur(6px);
}
@media (max-width: 820px) {
  .cta-final {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .cta-final__media {
    order: -1;
    min-height: 148px;
    max-height: 168px;
  }
  .cta-final__media::before {
    background: linear-gradient(180deg, transparent 25%, var(--coal) 100%);
  }
  .cta-final__body {
    padding: 24px 22px 26px 26px;
    gap: 18px;
  }
  .cta-final h2 { max-width: none; }
}
@media (max-width: 480px) {
  .cta-final__cta-row { flex-direction: column; align-items: stretch; }
  .cta-final__cta-row .btn { width: 100%; justify-content: center; }
}

/* ── ФУТЕР ────────────────────────────────────────────────────── */
footer {
  background: var(--coal);
  border-top: 1px solid var(--coal-border);
  padding-block: 64px 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--coal-border);
}
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--snow);
}
.footer__logo .nav__logo-mark { width: 28px; height: 28px; }
.footer__brand p { font-size: 0.875rem; color: var(--snow-3); max-width: 30ch; line-height: 1.6; }
.footer__col h5 {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--snow-3);
  margin-bottom: 18px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col ul li, .footer__col ul li a { font-size: 0.9rem; color: var(--snow-2); transition: color 140ms; }
.footer__col ul li a:hover { color: var(--snow); }
.footer__phone { font-family: var(--font-mono); font-weight: 700; color: var(--snow) !important; font-size: 1.02rem !important; }
.footer__tg { font-family: var(--font-mono); font-weight: 600; color: var(--snow-2) !important; }
.footer__tg:hover { color: var(--accent) !important; }
.footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 26px;
  font-size: 0.78rem; color: var(--snow-3);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 34px; } .footer__brand { grid-column: 1/-1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ── ВНУТРЕННИЙ HERO ──────────────────────────────────────────── */
.page-hero {
  padding-top: var(--nav-h);
  background: var(--coal);
  position: relative;
  overflow: hidden;
}
.page-hero__img { position: absolute; inset: 0; }
.page-hero__img img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(80deg, rgba(15,16,18,.9) 0%, rgba(15,16,18,.66) 45%, rgba(15,16,18,.3) 100%);
}
.page-hero__inner {
  position: relative; z-index: 1;
  padding-block: 64px 56px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-hero h1 { color: var(--snow); }
.page-hero p { color: rgba(255,255,255,.78); max-width: 52ch; font-size: 1.05rem; }
.breadcrumbs {
  display: flex;
  gap: 8px; align-items: center;
  font-size: 0.78rem; font-weight: 500;
  color: rgba(255,255,255,.5);
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: rgba(255,255,255,.5); }
.breadcrumbs a:hover { color: rgba(255,255,255,.85); }
.breadcrumbs .sep { opacity: 0.45; }
@media (max-width: 640px) { .page-hero__inner { padding-block: 44px 40px; } }

/* Section page hero — full composition */
.page-hero--section .page-hero__img::after {
  background:
    linear-gradient(105deg, rgba(12,13,15,.94) 0%, rgba(12,13,15,.72) 42%, rgba(12,13,15,.28) 100%),
    linear-gradient(0deg, rgba(12,13,15,.55) 0%, transparent 42%);
}
.page-hero--section .page-hero__inner {
  padding-block: clamp(48px, 7vw, 80px) clamp(40px, 5vw, 64px);
  gap: 16px;
  min-height: min(58vh, 520px);
  justify-content: flex-end;
}
.page-hero--section h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.4rem);
  max-width: 14ch;
  text-wrap: balance;
}
.page-hero--section > .page-hero__inner > p {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
  color: rgba(255,255,255,.82);
  max-width: 46ch;
}
.section-hero__extras {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 10px;
  animation: sectionHeroIn 700ms var(--ease) both;
}
.section-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
  max-width: 640px;
}
.section-hero__stat {
  flex: 1 1 140px;
  padding: 18px 22px 4px 0;
  border-right: 1px solid rgba(255,255,255,.12);
  min-width: 120px;
}
.section-hero__stat:last-child { border-right: none; }
.section-hero__stat-val {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: var(--snow);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.section-hero__stat-val--price { font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--accent-dk); }
.section-hero__stat-cap {
  display: block;
  margin-top: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
}
.section-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
@keyframes sectionHeroIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .section-hero__extras { animation: none; }
}
@media (max-width: 640px) {
  .page-hero--section .page-hero__inner { min-height: 0; padding-block: 48px 40px; }
  .section-hero__stat { flex: 1 1 45%; border-right: none; padding-right: 12px; }
}

.page-section .section--tight { padding-block: 48px 72px; }
.page-section #cta-section { padding-top: 0; }

/* ── КАТАЛОГ: ПАНЕЛЬ УПРАВЛЕНИЯ ───────────────────────────────── */
.catalog-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cat-tabs { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  height: 42px;
  padding: 0 18px;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 150ms, background 150ms, color 150ms;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
}
.cat-tab i { font-style: normal; font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-3); }
.cat-tab:hover { border-color: var(--border-2); color: var(--ink); }
.cat-tab.active { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.cat-tab.active i { color: rgba(255,255,255,.55); }
.catalog-toolbar .catalog-search { margin-left: auto; }
.catalog-search { position: relative; flex-shrink: 0; }
.catalog-search input {
  height: 42px;
  padding: 0 16px 0 38px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.9rem;
  width: 230px;
  outline: none;
  transition: border-color 150ms, width 250ms var(--ease);
}
.catalog-search input::placeholder { color: var(--ink-3); }
.catalog-search input:focus { border-color: var(--accent); width: 270px; }
.catalog-search-icon {
  position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
  color: var(--ink-3); font-size: 15px; pointer-events: none;
}
@media (max-width: 720px) {
  .catalog-toolbar .catalog-search { margin-left: 0; width: 100%; }
  .catalog-search input, .catalog-search input:focus { width: 100%; }
}

/* ── КАТАЛОГ: КАРТОЧКИ ПОДРАЗДЕЛОВ ────────────────────────────── */
.subcat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.subcat-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms;
}
.subcat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--border-2); }
.subcat-card:active { transform: scale(0.99); }
.subcat-card__visual {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: var(--bg-2);
}
.subcat-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 550ms var(--ease);
}
.subcat-card:hover .subcat-card__img { transform: scale(1.05); }
.subcat-card__badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: var(--r);
  background: rgba(15,16,18,.72);
  backdrop-filter: blur(6px);
  color: rgba(255,255,255,.85);
}
.subcat-card__panel {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.subcat-card__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--ink);
}
.subcat-card__desc {
  font-size: 0.85rem;
  color: var(--ink-2);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.subcat-card__footer {
  display: flex; align-items: flex-end;
  justify-content: space-between; gap: 10px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--border);
}
.subcat-card__price-label { font-size: 0.68rem; color: var(--ink-3); margin-bottom: 2px; }
.subcat-card__price {
  font-family: var(--font-mono);
  font-size: 1rem; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em;
}
.subcat-card__count {
  font-size: 0.75rem; color: var(--ink-3);
  white-space: nowrap;
}
.subcat-card__arrow {
  width: 32px; height: 32px; border-radius: var(--r);
  border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; color: var(--ink-2);
  flex-shrink: 0;
  transition: background 200ms, border-color 200ms, color 200ms, transform 220ms var(--ease);
}
.subcat-card:hover .subcat-card__arrow { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateX(3px); }
@media (max-width: 1020px) { .subcat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px)  { .subcat-grid { grid-template-columns: 1fr; } }

/* ── КАТАЛОГ: КАРТОЧКИ ТОВАРОВ (поиск) ────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease);
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card__img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-2); flex-shrink: 0; }
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 450ms var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.05); }
.product-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-card__section {
  font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-3);
}
.product-card__mark { font-size: 0.98rem; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); line-height: 1.25; }
.product-card__specs { display: flex; flex-wrap: wrap; gap: 4px; }
.spec-chip {
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background: var(--bg);
  color: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 3px 7px;
}
.product-card__footer {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.product-card__price { font-family: var(--font-mono); font-size: 1.05rem; font-weight: 700; color: var(--ink); }
.product-card__price-unit { font-size: 0.72rem; color: var(--ink-3); margin-left: 3px; }
.product-card__add-btn {
  width: 34px; height: 34px;
  border-radius: var(--r);
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  transition: background 150ms, transform 130ms;
  flex-shrink: 0;
}
.product-card__add-btn:hover { background: var(--accent-hov); }
.product-card__add-btn:active { transform: scale(0.9); }
.catalog-empty { text-align: center; padding: 80px 24px; color: var(--ink-3); }
.catalog-empty h3 { color: var(--ink); margin-bottom: 10px; font-size: 1.3rem; }
.catalog-count { font-size: 0.82rem; color: var(--ink-3); margin-bottom: 18px; }
@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px)  { .product-grid { grid-template-columns: 1fr; } }

/* ── КОНФИГУРАТОР ─────────────────────────────────────────────── */
.cfg-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin-bottom: 28px;
  transition: color 150ms;
}
.cfg-back:hover { color: var(--ink); }
.cfg-back::before { content: '←'; font-size: 1.05rem; }

.cfg-step-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.cfg-step-header__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.cfg-step-header__title {
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.cfg-step-header__desc {
  font-size: 0.95rem;
  color: var(--ink-2);
  max-width: 48ch;
  line-height: 1.55;
  margin-top: 8px;
}
.cfg-step-header__back {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 150ms, border-color 150ms;
}
.cfg-step-header__back:hover { color: var(--ink); border-color: var(--ink); }

.cfg-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: 0 0 36px;
  margin-bottom: 8px;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
}
.cfg-intro__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.cfg-intro__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: var(--ink);
  line-height: 1.65;
  max-width: 68ch;
  margin: 0;
}
.cfg-intro__flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cfg-intro__flow li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-2);
}
.cfg-intro__flow b {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.cfg-panel {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  overflow: visible;
  margin-bottom: 4px;
  box-shadow: var(--shadow-sm);
  align-items: stretch;
}
.cfg-panel--simple {
  display: block;
  padding: 8px 0;
}
.cfg-panel__filters {
  padding: 18px 16px 22px;
  border-right: 1px solid var(--border);
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--r) 0 0 var(--r);
}
.cfg-panel__filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.cfg-panel__filters-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.cfg-panel__reset {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
}
.cfg-panel__reset:hover { text-decoration: underline; }
.cfg-panel__filters .cfg-selector-group {
  padding: 0;
  border-bottom: none;
}
.cfg-panel__filters .cfg-selector-group + .cfg-selector-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.cfg-panel__filters .cfg-selector-label {
  margin-bottom: 10px;
  color: var(--ink-2);
}
.cfg-panel__filters .cfg-selector-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cfg-panel__filters .cfg-opt {
  height: 34px;
  padding: 0 11px;
  font-size: 0.8rem;
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink-2);
}
.cfg-panel__filters .cfg-opt:hover:not(:disabled):not(.cfg-opt--active) {
  border-color: var(--border-2);
  color: var(--ink);
  background: #fff;
}
.cfg-panel__filters .cfg-opt--active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
  box-shadow: none;
}
.cfg-panel__filters .cfg-opt--unavail { opacity: 0.28; }
.cfg-panel__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(34%, 300px);
  align-items: stretch;
  min-height: 420px;
  min-width: 0;
}
@media (max-width: 1100px) {
  .cfg-panel {
    grid-template-columns: 1fr;
  }
  .cfg-panel__filters {
    position: static;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 16px 18px;
  }
  .cfg-panel__filters .cfg-selector-group + .cfg-selector-group {
    margin-top: 14px;
    padding-top: 14px;
  }
}
@media (max-width: 900px) {
  .cfg-panel__body { grid-template-columns: 1fr; min-height: 0; }
}

.cfg-catalog {
  padding: 20px 22px 24px;
  border-right: 1px solid var(--border);
  min-width: 0;
}
.cfg-catalog__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.cfg-catalog__title {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.cfg-catalog__count {
  font-size: 0.78rem;
  color: var(--ink-3);
  font-weight: 600;
}
.cfg-catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 1280px) {
  .cfg-catalog__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .cfg-catalog__grid { grid-template-columns: 1fr; }
  .cfg-catalog { border-right: none; border-bottom: 1px solid var(--border); }
}

.cfg-catalog-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 140ms, background 140ms, transform 140ms, box-shadow 140ms;
}
.cfg-catalog-card:hover {
  border-color: var(--border-2);
  background: var(--bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.cfg-catalog-card--active {
  border-color: var(--ink);
  background: var(--bg);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.cfg-catalog-card__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.cfg-catalog-card__mark {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.cfg-catalog-card__price {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
  white-space: nowrap;
}
.cfg-catalog-card__specs { display: flex; flex-wrap: wrap; gap: 4px; }
.cfg-catalog-card__hint {
  font-size: 0.78rem;
  color: var(--ink-3);
  line-height: 1.45;
  margin: 0;
}

.cfg-catalog--idle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.cfg-catalog__empty {
  text-align: center;
  max-width: 36ch;
  padding: 12px 20px;
}
.cfg-catalog__empty-mark {
  font-family: var(--font-mono);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--border-2);
  line-height: 1;
  margin-bottom: 14px;
}
.cfg-catalog__empty-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.cfg-catalog__empty-text {
  font-size: 0.9rem;
  color: var(--ink-2);
  line-height: 1.6;
  margin-bottom: 16px;
}
.cfg-catalog__empty-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-3);
}

.cfg-catalog__list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--surface);
}
.cfg-catalog__list--board {
  border-color: var(--border);
}
.cfg-catalog-row {
  display: grid;
  grid-template-columns: minmax(7.5rem, max-content) minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border: none;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: background 140ms;
  min-width: 0;
}
.cfg-catalog-row:last-child { border-bottom: none; }
.cfg-catalog-row:hover { background: var(--bg); }
.cfg-catalog-row--active {
  background: var(--accent-soft);
  box-shadow: inset 3px 0 0 var(--accent);
}
.cfg-catalog-row__label {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.cfg-catalog-row__mid {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  overflow: hidden;
}
.cfg-catalog-row__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.cfg-catalog-row__chip {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2px 6px;
  line-height: 1.3;
}
.cfg-catalog-row__meta {
  font-size: 0.78rem;
  color: var(--ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.35;
}
.cfg-catalog-row__price {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
  justify-self: end;
}
@media (max-width: 640px) {
  .cfg-catalog-row {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
  }
  .cfg-catalog-row__price { grid-column: 2; grid-row: 1; }
  .cfg-catalog-row__mid { grid-column: 1 / -1; }
}

.cfg-selectors {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.cfg-selector-group { padding: 22px 26px; border-bottom: 1px solid var(--border); }
.cfg-selector-group:last-child { border-bottom: none; }
.cfg-selector-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 13px;
}
.cfg-selector-options { display: flex; flex-wrap: wrap; gap: 7px; }
.cfg-opt {
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-mono);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 140ms, background 140ms, color 140ms, opacity 140ms, box-shadow 140ms, transform 140ms;
  white-space: nowrap;
}
.cfg-opt:hover:not(:disabled):not(.cfg-opt--active) { border-color: var(--border-2); color: var(--ink); background: var(--surface); }
.cfg-opt--active { background: var(--ink); border-color: var(--ink); color: var(--surface); }
.cfg-opt--unavail { opacity: 0.3; cursor: not-allowed; }

.cfg-result {
  border: none;
  border-radius: 0;
  background: linear-gradient(180deg, #FBFBF9 0%, var(--bg) 100%);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
  align-self: start;
  border-left: 1px solid var(--border);
}
@media (max-width: 900px) {
  .cfg-result { position: static; border-left: none; border-top: 1px solid var(--border); }
}
.cfg-result__hint {
  padding: 28px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 280px;
  justify-content: center;
}
.cfg-result__hint-badge {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
}
.cfg-result__hint p {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.55;
  max-width: none;
  margin: 0;
}
.cfg-result__hint-sub {
  font-size: 0.84rem !important;
  color: var(--ink-2) !important;
}
.cfg-result__header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--surface);
}
.cfg-result__idle {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 320px;
}
.cfg-result__idle-foot {
  padding: 18px 24px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.cfg-result__idle-icon {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}
.cfg-result__idle p { font-size: 0.9rem; color: var(--ink-2); max-width: none; line-height: 1.5; text-align: left; }
.cfg-result__product { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 14px; }
.cfg-result__mark { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); line-height: 1.3; }
.cfg-result__variant-tag {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  vertical-align: middle;
}
.cfg-result__variant-note {
  font-size: 0.82rem;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
  padding: 10px 12px;
  background: var(--accent-soft);
  border-radius: var(--r);
}
.cfg-catalog-row--variant .cfg-catalog-row__label { color: var(--ink); }
.cfg-result__specs { display: flex; flex-wrap: wrap; gap: 4px; }
.cfg-result__desc { font-size: 0.88rem; color: var(--ink-2); line-height: 1.55; max-width: none; }
.cfg-result__price-block {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: linear-gradient(90deg, transparent, rgba(217,72,31,.04), transparent);
}
.cfg-result__price-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 7px; }
.cfg-result__price {
  font-family: var(--font-mono);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
}
.cfg-result__price-unit { font-size: 0.9rem; color: var(--ink-3); margin-left: 5px; }
.cfg-result__actions { display: flex; flex-direction: column; gap: 9px; }
.cfg-result__no-match { padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.cfg-result__no-match p { font-size: 0.9rem; color: var(--ink-2); max-width: none; }

.cfg-products-list { display: flex; flex-direction: column; }
.cfg-product-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 26px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 140ms;
}
.cfg-product-row:last-child { border-bottom: none; }
.cfg-product-row:hover { background: var(--bg); }
.cfg-product-row__name { font-size: 0.95rem; font-weight: 600; color: var(--ink); flex: 1; }
.cfg-product-row__price { font-family: var(--font-mono); font-weight: 700; font-size: 1rem; color: var(--ink); flex-shrink: 0; }
.cfg-product-row__unit { font-family: var(--font-body); font-size: .75rem; font-weight: 400; color: var(--ink-3); }
.cfg-product-row__btn {
  font-size: 0.8rem; font-weight: 600; color: var(--accent); flex-shrink: 0;
  padding: 7px 13px;
  border: 1px solid var(--accent-soft);
  border-radius: var(--r);
  transition: background 150ms, color 150ms, border-color 150ms;
}
.cfg-product-row:hover .cfg-product-row__btn { background: var(--accent); border-color: var(--accent); color: #fff; }

.cfg-simple-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}
.cfg-simple-row:last-child { border-bottom: none; }
.cfg-simple-row__copy { flex: 1; min-width: 220px; }
.cfg-simple-row__desc {
  font-size: .88rem;
  color: var(--ink-2);
  margin-top: 8px;
  line-height: 1.55;
  max-width: 60ch;
}
.cfg-simple-row__buy {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cfg-simple-row__price {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -.02em;
}

.cfg-preview {
  padding: 18px 20px 0;
}
.cfg-preview__title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.cfg-preview__rows { display: flex; flex-direction: column; gap: 0; }
.cfg-preview__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.cfg-preview__row:last-child { border-bottom: none; }
.cfg-preview__label {
  font-size: 0.84rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--ink);
}
.cfg-preview__price {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}
.cfg-preview__more {
  font-size: 0.78rem;
  color: var(--ink-3);
  padding-top: 8px;
}
.cfg-preview__unit {
  font-size: 0.72rem;
  color: var(--ink-3);
  padding: 10px 0 4px;
}

.cfg-details { margin-top: 56px; display: flex; flex-direction: column; gap: 32px; }

.cfg-logistics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 8px 28px;
  padding: 26px 28px;
  border: none;
  border-radius: var(--r);
  background: var(--coal);
  color: var(--snow);
}
.cfg-logistics__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.42);
  margin-bottom: 6px;
}
.cfg-logistics__val { font-size: 0.95rem; font-weight: 600; color: var(--snow); }
.cfg-logistics .btn {
  margin-left: 0;
  border-color: rgba(255,255,255,.22);
  color: var(--snow);
}
.cfg-logistics .btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
}

.cfg-info__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cfg-info-card {
  padding: 28px 26px 30px;
  border: none;
  border-right: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cfg-info-card:last-child { border-right: none; }
.cfg-info-card--accent {
  background: linear-gradient(180deg, transparent 0%, rgba(217,72,31,.05) 100%);
}
.cfg-info-card__icon {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--accent);
}
.cfg-info-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.cfg-info__order {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.65;
  max-width: none;
  margin: 0;
}
.cfg-info__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }

.cfg-glossary {
  padding: 32px 0 8px;
  border: none;
  border-radius: 0;
  background: transparent;
}
.cfg-glossary__title {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.cfg-glossary__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 24px;
}
.cfg-glossary__term {
  font-family: var(--font-mono);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.cfg-glossary__desc {
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.55;
}

.cfg-faq {
  padding: 8px 0 0;
  border: none;
  border-radius: 0;
  background: transparent;
}
.cfg-faq__title {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.cfg-related__title {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.cfg-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.cfg-related__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px;
  border: none;
  border-radius: 0;
  background: var(--surface);
  transition: background 150ms, color 150ms;
}
.cfg-related__card:hover {
  background: var(--coal);
  transform: none;
  box-shadow: none;
}
.cfg-related__card:hover .cfg-related__name { color: var(--snow); }
.cfg-related__card:hover .cfg-related__meta { color: rgba(255,255,255,.55); }
.cfg-related__name { font-size: 0.98rem; font-weight: 700; color: var(--ink); line-height: 1.35; letter-spacing: -0.01em; }
.cfg-related__meta { font-size: 0.8rem; color: var(--ink-2); font-family: var(--font-mono); }

.cfg-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 36px 34px;
  border-radius: var(--r);
  background:
    linear-gradient(120deg, rgba(217,72,31,.18), transparent 42%),
    var(--coal);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cfg-bottom-cta__copy .label { color: var(--accent-dk); }
.cfg-bottom-cta__copy p {
  font-size: 1rem;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  max-width: 52ch;
  margin-top: 10px;
}
.cfg-bottom-cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 1020px) {
  .cfg-info__grid { grid-template-columns: 1fr; }
  .cfg-info-card { border-right: none; border-bottom: 1px solid var(--border); }
  .cfg-info-card:last-child { border-bottom: none; }
  .cfg-glossary__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cfg-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cfg-logistics { grid-template-columns: 1fr 1fr; }
  .cfg-logistics .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 620px) {
  .cfg-glossary__grid { grid-template-columns: 1fr; }
  .cfg-related__grid { grid-template-columns: 1fr; }
  .cfg-logistics { grid-template-columns: 1fr; }
  .cfg-logistics .btn { width: 100%; }
  .cfg-bottom-cta { padding: 28px 22px; }
}

/* ── КАЛЬКУЛЯТОР ──────────────────────────────────────────────── */
.calc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.calc-panel {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}
.calc-panel__section { padding: 26px; border-bottom: 1px solid var(--border); }
.calc-panel__section:last-child { border-bottom: none; }
.calc-panel__title {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.calc-tabs {
  display: flex;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 4px;
  gap: 4px;
  margin-bottom: 22px;
}
.calc-tab {
  flex: 1;
  height: 38px;
  border-radius: var(--r);
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 150ms, color 150ms, box-shadow 150ms;
}
.calc-tab:hover { color: var(--ink); }
.calc-tab.active { background: var(--ink); color: var(--surface); }
.field-row { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field-row:last-child { margin-bottom: 0; }
.field-row label { font-size: 0.82rem; font-weight: 600; color: var(--ink-2); }
.field-row input, .field-row select {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
  color: var(--ink);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 150ms;
  width: 100%;
}
.field-row input::placeholder { color: var(--ink-3); }
.field-row input:focus, .field-row select:focus { border-color: var(--accent); }
.field-note { font-size: 0.78rem; color: var(--ink-3); margin-top: 6px; }
.calc-result {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--surface);
  padding: 26px;
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.calc-result__title {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.calc-result--idle .calc-result-line span:last-child { color: var(--ink-3); }
.calc-result-line {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--ink-2);
}
.calc-result-line span:last-child { font-family: var(--font-mono); font-weight: 600; color: var(--ink); }
.calc-result-line:last-of-type { border-bottom: none; }
.calc-total { display: flex; justify-content: space-between; align-items: baseline; padding: 20px 0 12px; }
.calc-total-label { font-size: 0.8rem; font-weight: 600; color: var(--ink-3); }
.calc-total-price { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.calc-warn { font-size: 0.78rem; color: var(--ink-3); line-height: 1.5; padding-top: 14px; border-top: 1px solid var(--border); max-width: none; }
.calc-aside-note {
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 20px 22px;
  background: var(--surface);
}
.calc-aside-note b { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin-bottom: 9px; }
.calc-aside-note p { font-size: 0.875rem; color: var(--ink-2); line-height: 1.6; max-width: none; margin: 0; }
.calc-aside-note a { color: var(--accent); font-weight: 600; }
@media (max-width: 900px) { .calc-layout { grid-template-columns: 1fr; } .calc-result { position: static; } }

/* ── СПРАВКА МАРОК ────────────────────────────────────────────── */
.grades-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grade-cell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 24px 26px;
  display: flex; flex-direction: column; gap: 7px;
}
.grade-cell__no { font-family: var(--font-mono); font-size: 0.82rem; font-weight: 700; color: var(--accent); }
.grade-cell__title { font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
.grade-cell__body { font-size: 0.875rem; color: var(--ink-2); max-width: none; line-height: 1.55; }
@media (max-width: 860px) { .grades-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grades-grid { grid-template-columns: 1fr; } }

/* ── КАРТОЧКА ТОВАРА ──────────────────────────────────────────── */
.product-layout { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.product-gallery {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-2);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--nav-h) + 16px);
}
.product-gallery img { width: 100%; height: 100%; object-fit: cover; }
.product-section { border-bottom: 1px solid var(--border); padding-bottom: 30px; margin-bottom: 30px; }
.product-section:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
.product-price-box { display: flex; align-items: baseline; gap: 8px; margin: 22px 0; }
.product-price { font-family: var(--font-mono); font-size: 2.3rem; font-weight: 700; color: var(--ink); letter-spacing: -0.03em; }
.product-price-unit { font-size: 0.95rem; color: var(--ink-3); }
.product-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.product-desc { font-size: 0.975rem; color: var(--ink-2); line-height: 1.7; max-width: 58ch; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
@media (max-width: 860px) { .product-layout { grid-template-columns: 1fr; } .product-gallery { position: static; } }

/* ── ПАНЕЛЬ ЗАЯВКИ ────────────────────────────────────────────── */
#cart-panel {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: 400px; max-width: 100vw;
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
#cart-panel.open { transform: translateX(0); }
.cart__header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}
.cart__title { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.cart__close {
  background: none;
  border: 1px solid var(--border);
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-2); font-size: 0.9rem;
  transition: border-color 150ms, color 150ms;
}
.cart__close:hover { border-color: var(--border-2); color: var(--ink); }
.cart__body { flex: 1; overflow-y: auto; padding: 18px 26px; display: flex; flex-direction: column; gap: 10px; }
.cart__empty { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; padding: 70px 0; color: var(--ink-3); }
.cart__empty-mark { font-family: var(--font-mono); font-size: 3rem; font-weight: 700; color: var(--border-2); line-height: 1; }
.cart__item {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 14px;
  padding: 15px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: var(--bg);
}
.cart__item-name { font-size: 0.86rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.cart__item-price { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 700; color: var(--ink); text-align: right; }
.cart__item-unit { font-size: 0.76rem; color: var(--ink-3); }
.cart__item-qty { display: flex; align-items: center; gap: 8px; }
.cart__qty-btn {
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-2); border-radius: 4px;
  background: var(--surface); color: var(--ink-2);
  font-size: 0.9rem; line-height: 1; cursor: pointer;
  transition: border-color 140ms var(--ease), color 140ms var(--ease);
}
.cart__qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart__qty-val { font-size: 0.8rem; font-weight: 600; color: var(--ink); min-width: 40px; text-align: center; }
.cart__qty-each { font-size: 0.76rem; color: var(--ink-3); }
.cart__item-remove {
  grid-column: 2; grid-row: 2;
  background: none; border: none;
  font-size: 0.76rem; color: var(--ink-3);
  cursor: pointer; text-align: right; padding: 0; align-self: end;
}
.cart__item-remove:hover { color: var(--accent); }
.cart__footer { padding: 22px 26px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.cart__total-row { display: flex; justify-content: space-between; align-items: baseline; }
.cart__total-label { font-size: 0.8rem; font-weight: 600; color: var(--ink-3); }
.cart__total-price { font-family: var(--font-mono); font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.cart__warn { font-size: 0.78rem; color: var(--ink-3); max-width: none; line-height: 1.5; }
#overlay {
  position: fixed; inset: 0;
  background: rgba(15,16,18,.5);
  z-index: 150;
  opacity: 0; pointer-events: none;
  transition: opacity 300ms;
}
#overlay.visible { opacity: 1; pointer-events: auto; }

/* ── QUICK VIEW ───────────────────────────────────────────────── */
#quick-view-modal {
  position: fixed; inset: auto 0 0;
  max-height: 86dvh;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-radius: 10px 10px 0 0;
  z-index: 250;
  transform: translateY(100%);
  transition: transform 360ms var(--ease);
  overflow-y: auto;
}
#quick-view-modal.open { transform: translateY(0); }
.qv__header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: var(--surface);
  z-index: 1;
}
.qv__title { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; }
.qv__body { padding: 26px; display: flex; flex-direction: column; gap: 20px; max-width: 640px; margin: 0 auto; }
.qv__media { aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: var(--bg-2); }
.qv__media img { width: 100%; height: 100%; object-fit: cover; }
.qv__specs { display: flex; flex-wrap: wrap; gap: 6px; }
.qv__desc { font-size: 0.95rem; color: var(--ink-2); line-height: 1.65; max-width: none; }
.qv__price-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.qv__price { font-family: var(--font-mono); font-size: 1.65rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.qv__actions { display: flex; gap: 10px; }
@media (min-width: 768px) {
  #quick-view-modal {
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%) scale(0.96);
    opacity: 0;
    pointer-events: none;
    border-radius: 6px;
    border: 1px solid var(--border);
    width: 580px; max-height: 90dvh;
    transition: transform 280ms var(--ease), opacity 280ms;
  }
  #quick-view-modal.open { transform: translate(-50%, -50%) scale(1); opacity: 1; pointer-events: auto; }
}

/* ── TOAST ────────────────────────────────────────────────────── */
.toast-container { position: fixed; bottom: 24px; left: 24px; z-index: 300; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
@media (max-width: 860px) { .toast-container { bottom: 84px; } }
.toast {
  background: var(--coal);
  color: var(--snow);
  padding: 15px 18px;
  border: 1px solid var(--coal-border);
  border-left: 3px solid var(--accent);
  border-radius: var(--r);
  font-size: 0.86rem; font-weight: 500;
  max-width: 320px;
  pointer-events: auto;
  display: flex; align-items: center; gap: 12px;
  transform: translateY(8px);
  opacity: 0;
  transition: transform 260ms var(--ease), opacity 260ms;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast-close { background: none; border: none; cursor: pointer; color: var(--snow-3); font-size: 1rem; margin-left: auto; padding: 0; }
.toast-close:hover { color: var(--snow); }

/* ── REVEAL ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .cat-card, .subcat-card, .product-card, .fleet-card { transition: none; }
  html { scroll-behavior: auto; }
}

/* ── УТИЛИТЫ ──────────────────────────────────────────────────── */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.link-accent { color: var(--accent); font-weight: 600; }
.link-accent:hover { text-decoration: underline; }

/* ── МОБИЛЬНАЯ НАВИГАЦИЯ ──────────────────────────────────────── */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}
@media (max-width: 640px) {
  .nav__phone { display: none; }
  .nav__inner { padding-inline: 18px; }
}
