/*! Дизайн, вёрстка и код © 2026 Lebedev Sites (ИП Лебедев Д. Д., ИНН 524612710307), lebedev-sites.ru. Исключительные права не передавались. Копирование без лицензионного договора запрещено (ст. 1270, 1300, 1301 ГК РФ). */
/* Борский силикатный завод — дизайн-система.
   Минимализм цвета силикатного кирпича: тёплый белый фон, графит, фирменный малиновый с логотипа — только для действий. */

@font-face {
  font-family: 'Onest';
  src: url('../fonts/onest-cyrillic.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  src: url('../fonts/onest-latin.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #f4f2ec;
  --bg-2: #ebe8e0;
  --card: #ffffff;
  --ink: #141517;
  --ink-2: #45474d;
  --ink-3: #75777d;
  --line: #ddd9cf;
  --line-2: #cfcabd;
  --accent: #b3153b;
  --accent-2: #93102f;
  --accent-soft: #f7e4e8;
  --dark: #17181b;
  --dark-2: #222328;
  --dark-line: #34353b;
  --ok: #1d7a4b;
  --ok-soft: #e3f2e9;
  --warn: #9a5b00;
  --r: 20px;
  --r-sm: 12px;
  --r-lg: 28px;
  --shadow: 0 1px 2px rgba(20, 21, 23, .04), 0 8px 24px -12px rgba(20, 21, 23, .12);
  --shadow-lg: 0 24px 60px -24px rgba(20, 21, 23, .28);
  --wrap: 1240px;
  --gutter: 16px;
  --hdr: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1100px) { :root { --gutter: 32px; --hdr: 76px; } }

@view-transition { navigation: auto; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-feature-settings: 'tnum' 0; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 650; line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.25rem + 4vw, 4.25rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.9rem); }
h3, .h3 { font-size: 1.22rem; letter-spacing: -.015em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 46em; }
.muted { color: var(--ink-3); }
.small { font-size: .875rem; }
.center { text-align: center; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
.i { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 .9em; }
.eyebrow--light { color: #ff9fb3; }

/* ---------- кнопки ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--card); color: var(--ink); transition: background .2s var(--ease), color .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s;
}
.btn:hover { color: inherit; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -12px color-mix(in srgb, var(--accent) 80%, transparent); }
.btn--accent:hover { background: var(--accent-2); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2b2c31; color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--card); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #f1efe9; color: var(--ink); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: .92rem; }
.btn--lg { --h: 56px; padding: 0 26px; font-size: 1.05rem; }
.btn--wide { width: 100%; }
@media (max-width: 479px) { .btn { white-space: normal; text-align: center; padding-top: 8px; padding-bottom: 8px; } }
.btn[disabled], .btn.is-busy { opacity: .6; pointer-events: none; }
.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0;
  background: transparent; color: inherit; cursor: pointer; position: relative; text-decoration: none;
}
.icon-btn:hover { background: rgba(20, 21, 23, .06); color: inherit; }
.link, .link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }
.badge {
  position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px;
  background: var(--accent); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; line-height: 1;
}
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 9px; border-radius: 99px; background: var(--bg); color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2rem; }

/* ---------- полосы над шапкой ---------- */
.demo-bar { background: var(--ink); color: #f3d9a4; font-size: .82rem; text-align: center; padding: 7px var(--gutter); }
.notice {
  display: flex; align-items: center; justify-content: center; gap: .6em; padding: 9px var(--gutter);
  background: var(--accent); color: #fff; font-size: .9rem; font-weight: 500; text-decoration: none; text-align: center;
}
.notice:hover { color: #fff; background: var(--accent-2); }
.notice__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; isolation: isolate; }
.hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--bg) 84%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.hdr__in { display: flex; align-items: center; gap: 20px; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.05; font-size: .92rem; color: var(--ink); flex: none; }
.logo img { width: 34px; height: 35px; }
.logo span { max-width: 9.5em; }
.logo b { display: block; font-size: 1.08rem; letter-spacing: -.01em; }
.logo:hover { color: var(--ink); }
.logo--light, .logo--light:hover { color: #fff; }
.hdr__nav { display: none; gap: 2px; margin-left: auto; }
.hdr__nav a { padding: 8px 11px; border-radius: 99px; text-decoration: none; font-size: .94rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; }
.hdr__nav a:hover { background: rgba(20, 21, 23, .05); color: var(--ink); }
.hdr__nav a[aria-current="page"] { color: var(--ink); background: rgba(20, 21, 23, .07); }
.hdr__act { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.hdr__phone { display: none; flex-direction: column; text-decoration: none; line-height: 1.15; text-align: right; margin-right: 6px; }
.hdr__phone b { font-size: 1rem; white-space: nowrap; }
.hdr__phone small { font-size: .74rem; color: var(--ink-3); }
.hdr__cta { display: none; }
@media (min-width: 640px) { .hdr__cta { display: inline-flex; } }
@media (min-width: 1100px) {
  .hdr__nav { display: flex; }
  .hdr__act { margin-left: 8px; }
  .hdr__burger { display: none; }
}
@media (min-width: 1360px) { .hdr__phone { display: flex; } }

.mnav { position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 0 var(--gutter) 32px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; animation: fadein .2s var(--ease); }
.mnav__top { display: flex; align-items: center; justify-content: space-between; height: var(--hdr); }
.mnav nav { display: flex; flex-direction: column; }
.mnav nav a { display: flex; align-items: center; justify-content: space-between; padding: 16px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
.mnav nav a .i { color: var(--ink-3); }
@keyframes fadein { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- секции ---------- */
.section { padding: clamp(56px, 4vw + 32px, 112px) 0; }
.section--alt { background: var(--bg-2); }
.section--top { padding-top: clamp(24px, 2vw + 12px, 48px); }
.shead { margin-bottom: clamp(28px, 2vw + 16px, 48px); max-width: 860px; }
.shead .lead { margin-bottom: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .86rem; color: var(--ink-3); padding-top: 18px; }
.crumbs a { text-decoration: none; }

/* ---------- первый экран ---------- */
.hero { padding: clamp(20px, 2vw + 8px, 48px) 0 clamp(40px, 3vw + 20px, 72px); }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.hero h1 { margin-bottom: .35em; max-width: 11em; }
.hero__lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.32rem); color: var(--ink-2); max-width: 34em; margin-bottom: 1.5em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero__cta .btn { flex: 1 1 auto; }
@media (min-width: 640px) { .hero__cta .btn { flex: 0 0 auto; } }
.hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ink-2); font-size: .92rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .45em; }
.hero__trust .i { color: var(--accent); }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hero__badge { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-radius: 16px; padding: 10px 16px; line-height: 1.15; box-shadow: var(--shadow); }
.hero__badge b { display: block; font-size: 1.6rem; letter-spacing: -.03em; color: var(--accent); }
.hero__badge span { font-size: .82rem; color: var(--ink-2); }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1fr 1.08fr; gap: 48px; }
  .hero__media img { aspect-ratio: 1.05; }
  .hero__badge { left: -24px; bottom: 32px; padding: 14px 20px; }
}
.ptiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
@media (min-width: 960px) { .ptiles { grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 40px; } }
.ptile {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: 'name img' 'price img' 'sub sub'; align-items: center; gap: 2px 8px;
  padding: 14px 14px 12px 16px; border-radius: var(--r); background: var(--card); text-decoration: none; box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.ptile:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ptile img { grid-area: img; width: 64px; height: auto; }
.ptile__name { grid-area: name; font-size: .82rem; color: var(--ink-3); font-weight: 500; }
.ptile__price { grid-area: price; font-size: .85rem; color: var(--ink-2); white-space: nowrap; }
.ptile__price b { font-size: 1.22rem; color: var(--ink); letter-spacing: -.02em; }
.ptile__sub { grid-area: sub; font-size: .78rem; color: var(--ink-3); margin-top: 4px; }
@media (min-width: 640px) { .ptile img { width: 84px; } }

/* ---------- факты ---------- */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.fact { padding: 24px 12px 24px 0; }
.fact + .fact { padding-left: 16px; border-left: 1px solid var(--line); }
.fact:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
.fact:nth-child(4) { border-top: 1px solid var(--line); }
.fact b { display: block; font-size: clamp(2rem, 1.4rem + 2.2vw, 3.2rem); font-weight: 650; letter-spacing: -.04em; line-height: 1; margin-bottom: 8px; }
.fact span { font-size: .9rem; color: var(--ink-2); display: block; max-width: 18em; }
@media (min-width: 960px) {
  .facts__grid { grid-template-columns: repeat(4, 1fr); }
  .fact { padding: 36px 24px 36px 0; }
  .fact + .fact, .fact:nth-child(3) { padding-left: 28px; border-left: 1px solid var(--line); border-top: 0; }
  .fact:nth-child(4) { border-top: 0; }
}

/* ---------- bento ---------- */
.bento { display: grid; gap: 14px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(3, 1fr); gap: 16px; } .bento__card--wide { grid-column: span 2; } .bento__card--full { grid-column: 1 / -1; } }
.bento--3 { grid-template-columns: 1fr; }
@media (min-width: 900px) { .bento--3 { grid-template-columns: repeat(3, 1fr); } }
.bento__card { background: var(--card); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; overflow: hidden; }
.bento__card h3 { margin-top: 14px; }
.bento__card p { color: var(--ink-2); margin-bottom: .6em; }
.bento__icon { width: 44px; height: 44px; padding: 10px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); }
.bento__card--accent { background: var(--accent); color: #fff; }
.bento__card--accent p { color: rgba(255, 255, 255, .86); }
.bento__card--accent .bento__icon { background: rgba(255, 255, 255, .16); color: #fff; }
.bento__card--accent h3 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
.bento__card--accent .link-arrow { color: #fff; margin-top: auto; }
.bento__card--photo { padding: 0; }
.bento__card--photo img { width: 100%; aspect-ratio: 2.4; object-fit: cover; }
.bento__card--photo > div { padding: 4px 26px 26px; }
@media (min-width: 1040px) {
  .bento__card--photo.bento__card--wide { flex-direction: row; }
  .bento__card--photo.bento__card--wide img { width: 55%; aspect-ratio: auto; min-height: 100%; }
  .bento__card--photo.bento__card--wide > div { padding: 26px 32px; align-self: center; }
  .bento__card--full img { width: 62% !important; max-height: 320px; }
}
.dots { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; }
.dots a { width: 34px; height: 34px; border-radius: 10px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: transform .2s var(--ease); }
.dots a:hover { transform: translateY(-3px) rotate(-4deg); }

/* ---------- каталог ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.tabs button { min-height: 42px; padding: 0 18px; border-radius: 99px; border: 1.5px solid var(--line-2); background: transparent; font-weight: 600; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pgrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
@media (min-width: 1200px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }
.pcard { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.pcard:hover { box-shadow: var(--shadow-lg); }
.pcard__img { position: relative; display: grid; place-items: center; padding: 22px 26px 6px; background: linear-gradient(180deg, #f7f6f2, #fff); aspect-ratio: 1.55; }
.pcard__img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .45s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.04) rotate(-1deg); }
.swatch { position: absolute; top: 14px; left: 14px; width: 22px; height: 22px; border-radius: 7px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.swatch--inline { position: static; display: inline-block; vertical-align: -5px; margin-right: 4px; }
.pcard__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.pcard__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.pcard__title { font-size: 1.06rem; margin: 2px 0 0; }
.pcard__title a { text-decoration: none; }
.pcard__size { margin: 0; font-size: .88rem; }
.pcard__size select { width: 100%; min-height: 38px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); padding: 0 10px; font-size: .9rem; }
.pcard__price { display: flex; align-items: baseline; gap: 6px; margin-top: auto; padding-top: 8px; }
.pcard__price b { font-size: 1.55rem; letter-spacing: -.03em; }
.pcard__price span { color: var(--ink-3); font-size: .9rem; }
.pcard__pack { font-size: .84rem; margin: 0 0 8px; color: var(--ink-2); }
.pcard__pack [data-pack-price] { font-weight: 600; color: var(--ink); }
.buy { display: flex; gap: 8px; }
.buy__btn { flex: 1; padding: 0 14px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; height: 48px; flex: none; }
.stepper button { width: 38px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); border-radius: 999px; }
.stepper button:hover { color: var(--ink); background: rgba(20, 21, 23, .05); }
.stepper input { width: 40px; border: 0; background: none; text-align: center; font-weight: 650; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.buy.is-added .buy__btn { background: var(--ok); }
.catblock + .catblock { margin-top: 56px; }
.catblock__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; margin-bottom: 18px; }
.catblock__head h2 { font-size: 1.6rem; margin: 0; }
.catblock__head h2 a { text-decoration: none; }
.catblock__head p { margin: 0; max-width: 40em; }
.docs { display: grid; gap: 10px; margin-top: 48px; }
@media (min-width: 760px) { .docs { grid-template-columns: repeat(3, 1fr); } }
.docs a { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: var(--card); border-radius: var(--r-sm); text-decoration: none; box-shadow: var(--shadow); }
.docs .i { width: 28px; height: 28px; color: var(--accent); }
.docs small { display: block; color: var(--ink-3); }

/* ---------- мини-калькулятор ---------- */
.qcalc { background: var(--dark); color: #fff; border-radius: var(--r-lg); margin: 0 auto; width: calc(100% - 2 * min(var(--gutter), 16px)); max-width: calc(var(--wrap) + 160px); }
@media (min-width: 640px) { .qcalc { width: calc(100% - 32px); } }
.qcalc__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .qcalc__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.qcalc__text p:not(.eyebrow) { color: rgba(255, 255, 255, .72); font-size: 1.08rem; }
.qcalc__form { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 12px; }
@media (min-width: 640px) { .qcalc__form { padding: 28px; } }
.qcalc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qcalc__out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0; }
.qcalc__out > div { background: rgba(255, 255, 255, .05); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; }
.qcalc__out span { font-size: .8rem; color: rgba(255, 255, 255, .6); }
.qcalc__out b { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); letter-spacing: -.03em; line-height: 1.2; }
.qcalc__out small { color: rgba(255, 255, 255, .55); font-size: .8rem; }

/* ---------- формы ---------- */
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field > span { font-size: .86rem; font-weight: 500; color: var(--ink-2); }
.field small { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); background: var(--card);
  padding: 10px 14px; font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(20, 21, 23, .08); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--accent); }
.field__err { color: var(--accent); font-size: .82rem; }
.field--dark > span { color: rgba(255, 255, 255, .65); }
.field--dark input, .field--dark select { background: var(--dark); border-color: var(--dark-line); color: #fff; }
.field--dark input:focus, .field--dark select:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .1); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.form { display: grid; gap: 14px; }
.form__msg { margin: 0; font-size: .92rem; min-height: 1.2em; }
.form__msg.is-err { color: var(--accent); }
.form__msg.is-ok { color: var(--ok); font-weight: 600; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.seg legend { font-size: .86rem; font-weight: 500; color: var(--ink-2); margin-bottom: 8px; padding: 0; }
.seg label { position: relative; flex: 1 1 auto; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 8px 16px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line-2); background: var(--card); font-weight: 500; font-size: .95rem; text-align: center; transition: .15s;
}
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 2px; }
.seg input:disabled + span { opacity: .45; }
.seg--dark span { background: transparent; border-color: var(--dark-line); color: rgba(255, 255, 255, .8); font-size: .88rem; }
.seg--dark input:checked + span { background: #fff; color: var(--ink); border-color: #fff; }
.seg--sizes span { min-height: 40px; font-size: .85rem; padding: 6px 12px; }

/* ---------- шаги ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); position: relative; }
.steps p { color: var(--ink-2); margin: 0; font-size: .96rem; }
.steps h3 { margin: 14px 0 6px; }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; }
.steps--compact { margin-top: 28px; }
.steps--compact li { padding: 18px; }
.promo { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 18px; padding: 16px 20px; border-radius: var(--r); background: var(--accent-soft); color: var(--accent-2); }
.promo > .i { width: 28px; height: 28px; }
.promo > div { flex: 1 1 260px; color: var(--ink); }
.promo--sm { padding: 10px 14px; font-size: .88rem; margin-top: 10px; gap: 8px; }

/* ---------- объекты ---------- */
.scroller-nav { display: none; gap: 6px; margin-top: 16px; }
@media (min-width: 960px) { .scroller-nav { display: flex; } }
.scroller-nav .icon-btn { border: 1.5px solid var(--line-2); }
.scroller {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter) 8px; scroll-padding: 0 var(--gutter);
}
@media (min-width: 1240px) { .scroller { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); scroll-padding-left: calc((100vw - var(--wrap)) / 2 + var(--gutter)); } }
.scroller::-webkit-scrollbar { display: none; }
.obj { flex: 0 0 min(85vw, 520px); margin: 0; scroll-snap-align: start; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.obj img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.obj figcaption { padding: 16px 18px 18px; display: grid; gap: 4px; }
.obj figcaption span { font-size: .9rem; color: var(--ink-2); }

/* ---------- производство ---------- */
.prod { position: relative; color: #fff; overflow: hidden; background: #1b1a18; isolation: isolate; }
.prod__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.prod::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(14, 14, 15, .92) 0%, rgba(14, 14, 15, .7) 55%, rgba(14, 14, 15, .45) 100%); }
.prod__in { display: grid; gap: 36px; align-items: end; }
@media (min-width: 960px) { .prod__in { grid-template-columns: 1.1fr .9fr; gap: 64px; } }
.prod__text p:not(.eyebrow) { color: rgba(255, 255, 255, .78); font-size: 1.08rem; max-width: 36em; }
.prod__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.prod__stats li { border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--r); padding: 18px; backdrop-filter: blur(6px); background: rgba(255, 255, 255, .04); }
.prod__stats b { display: block; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; }
.prod__stats span { font-size: .86rem; color: rgba(255, 255, 255, .7); }

/* ---------- B2B ---------- */
.b2b { display: grid; gap: 14px; }
@media (min-width: 880px) { .b2b { grid-template-columns: 1fr 1fr; gap: 18px; } }
.b2b__card { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 2vw + 12px, 40px); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: flex-start; }
.b2b__card p { color: var(--ink-2); }
.b2b__card .btn { margin-top: auto; }
.b2b__icon { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; }
.b2b__card--dark { background: var(--dark); color: #fff; }
.b2b__card--dark p { color: rgba(255, 255, 255, .72); }
.b2b__card--dark .b2b__icon { background: rgba(255, 255, 255, .08); color: #fff; }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 6px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks--light li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b3153b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* ---------- география ---------- */
.geo { display: grid; gap: 28px; }
@media (min-width: 960px) { .geo { grid-template-columns: .9fr 1.1fr; gap: 64px; } }
.geo__cols { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.geo__cols h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin-bottom: 10px; }
.geo__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.geo__cols li { font-weight: 500; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.08rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { transition: transform .25s var(--ease); color: var(--ink-3); }
.faq__item[open] summary .i { transform: rotate(45deg); color: var(--accent); }
.faq__a { padding: 0 40px 22px 0; color: var(--ink-2); }

/* ---------- финальный CTA ---------- */
.cta-final__in { background: var(--accent); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 3vw + 16px, 64px); display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .cta-final__in { grid-template-columns: 1.3fr 1fr; } }
.cta-final__in p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; margin: 0; }
.cta-final__act { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
@media (min-width: 900px) { .cta-final__act { align-items: flex-end; } }
.cta-final .btn--accent { background: #fff; color: var(--accent); box-shadow: none; }
.cta-final .btn--accent:hover { background: #fbeef1; color: var(--accent-2); }
.cta-final__phone { color: #fff; font-size: 1.5rem; font-weight: 650; text-decoration: none; letter-spacing: -.02em; }
.cta-final__phone:hover { color: #fff; }

/* ---------- подвал ---------- */
.ftr { background: var(--dark); color: rgba(255, 255, 255, .72); padding: 56px 0 28px; font-size: .95rem; }
.ftr__grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.ftr__brand p { margin: 16px 0; max-width: 24em; }
.ftr__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.ftr__col h3 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; }
.ftr__phone { color: #fff; font-size: 1.3rem; font-weight: 650; }
.ftr__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: .82rem; color: rgba(255, 255, 255, .5); }
.ftr__dev { margin-left: auto; }
.ftr .muted { color: rgba(255, 255, 255, .5); }

/* ---------- мобильная панель действий ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.mbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 4px; font-size: .74rem; font-weight: 600; text-decoration: none; color: var(--ink-2); border-radius: 12px; }
.mbar a .i { width: 22px; height: 22px; }
.mbar__main { background: var(--accent); color: #fff !important; }
.mbar .badge { top: 0; right: calc(50% - 26px); }
body { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
@media (min-width: 960px) { .mbar { display: none; } body { padding-bottom: 0; } }

/* ---------- диалоги ---------- */
.dlg { border: 0; padding: 0; background: transparent; max-width: min(520px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); }
.dlg::backdrop { background: rgba(20, 21, 23, .55); backdrop-filter: blur(4px); }
.dlg[open] { animation: dlgin .25s var(--ease); }
@keyframes dlgin { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dlg__box { position: relative; background: var(--card); border-radius: var(--r-lg); padding: 28px 22px 22px; box-shadow: var(--shadow-lg); }
@media (min-width: 560px) { .dlg__box { padding: 34px 32px 28px; } }
.dlg__box h2 { font-size: 1.6rem; margin-bottom: .3em; padding-right: 32px; }
.dlg__x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 99px; border: 0; background: var(--bg); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.dlg--video { max-width: min(1100px, calc(100vw - 24px)); }
.dlg--video video { width: 100%; border-radius: var(--r); background: #000; }
.dlg--video .dlg__x { background: rgba(255, 255, 255, .9); }

/* ---------- страница товара ---------- */
.prod-page { display: grid; gap: 28px; }
@media (min-width: 960px) { .prod-page { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } .prod-page__media { position: sticky; top: calc(var(--hdr) + 20px); } }
.prod-page__img { background: radial-gradient(circle at 50% 40%, #fff, #efede7 70%); border-radius: var(--r-lg); display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); aspect-ratio: 1.25; }
.prod-page__img img { max-height: 100%; width: auto; filter: drop-shadow(0 30px 30px rgba(20, 21, 23, .15)); }
.prod-page h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); margin-top: 10px; }
.pricebox { background: var(--card); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 14px; margin: 18px 0 32px; }
.pricebox__main { display: flex; align-items: baseline; gap: 8px; }
.pricebox__main b { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); letter-spacing: -.04em; line-height: 1; }
.pricebox__main span { color: var(--ink-3); }
.pricebox__pack { margin: 0; color: var(--ink-2); }
.pricebox__total { margin: 0; font-size: 1.05rem; }
.pricebox__links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .92rem; }
.pricebox__links a { display: inline-flex; align-items: center; gap: .4em; text-decoration: none; font-weight: 500; }
.pricebox__links .i { color: var(--accent); }
.buy--big .stepper { height: 56px; }
.buy--big .buy__btn { min-height: 56px; }
.specs { margin: 0 0 28px; display: grid; }
.specs > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt, .specs dd { overflow-wrap: anywhere; }
.specs dt { color: var(--ink-3); }
.specs dd { margin: 0; font-weight: 500; }
.specs--narrow { max-width: 640px; }
.notice-box { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; color: var(--ink-2); font-size: .92rem; }
.notice-box .i { color: var(--accent); margin-top: 2px; }

/* ---------- калькулятор ---------- */
.calc { display: grid; gap: 18px; align-items: start; }
@media (min-width: 1040px) { .calc { grid-template-columns: 1fr 380px; gap: 28px; } .calc__side { position: sticky; top: calc(var(--hdr) + 16px); } }
.calc__main { display: grid; gap: 14px; min-width: 0; }
.calc__step { background: var(--card); border: 0; margin: 0; border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow); display: grid; gap: 14px; min-width: 0; }
@media (min-width: 640px) { .calc__step { padding: 26px; } }
.calc__step legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; padding: 0; margin-bottom: 4px; }
.calc__step legend + * { clear: both; }
.calc__n { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .9rem; }
.calc__row { display: grid; gap: 12px; align-items: end; }
@media (min-width: 560px) { .calc__row { grid-template-columns: 1fr 1fr; } .calc__row--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 559px) { .calc__row--3 { grid-template-columns: 1fr 1fr; } }
.seg--modes { display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .seg--modes { grid-template-columns: repeat(4, 1fr); } }
.mats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .mats { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .mats { grid-template-columns: repeat(4, 1fr); } }
.mat { position: relative; }
.mat input { position: absolute; opacity: 0; inset: 0; cursor: pointer; z-index: 1; }
.mat > span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 10px 10px 12px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #faf9f6; transition: .15s; }
.mat img { height: 54px; width: auto; object-fit: contain; align-self: center; margin-bottom: 4px; }
.mat b { font-size: .86rem; line-height: 1.25; font-weight: 600; }
.mat small { font-size: .78rem; color: var(--ink-3); }
.mat input:checked + span { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(20, 21, 23, .08); }
.mat input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.result { background: var(--card); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 12px; }
.result .eyebrow { margin: 0; }
.result__big { display: flex; align-items: baseline; gap: 10px; }
.result__big b { font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); letter-spacing: -.05em; line-height: 1; }
.result__big span { color: var(--ink-2); }
.result__list, .result__money { margin: 0; display: grid; }
.result__list > div, .result__money > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.result__list dt, .result__money dt { color: var(--ink-3); }
.result__money dt small { display: block; font-size: .78rem; }
.result__list dd, .result__money dd { margin: 0; font-weight: 600; text-align: right; }
.result__total { border-bottom: 0 !important; padding-top: 12px !important; font-size: 1.15rem !important; }
.result__total dt { color: var(--ink) !important; font-weight: 600; }
.result__total dd { font-size: 1.5rem; letter-spacing: -.03em; }
.result__hint { margin: 0; background: var(--accent-soft); color: var(--accent-2); border-radius: var(--r-sm); padding: 10px 12px; font-size: .88rem; }
.result__tools { display: flex; justify-content: space-between; gap: 10px; font-size: .9rem; }
.result__tools .link { color: var(--ink-2); font-weight: 500; }
.result__tools .link:hover { color: var(--accent); }
.compare { margin-top: 40px; }
.table-wrap { overflow-x: auto; border-radius: var(--r); box-shadow: var(--shadow); background: var(--card); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 620px; }
.table th, .table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); font-weight: 600; }
.table tr:last-child td { border-bottom: 0; }
.table tr.is-best td { background: var(--ok-soft); }
.table .num { text-align: right; white-space: nowrap; }

/* ---------- корзина ---------- */
.cart__grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1040px) { .cart__grid { grid-template-columns: 1fr 380px; gap: 28px; } .cart__side { position: sticky; top: calc(var(--hdr) + 16px); } }
.cart__items { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.citem { display: grid; grid-template-columns: 72px 1fr; gap: 8px 14px; align-items: center; background: var(--card); border-radius: var(--r); padding: 14px; box-shadow: var(--shadow); }
.citem img { width: 72px; }
.citem__info { display: grid; gap: 2px; min-width: 0; }
.citem__info b { font-size: .98rem; line-height: 1.3; }
.citem__info span { font-size: .85rem; }
.citem__ctrl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.citem__sum { font-weight: 650; font-size: 1.1rem; text-align: right; white-space: nowrap; }
.citem__sum small { display: block; font-weight: 400; font-size: .78rem; }
@media (min-width: 720px) {
  .citem { grid-template-columns: 88px 1fr auto auto; }
  .citem img { width: 88px; }
  .citem__ctrl { grid-column: auto; display: contents; }
}
.cart__items--static .citem { grid-template-columns: 72px 1fr auto; }
.checkout { background: var(--card); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .checkout { padding: 28px; } }
.checkout h2 { margin: 10px 0 0; }
.paylist { display: grid; gap: 8px; }
.payopt { position: relative; display: block; cursor: pointer; }
.payopt input { position: absolute; opacity: 0; }
.payopt > span { display: grid; gap: 2px; padding: 14px 16px 14px 48px; border-radius: var(--r-sm); border: 1.5px solid var(--line-2); position: relative; }
.payopt > span::before { content: ''; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); }
.payopt small { color: var(--ink-3); font-size: .84rem; }
.payopt input:checked + span { border-color: var(--ink); }
.payopt input:checked + span::before { border: 6px solid var(--accent); }
.payopt input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); }
.del { border: 0; background: none; color: var(--ink-3); cursor: pointer; padding: 8px; border-radius: 10px; }
.del:hover { color: var(--accent); background: var(--accent-soft); }

/* ---------- заказ ---------- */
.order h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
.track { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; counter-reset: t; }
.track li { display: flex; flex-direction: column; gap: 8px; font-size: .82rem; color: var(--ink-3); position: relative; padding-top: 14px; border-top: 4px solid var(--line); }
.track li.is-done { border-top-color: var(--ok); color: var(--ink); font-weight: 600; }
.track .i { color: var(--ok); width: 18px; height: 18px; }
.order__grid { display: grid; gap: 22px; align-items: start; }
@media (min-width: 1040px) { .order__grid { grid-template-columns: 1fr 380px; } }

/* ---------- информационные страницы ---------- */
.about-hero { display: grid; gap: 28px; align-items: end; }
@media (min-width: 960px) { .about-hero { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.kpis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kpis li { background: var(--card); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.kpis b { display: block; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -.04em; line-height: 1.1; }
.kpis span { color: var(--ink-3); font-size: .9rem; }
.psteps { display: grid; gap: 14px; }
@media (min-width: 720px) { .psteps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .psteps { grid-template-columns: repeat(3, 1fr); } }
.pstep { margin: 0; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.pstep img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pstep figcaption { padding: 16px 18px 20px; display: grid; gap: 4px; }
.pstep figcaption > span:last-child { color: var(--ink-2); font-size: .94rem; }
.pstep__n { font-size: .8rem; font-weight: 700; color: var(--accent); letter-spacing: .1em; }
.about-text { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .about-text { grid-template-columns: 1fr 1fr; gap: 56px; } }
.about-video { margin: 0; }
.about-video__btn { position: relative; border: 0; padding: 0; background: none; cursor: pointer; border-radius: var(--r-lg); overflow: hidden; display: block; width: 100%; }
.about-video__btn img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s var(--ease); }
.about-video__btn:hover img { transform: scale(1.04); }
.about-video__btn span { position: absolute; left: 16px; bottom: 16px; display: inline-flex; gap: 8px; align-items: center; background: #fff; border-radius: 99px; padding: 10px 18px; font-weight: 600; }
.pay-grid { display: grid; gap: 12px; }
@media (min-width: 720px) { .pay-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pay-grid { grid-template-columns: repeat(4, 1fr); } }
.paycard { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.paycard p { color: var(--ink-2); margin: 0; font-size: .95rem; }
.paycard h3 { margin-top: 12px; }
.paycard__icon { width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.trucks { display: grid; gap: 14px; }
@media (min-width: 720px) { .trucks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .trucks { grid-template-columns: repeat(4, 1fr); } }
.truck { background: var(--card); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.truck img { background: var(--dark); border-radius: var(--r-sm); width: 100%; aspect-ratio: 1.6; object-fit: contain; padding: 10px; margin-bottom: 14px; }
.truck ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.truck li { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.truck li span { color: var(--ink-2); }
.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }
.two-col h2 { font-size: 1.6rem; }
.contacts { display: grid; gap: 28px; }
@media (min-width: 960px) { .contacts { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.contact-list { display: grid; gap: 10px; margin: 18px 0 24px; }
.contact { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; background: var(--card); border-radius: var(--r); text-decoration: none; box-shadow: var(--shadow); }
.contact .i { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.contact > span { display: grid; gap: 2px; }
.contact small { color: var(--ink-3); }
.contact b { font-size: 1.05rem; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 360px; background: var(--bg-2); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.objgrid { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
@media (min-width: 960px) { .objgrid { grid-template-columns: repeat(4, 1fr); } }
.objgrid img { border-radius: var(--r-sm); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.promo-big { background: var(--accent); color: #fff; border-radius: var(--r-lg); padding: clamp(28px, 3vw + 16px, 56px); background-image: linear-gradient(120deg, var(--accent), #6f0c24); }
.promo-big h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); }
.promo-big p { color: rgba(255, 255, 255, .85); }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; color: var(--ink-2); }

/* ---------- счёт ---------- */
.invoice { background: #fff; color: #000; padding: clamp(18px, 3vw, 40px); border-radius: var(--r); box-shadow: var(--shadow); font-size: .92rem; max-width: 900px; margin: 0 auto 18px; }
.invoice h1 { font-size: 1.4rem; letter-spacing: 0; margin: 20px 0; }
.invoice table { width: 100%; border-collapse: collapse; }
.invoice td, .invoice th { border: 1px solid #000; padding: 6px 8px; vertical-align: top; text-align: left; }
.invoice__bank small { color: #555; }
.invoice__parties { display: grid; gap: 6px; margin: 16px 0; }
.invoice__parties div { display: grid; grid-template-columns: 110px 1fr; gap: 10px; }
.invoice__parties dt { color: #555; }
.invoice__parties dd { margin: 0; font-weight: 600; }
.invoice__items td:nth-child(n+3), .invoice__items th:nth-child(n+3) { text-align: right; white-space: nowrap; }
.invoice__items tfoot td { font-weight: 700; border: 0; text-align: right; }
.invoice-wrap .notice-box { max-width: 900px; margin: 0 auto 16px; }
.invoice-wrap .noprint { max-width: 900px; margin: 0 auto; }

.demo-pay { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); border: 2px dashed var(--line-2); }
.demo-pay__act { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- всплывашка ---------- */
.toast { position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); z-index: 95; opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 500; font-size: .95rem; box-shadow: var(--shadow-lg); transition: .25s var(--ease); max-width: calc(100vw - 32px); display: flex; gap: 12px; align-items: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: #fff; font-weight: 700; white-space: nowrap; }
@media (min-width: 960px) { .toast { bottom: 28px; } }

/* ---------- появление при прокрутке (без JS) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 22%; }
  }
}
@keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ---------- печать: смета калькулятора, счёт ---------- */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; padding: 0; font-size: 12pt; }
  .demo-bar, .notice, .hdr, .mnav, .ftr, .mbar, .crumbs, .noprint, .result .btn, .result__tools, .dlg, .toast, .skip { display: none !important; }
  .section { padding: 0; }
  .calc { grid-template-columns: 1fr; }
  .calc__step, .result, .invoice, .table-wrap { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .page-calc .calc__side { position: static; }
}

/* ---------- публичное демо (PUBLIC_DEMO=on) ---------- */
.demo-bar--public { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 18px; }
.demo-bar--public a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.demo-note { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r-sm); background: #fbf3df; color: #5c4400; font-size: .9rem; line-height: 1.45; }
.demo-note .i { margin-top: 1px; }
.ftr__rights { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: .82rem; line-height: 1.6; color: rgba(255, 255, 255, .62); }
.ftr__rights p { margin: 0; max-width: 980px; }
.ftr__rights b { color: #f3d9a4; font-weight: 600; }
.ftr__rights + .ftr__legal { margin-top: 16px; padding-top: 0; border-top: 0; }
.invoice--demo { position: relative; overflow: hidden; }
.invoice--demo::after { content: 'ДЕМО'; position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(4.5rem, 16vw, 11rem)/1 'Onest', system-ui, sans-serif; letter-spacing: .12em; color: rgba(179, 21, 59, .13); transform: rotate(-22deg); pointer-events: none; }
