/* LIVSI · livsiprom.kz — фирменный стиль по образцу livsi.shop (брендбук LIVSI 2026).
   Цвета, шрифт и размеры — в :root. */

@font-face {
  font-family: "Geist";
  src: url("../fonts/Geist.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0a0a0a;
  --paper: #ffffff;
  --sand: #f3f2ee;          /* светлый тёплый фон секций */
  --line: #e3e3e0;
  --line-ink: #0a0a0a;
  --muted: #6b6a66;
  --muted-2: #8a8984;

  /* акценты линеек — как на livsi.shop */
  --fresh: #d0e64f;
  --sweet: #f6accd;
  --warm: #ffe405;
  --base: #f5e2b7;
  --pro: #a8d8ef;
  --accent: var(--fresh);   /* главная кнопка и акцент сайта */

  --font: "Geist", Arial, sans-serif;
  --wrap: 1440px;
  --g: clamp(16px, 2.2vw, 32px);
  --sec: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 108px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--g); }
.sec { padding: var(--sec) 0; }
.sec--sand { background: var(--sand); }
.sec--ink { background: var(--ink); color: #fff; }
.sec--ink .lbl, .sec--ink .lead { color: rgba(255, 255, 255, .66); }
/* Калькулятор прибыли на Kaspi: слева цифры закупщика, справа — его прибыль крупно */
.calc__head { max-width: 760px; margin-bottom: 34px; }
.calc__head .h2 { font-size: clamp(32px, 4.4vw, 64px); }
.calc__box { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 12px; margin: 0; }
.calc__in, .calc__out { padding: clamp(20px, 3vw, 34px); min-width: 0; }
.calc__in { background: #fff; color: var(--ink); display: flex; flex-direction: column; gap: 14px; }
.calc__out { background: #161616; border: 1px solid #2a2a2a; display: flex; flex-direction: column; gap: 10px; }
.cf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 190px); align-items: center; gap: 6px 16px; }
.cf > span:first-child { font-size: 13px; font-weight: 800; }
.cf small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: var(--muted); }
.cf__in { position: relative; display: block; }
.cf__in input { width: 100%; min-height: 50px; padding: 0 40px 0 14px; border: 1px solid #cfcfcb; background: #fff; font: inherit; font-size: 18px; font-weight: 800; color: var(--ink); -moz-appearance: textfield; }
.cf__in input::-webkit-outer-spin-button, .cf__in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cf__in input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent); }
.cf__in i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 800; color: var(--muted); }
.calc__grp { margin: 6px 0 0; padding-top: 12px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.calc__grp:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.cf--fix { padding: 2px 0; }
.cf__fix { display: flex; align-items: center; justify-content: flex-end; min-height: 40px; padding: 0 14px; background: var(--sand); font-size: 15px; font-weight: 800; white-space: nowrap; }
.cf__fix::before { content: ""; width: 10px; height: 12px; margin-right: 8px; background: currentColor; opacity: .35; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M2 5V3.5a3 3 0 0 1 6 0V5h1v7H1V5h1zm1.2 0h3.6V3.5a1.8 1.8 0 0 0-3.6 0V5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M2 5V3.5a3 3 0 0 1 6 0V5h1v7H1V5h1zm1.2 0h3.6V3.5a1.8 1.8 0 0 0-3.6 0V5z'/%3E%3C/svg%3E") center / contain no-repeat; }   /* замок: ставка Kaspi */
.calc__big.calc__big--2 { font-size: clamp(32px, 4vw, 54px); color: #fff; }
.calc__big.calc__big--2.is-neg { color: #ff6b5a; }
.calc__out .calc__k + .calc__big { margin-bottom: 8px; }
.calc__more { border-top: 1px solid var(--line); padding-top: 12px; }
.calc__more summary { cursor: pointer; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; list-style: none; }
.calc__more summary::-webkit-details-marker { display: none; }
.calc__more summary::after { content: " +"; }
.calc__more[open] summary::after { content: " –"; }
.calc__grid { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.calc__grid .cf__in input { min-height: 44px; font-size: 15px; }
.calc__k { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .66); }
.calc__big { margin: 0; font-size: clamp(44px, 6vw, 84px); font-weight: 900; letter-spacing: -.04em; line-height: .95; color: var(--accent); }
.calc__big.is-neg { color: #ff6b5a; }
.calc__sub { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .7); }
.calc__sub b { color: #fff; }
.calc__nums { margin: 12px 0 0; border-top: 1px solid #2a2a2a; }
.calc__nums > div { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #2a2a2a; }
.calc__nums dt { font-size: 13px; color: rgba(255, 255, 255, .7); }
.calc__nums dd { margin: 0; font-size: 17px; font-weight: 900; }
.calc__note { margin: 4px 0 8px; font-size: 11.5px; color: rgba(255, 255, 255, .5); }
.calc__out .btn { align-self: stretch; }
.calc__hint { margin: 0; font-size: 12px; color: rgba(255, 255, 255, .6); }
.ks-go { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.ks-calc { font-size: 12.5px; font-weight: 700; color: var(--ink); text-underline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Типографика */
.lbl { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.h1, .h2 { font-weight: 900; text-transform: uppercase; letter-spacing: -.025em; line-height: .92; margin: 0; }
.h1 { font-size: clamp(44px, 6.6vw, 92px); }
.h2 { font-size: clamp(36px, 5.4vw, 80px); }
.h3 { font-weight: 800; font-size: 17px; line-height: 1.25; letter-spacing: -.01em; margin: 0; }
.lead { font-size: 15px; color: var(--muted); max-width: 46ch; margin: 22px 0 0; }
.tag { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 7px; background: var(--accent); color: var(--ink); line-height: 1.2; }
.tag--pro { background: var(--pro); } .tag--sweet { background: var(--sweet); } .tag--warm { background: var(--warm); } .tag--base { background: var(--base); }
.tag--ink { background: var(--ink); color: #fff; } .tag--white { background: #fff; }

/* Кнопки: квадратные, капс, стрелка в своём квадрате */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 48px;
  padding: 0 6px 0 18px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .arr { display: grid; place-items: center; width: 36px; height: 36px; background: rgba(255, 255, 255, .12); transition: transform .2s var(--ease); }
.btn .arr svg { width: 15px; height: 15px; }
.btn:hover .arr { transform: translateX(3px); }
.btn:hover { background: #222; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--accent .arr { background: rgba(0, 0, 0, .08); }
.btn--accent:hover { background: #c3d146; border-color: #c3d146; }
.btn--line { background: transparent; color: var(--ink); }
.btn--line .arr { background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--white { background: #fff; border-color: #fff; color: var(--ink); }
.btn--white .arr { background: rgba(0, 0, 0, .06); }
.btn--white:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--plain { padding: 0 18px; justify-content: center; }
.btn > svg { width: 16px; height: 16px; flex: none; }

/* ---------- Полоска и шапка ---------- */
.strip { background: var(--ink); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 9px 16px; }
.strip b { color: var(--accent); font-weight: 700; }
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.nav { display: flex; gap: 22px; }
.nav a, .hdr__tel { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .2s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__logo img { height: 26px; width: auto; }
.hdr__right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid transparent; background: none; cursor: pointer; text-decoration: none; }
.icon-btn:hover { border-color: var(--line); }
.icon-btn svg { width: 20px; height: 20px; }
.hdr__cta { min-height: 40px; padding: 0 14px; font-size: 11px; justify-content: center; }
/* Телефон: снизу всегда «Опт-прайс» и WhatsApp */
.mbar { display: none; }
.burger { display: none; }
.mnav { display: none; }

/* ---------- Полоска «Ребрендинг 2027» — часть закреплённой шапки ---------- */
.band { display: block; background: var(--accent); color: var(--ink); text-decoration: none; border-top: 1px solid var(--ink); }
.band__in { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 34px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.band__in i { font-style: normal; background: var(--ink); color: var(--accent); padding: 3px 7px; letter-spacing: .06em; }
.band__in span { font-weight: 600; letter-spacing: .04em; }
.band:hover .band__in b { text-decoration: underline; text-underline-offset: 3px; }
.band--back { background: var(--ink); color: #fff; }
.band--back .band__in i { background: var(--accent); color: var(--ink); }

/* ---------- Первый экран главной: товары, которые есть сейчас ---------- */
.top { background: var(--sand); border-bottom: 1px solid var(--line); }
.top__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; max-width: var(--wrap); margin: 0 auto; }
.top__text { padding: clamp(40px, 6vw, 88px) var(--g); }
.top .h1 { max-width: 13ch; font-size: clamp(34px, 4.6vw, 68px); }
.top .h1 em { font-style: normal; background: linear-gradient(transparent 14%, var(--accent) 14%, var(--accent) 96%, transparent 96%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.top__sub { max-width: 44ch; margin: 22px 0 0; font-size: 15px; color: var(--muted); }
.top__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.top__note { margin: 14px 0 0; max-width: 46ch; font-size: 13px; color: var(--muted); }
.top__note a { color: var(--ink); text-underline-offset: 3px; }
/* Строка доверия под кнопкой: цифры склада и логотипы магазинов */
/* «Живые» строки: мигающая точка — данные обновляются сами */
.pulse, .ships { position: relative; margin: 16px 0 0; padding-left: 19px; font-size: 14px; font-weight: 700; }
.pulse b, .ships b { font-weight: 900; }
.pulse i, .ships i { position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border-radius: 50%; background: #2fb344; box-shadow: 0 0 0 0 rgba(47, 179, 68, .5); animation: livedot 2s infinite; }
@keyframes livedot { 70% { box-shadow: 0 0 0 8px rgba(47, 179, 68, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 179, 68, 0); } }
.ships { margin: 26px 0 0; padding: 14px 16px 14px 35px; background: #fff; border: 1px solid var(--line); font-weight: 600; line-height: 1.5; }
.ships span { color: var(--muted); font-weight: 600; }
.ships[hidden] { display: none; }
.ships i { left: 16px; top: calc(14px + .45em); }
@media (prefers-reduced-motion: reduce) { .pulse i, .ships i { animation: none; } }
.trust { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); max-width: 560px; }
.trust p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.trust b { color: var(--ink); font-weight: 900; }
.trust__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.trust__logos img { height: 22px; width: auto; max-width: 120px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; opacity: .7; }
.trust__logos img.inv { filter: grayscale(1) invert(1); }
/* два входа: опт — главный, розница через Kaspi — второй */
.doors { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 10px; margin-top: 30px; max-width: 640px; }
.door { display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 18px; border: 1px solid var(--ink); background: #fff; min-width: 0; }
.door--opt { background: var(--ink); color: #fff; }
.door__k { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.door--opt .door__k { color: var(--accent); }
.door__t { margin: 0 0 4px; font-size: 13.5px; line-height: 1.45; color: var(--muted); flex: 1; }
.door--opt .door__t { color: rgba(255, 255, 255, .78); }
.door__t a { color: inherit; text-underline-offset: 3px; }
.door .btn { align-self: stretch; }
.top__ph { padding: clamp(28px, 4vw, 56px) var(--g) clamp(28px, 4vw, 56px) 0; }
.best__lbl { margin-bottom: 12px; }
.best { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(420px, 40vw, 580px); }
.best__i { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; padding: 12px; background: #fff; border: 1px solid var(--line); overflow: hidden; color: var(--ink); transition: border-color .2s; }
.best__i:hover { border-color: var(--ink); }
.best__i--big { grid-row: span 2; padding: 16px; }
.best__ph { position: relative; flex: 1 1 auto; min-height: 60px; }
.best__ph img { position: absolute; inset: 4% 6%; width: 88%; height: 92%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.best__i:hover .best__ph img { transform: scale(1.04); }
.best__rank { position: absolute; z-index: 1; top: 10px; left: 12px; font-weight: 900; font-size: 15px; letter-spacing: -.01em; }
.best__i--big .best__rank { font-size: clamp(28px, 3vw, 44px); letter-spacing: -.03em; top: 14px; left: 16px; }
.best__cap { flex: none; display: flex; flex-direction: column; gap: 2px; padding-top: 8px; }
.best__cap .tag { align-self: flex-start; margin-bottom: 6px; }
.best__open { color: inherit; text-decoration: none; }
.best__open::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* вся плитка открывает окно товара */
.best__open:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.best__act { position: relative; z-index: 2; }
.best__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.best__more svg { width: 11px; height: 11px; }
.best__i:hover .best__more { text-decoration: underline; text-underline-offset: 3px; }
.best__cap b { font-size: 13.5px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.best__i--big .best__cap b { font-size: clamp(18px, 1.7vw, 24px); font-weight: 900; }
.best__cap small { font-size: 11.5px; color: var(--muted); }
.best__act { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.best__act a { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 9px; border: 1px solid var(--ink); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; white-space: nowrap; color: var(--ink); transition: background-color .2s, color .2s; }
.best__act svg { width: 11px; height: 11px; flex: none; }
.best__o { background: var(--accent); border-color: var(--accent) !important; }
.best__o:hover { background: #c3d146; }
.best__k:hover { background: var(--ink); color: #fff !important; }
.best__i--big .best__act a { min-height: 38px; padding: 0 13px; font-size: 11.5px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); border-left: 1px solid var(--line); border-right: 1px solid var(--line); background: #fff; }
.facts li { padding: 16px 16px 15px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.facts li:last-child { border-right: 0; }
.facts b { font-size: 16px; font-weight: 900; letter-spacing: -.01em; }
.facts span { font-size: 11.5px; color: var(--muted); }

/* ---------- Страница «Ребрендинг 2027» ---------- */
.rebrand { background: var(--ink); color: #fff; }
.rebrand__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: end; }
.rebrand .h2 em { font-style: normal; color: var(--accent); }
.rebrand .tag { margin-bottom: 20px; }
.rebrand .lead { color: #b9b9b4; }
.rb-when { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: clamp(48px, 6vw, 80px); }
.rb-when__i { border: 1px solid var(--ink); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.rb-when__i p { margin: 0; font-size: 15px; font-weight: 600; max-width: 46ch; }
.rb-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.rb-intro .h2 { font-size: clamp(32px, 4.4vw, 64px); }
.rb-text { font-size: 15.5px; line-height: 1.6; color: #2a2a28; }
.rb-text p { margin: 0 0 14px; max-width: 62ch; }
.rb-two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.rb-big { font-size: clamp(17px, 1.7vw, 21px); font-weight: 600; line-height: 1.4; letter-spacing: -.01em; margin: 22px 0 0; max-width: 40ch; }
.rb-idea { background: #fff; border: 1px solid var(--line); padding: clamp(22px, 3vw, 36px); }
.rb-idea__q { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.025em; line-height: .95; font-size: clamp(34px, 4.4vw, 62px); }
.rb-idea__q em { font-style: normal; background: linear-gradient(transparent 14%, var(--accent) 14%, var(--accent) 96%, transparent 96%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.rb-small { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 16px 0 0; max-width: 60ch; }
.rb-line { display: grid; grid-template-columns: 120px minmax(0, 300px) minmax(0, 1fr); gap: 24px; padding: 30px 0; border-top: 1px solid var(--line-ink); align-items: start; }
.rb-line:last-child { border-bottom: 1px solid var(--line-ink); }
.rb-line__pat { aspect-ratio: 420 / 826; overflow: hidden; }
.rb-line__pat img, .rb-line__ph img { width: 100%; height: 100%; object-fit: cover; }
.rb-line__ph { aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.rb-line--pro .rb-line__ph { background: #fff; }
.rb-line--pro .rb-line__ph img { object-fit: contain; }
.rb-line__name { margin: 0; font-weight: 900; font-size: clamp(36px, 4.4vw, 60px); letter-spacing: -.03em; line-height: .9; }
.rb-line__name span { font-size: .42em; font-weight: 800; letter-spacing: 0; color: var(--muted); vertical-align: .55em; }
.rb-line__state { display: inline-block; margin: 10px 0 16px; padding: 2px 8px; background: var(--ta); font-weight: 900; text-transform: uppercase; font-size: 18px; letter-spacing: -.01em; }
.rb-line__txt > p:not([class]) { margin: 0 0 18px; font-size: 15px; line-height: 1.6; max-width: 62ch; }
.rb-line dl { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; margin: 0; font-size: 13px; border-top: 1px solid var(--line); padding-top: 14px; }
.rb-line dt { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.rb-line dd { margin: 0; color: var(--muted); }
.rb-line dd i { display: inline-block; width: 12px; height: 12px; margin: 0 6px -1px 0; border: 1px solid rgba(0, 0, 0, .12); }
.rb-line dd i + i, .rb-line dd i:not(:first-child) { margin-left: 10px; }
.rb-values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.rb-val { background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--ta); padding: 22px 20px; display: flex; flex-direction: column; gap: 10px; }
.rb-val p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.rb-val ul { margin: 4px 0 0; padding: 12px 0 0 16px; border-top: 1px solid var(--line); font-size: 12.5px; display: grid; gap: 6px; }
.rb-aud { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rb-aud__i { border: 1px solid var(--ink); padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.rb-aud__i .h3 { font-size: 22px; font-weight: 900; }
.rb-aud__i p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.rb-utp { background: var(--pro); }
.rb-utp .lbl { color: rgba(0, 0, 0, .6); }
.rb-utp__row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.rb-utp__row > div { padding: 24px 24px 8px 0; }
.rb-utp__row > div + div { padding-left: 24px; border-left: 1px solid rgba(0, 0, 0, .2); }
.rb-utp__k { margin: 0 0 14px; font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 3.6vw, 52px); letter-spacing: -.03em; line-height: .9; }
.rb-utp__row p:not(.rb-utp__k) { margin: 0; font-size: 16px; line-height: 1.5; }
.rb-quotes { display: grid; gap: 8px; margin-top: 24px; }
.rb-quotes p { margin: 0; padding: 14px 18px; background: var(--pro); font-weight: 700; font-size: 16px; max-width: 34ch; }
.rb-quotes p:nth-child(2) { margin-left: 12%; background: var(--accent); }
.rb-quotes p:nth-child(3) { margin-left: 24%; background: var(--sweet); }
.rb-arch { border: 1px solid var(--ink); padding: clamp(22px, 3vw, 36px); }
.rb-arch__name { margin: 0 0 14px; font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 5.6vw, 80px); letter-spacing: -.03em; line-height: .9; }
.rb-arch p:not([class]) { margin: 0; font-size: 16px; line-height: 1.55; font-weight: 600; }
.rb-logo { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 12px; align-items: stretch; margin-bottom: 12px; }
.rb-logo > div { background: #fff; border: 1px solid var(--line); min-height: 200px; display: grid; place-items: center; position: relative; padding: 28px; }
.rb-logo span { position: absolute; top: 12px; left: 14px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rb-logo__old b { font-weight: 900; font-size: clamp(40px, 5vw, 72px); letter-spacing: .06em; }
.rb-logo__new img { width: min(240px, 80%); height: auto; }
.rb-logo > p { margin: 0; align-self: center; font-size: 14.5px; line-height: 1.6; padding: 0 0 0 12px; }
.rb-pack { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); padding: 12px; }
.rb-pack__ph { aspect-ratio: 16 / 9; overflow: hidden; }
.rb-pack__ph img { width: 100%; height: 100%; object-fit: cover; }
.rb-pack .h3 { font-size: 20px; font-weight: 900; margin-bottom: 12px; }
.rb-pack p:not([class]) { margin: 0 0 12px; font-size: 14.5px; line-height: 1.6; padding-right: 16px; }

/* ---------- Первый экран со сменой линеек ---------- */
.hero { position: relative; height: min(86vh, 780px); min-height: 580px; overflow: hidden; background: #222; color: #fff; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.slide.on { opacity: 1; visibility: visible; }
.slide picture { position: absolute; inset: 0; }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.slide.on img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .64) 0%, rgba(0, 0, 0, .4) 42%, rgba(0, 0, 0, .06) 74%); }
.slide__in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 80px; }
.slide .h1 { max-width: 11ch; }
.slide .h1 em { font-style: normal; color: var(--sa); }
.slide__sub { max-width: 42ch; margin: 22px 0 0; font-size: 15px; color: rgba(255, 255, 255, .88); }
.slide__char { margin: 22px 0 0; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.slide__char b { display: block; margin-top: 6px; color: var(--sa); font-size: 11px; }
.slide__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.slide .btn--accent { background: var(--sa); border-color: var(--sa); }
.tabs { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }
.tabs__row { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid rgba(255, 255, 255, .5); border-bottom: 0; background: rgba(255, 255, 255, .84); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tab { position: relative; display: flex; align-items: baseline; gap: 10px; padding: 16px 16px 15px; border: 0; border-right: 1px solid rgba(0, 0, 0, .12); background: transparent; color: var(--ink); cursor: pointer; text-align: left; transition: background-color .3s; }
.tab:last-child { border-right: 0; }
.tab small { font-size: 10px; font-weight: 700; color: var(--muted); }
.tab b { font-size: 17px; font-weight: 900; letter-spacing: -.01em; }
.tab span { margin-left: auto; font-size: 11px; color: var(--muted); }
.tab.on { background: var(--ta); }
.tab.on span, .tab.on small { color: var(--ink); }
.tab i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--ink); }
.tab.on i { animation: prog var(--dur, 7s) linear forwards; }
.hero.paused .tab.on i { animation-play-state: paused; }
@keyframes prog { to { width: 100%; } }

/* ---------- Цифры ---------- */
.stats__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3fb950; animation: ping 2s infinite; }
.live.is-off::before { background: var(--muted-2); animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(63, 185, 80, .6); } 70% { box-shadow: 0 0 0 8px rgba(63, 185, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 185, 80, 0); } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-ink); border-bottom: 1px solid var(--line-ink); }
.stat { padding: 28px 24px 30px 0; border-right: 1px solid var(--line); }
.stat + .stat { padding-left: 24px; }
.stat:last-child { border-right: 0; }
.stat__n { font-weight: 900; font-size: clamp(44px, 6vw, 88px); letter-spacing: -.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.stat__c { margin-top: 14px; font-size: 13px; font-weight: 700; max-width: 24ch; }
.stat__s { margin-top: 6px; font-size: 12px; color: var(--muted); }

/* ---------- Каталог ---------- */
.cat-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.seg { display: inline-flex; border: 1px solid var(--ink); }
.seg button, .seg a { min-height: 44px; padding: 0 18px; border: 0; background: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.seg > * + * { border-left: 1px solid var(--ink) !important; }
.seg [aria-selected="true"], .seg [aria-pressed="true"] { background: var(--ink); color: #fff; }
.seg small { font-size: 10px; opacity: .6; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.chip { min-height: 36px; padding: 0 14px; border: 1px solid var(--line); background: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip b { opacity: .5; margin-left: 4px; }
.panel[hidden] { display: none; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 16px; }
.pc { position: relative; display: flex; flex-direction: column; min-width: 0; }   /* длинное слово в названии не раздвигает сетку */
.pc[hidden] { display: none; }
.pc__img { position: relative; aspect-ratio: 1 / 1; background: #fff; border: 1px solid var(--line); overflow: hidden; transition: border-color .2s; }
.pc:hover .pc__img { border-color: var(--ink); }
.pc__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 9% 9% 7%; transition: transform .5s var(--ease); }
.pc:hover .pc__img img { transform: scale(1.05); }
.pc__img .tag { position: absolute; top: 10px; left: 10px; }
.pc__img .tag + .tag { top: 34px; }
.pc__none { position: absolute; inset: 44px 12px 16px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; text-align: center; font-weight: 900; font-size: clamp(13px, 1.6vw, 20px); line-height: 1.05; text-transform: uppercase; letter-spacing: -.02em; color: rgba(0, 0, 0, .18); align-self: center; }
.pc__line { margin-top: 14px; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pc__name { margin-top: 6px; font-weight: 800; font-size: 15px; line-height: 1.25; letter-spacing: -.01em; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.pc__name button { all: unset; cursor: pointer; }
.pc__name button::after { content: ""; position: absolute; inset: 0; }
.pc__name button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.pc__desc { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.4; }
.pc__vol { margin: 6px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }
.pc__was { margin-top: 4px; font-size: 11.5px; color: var(--muted-2); }
.pc__foot { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pc__price { font-weight: 900; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.pc__price small { display: block; font-size: 10.5px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.pc__act { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 12px; border: 1px solid var(--ink); background: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, color .15s, border-color .15s; }
.pc__act svg { width: 13px; height: 13px; }
.pc__act:hover { background: var(--ink); color: #fff; }
.pc__act--kaspi { background: var(--ink); color: #fff; }
.pc__act--kaspi:hover { background: #f14635; border-color: #f14635; }
.pc__retail { position: relative; z-index: 2; align-self: flex-start; margin-top: 8px; font-size: 11.5px; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.pc__retail:hover { color: var(--ink); border-color: var(--ink); }
.pc.is-hl .pc__img { border-color: var(--ink); box-shadow: 0 0 0 4px var(--accent); }
.pc__img { transition: border-color .2s, box-shadow .4s var(--ease); }
/* Бестселлеры Kaspi: место в рейтинге и тихая ссылка на карточку Kaspi */
.grid--5 { grid-template-columns: repeat(5, 1fr); }
.pc__rank { position: absolute; top: 8px; right: 10px; font-weight: 900; font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.03em; line-height: 1; }
.pc__ks { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; font-size: 11.5px; color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.pc__ks:hover { color: var(--ink); border-color: var(--ink); }
.ks-note { margin: 30px 0 0; max-width: 80ch; font-size: 12.5px; color: var(--muted); }
.cat-more { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.cat-more p { margin: 0; font-size: 13px; color: var(--muted); max-width: 70ch; }

/* ---------- Линейки ---------- */
.lines-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.lines { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.lt { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--sand); }
.lt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.lt:hover img { transform: scale(1.05); }
.lt__card { position: absolute; left: 10px; right: 10px; bottom: 10px; background: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; }
.lt__card i { width: 14px; height: 14px; flex: none; background: var(--ta); }
.lt__card b { font-weight: 900; font-size: 15px; }
.lt__card span { font-size: 12px; color: var(--muted); margin-left: auto; }

/* ---------- Как работаем ---------- */
.how { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.how--flat { grid-template-columns: 1fr; }
.how--flat .steps { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line-ink); }
.how--flat .steps li { grid-template-columns: 1fr; align-content: start; padding: 18px 18px 22px 0; border-bottom: 0; }
.how--flat .steps li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.how--flat .steps li::before { grid-row: auto; margin-bottom: 18px; }
.how__ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.how__ph img { width: 100%; height: 100%; object-fit: cover; }
.how__ph .tag { position: absolute; left: 14px; bottom: 14px; }
.steps { list-style: none; margin: 34px 0 0; padding: 0; border-top: 1px solid var(--line-ink); counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 4px 0; padding: 18px 0; border-bottom: 1px solid var(--line-ink); }
.steps li::before { content: "0" counter(s); grid-row: span 2; font-size: 11px; font-weight: 700; padding-top: 3px; }
.steps p { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Почему с нами просто ---------- */
.why { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-ink); counter-reset: w; }
.why__i { counter-increment: w; padding: 26px 22px 30px 0; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.why__i:nth-child(4n) { border-right: 0; }
.why__i:not(:nth-child(4n + 1)) { padding-left: 22px; }
.why__i::before { content: "0" counter(w); display: block; font-size: 11px; font-weight: 700; color: var(--muted); margin-bottom: 26px; }
.why__i p { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.why__big { font-weight: 900; font-size: 44px; letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }

/* ---------- Отзывы ---------- */
.rev-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.rev { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; }
.rev__card { background: #fff; border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; }
.rev__card blockquote { margin: 18px 0 0; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; line-height: 1.38; letter-spacing: -.01em; }
.rev__card blockquote p { margin: 0 0 12px; }
.rev__who { margin-top: auto; padding-top: 22px; display: flex; align-items: center; gap: 12px; }
.rev__who img { width: 56px; height: 56px; object-fit: cover; }
.rev__who b { display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.rev__who span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.vids { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.vid { position: relative; display: block; aspect-ratio: 9 / 14; overflow: hidden; background: var(--ink); }
.vid img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .5s var(--ease), opacity .2s; }
.vid:hover img { transform: scale(1.04); opacity: 1; }
.vid__play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; background: #fff; display: grid; place-items: center; }
.vid__play svg { width: 18px; height: 18px; margin-left: 2px; }
.vid__cap { position: absolute; left: 8px; right: 8px; bottom: 8px; background: #fff; color: var(--ink); padding: 8px 10px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.partners { margin-top: 44px; }
.partners__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 24px; margin-bottom: 14px; }
.partners__head .lbl { margin: 0; }
.partners__head p:not(.lbl) { margin: 0; max-width: 62ch; font-size: 13px; color: var(--muted); }
.partners__head a { color: var(--ink); text-underline-offset: 3px; }
.partners__row { display: flex; flex-wrap: wrap; gap: 8px; }
.partners__row a { display: grid; place-items: center; height: 70px; padding: 8px 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; }
.partners__row a:hover { border-color: var(--ink); }
.partners img { height: 46px; max-width: 160px; width: auto; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; opacity: .75; }
.partners__row a:hover img, .partners img.keep { filter: none; opacity: 1; }
.partners img.wide { max-width: 210px; }
.partners__row a.has-txt { grid-auto-flow: column; gap: 10px; }   /* значок без надписи — подпись рядом */
.partners__row a.has-txt img { height: 40px; }
.partners__row a.has-txt span { font-size: 21px; font-weight: 800; letter-spacing: -.02em; color: #6f6f6c; }
.partners__row a.has-txt:hover span { color: var(--ink); }   /* длинный логотип: не мельчить */
.partners img.inv, .partners__row a:hover img.inv { filter: grayscale(1) invert(1); }   /* белый логотип на прозрачном фоне */

/* ---------- Вопросы ---------- */
.faq { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); counter-reset: q; }
.faq__list details { border-bottom: 1px solid var(--line); counter-increment: q; }
.faq__list summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr 20px; align-items: baseline; padding: 20px 0; font-weight: 800; font-size: 15px; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before { content: "0" counter(q); font-size: 10.5px; font-weight: 600; color: var(--muted); }
.faq__list summary::after { content: "+"; font-weight: 400; font-size: 20px; line-height: 1; text-align: right; }
.faq__list details[open] summary::after { content: "–"; }
.faq__list details p { margin: -6px 0 20px 34px; font-size: 13.5px; color: var(--muted); max-width: 64ch; }

/* ---------- Заявка ---------- */
.order { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.order .tag { margin-bottom: 22px; }
.order__contacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.order__go { display: flex; flex-direction: column; gap: 10px; max-width: 460px; width: 100%; justify-self: end; }
.order__go p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.form { background: #fff; border: 1px solid var(--ink); padding: clamp(20px, 3vw, 34px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.field { display: flex; flex-direction: column; gap: 7px; margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 0; }
.field legend { margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #cfcfcb; background: #fff; font-size: 14px; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field .err { display: none; font-size: 12px; color: #c62828; }
.field .touched:invalid { border-color: #c62828; }
.field .touched:invalid + .err { display: block; }
.radios { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; position: relative; }
.radios input { position: absolute; left: 0; top: 0; opacity: 0; width: 1px; height: 1px; }
.radios label { min-height: 44px; display: grid; place-items: center; border: 1px solid #cfcfcb; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.radios input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.radios input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.check a { color: var(--ink); }
.check .err { display: none; color: #c62828; }
.check.touched input:invalid ~ span .err { display: inline; }
.check.touched input:invalid { outline: 2px solid #c62828; outline-offset: 1px; }
.form .btn { margin-top: 8px; min-width: 240px; }
.form__done { display: none; padding: 30px 0; }
.form__done p { color: var(--muted); }
.form.is-done form { display: none; }
.form.is-done .form__done { display: block; }

/* ---------- Подвал ---------- */
.ftr { background: var(--ink); color: #fff; padding: 72px 0 26px; border-top: 1px solid #2a2a28; }
.ftr__top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 32px; }
.ftr .lbl { color: #8b8b86; }
.ftr .h2 { font-size: clamp(32px, 3.6vw, 54px); }
.ftr .h2 em { font-style: normal; color: var(--accent); }
.ftr p { color: #a5a5a0; font-size: 13px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 13px; }
.ftr ul a { text-decoration: none; color: #e8e8e4; }
.ftr ul a:hover { color: var(--accent); }
.req { margin-top: 56px; padding-top: 22px; border-top: 1px solid #2a2a28; display: grid; grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 8px 48px; font-size: 12px; color: #a5a5a0; }
.req b { display: block; color: #e8e8e4; font-weight: 600; }
.ftr__bottom { margin-top: 26px; padding-top: 18px; border-top: 1px solid #2a2a28; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8b8b86; }
.ftr__bottom a { text-decoration: none; }
.ftr__bottom a:hover { color: #fff; }
.ftr__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Окно товара */
.dlg { width: min(940px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--ink); background: #fff; color: var(--ink); overflow: auto; }
.dlg::backdrop { background: rgba(0, 0, 0, .55); }
.dlg__in { display: grid; grid-template-columns: 1fr 1fr; }
.dlg__img { background: var(--sand); display: grid; place-items: center; padding: 34px; }
.dlg__img img { width: 100%; max-width: 380px; mix-blend-mode: multiply; }
.dlg__body { padding: clamp(22px, 3.4vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.dlg__body .h3 { font-size: clamp(24px, 2.8vw, 34px); font-weight: 900; letter-spacing: -.02em; line-height: 1.02; padding-right: 40px; }
.dlg__body .tag { align-self: flex-start; }
.dlg__short { margin: 0; font-weight: 700; }
.dlg__text { margin: 0; font-size: 14px; color: var(--muted); }
.dlg__cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; }
.dlg__x { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 1px solid var(--ink); background: #fff; cursor: pointer; display: grid; place-items: center; z-index: 2; }
.dlg__x svg { width: 18px; height: 18px; }
.dlg__tags { display: flex; flex-wrap: wrap; gap: 6px; padding-right: 44px; }
.dlg__tags .tag--white { border: 1px solid var(--line); }
.dlg__text.is-soft { color: var(--muted-2); }
.dlg__vols .lbl { margin: 6px 0 8px; }
.dlg__vols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dlg__vols li { display: inline-flex; flex-direction: column; justify-content: center; min-height: 40px; padding: 4px 10px; border: 1px solid var(--ink); font-size: 12.5px; font-weight: 800; line-height: 1.2; }
.dlg__vols li small { font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.dlg__vols li.is-off { border-color: var(--line); color: var(--muted); }
.dlg__kaspi { margin: 0; font-size: 12.5px; color: var(--muted); }
.dlg__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; width: 100%; }
.dlg__links a { font-size: 12.5px; color: var(--ink); text-underline-offset: 3px; }
.dlg__links a[hidden] { display: none; }
.how__go { margin-top: 30px; }
.empty a { color: var(--ink); font-weight: 700; }
.dlg__kaspi a { color: var(--ink); text-underline-offset: 3px; }

/* Окно заявки: одно обязательное поле */
.ldlg { width: min(520px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; border: 1px solid var(--ink); background: #fff; color: var(--ink); overflow: auto; overscroll-behavior: contain; }
.ldlg::backdrop { background: rgba(0, 0, 0, .55); }
.ldlg__in { padding: clamp(24px, 4vw, 40px); }
.ldlg__t { margin: 14px 0 0; padding-right: 40px; font-size: clamp(28px, 3.4vw, 40px); font-weight: 900; letter-spacing: -.03em; line-height: 1; text-wrap: balance; }
.ldlg__s { margin: 12px 0 20px; max-width: 42ch; font-size: 14.5px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* ловушка для ботов */
.ldlg__terms { margin: -8px 0 18px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ldlg__p { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; padding: 8px 6px 8px 12px; background: var(--sand); font-size: 13.5px; }
.ldlg__p[hidden] { display: none; }
.ldlg__p { flex-direction: column; align-items: stretch; gap: 6px; padding: 10px 12px; }
.ldlg__p ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: 168px; overflow: auto; }
.ldlg__p li { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 800; font-size: 13.5px; }
.ldlg__p li button { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border: 0; background: none; cursor: pointer; }
.ldlg__p li svg { width: 13px; height: 13px; }
.ldlg__q { margin: 0 0 16px; padding: 16px 0 0; border-top: 1px solid var(--line); }
.ldlg__q .lbl { margin: 0 0 10px; }
.ldlg__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ldlg__chips button { min-height: 42px; padding: 0 14px; border: 1px solid var(--ink); background: #fff; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.ldlg__chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.ldlg__ok { margin: -4px 0 14px; font-size: 13px; font-weight: 700; }
.ldlg__ok[hidden] { display: none; }
#lead-wa2 { gap: 10px; }
/* Список для прайса: карточка «Запросить +» кладёт товар в заявку */
.pc__act.is-on { background: var(--ink); color: #fff; }
.pc__act svg { transition: transform .2s var(--ease); }
.pc__act.is-on svg { transform: rotate(45deg); }   /* плюс становится крестиком: нажать ещё раз — убрать из заявки */
.pickbar { position: fixed; left: 16px; bottom: 16px; z-index: 41; display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 16px; background: #fff; border: 1px solid var(--ink); box-shadow: 0 8px 28px rgba(0, 0, 0, .12); font-size: 12.5px; animation: m-in .3s var(--ease) both; }
.pickbar[hidden] { display: none; }
.pickbar__hi { font-weight: 800; }
.pickbar__hi[hidden] { display: none; }
.pickbar__share, .ldlg__share { font-size: 12px; color: var(--ink); text-underline-offset: 3px; }
.ldlg__share { margin-top: 6px; font-weight: 700; }
/* Видео: вопрос закупщика над роликом и шаг к заявке под ним */
.vidc { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.vidc__q { font-size: 13px; font-weight: 800; line-height: 1.3; min-height: 2.6em; }
.vidc__go { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--ink); text-underline-offset: 3px; }
/* Чек-лист поставщика в «Вопросах» */
.check6 { margin-top: 30px; }
.check6 dl { margin: 0; border-top: 1px solid var(--ink); }
.check6 dl > div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4px 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.check6 dt { font-size: 13px; font-weight: 800; }
.check6 dd { margin: 0; font-size: 13px; color: var(--muted); }
.check6 a { color: var(--ink); }
/* Окно товара: спрос словами и настоящая цитата покупателя */
.dlg__rank { margin: 0; font-size: 12.5px; font-weight: 800; }
.dlg__rank[hidden], .dlg__quote[hidden] { display: none; }
.dlg__quote { margin: 0; padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--sand); }
.dlg__quote p { margin: 0; font-size: 13.5px; }
.dlg__quote cite { display: block; margin-top: 4px; font-style: normal; font-size: 11.5px; color: var(--muted); }
.pickbar .btn { min-height: 40px; }
.mbar__n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 8px; padding: 0 6px; background: var(--ink); color: var(--accent); font-size: 11px; border-radius: 11px; }
.mbar__n[hidden] { display: none; }
.ldlg__p span { flex: none; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ldlg__p b { flex: 1; min-width: 0; font-weight: 800; overflow-wrap: anywhere; }
.ldlg__p button { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; background: none; cursor: pointer; }
.ldlg__p svg { width: 14px; height: 14px; }
.ldlg .field input { min-height: 54px; font-size: 18px; font-weight: 600; letter-spacing: .01em; }   /* 16px и больше: iPhone не увеличивает страницу */
.ldlg .field label small { font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--muted); }
.ldlg__alt { align-self: flex-start; padding: 4px 0; border: 0; background: none; font-size: 12.5px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ldlg__alt:hover { color: var(--ink); }
.ldlg__go { width: 100%; margin-top: 4px; }
.ldlg__go:disabled { opacity: .6; cursor: wait; }
.ldlg__or { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.ldlg__or span { font-size: 12px; color: var(--muted); }
.ldlg__or .btn { flex: 1; gap: 10px; }
.ldlg__done { display: none; }
.ldlg__done p { margin: 14px 0 24px; color: var(--muted); }
.ldlg__in.is-done form { display: none; }
.ldlg__in.is-done .ldlg__done { display: block; }

/* Оба окна открываются и закрываются плавно, страница под ними не прокручивается */
html.m-lock { overflow: hidden; }
.dlg[open], .ldlg[open] { animation: m-in .32s var(--ease) both; }
.dlg[open]::backdrop, .ldlg[open]::backdrop { animation: m-fade .32s ease both; }
.dlg.m-closing, .ldlg.m-closing { animation: m-out .19s ease-in both; }
.dlg.m-closing::backdrop, .ldlg.m-closing::backdrop { animation: m-fade-out .19s ease-in both; }
@keyframes m-in { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes m-out { to { opacity: 0; transform: translateY(10px) scale(.99); } }
@keyframes m-up { from { transform: translateY(100%); } }
@keyframes m-down { to { transform: translateY(100%); } }
@keyframes m-fade { from { opacity: 0; } }
@keyframes m-fade-out { to { opacity: 0; } }

/* Куки */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: #fff; padding: 16px var(--g); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; font-size: 12.5px; transform: translateY(110%); transition: transform .4s var(--ease); }
.cookie.on { transform: none; }
.cookie p { margin: 0; max-width: 84ch; color: #d6d6d2; }
.cookie a { color: #fff; }
.cookie div { display: flex; gap: 8px; }
.cookie .btn { min-height: 42px; padding: 0 16px; }

/* Плавающая WhatsApp */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 54px; height: 54px; display: grid; place-items: center; background: var(--accent); color: var(--ink); border: 1px solid var(--ink); text-decoration: none; transition: transform .2s var(--ease), bottom .3s var(--ease); }
.fab:hover { transform: translateY(-2px); }
.fab svg { width: 24px; height: 24px; }
body.has-cookie .fab { bottom: 100px; }

/* Розница — шапка страницы и панель фильтров */
.page-head { padding: clamp(48px, 6vw, 84px) 0 34px; }
.page-head .lead { max-width: 70ch; }
.page-head__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
/* Каталог: поиск и сортировка — под заголовком; разделы — тонкая лента, которая уходит вверх, пока листаете вниз */
.tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tools .search { flex: 0 1 380px; }
.bar { position: sticky; top: 99px; z-index: 20; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); padding: 8px 0; margin-bottom: 26px; transition: transform .3s var(--ease); }
.bar.is-away { transform: translateY(calc(-100% - 1px)); }
.bar .chips { margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.bar .chips::-webkit-scrollbar { display: none; }
.bar .chip { flex: none; }
.search { position: relative; display: block; }
.search input { width: 100%; min-height: 44px; padding: 0 12px 0 36px; border: 1px solid #cfcfcb; font-size: 14px; }
.search input:focus { outline: none; border-color: var(--ink); }
.search svg { position: absolute; left: 10px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; color: var(--muted); }
.sort { min-height: 44px; padding: 0 10px; border: 1px solid #cfcfcb; background: #fff; font-size: 12px; font-weight: 700; }
.found { font-size: 12px; color: var(--muted); margin: -14px 0 22px; }
.empty { display: none; padding: 60px 0; text-align: center; color: var(--muted); }
.empty.on { display: block; }

/* Юридические страницы */
.legal { max-width: 880px; padding-top: clamp(40px, 5vw, 72px); padding-bottom: var(--sec); overflow-wrap: anywhere; }
.legal h1 { font-weight: 900; text-transform: uppercase; letter-spacing: -.025em; line-height: .95; font-size: clamp(22px, 5.6vw, 60px); margin: 0 0 28px; overflow-wrap: normal; }
.legal h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; margin: 40px 0 12px; }
.legal h3 { font-size: 15px; font-weight: 800; margin: 26px 0 10px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.65; }
.legal ul, .legal ol { padding-left: 22px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 13.5px; margin: 14px 0; display: block; overflow-x: auto; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--sand); }
@media (max-width: 640px) { .legal th, .legal td { min-width: 9.5em; overflow-wrap: break-word; hyphens: auto; } }   /* на телефоне таблица листается вбок, слова не рвутся по буквам */
.legal hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

/* Появление */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .slide img { transform: none !important; transition: none; }
  .tab.on i { animation: none; width: 100%; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
  .nav { gap: 14px; }
  /* плитки хитов растут по содержимому: кнопки «Опт» и «Kaspi» встают друг под другом */
  .best { height: auto; grid-template-rows: auto auto; }
  .best__i:not(.best__i--big) .best__ph { flex: none; height: clamp(110px, 13vw, 150px); }
  .best__i:not(.best__i--big) .best__act a { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 1120px) {
  .nav { display: none; }
  .hdr__in { grid-template-columns: 1fr auto 1fr; }
  .burger { display: grid; justify-self: start; grid-column: 1; grid-row: 1; }
  .hdr__logo { grid-column: 2; grid-row: 1; }
  .hdr__right { grid-column: 3; grid-row: 1; }
  .hdr__tel { display: none; }
  .burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, background-color .2s; }
  .burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
  .burger span::before { top: -6px; } .burger span::after { top: 6px; }
  .menu-open .burger span { background: transparent; }
  .menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
  .mnav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--ink); padding: 6px var(--g) 20px; visibility: hidden; transform: translateY(-8px); opacity: 0; transition: .2s var(--ease); max-height: calc(100vh - 100px); overflow: auto; }
  .menu-open .mnav { visibility: visible; transform: none; opacity: 1; }
  .mnav a:not(.btn) { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
  .mnav .btn { width: 100%; margin-top: 16px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .lines { grid-template-columns: repeat(3, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .why__i:nth-child(4n) { border-right: 1px solid var(--line); }
  .why__i:nth-child(2n) { border-right: 0; }
  .why__i:not(:nth-child(4n + 1)) { padding-left: 0; }
  .why__i:nth-child(2n) { padding-left: 22px; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .ftr__top > :first-child { grid-column: span 2; }
  .req { grid-template-columns: 1fr 1fr; }
  .tab span { display: none; }
}
@media (max-width: 1120px) {
  .rb-values { grid-template-columns: repeat(2, 1fr); }
  .rb-values .rb-val:last-child { grid-column: span 2; }
  .rb-logo { grid-template-columns: 1fr 1fr; }
  .rb-logo > p { grid-column: span 2; padding: 12px 0 0; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .facts li:nth-child(3) { border-right: 0; }
  .facts li:nth-child(n + 4) { border-top: 1px solid var(--line); }
}
@media (max-width: 820px) {
  .top__in { grid-template-columns: 1fr; }
  .top__ph { padding: 0 var(--g) 28px; }
  .best { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .best__i--big { grid-row: auto; grid-column: span 2; }
  .best__i--big .best__ph { flex: none; height: clamp(220px, 52vw, 360px); }
  .best__i:not(.best__i--big) .best__ph { flex: none; height: clamp(120px, 30vw, 200px); }
  .doors { max-width: none; }
  .how--flat .steps { grid-template-columns: 1fr; }
  .how--flat .steps li { grid-template-columns: 56px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line-ink); }
  .how--flat .steps li + li { padding-left: 0; border-left: 0; }
  .how--flat .steps li::before { grid-row: span 2; margin: 0; }
  .rebrand__head, .rb-intro, .rb-two, .rb-aud, .rb-pack, .rb-when { grid-template-columns: 1fr; }
  .rb-line { grid-template-columns: 80px minmax(0, 1fr); }
  .rb-line__txt { grid-column: span 2; }
  .rb-utp__row { grid-template-columns: 1fr; }
  .rb-utp__row > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(0, 0, 0, .2); }
  .hero { height: auto; min-height: 0; }
  .slide { position: relative; display: none; }
  .slide.on { display: block; }
  .slide::after { background: linear-gradient(180deg, rgba(0, 0, 0, .02) 25%, rgba(0, 0, 0, .72) 74%); }
  .slide__in { min-height: 680px; justify-content: flex-end; padding-top: 140px; padding-bottom: 120px; }
  .tab { flex-direction: column; gap: 2px; padding: 10px 8px; align-items: flex-start; }
  .tab b { font-size: 13px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 12px 22px 0; border-bottom: 1px solid var(--line); }
  .stat:nth-child(2n) { border-right: 0; padding-left: 16px; }
  .stat:nth-child(2n + 1) { padding-left: 0; }
  .stat:nth-last-child(-n + 2) { border-bottom: 0; }
  .how, .faq, .order, .rev { grid-template-columns: 1fr; }
  .calc__box { grid-template-columns: 1fr; }
  .dlg__in { grid-template-columns: 1fr; }
  .dlg__img { padding: 18px; }
  .dlg__img img { max-width: 220px; }
  .order__go { justify-self: start; }
}
@media (max-width: 1120px) {
  .grid--5 { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--g); margin: 0 calc(var(--g) * -1); padding: 0 var(--g) 6px; scrollbar-width: thin; }
  .grid--5 .pc { flex: 0 0 min(30%, 240px); scroll-snap-align: start; }
}
@media (max-width: 600px) {
  body { font-size: 14px; }
  .strip { font-size: 9.5px; letter-spacing: .08em; }
  .hdr__in { height: 58px; }
  .hdr__logo img { height: 22px; }
  .bar { top: 93px; }
  html { scroll-padding-top: 102px; }
  .slide .h1 { font-size: 42px; }
  .band__in { font-size: 10px; gap: 8px; letter-spacing: .05em; }
  .band__in span { display: none; }
  .top .h1 { font-size: min(40px, 7.9vw); }
  .top__cta .btn { flex: 1 1 100%; }
  .best__i:not(.best__i--big) .best__act a { flex: 1 1 100%; justify-content: center; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-right: 1px solid var(--line); }
  .facts li:nth-child(2n) { border-right: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .facts li:last-child { grid-column: span 2; }
  .rb-values { grid-template-columns: 1fr; }
  .rb-values .rb-val:last-child { grid-column: auto; }
  .rb-line dl { grid-template-columns: 1fr; gap: 2px; }
  .rb-line dd { margin-bottom: 8px; }
  .rb-logo { grid-template-columns: 1fr; }
  .rb-logo > p { grid-column: auto; }
  .rb-quotes p:nth-child(n) { margin-left: 0; }
  .slide__in { min-height: 640px; }
  .slide__cta .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: 1fr 1fr; gap: 24px 10px; }
  .pc__name { font-size: 13.5px; hyphens: auto; -webkit-hyphens: auto; }
  .pc__desc { font-size: 12px; }
  .pc__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .pc__act { padding: 0 8px; font-size: 10px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--g) * -1); margin-right: calc(var(--g) * -1); padding: 0 var(--g) 2px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .seg { display: flex; width: 100%; }
  .seg button, .seg a { flex: 1; justify-content: center; padding: 0 10px; }
  .lines { grid-template-columns: 1fr 1fr; gap: 8px; }
  .lines .lt:last-child { grid-column: span 2; aspect-ratio: 16 / 10; }
  .lt__card { padding: 9px 10px; } .lt__card span { display: none; }
  .why { grid-template-columns: 1fr; }
  .why__i, .why__i:nth-child(2n), .why__i:nth-child(4n) { border-right: 0; padding-left: 0; }
  .why__i::before { margin-bottom: 12px; }
  .vids { grid-template-columns: 1fr 1fr; }
  .partners__row { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(var(--g) * -1); padding: 0 var(--g) 4px; scrollbar-width: none; }
  .partners__row::-webkit-scrollbar { display: none; }
  .partners__row a { flex: none; }
  .vids .vidc:last-child { display: none; }
  .check6 dl > div { grid-template-columns: 1fr; }
  .cf { grid-template-columns: 1fr; }
  .cf__in input { font-size: 18px; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { width: 100%; }
  .ftr__top, .req { grid-template-columns: 1fr; }
  .ftr__top > :first-child { grid-column: auto; }
  .tools { margin-top: 22px; }
  .tools .search, .tools__sort { flex: 1 1 100%; }
  .tools .sort { width: 100%; }
  .search input { font-size: 16px; }   /* меньше 16px — iPhone увеличивает страницу при вводе */
  .bar { padding: 6px 0; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cookie div .btn { flex: 1; justify-content: center; }
  body.has-cookie .fab { bottom: 190px; }
  .grid--5 .pc { flex-basis: 46%; }
  .hdr__cta { display: none; }
  .fab { display: none; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; padding: 8px max(16px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: #fff; border-top: 1px solid var(--ink); }
  .mbar .btn { min-height: 46px; padding: 0 12px; justify-content: center; gap: 8px; }
  .pickbar { display: none !important; }   /* на телефоне счётчик — на нижней кнопке */
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  /* окна — снизу, как лист: тянутся к большому пальцу */
  .dlg, .ldlg { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-width: 1px 0 0; }
  .dlg[open], .ldlg[open] { animation-name: m-up; }
  .dlg.m-closing, .ldlg.m-closing { animation-name: m-down; }
  .ldlg__in { padding: 22px 16px calc(22px + env(safe-area-inset-bottom, 0px)); }
  .dlg__body { padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
  .dlg__cta .btn { flex: 1 1 100%; justify-content: center; }
  .dlg__cta { position: sticky; bottom: 0; z-index: 3; margin: auto calc(clamp(22px, 3.4vw, 40px) * -1) 0; padding: 12px clamp(22px, 3.4vw, 40px) calc(12px + env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid var(--line); }   /* кнопка заявки всегда под пальцем */
  .trust__logos img { height: 18px; }
}
@media (max-width: 1120px) {
  .bar .chips { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
}
@media (prefers-reduced-motion: reduce) {
  .bar { transition: none; }
  .dlg[open], .ldlg[open], .dlg[open]::backdrop, .ldlg[open]::backdrop { animation: none; }
}
