/* ==========================================================================
   B.B_TREILER — оформление
   Тёмная тема: почти чёрный фон, крупная типографика, акцентный зелёный
   (взят из образца заказчика: #629C7C). Мягкие свечения, скруглённые карточки.
   ========================================================================== */

:root {
  --bg:        #0a0a0b;
  --bg-2:      #0e0e10;
  --card:      #131315;
  --card-2:    #18181b;
  --input:     #151517;

  --line:      rgba(255, 255, 255, .09);
  --line-2:    rgba(255, 255, 255, .16);

  --text:      #f2f1ee;
  --text-2:    rgba(242, 241, 238, .72);
  --muted:     rgba(242, 241, 238, .5);

  --accent:    #629c7c;
  --accent-hi: #7db596;
  --accent-dk: #3f6a54;
  --accent-ink:#08120c;
  --accent-a08: rgba(98, 156, 124, .12);
  --accent-a20: rgba(98, 156, 124, .22);
  --accent-a35: rgba(98, 156, 124, .38);

  --ok:  #7db596;
  --err: #e06a52;

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --container: 1200px;
  --header-h: 70px;

  --font: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

/* мягкое свечение акцента: уводим на задний план, не создавая слоёв у контента */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 42% at 78% -6%, var(--accent-a20) 0%, transparent 62%),
    radial-gradient(46% 38% at 6% 4%, rgba(98,156,124,.10) 0%, transparent 64%),
    radial-gradient(70% 50% at 50% 108%, rgba(98,156,124,.10) 0%, transparent 66%);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.03em;
}
h1 { font-size: clamp(34px, 5.2vw, 64px); font-weight: 800; }
h2 { font-size: clamp(25px, 3.4vw, 42px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -.015em; }

::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.accent { color: var(--accent); }

/* ---------- Каркас ---------- */
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

.section { padding: 78px 0; }
.section--tight { padding: 54px 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head__text { max-width: 62ch; }
.section-sub { margin-top: 14px; color: var(--text-2); font-size: 16px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px;
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -90px; z-index: 400;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: var(--r-pill); font-weight: 600;
}
.skip-link:focus { top: 10px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; min-height: 50px;
  border: 1px solid transparent; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink);
  font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  box-shadow: 0 8px 26px -10px rgba(98, 156, 124, .85);
  transition: background .16s, transform .16s, box-shadow .16s, border-color .16s, color .16s;
}
.btn:hover { background: var(--accent-hi); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(98, 156, 124, .95); }
.btn:active { transform: translateY(0); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.3); box-shadow: none; }

.btn--quiet { background: transparent; border-color: transparent; color: var(--text-2); box-shadow: none; padding-inline: 10px; }
.btn--quiet:hover { color: var(--accent); background: transparent; box-shadow: none; }

.btn--white { background: #fff; color: #0a0a0b; box-shadow: 0 8px 26px -12px rgba(255,255,255,.6); }
.btn--white:hover { background: #ececea; }

.btn--sm { padding: 9px 16px; min-height: 38px; font-size: 13.5px; }
.btn--lg { padding: 17px 30px; min-height: 56px; font-size: 16px; }
.btn--block { width: 100%; }

.link-more {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 500; color: var(--accent);
}
.link-more svg { width: 15px; height: 15px; transition: transform .16s; }
.link-more:hover svg { transform: translateX(3px); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h);
  background: rgba(10, 10, 11, .78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 26px; height: 100%; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 16px; font-weight: 800; letter-spacing: .02em; color: var(--text); }
.brand__tag { margin-top: 4px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.site-nav a {
  padding: 9px 13px; border-radius: var(--r-pill);
  font-size: 14.5px; font-weight: 500; color: var(--text-2);
  transition: color .14s, background .14s;
}
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--accent-a08); box-shadow: inset 0 0 0 1px var(--accent-a35); }

.header-right { display: flex; align-items: center; gap: 14px; margin-left: 4px; }
.header-phone { text-align: right; line-height: 1.2; white-space: nowrap; flex: none; }
.header-phone b { display: block; font-size: 14.5px; font-weight: 600; color: var(--text); white-space: nowrap; }
.header-phone span {
  display: block; margin-top: 2px;
  font-size: 9.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}

.burger {
  display: none; width: 42px; height: 42px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--r-sm); background: transparent;
}
.burger span { position: relative; display: block; width: 17px; height: 1.5px; background: var(--text); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1.5px; background: var(--text);
  transition: transform .18s, top .18s;
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 auto; z-index: 190;
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding: 6px 0 24px;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .9);
}
.mobile-nav.is-open { display: block; }
body.menu-open { overflow: hidden; }
.mobile-nav a.m-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 0; border-bottom: 1px solid var(--line);
  font-size: 16.5px; font-weight: 500; color: var(--text);
}
.mobile-nav .mobile-actions { display: grid; gap: 10px; margin-top: 20px; }
.mobile-nav .mobile-contacts { margin-top: 20px; display: grid; gap: 6px; font-size: 14px; color: var(--muted); }

/* ---------- Первый экран ---------- */
.hero { padding: 64px 0 56px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 54px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero__lead { font-size: 17px; color: var(--text-2); max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0; margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__fact { padding-right: 30px; }
.hero__fact + .hero__fact { padding-left: 30px; border-left: 1px solid var(--line); }
.hero__fact b { display: block; font-size: 25px; font-weight: 700; color: var(--text); line-height: 1; letter-spacing: -.03em; }
.hero__fact span { display: block; margin-top: 7px; font-size: 12.5px; color: var(--muted); }

.hero__media { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -50px rgba(98,156,124,.55), 0 0 0 1px rgba(0,0,0,.4);
  aspect-ratio: 4 / 3;
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: var(--r-pill);
  background: rgba(10,10,11,.72); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  font-size: 12px; font-weight: 600; color: var(--text);
}
.hero__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-a20); }

.hero__chips { position: absolute; right: 14px; bottom: 14px; z-index: 2; display: grid; gap: 8px; justify-items: end; }
.chip-glass {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: var(--r-sm);
  background: rgba(10,10,11,.74); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2);
  font-size: 12.5px; font-weight: 600; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.chip-glass b { color: var(--accent); font-weight: 700; }

.hero__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 18px; font-size: 12.5px; color: var(--muted);
}
.hero__hints { display: flex; flex-wrap: wrap; gap: 18px; }
.hero__hints span { display: inline-flex; align-items: center; gap: 7px; }
.hero__hints svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- Бегущая строка ---------- */
.ticker {
  border-block: 1px solid var(--line);
  background: rgba(255,255,255,.02);
  overflow: hidden; padding: 16px 0;
}
.ticker__track { display: flex; gap: 0; width: max-content; animation: ticker 46s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item {
  display: inline-flex; align-items: center; gap: 26px; white-space: nowrap;
  padding-right: 26px;
  font-size: 15px; font-weight: 500; color: var(--text-2);
}
.ticker__item::after { content: "+"; color: var(--accent); font-size: 16px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Карточки / блоки ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.card--pad { padding: 26px; }

/* «Сделано в цеху» */
.made { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: start; }
.made__text p { color: var(--text-2); font-size: 15.5px; margin-top: 14px; }
.made__card { overflow: hidden; }
.made__card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.made__body { padding: 24px 26px 26px; }
.made__title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.made__title h3 { font-size: 21px; }
.made__specs { display: grid; gap: 0; margin: 18px 0 0; }
.made__specs li {
  display: flex; justify-content: space-between; gap: 18px;
  padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px;
}
.made__specs li span { color: var(--muted); }
.made__specs li b { font-weight: 600; color: var(--text); text-align: right; }
.made__price { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-top: 20px; flex-wrap: wrap; }
.made__price b { font-size: 27px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.made__price span { font-size: 12.5px; color: var(--muted); }

/* ---------- Таблицы ---------- */
.table-wrap {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--card);
  overflow-x: auto;
}
table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th {
  text-align: left; padding: 13px 18px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap;
  background: rgba(255,255,255,.02);
}
table.data td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr { transition: background .12s; }
table.data tbody tr:hover { background: rgba(255,255,255,.035); }
table.data .num { width: 52px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
table.data .price { text-align: right; font-weight: 600; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
table.data .act { width: 1%; text-align: right; white-space: nowrap; }
table.data .name { font-weight: 500; color: var(--text); }
table.data .sub { display: block; font-size: 12.5px; color: var(--muted); font-weight: 400; margin-top: 3px; }

.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.dot--white { background: #f0efe9; }
.dot--brown { background: #8a5a30; }

/* ---------- Фильтры ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter {
  padding: 8px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: transparent;
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  transition: background .14s, color .14s, border-color .14s;
}
.filter:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.filter[aria-pressed="true"] { background: var(--accent-a08); border-color: var(--accent-a35); color: var(--accent); }

/* ---------- Фотогалерея ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { margin: 0; }
.shot__frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.3,1); }
.shot:hover img { transform: scale(1.035); }
.shot figcaption { margin-top: 12px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.shot figcaption span { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 3px; }

/* ---------- Две колонки ---------- */
.split { display: grid; grid-template-columns: repeat(2, 1fr); gap: 48px; align-items: start; }
.split__media .shot + .shot { margin-top: 20px; }

/* ---------- Списки ---------- */
.list-check { display: grid; gap: 13px; margin-top: 22px; }
.list-check li { display: flex; gap: 11px; font-size: 15px; color: var(--text-2); }
.list-check li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: var(--accent-a08); box-shadow: inset 0 0 0 1px var(--accent-a35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23629c7c' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 11px; background-position: center; background-repeat: no-repeat;
}

.list-num { counter-reset: n; display: grid; gap: 18px; margin-top: 22px; }
.list-num li { position: relative; padding-left: 42px; font-size: 15px; color: var(--text-2); }
.list-num li::before {
  counter-increment: n; content: "0" counter(n);
  position: absolute; left: 0; top: 0;
  font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .04em;
}
.list-num li b { color: var(--text); font-weight: 600; }

/* ---------- Числа-ориентиры ---------- */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.number-card { padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.number-card b { display: block; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.03em; color: var(--text); font-variant-numeric: tabular-nums; }
.number-card span { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.number-card--accent { border-color: var(--accent-a35); background: var(--accent-a08); }
.number-card--accent b { color: var(--accent); }

/* ---------- «Что перевозите» ---------- */
.usecases { display: grid; gap: 22px; }
.usecase-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.usecase-tab {
  padding: 10px 17px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
  background: transparent; font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: all .14s;
}
.usecase-tab:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.usecase-tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.usecase-panel { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 26px; align-items: center; }
.usecase-panel img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); border: 1px solid var(--line); }
.usecase-panel h3 { font-size: 21px; margin-bottom: 10px; }
.usecase-panel p { color: var(--text-2); font-size: 15px; }
.usecase-panel ul { margin-top: 16px; display: grid; gap: 8px; }
.usecase-panel li { font-size: 14px; color: var(--text-2); padding-left: 16px; position: relative; }
.usecase-panel li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- Этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 24px 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.step__num { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.step h3 { margin: 14px 0 8px; font-size: 16.5px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- Преимущества ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature {
  display: flex; gap: 16px; padding: 22px;
  border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
}
.feature__ico {
  flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--accent-a08); box-shadow: inset 0 0 0 1px var(--accent-a35); color: var(--accent);
}
.feature__ico svg { width: 19px; height: 19px; }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { font-size: 13.5px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 0; cursor: pointer; list-style: none;
  font-size: 16.5px; font-weight: 500; color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex: none; width: 26px; height: 26px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--accent-a35); color: var(--accent);
  font-size: 17px; line-height: 1;
  transition: background .16s, color .16s;
}
.faq__item[open] summary::after { content: "–"; background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.faq__body { padding: 0 60px 20px 0; font-size: 15px; color: var(--text-2); }

/* ---------- Форма ---------- */
.form-card {
  padding: 28px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line);
}
.form-title { font-size: 22px; }
.form-sub { margin-top: 10px; font-size: 14px; color: var(--muted); }
.form-grid { display: grid; gap: 14px; margin-top: 22px; }
.field { display: grid; gap: 7px; }
.field > label, .field > span { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: var(--input); color: var(--text);
  font-size: 15px; transition: border-color .14s, box-shadow .14s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(242,241,238,.32); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-a20);
}
.field textarea { min-height: 104px; resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.field select option { background: #17171a; color: var(--text); }

.field-err { display: none; font-size: 12.5px; font-weight: 500; color: var(--err); }
.field-err.is-visible { display: block; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.consent input { width: 17px; height: 17px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.consent a { color: var(--accent); }

.form-status { display: none; padding: 13px 15px; border-radius: var(--r-sm); font-size: 14px; }
.form-status.is-ok { display: block; background: var(--accent-a08); border: 1px solid var(--accent-a35); color: var(--accent-hi); }
.form-status.is-err { display: block; background: rgba(224,106,82,.1); border: 1px solid rgba(224,106,82,.35); color: var(--err); }

/* ---------- Контакты ---------- */
.contacts-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.contact-block { padding: 28px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.contact-block h3 { font-size: 16px; }
.contact-list { display: grid; margin-top: 18px; }
.contact-row { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-child { border-bottom: 0; }
.contact-row svg { width: 17px; height: 17px; flex: none; margin-top: 4px; color: var(--accent); }
.contact-row b { display: block; font-size: 15px; font-weight: 600; color: var(--text); }
.contact-row span { display: block; font-size: 12.5px; color: var(--muted); }
a.contact-row:hover b { color: var(--accent); }

.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.social {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border-radius: var(--r-pill); border: 1px solid var(--line-2); background: transparent;
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  transition: all .14s;
}
.social:hover { color: var(--text); border-color: var(--accent-a35); background: var(--accent-a08); }
.social svg { width: 15px; height: 15px; }

/* ---------- Большой призыв ---------- */
.cta-big {
  padding: 60px 40px; border-radius: var(--r-lg); text-align: center;
  background:
    radial-gradient(60% 120% at 50% 0%, var(--accent-a20) 0%, transparent 70%),
    var(--card);
  border: 1px solid var(--accent-a35);
}
.cta-big h2 { font-size: clamp(26px, 3.8vw, 44px); max-width: 22ch; margin-inline: auto; }
.cta-big p { margin-top: 16px; color: var(--text-2); max-width: 52ch; margin-inline: auto; }
.cta-big__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------- Подвал ---------- */
.site-footer { border-top: 1px solid var(--line); background: #070708; padding: 52px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; }
.footer-logo { height: 74px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-about { font-size: 13.5px; line-height: 1.65; max-width: 34ch; color: var(--muted); }
.footer-col h4 {
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(242,241,238,.4); margin-bottom: 14px;
}
.footer-col a, .footer-col p { display: block; padding: 5px 0; font-size: 13.5px; color: var(--text-2); }
.footer-col a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 8px; margin-top: 20px; }
.footer-socials a {
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: var(--r-sm); border: 1px solid var(--line-2); color: var(--text-2);
}
.footer-socials a:hover { color: var(--accent); border-color: var(--accent-a35); background: var(--accent-a08); }
.footer-socials svg { width: 16px; height: 16px; }
.footer-bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 12px; color: rgba(242,241,238,.38);
}

/* ---------- Наверх ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(19,19,21,.9); backdrop-filter: blur(8px); color: var(--text);
  opacity: 0; pointer-events: none; transition: opacity .18s, border-color .18s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }
.to-top:hover { border-color: var(--accent-a35); color: var(--accent); }
.to-top svg { width: 17px; height: 17px; }

/* ==========================================================================
   Конструктор
   ========================================================================== */
.cfg { padding: 30px 0 64px; }
.crumbs { display: flex; gap: 9px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: rgba(255,255,255,.22); }

.cfg-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cfg-head__sub { margin-top: 12px; color: var(--text-2); font-size: 15.5px; max-width: 62ch; }

.cfg-progress { display: flex; align-items: center; gap: 0; margin-top: 30px; }
.cfg-progress__step {
  display: flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  transition: color .18s;
}
.cfg-progress__step b {
  display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line-2); font-size: 11px; font-weight: 700; transition: all .18s;
}
.cfg-progress__step.is-active { color: var(--text); }
.cfg-progress__step.is-active b { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.cfg-progress__line { flex: 1; height: 1px; background: var(--line-2); margin: 0 16px; }
.cfg-progress__line.is-done { background: var(--accent-a35); }

.cfg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 22px; align-items: start; margin-top: 30px; }

.cfg-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); margin-bottom: 18px; overflow: hidden; }
.cfg-step__head {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 22px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.cfg-step__num {
  flex: none; width: 25px; height: 25px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-a08); box-shadow: inset 0 0 0 1px var(--accent-a35);
  color: var(--accent); font-size: 11.5px; font-weight: 700;
}
.cfg-step__head h2 { font-size: 17px; letter-spacing: -.015em; }
.cfg-step__head p { margin-left: auto; font-size: 12px; color: var(--muted); }
.cfg-step__body { padding: 24px 22px; }

.cfg-field { margin-bottom: 26px; }
.cfg-field:last-child { margin-bottom: 0; }
.cfg-label {
  display: flex; align-items: baseline; gap: 9px; margin-bottom: 12px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.cfg-label em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; color: rgba(242,241,238,.35); }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.choice {
  display: block; width: 100%; text-align: left;
  padding: 14px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--line-2); background: transparent;
  transition: border-color .14s, background .14s, box-shadow .14s;
}
.choice:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.02); }
.choice[aria-checked="true"] {
  border-color: var(--accent); background: var(--accent-a08);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 24px -16px rgba(98,156,124,.9);
}
.choice b { display: block; font-size: 14.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
.choice span { display: block; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.choice i { display: block; margin-top: 7px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--accent); }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button {
  padding: 10px 16px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: transparent;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  transition: all .14s;
}
.seg button:hover:not(:disabled) { color: var(--text); border-color: rgba(255,255,255,.3); }
.seg button[aria-checked="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.seg button small { display: block; font-size: 10.5px; font-weight: 400; opacity: .75; margin-top: 2px; }
.seg button:disabled { opacity: .3; cursor: not-allowed; }

.cfg-note { margin-top: 11px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }

.base-line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 22px; padding: 15px 17px; border-radius: var(--r-sm);
  border: 1px dashed var(--accent-a35); background: var(--accent-a08);
  font-size: 13.5px; color: var(--text-2);
}
.base-line b { font-size: 20px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }

/* опции */
.opt-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.opt-search {
  flex: 1 1 240px; padding: 11px 15px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--input); color: var(--text); font-size: 14px;
}
.opt-search::placeholder { color: rgba(242,241,238,.32); }
.opt-search:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-a20); }
.presets { display: flex; flex-wrap: wrap; gap: 7px; }
.preset {
  padding: 8px 14px; border-radius: var(--r-pill); border: 1px dashed var(--line-2); background: transparent;
  font-size: 12.5px; font-weight: 500; color: var(--text-2);
  transition: all .14s;
}
.preset:hover { color: var(--text); border-style: solid; border-color: var(--accent-a35); }
.preset[aria-pressed="true"] { background: var(--accent-a08); border-style: solid; border-color: var(--accent-a35); color: var(--accent); }

.opt-group { margin-top: 22px; }
.opt-group:first-of-type { margin-top: 0; }
.opt-group__head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 9px; border-bottom: 1px solid var(--line); margin-bottom: 10px;
}
.opt-group__head h3 { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.opt-group__head span { margin-left: auto; font-size: 11.5px; color: rgba(242,241,238,.35); }

.opt {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: background .12s, border-color .12s;
}
.opt:hover { background: rgba(255,255,255,.03); }
.opt.is-on { background: var(--accent-a08); border-color: var(--accent-a35); }
.opt:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt.is-locked { opacity: .38; cursor: not-allowed; }

.opt__box {
  flex: none; width: 19px; height: 19px; border-radius: 6px;
  border: 1px solid var(--line-2); background: transparent;
  display: grid; place-items: center; transition: all .14s;
}
.opt__box svg { width: 11px; height: 11px; color: var(--accent-ink); opacity: 0; }
.opt.is-on .opt__box { background: var(--accent); border-color: var(--accent); }
.opt.is-on .opt__box svg { opacity: 1; }
.opt--radio .opt__box { border-radius: 50%; }

.opt__body { min-width: 0; flex: 1; }
.opt__name { display: block; font-size: 14px; font-weight: 500; color: var(--text); line-height: 1.35; }
.opt__hint { display: block; font-size: 11.5px; color: rgba(242,241,238,.36); margin-top: 2px; }
.opt__price { flex: none; font-size: 14px; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.opt.is-on .opt__price { color: var(--accent); }

.opt__qty { display: flex; align-items: center; gap: 6px; flex: none; }
.opt__qty button {
  width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: transparent;
}
.opt__qty button:hover:not(:disabled) { border-color: var(--accent-a35); color: var(--accent); }
.opt__qty button:disabled { opacity: .3; cursor: not-allowed; }
.opt__qty button svg { width: 11px; height: 11px; }
.opt__qty span { min-width: 22px; text-align: center; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }

.opt-empty { padding: 24px 0; font-size: 14px; color: var(--muted); }

/* ---------- Сводка ---------- */
.cfg-aside { position: sticky; top: calc(var(--header-h) + 18px); }
.summary {
  position: relative; overflow: hidden;
  background: var(--card); border: 1px solid var(--accent-a35); border-radius: var(--r-lg);
  box-shadow: 0 30px 70px -50px rgba(98,156,124,.9);
}
.summary__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
}
.summary__head img { position: absolute; right: 16px; top: 56px; height: 76px; width: auto; opacity: .1; pointer-events: none; }
.summary__title { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.summary__reset {
  border: 1px solid var(--line-2); background: transparent; color: var(--muted);
  padding: 5px 11px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 500;
  transition: all .14s;
}
.summary__reset:hover { color: var(--text); border-color: rgba(255,255,255,.3); }

.summary__model { padding: 18px 20px 8px; font-size: 18px; font-weight: 700; color: var(--text); line-height: 1.25; letter-spacing: -.015em; }
.summary__tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 20px 16px; }
.summary__tags span {
  padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--line);
  font-size: 11px; font-weight: 500; color: var(--text-2);
}

.summary__rows { padding: 0 20px; max-height: 40vh; overflow-y: auto; }
.summary__rows::-webkit-scrollbar { width: 4px; }
.summary__rows::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 2px; }
.summary__row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px;
}
.summary__row:last-child { border-bottom: 0; }
.summary__row span { color: var(--muted); }
.summary__row b { font-weight: 600; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary__row--base span { color: var(--text); font-weight: 500; }

.summary__total {
  margin: 16px 20px 0; padding-top: 16px; border-top: 1px solid var(--line-2);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.summary__total span { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.summary__total b { font-size: 28px; font-weight: 800; color: var(--accent); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.summary__note { padding: 10px 20px 0; font-size: 11px; color: rgba(242,241,238,.34); line-height: 1.5; }
.summary__actions { padding: 18px 20px 22px; display: grid; gap: 9px; }

/* ---------- Мобильная панель ---------- */
.mobile-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10,10,11,.94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2);
  align-items: center; justify-content: space-between; gap: 12px;
}
.mobile-bar__sum span { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mobile-bar__sum b { font-size: 19px; font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Прайс-лист
   ========================================================================== */
.price-tools {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  padding: 14px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line);
  margin-bottom: 16px;
}
.price-search { position: relative; flex: 1 1 250px; }
.price-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--muted); }
.price-search input {
  width: 100%; padding: 11px 15px 11px 38px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: var(--input); color: var(--text); font-size: 14px;
}
.price-search input::placeholder { color: rgba(242,241,238,.32); }
.price-search input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-a20); }

.tabs { display: flex; border-radius: var(--r-pill); border: 1px solid var(--line-2); overflow: hidden; }
.tabs button {
  padding: 10px 16px; border: 0; background: transparent;
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
}
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }

.sort { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sort select {
  padding: 10px 13px; border-radius: var(--r-pill); border: 1px solid var(--line-2);
  background: var(--input); color: var(--text); font-size: 13.5px; font-weight: 500;
  text-transform: none; letter-spacing: 0;
}
.sort select:focus { outline: none; border-color: var(--accent); }
.sort select option { background: #17171a; }

.price-table th { position: sticky; top: var(--header-h); z-index: 6; }
tr.group-row td {
  background: rgba(255,255,255,.03); padding: 10px 18px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.price-empty { padding: 40px 16px; text-align: center; color: var(--muted); font-size: 15px; }

.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.term { padding: 22px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.term h3 { font-size: 15px; margin-bottom: 8px; }
.term p { font-size: 13.5px; color: var(--muted); }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1080px) {
  .site-nav { display: none; }
  .burger { display: flex; }
  .header-phone { display: none; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .cfg-layout { grid-template-columns: 1fr; }
  .cfg-aside { position: static; order: -1; }
  .summary__rows { max-height: none; }
  .summary__actions, .summary__note { display: none; }
  .mobile-bar { display: flex; }
  .cfg { padding-bottom: 92px; }
  .split, .made, .usecase-panel { grid-template-columns: 1fr; gap: 30px; }
  .contacts-grid { grid-template-columns: 1fr; }
  .terms { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .steps, .numbers { grid-template-columns: repeat(2, 1fr); }
  .gallery, .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 620px) {
  :root { --header-h: 60px; }
  body { font-size: 15.5px; }
  .container { width: calc(100% - 24px); }
  .section { padding: 46px 0; }

  /* шапка */
  .site-header { height: var(--header-h); }
  .header-inner { gap: 10px; }
  .brand img { height: 26px; }
  .brand__name { font-size: 14px; }
  .brand__tag { display: none; }
  .header-right { gap: 8px; }
  .header-right .btn--sm { padding: 8px 12px; min-height: 36px; font-size: 13px; }
  .header-right .btn--sm svg { display: none; }
  .burger { width: 38px; height: 38px; }

  /* первый экран */
  .hero { padding: 22px 0 36px; }
  h1 { font-size: clamp(26px, 7.6vw, 34px); overflow-wrap: break-word; }
  .hero h1 { letter-spacing: -.025em; margin-bottom: 14px; }
  .hero__lead { font-size: 15px; }
  .hero__actions { gap: 8px; margin-top: 22px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .btn { padding: 13px 18px; min-height: 46px; font-size: 14.5px; }
  .btn--lg { padding: 14px 18px; min-height: 50px; font-size: 15px; }
  .hero__facts { gap: 14px; margin-top: 26px; padding-top: 18px; }
  .hero__fact { padding: 0; }
  .hero__fact + .hero__fact { padding-left: 0; border-left: 0; }
  .hero__fact b { font-size: 21px; }
  .hero__badge { font-size: 11px; padding: 6px 10px; left: 10px; top: 10px; }
  .hero__chips { left: 10px; right: 10px; bottom: 10px; gap: 6px; justify-items: start; }
  .chip-glass { font-size: 11.5px; padding: 6px 10px; }
  .hero__foot { margin-top: 12px; font-size: 11.5px; gap: 8px; }
  .hero__hints { gap: 10px; flex-wrap: wrap; }
  .hero__hints span { white-space: normal; }

  /* секции */
  .section-head { gap: 14px; margin-bottom: 22px; }
  .section-sub { font-size: 14.5px; }
  .eyebrow { font-size: 10px; letter-spacing: .14em; margin-bottom: 12px; }
  .steps, .gallery, .features, .numbers, .terms, .footer-top { grid-template-columns: 1fr; }
  .numbers { gap: 10px; }
  .number-card { padding: 18px; }
  .cta-big { padding: 30px 18px; }
  .cta-big h2 { font-size: 23px; }
  .cta-big__actions .btn { width: 100%; }
  .ticker__item { font-size: 13px; }

  .made__body { padding: 18px 16px 20px; }
  .made__title h3 { font-size: 18px; }
  .made__price b { font-size: 22px; }
  .made__specs li { font-size: 13.5px; }

  /* таблицы и формы */
  table.data { font-size: 13.5px; }
  table.data th, table.data td { padding: 10px 11px; }
  table.data .num { width: 32px; }
  table.data .act, table.data th.act { display: none; }
  .table-wrap { border-radius: 12px; }
  /* 16px — иначе iOS зумит страницу при фокусе */
  .field input, .field textarea, .field select,
  .opt-search, .price-search input { font-size: 16px; }
  .form-card, .contact-block { padding: 20px 18px; }

  /* конструктор */
  .cfg { padding: 20px 0 56px; }
  .cfg-head__sub { font-size: 14.5px; }
  .cfg-progress { display: none; }
  .choice-grid { grid-template-columns: 1fr; }
  .cfg-step__head { flex-wrap: wrap; padding: 12px 16px; }
  .cfg-step__head p { margin-left: 0; width: 100%; }
  .cfg-step__body { padding: 16px 14px; }
  .summary__model { font-size: 16px; }
  .summary__rows { max-height: 34vh; }
  .summary__total b { font-size: 24px; }
  .opt { gap: 9px; padding: 9px 8px; }
  .opt__thumb { width: 50px; height: 42px; }
  .mobile-bar { padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }

  .faq__body { padding-right: 0; }
  .footer-top { gap: 26px; }
}

@media (max-width: 400px) {
  .container { width: calc(100% - 20px); }
  .brand__name { font-size: 13px; }
  .header-right .btn--sm { font-size: 12px; padding: 7px 10px; }
  h1 { font-size: 24px; }
  .hero__fact b { font-size: 19px; }
  .chip-glass { font-size: 11px; }
  .btn { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .ticker__track { animation: none; }
}

/* ==========================================================================
   Фотографии в таблице моделей и конструкторе
   ========================================================================== */
.model-cell { display: flex; align-items: center; gap: 12px; min-width: 0; }
.model-cell__text { min-width: 0; }
.row-thumb {
  flex: none; width: 62px; height: 46px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line-2); background: var(--card-2);
  display: block;
}
.row-thumb--empty { border-style: dashed; }

.choice--photo { display: flex; align-items: center; gap: 12px; padding: 10px; }
.choice__photo {
  flex: none; width: 78px; height: 60px; object-fit: cover;
  border-radius: 8px; border: 1px solid var(--line-2); background: var(--card-2);
}
.choice__photo--empty { border-style: dashed; }
.choice__text { min-width: 0; }
.choice[aria-checked="true"] .choice__photo { border-color: var(--accent); }

.opt__thumb {
  flex: none; width: 56px; height: 46px; object-fit: cover;
  border-radius: 7px; border: 1px solid var(--line-2); background: var(--card-2);
  display: block;
}

/* миниатюра-кнопка: клик открывает фото на весь экран */
.opt__thumb-btn {
  position: relative; flex: none; padding: 0; border: 0; background: none;
  border-radius: 8px; cursor: zoom-in; line-height: 0;
}
.opt__thumb-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.opt__thumb-btn:hover .opt__thumb { border-color: var(--accent); }
.opt__zoom {
  position: absolute; right: -5px; bottom: -5px;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 700; line-height: 1;
  opacity: 0; transform: scale(.8);
  transition: opacity .15s, transform .15s;
}
.opt:hover .opt__zoom, .opt__thumb-btn:focus-visible .opt__zoom { opacity: 1; transform: none; }

/* плавающее увеличение при наведении (только мышь) */
.hover-preview {
  position: fixed; left: 0; top: 0; z-index: 400; width: 300px;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--card);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .85);
  pointer-events: none; opacity: 0; transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease;
}
.hover-preview.is-on { opacity: 1; transform: none; }
.hover-preview img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hover-preview span {
  display: block; padding: 10px 12px; font-size: 12.5px; line-height: 1.35;
  color: var(--text); background: var(--card);
}

/* фото на весь экран */
.lightbox {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  padding: 18px; background: rgba(6, 6, 7, .9);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }
.lightbox__box { width: 100%; max-width: min(900px, 100%); }
.lightbox__box img {
  width: 100%; max-height: 76vh; object-fit: contain;
  border-radius: 14px; border: 1px solid var(--line-2); background: #0b0b0c;
}
.lightbox__cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  margin-top: 12px; font-size: 14px; color: var(--text);
}
.lightbox__hint { font-size: 11.5px; color: var(--muted); }
.lightbox__close {
  position: fixed; top: 14px; right: 14px; z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(19, 19, 21, .92);
  color: #fff; font-size: 22px; line-height: 1; display: grid; place-items: center;
}
.lightbox__close:hover { border-color: var(--accent); color: var(--accent); }

.summary__photo-wrap {
  padding: 14px 20px 0;
}
.summary__photo-wrap img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  border-radius: var(--r-sm); border: 1px solid var(--line-2);
}
.summary__photo-wrap[hidden] { display: none; }

@media (max-width: 620px) {
  .choice__photo { width: 62px; height: 48px; }
  .row-thumb { width: 48px; height: 38px; }
}

/* ==========================================================================
   Просмотр фото опций — мобильные размеры.
   Блок идёт последним, чтобы перекрывать базовые правила выше.
   ========================================================================== */
@media (max-width: 620px) {
  .opt__thumb-btn { border-radius: 7px; }
  .opt__zoom { opacity: 1; transform: none; width: 16px; height: 16px; font-size: 11px; }
  .lightbox { padding: 12px; }
  .lightbox__box img { max-height: 68vh; border-radius: 10px; }
  .lightbox__cap { flex-direction: column; gap: 4px; }
  .lightbox__close { top: 10px; right: 10px; width: 42px; height: 42px; }
}
/* ==========================================================================
   Модели карточками на телефоне (вместо таблицы с прокруткой вбок)
   ========================================================================== */
.models-cards { display: none; }

@media (max-width: 720px) {
  .table-wrap--models { display: none; }
  .models-cards { display: grid; gap: 10px; }

  .m-card {
    display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px;
    padding: 12px; border-radius: 14px;
    background: var(--card); border: 1px solid var(--line);
  }
  .m-card__photo {
    position: relative; padding: 0; border: 0; background: none; cursor: zoom-in;
    width: 92px; height: 92px; border-radius: 10px; overflow: hidden; line-height: 0;
  }
  .m-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .m-card__zoom {
    position: absolute; right: 4px; bottom: 4px;
    width: 20px; height: 20px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--accent); color: var(--accent-ink);
    font-size: 13px; font-weight: 700; line-height: 1;
  }
  .m-card__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
  .m-card__body h3 {
    font-size: 14.5px; line-height: 1.3; letter-spacing: -.01em;
    overflow-wrap: break-word;
  }
  .m-card__meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--muted); }
  .m-card__meta i { display: inline-block; margin-right: 4px; vertical-align: 0; }
  .m-card__foot {
    margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  }
  .m-card__foot b { font-size: 16px; font-weight: 800; letter-spacing: -.02em; color: var(--text); white-space: nowrap; }
  .m-card__foot .btn { padding: 7px 12px; font-size: 12.5px; min-height: 34px; }
}

@media (max-width: 380px) {
  .m-card { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .m-card__photo { width: 76px; height: 76px; }
  .m-card__body h3 { font-size: 13.5px; }
}
/* увеличение фото в таблице моделей (компьютер) */
.row-thumb-btn {
  position: relative; flex: none; padding: 0; border: 0; background: none;
  border-radius: 8px; overflow: hidden; line-height: 0; cursor: zoom-in;
}
.row-thumb-btn:hover .row-thumb { border-color: var(--accent); }
.row-thumb__zoom {
  position: absolute; right: 3px; bottom: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 700; line-height: 1;
  opacity: 0; transition: opacity .15s;
}
.row-thumb-btn:hover .row-thumb__zoom,
.row-thumb-btn:focus-visible .row-thumb__zoom { opacity: 1; }
/* если места в шапке мало — прячем подпись под телефоном, номер остаётся в строку */
@media (max-width: 1280px) {
  .header-phone span { display: none; }
  .header-phone b { font-size: 14px; }
}