/* =====================================================================
   AMANDYQ — оформление сайта
   Тёмная шапка и первый экран, тёплый светлый фон, акцент — красный из логотипа.
   Шрифты: Unbounded (заголовки), Golos Text (текст).
   ===================================================================== */

:root {
  --paper: #F5F2EC;
  --paper-2: #EDE8DF;
  --surface: #FFFFFF;
  --ink: #111316;
  --ink-2: #1A1D22;
  --ink-3: #262A31;
  --ink-line: #30353D;
  --text: #24272C;
  --muted: #5C616A;
  --muted-2: #6B7079;
  --line: #E2DCD1;
  --line-strong: #CFC7B9;
  --on-dark: #B4BAC3;
  --on-dark-2: #8E959F;
  --accent: #D7322A;
  --accent-hover: #B5261F;
  --accent-soft: #FBE7E4;
  --teal: #0E7A78;
  --teal-soft: #E1F1EF;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --container: 1280px;
  --display: "Unbounded", "Golos Text", system-ui, sans-serif;
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: var(--font);
  --shadow: 0 1px 2px rgba(17, 19, 22, .04), 0 12px 32px -16px rgba(17, 19, 22, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--paper); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p, dl, dd { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding-inline: 32px; }
@media (max-width: 640px) { .container { padding-inline: 20px; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-lg { width: 28px; height: 28px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; cursor: pointer; white-space: nowrap;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { transition: transform .18s; }

.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; background: transparent; }
.btn-outline-light:hover { border-color: #fff; background: #fff; color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--paper-2); color: var(--ink); }
.btn-ghost { border-color: var(--line-strong); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn.is-added { background: var(--teal-soft); color: var(--teal); border-color: var(--teal-soft); }
.btn:disabled { opacity: .6; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); min-height: 44px; border-bottom: 1.5px solid transparent; }
.link-arrow:hover { color: var(--accent); }
.link-arrow .icon { transition: transform .18s; }


/* ---------- Шапка (тёмная) ---------- */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.07); }
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; color: inherit; }
.logo:hover { color: inherit; }
.logo-badge { width: 42px; height: 42px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; }
.logo-img { width: 26px; height: 33px; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: .06em; }
.logo-sub { font-size: 11px; color: var(--on-dark-2); letter-spacing: .02em; margin-top: 3px; }

.main-nav ul { list-style: none; margin: 0; padding: 4px; display: flex; gap: 2px; background: rgba(255,255,255,.06); border-radius: 999px; }
.main-nav a { display: block; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: #E7EAEE; }
.main-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a[aria-current="page"] { background: #fff; color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { font-weight: 600; font-size: 15px; white-space: nowrap; color: #fff; margin-right: 6px; }
.header-phone:hover { color: #fff; opacity: .8; }
.site-header .btn-ghost { border-color: rgba(255,255,255,.22); color: #fff; }
.site-header .btn-ghost:hover { border-color: #fff; color: #fff; }
.request-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; display: inline-grid; place-items: center; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: transparent; color: #fff; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 1180px) { .header-phone { display: none; } }
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); padding: 8px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; background: none; padding: 0; gap: 0; border-radius: 0; }
  .main-nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 16px; }
  .main-nav a[aria-current="page"] { background: none; color: #fff; box-shadow: inset 3px 0 0 var(--accent); padding-left: 14px; }
  .header-actions .btn-cta { display: none; }
}
@media (max-width: 480px) { .request-btn .label, .logo-sub { display: none; } }

/* ---------- Типографика секций ---------- */
.hero-kicker { font-size: 15px; font-weight: 500; color: var(--on-dark); }
.section { padding: 104px 0 0; }
main > .section:last-child { padding-bottom: 104px; }
.section-paper { background: var(--paper-2); padding-bottom: 104px; margin-top: 104px; padding-top: 88px; }
.section-paper + .section { padding-top: 104px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 40px; }
.section-head .titles { display: flex; flex-direction: column; gap: 14px; }
.h2 { font-family: var(--display); font-size: clamp(28px, 3.3vw, 44px); line-height: 1.08; font-weight: 500; letter-spacing: -.02em; color: var(--ink); max-width: 20ch; }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); max-width: 32em; }
@media (max-width: 640px) { .section { padding-top: 72px; } main > .section:last-child { padding-bottom: 72px; } .section-paper { margin-top: 72px; padding: 64px 0 72px; } .section-head { margin-bottom: 28px; } }

/* ---------- Первый экран (главная) ---------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero > .container { position: relative; z-index: 1; }
.hero-inner { padding-block: 80px 64px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero-title { font-family: var(--display); font-weight: 500; font-size: clamp(38px, 5vw, 72px); line-height: 1.02; letter-spacing: -.035em; max-width: 13ch; }
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--on-dark); max-width: 30em; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-product { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; background: #DCEBE9; aspect-ratio: 4 / 4.2; color: var(--ink); }
.hero-product:hover { color: var(--ink); }
.hero-product-media { position: absolute; inset: 0; }
.hero-product-media img { width: 100%; height: 100%; object-fit: cover; }

.hero-product-info { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 16px; padding: 18px 22px; background: #fff; border-top: 1px solid var(--line); }
.hero-product-kind { font-size: 13px; color: var(--muted); grid-column: 1; }
.hero-product-name { font-family: var(--display); font-weight: 500; font-size: 22px; letter-spacing: -.01em; grid-column: 1; }
.hero-product-go { grid-column: 2; grid-row: 1 / span 2; font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

.hero-values { list-style: none; margin: 0; padding: 0 0 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius-lg); overflow: hidden; }
.hero-values li { background: var(--ink-2); padding: 24px; display: flex; gap: 14px; align-items: flex-start; }
.hero-values .icon { color: #fff; opacity: .7; margin-top: 2px; }
.hero-values div { display: flex; flex-direction: column; gap: 4px; }
.hero-values b { font-weight: 600; font-size: 15.5px; }
.hero-values span { font-size: 13.5px; line-height: 1.5; color: var(--on-dark-2); }
.hero-values { margin-bottom: 56px; padding: 0; }

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 56px 48px; }
  .hero-product { aspect-ratio: 16 / 11; }
  .hero-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero-sub { font-size: 17px; }
  .hero-values { grid-template-columns: 1fr; margin-bottom: 40px; }
  .hero-product { aspect-ratio: 4 / 3.6; }
  .hero-product-name { font-size: 18px; }
  }

/* ---------- Полоса брендов ---------- */
.brand-strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.brand-strip-inner { display: flex; align-items: center; gap: 24px 48px; padding-block: 28px; flex-wrap: wrap; }
.brand-strip-label { font-size: 14px; color: var(--muted); line-height: 1.35; flex: none; }
.brand-strip-logos { flex: 1 1 600px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.brand-strip-logos a { display: flex; align-items: center; min-height: 48px; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.brand-strip-logos a:hover { filter: none; opacity: 1; }
.brand-strip .brand-logo img { max-height: 34px; max-width: 150px; }

/* ---------- Плитки направлений ---------- */
.cat-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.cat-tile { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; color: var(--ink); }
.cat-tile:hover { border-color: var(--ink); color: var(--ink); }
.cat-tile-media { aspect-ratio: 4 / 3.4; background: var(--teal-soft); overflow: hidden; }
.cat-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }

.cat-tile-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-tile-name { font-family: var(--display); font-weight: 500; font-size: 21px; line-height: 1.15; letter-spacing: -.01em; }
.cat-tile-sub { font-size: 14px; color: var(--muted); }
.cat-tile-foot { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 600; }
.cat-tile-go { color: var(--muted); }
.cat-tile:hover .cat-tile-go { color: var(--accent); }
@media (max-width: 1020px) { .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cat-tiles { grid-template-columns: 1fr; } }

/* ---------- Сетки и карточки ---------- */
.grid { display: grid; gap: 16px; }
.grid-brands { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-products { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: transform .25s, box-shadow .25s, border-color .25s; }
a.card:hover { border-color: var(--ink); color: var(--ink); }

.brand-card { padding: 26px 24px; min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.brand-logo { height: 40px; display: flex; align-items: center; }
.brand-logo img { max-height: 40px; max-width: 170px; object-fit: contain; }
.brand-logo:has(img) .brand-name { display: none; }
.brand-name { font-family: var(--display); font-size: 18px; font-weight: 500; letter-spacing: .04em; color: var(--ink); }
.brand-meta { font-size: 13.5px; color: var(--muted); display: flex; justify-content: space-between; }

.product-card { display: flex; flex-direction: column; overflow: hidden; }
.product-card[hidden] { display: none; }
.product-card:hover { border-color: var(--line-strong); }
.product-media { display: block; aspect-ratio: 3 / 2; background: #DCEBE9; overflow: hidden; margin: 8px 8px 0; border-radius: 16px; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }

.product-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--paper); font-size: 12px; font-weight: 600; color: var(--muted); }
.tag-accent { background: var(--teal-soft); color: var(--teal); }
.product-name { font-family: var(--display); font-weight: 500; font-size: 17.5px; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); }
.product-name a:hover { color: var(--accent); }
.product-model { font-size: 13px; color: var(--muted-2); }
.product-desc { font-size: 14px; color: var(--muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; }
.product-actions .btn { flex: 1; padding: 0 12px; }

/* ---------- Шаги ---------- */
ol.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; counter-reset: s; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--ink); }
.step-num { font-family: var(--display); font-size: 40px; font-weight: 500; line-height: 1; color: var(--accent); }
.step-title { font-family: var(--display); font-weight: 500; font-size: 21px; letter-spacing: -.01em; color: var(--ink); }
.step-text { font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.steps-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ---------- Блок заявки ---------- */
.cta-block { background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; position: relative; overflow: hidden; }
.cta-info { position: relative; flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cta-info .h2 { color: #fff; }
.cta-info p { font-size: 17px; line-height: 1.6; color: var(--on-dark); }
.cta-contacts { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.cta-contacts a, .cta-contacts span { color: var(--on-dark); font-size: 16px; }
.cta-contacts a:hover { color: #fff; }
.cta-contacts .big { font-family: var(--display); color: #fff; font-size: 26px; font-weight: 500; }

.form { position: relative; flex: 1 1 440px; min-width: 0; background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select { height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 15.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, background .15s; }
.field textarea { height: auto; min-height: 112px; padding: 14px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8C8F95; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.form .btn-row .btn { flex: 1 1 200px; }
.form-note { font-size: 12.5px; line-height: 1.5; color: var(--muted-2); }
.form-note a { text-decoration: underline; }
.form-status { font-size: 14.5px; font-weight: 600; color: var(--teal); min-height: 1em; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--accent-hover); }
.request-list { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 12px; background: var(--teal-soft); color: var(--ink); font-size: 14px; }
.request-list[hidden] { display: none; }
.request-list ul { margin: 0; padding-left: 18px; }
.link-btn { border: 0; background: none; padding: 0; min-height: 32px; cursor: pointer; color: var(--teal); font-weight: 600; text-align: left; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Заголовок внутренних страниц ---------- */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-hero-inner { position: relative; padding-block: 56px 64px; display: flex; flex-direction: column; gap: 18px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); }
.page-hero .breadcrumbs { color: var(--on-dark-2); }
.breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: currentColor; }
.page-hero .breadcrumbs a:hover { color: #fff; }
.page-title { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.05; letter-spacing: -.03em; max-width: 18ch; }
.page-lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 40em; }
.page-hero .page-lead { color: var(--on-dark); }

/* ---------- Каталог ---------- */
.catalog-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.filters { flex: 1 1 240px; max-width: 280px; position: sticky; top: 96px; display: flex; flex-direction: column; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; }
.filters h2 { font-size: 14px; color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.filter-group { display: flex; flex-direction: column; gap: 2px; }
.filter-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; font-weight: 500; font-size: 15px; text-align: left; color: var(--ink); }
.filter-btn:hover { background: var(--paper); }
.filter-btn.is-active { background: var(--ink); color: #fff; }
.filter-btn .n { font-size: 13px; opacity: .6; }
.catalog-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.catalog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.search { position: relative; flex: 1 1 280px; max-width: 460px; }
.search input { width: 100%; height: 52px; padding: 0 18px 0 48px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15px; }
.search input:focus { outline: none; border-color: var(--ink); }
.search .icon { position: absolute; left: 18px; top: 16px; color: var(--muted); }
.result-count { font-size: 14px; color: var(--muted); }
.empty-state { padding: 48px; text-align: center; color: var(--muted); background: var(--surface); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-lg); }
@media (max-width: 860px) {
  .filters { max-width: none; position: static; }
  .filter-group { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .filter-btn { width: auto; gap: 10px; border: 1.5px solid var(--line); }
}

/* ---------- Страница товара ---------- */
.product-top { padding-top: 36px; }
.product-top .breadcrumbs { margin-bottom: 28px; }
.product-page { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.product-gallery-wrap { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; position: sticky; top: 96px; }
.product-gallery { aspect-ratio: 3 / 2; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; display: grid; place-items: center; }
.product-gallery img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumb { width: 96px; height: 66px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: #fff; cursor: pointer; box-shadow: 0 0 0 1px var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active { border-color: var(--accent); box-shadow: none; }
.product-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.product-model-lg { font-size: 15px; color: var(--muted); margin-bottom: 8px; }
.product-title { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.025em; color: var(--ink); }
.product-info .page-lead { font-size: 17px; }
.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { color: var(--muted); font-weight: 500; width: 45%; }
.spec-table td { font-weight: 600; color: var(--ink); }
@media (max-width: 1020px) { .product-gallery-wrap { position: static; } }

.two-col { display: flex; flex-wrap: wrap; gap: 48px; }
.two-col > * { flex: 1 1 400px; min-width: 0; }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.75; color: var(--muted); max-width: 44em; }
.prose h2 { font-family: var(--display); font-weight: 500; color: var(--ink); font-size: 24px; line-height: 1.25; margin-top: 12px; }
.prose a { color: var(--accent); text-decoration: underline; }
.docs { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.doc-link { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--ink); font-size: 15px; font-weight: 600; text-decoration: none !important; transition: border-color .2s; }
.doc-link:hover { border-color: var(--accent); color: var(--ink); }
.doc-link .icon { color: var(--accent); }
.doc-ext { margin-left: auto; font-size: 12px; color: var(--muted-2); padding: 4px 8px; border-radius: 6px; background: var(--paper); }
.highlights { grid-template-columns: 1fr; align-content: start; }
.info-card { padding: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.info-card .icon-tile { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.info-card h3 { flex: 1 1 200px; font-family: var(--display); font-weight: 500; font-size: 18px; color: var(--ink); }
.info-card p { flex-basis: 100%; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Бренды ---------- */
.brand-rows { display: flex; flex-direction: column; gap: 16px; }
.brand-row { padding: 32px; display: grid; grid-template-columns: 220px minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.brand-row-info { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.brand-row-info .cat-name { font-family: var(--display); font-weight: 500; font-size: 24px; color: var(--ink); }
.brand-row-info p { color: var(--muted); line-height: 1.6; }
.brand-row-models { display: flex; flex-direction: column; gap: 10px; }
.brand-row-models ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.brand-row-models li a { display: inline-flex; gap: 8px; align-items: baseline; }
.brand-row-models li a:hover { text-decoration: underline; }
@media (max-width: 960px) { .brand-row { grid-template-columns: 1fr; } }

/* ---------- Контакты ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.contact-card { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.contact-card .label { font-size: 14px; color: var(--muted); }
.contact-card .value { font-family: var(--display); font-size: 20px; font-weight: 500; color: var(--ink); word-break: break-word; }
.contact-card .note { font-size: 14px; color: var(--muted); }

/* ---------- Подвал (тёмный) ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); overflow: hidden; }
.footer-inner { padding-block: 72px 28px; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; }
.footer-about { flex: 1 1 280px; max-width: 380px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-about .logo { color: #fff; }
.footer-about p { font-size: 15px; line-height: 1.6; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 40px 72px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer-col a:hover { color: #fff; }
.footer-col h2 { font-size: 15px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; color: var(--on-dark-2); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Плавающая кнопка WhatsApp ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.wa-float:hover { color: #fff; background: var(--accent-hover); }
.wa-float .icon { width: 26px; height: 26px; }

.draft-bar { background: #FFF4D6; color: #6B4E00; text-align: center; font-size: 14px; font-weight: 600; padding: 10px 16px; border-bottom: 1px solid #F0DCA0; }

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

/* Поправки */
.prose .doc-link { color: var(--ink); text-decoration: none; }
.prose .doc-link:hover { color: var(--accent); }
.brand-logo img { height: 40px; width: auto; }
.brand-strip .brand-logo img { height: 34px; width: auto; }

/* ---------- Подбор по задаче ---------- */
.lead { margin-top: 2px; }
.section-head .lead { max-width: 36em; }
.picker { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 20px; align-items: start; }
.picker-tabs { display: flex; flex-direction: column; gap: 6px; }
.picker-tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; text-align: left; color: var(--ink); transition: border-color .15s, background .15s; }
.picker-tab:hover { border-color: var(--line-strong); }
.picker-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.picker-tab-icon { width: 40px; height: 40px; border-radius: 10px; background: var(--paper); color: var(--ink); display: grid; place-items: center; flex: none; }
.picker-tab[aria-selected="true"] .picker-tab-icon { background: var(--accent); color: #fff; }
.picker-tab-text { display: flex; flex-direction: column; gap: 2px; }
.picker-tab-text b { font-weight: 600; font-size: 15.5px; }
.picker-tab-text span { font-size: 13px; opacity: .7; }
.picker-panel { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; }
.picker-panel[hidden] { display: none; }
.picker-media { background: #DCEBE9; }
.picker-media img { width: 100%; height: 100%; object-fit: cover; }
.picker-body { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.picker-body h3 { font-family: var(--display); font-weight: 500; font-size: 26px; letter-spacing: -.01em; color: var(--ink); }
.picker-sub { color: var(--muted); font-size: 15px; }
.picker-list { list-style: none; margin: 6px 0 8px; padding: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.picker-list li { border-bottom: 1px solid var(--line); }
.picker-list a { display: flex; align-items: center; gap: 14px; padding: 10px 0; color: var(--ink); }
.picker-list a:hover b { color: var(--accent); }
.picker-list img { width: 64px; height: 44px; object-fit: cover; border-radius: 8px; background: #DCEBE9; flex: none; }
.picker-list a > span { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.picker-list b { font-weight: 600; font-size: 15px; }
.picker-list a > span > span { font-size: 13px; color: var(--muted-2); }
.picker-body .btn-row { margin-top: auto; }
@media (max-width: 1020px) {
  .picker { grid-template-columns: 1fr; }
  .picker-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .picker-tab { width: auto; flex: none; }
}
@media (max-width: 720px) {
  .picker-panel { grid-template-columns: 1fr; }
  .picker-media { aspect-ratio: 16 / 9; }
  .picker-body { padding: 22px; }
}

/* ---------- Сервис ---------- */
.service-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 64px; padding: clamp(28px, 4vw, 48px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.service-band-text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.service-band-text .btn-row { margin-top: 8px; }
.service-band-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.service-band-list li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.service-band-list li:first-child { padding-top: 0; }
.service-band-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.service-band-list b { font-family: var(--display); font-weight: 500; font-size: 18px; color: var(--ink); }
.service-band-list span { color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 900px) { .service-band { grid-template-columns: 1fr; } }

/* ---------- Сертификаты ---------- */
.certs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.cert { display: flex; flex-direction: column; gap: 6px; padding: 10px 10px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); }
.cert:hover { border-color: var(--ink); color: var(--ink); }
.cert-media { aspect-ratio: 3 / 4; border-radius: 12px; background: var(--paper); overflow: hidden; display: grid; place-items: center; color: var(--accent); margin-bottom: 6px; }
.cert-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cert-title { font-weight: 600; font-size: 15px; padding: 0 6px; }
.cert-note { font-size: 13px; color: var(--muted); padding: 0 6px; }

/* ---------- Вопросы и ответы ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: start; }
.faq-head { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; position: sticky; top: 100px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 600; font-size: 17.5px; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; font-size: 20px; font-weight: 400; line-height: 1; color: var(--ink); }
.faq-item[open] summary::after { content: "−"; background: var(--ink); border-color: var(--ink); color: #fff; }
.faq-item summary:hover { color: var(--accent); }
.faq-a { padding: 0 48px 22px 0; color: var(--muted); font-size: 16px; line-height: 1.7; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; } .faq-head { position: static; } .faq-a { padding-right: 0; } }
