/* Оборудование-МСО.рф — редизайн 2026-09. Белый фон, синие кнопки, Manrope. База — шаблон cleanavto.ru. */
:root {
  --navy: #0F172A;
  --ink: #1E293B;
  --text: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FB;
  --blue: #0369A1;
  --blue-h: #075985;
  --blue-soft: #E0F2FE;
  --sky: #38BDF8;
  --tg: #229ED9;
  --max: #6A3DE8;
  --ok: #15803D;
  --err: #B91C1C;
  --r: 14px;
  --r-sm: 10px;
  --sh: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px rgba(15, 23, 42, .06);
  --sh-h: 0 2px 4px rgba(15, 23, 42, .08), 0 16px 36px rgba(15, 23, 42, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 12px); }
body { margin: 0; font: 400 16px/1.6 Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-h); }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; margin: 0; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 880px; }
.ic { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.h2 { font-size: clamp(26px, 3.2vw, 38px); }
.h3 { font-size: 22px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 1.5px solid transparent; border-radius: var(--r-sm);
  font-weight: 700; font-size: 16px; line-height: 1.2; text-align: center; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
  touch-action: manipulation; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn .ic { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(3, 105, 161, .25); }
.btn--primary:hover { background: var(--blue-h); color: #fff; }
.btn--light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--light:hover { background: #fff; color: var(--navy); }
.btn--ghost { background: #fff; color: var(--blue); border-color: #BAE0F5; }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue-h); }
.btn--tg { background: #fff; color: var(--navy); border-color: #BFE3F4; }
.btn--tg:hover { background: #EAF6FC; border-color: var(--tg); color: var(--navy); }
.btn--max { background: #fff; color: var(--navy); border-color: #D9CCFB; }
.btn--max:hover { background: #F3EFFE; border-color: var(--max); color: var(--navy); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--lg { min-height: 54px; padding: 14px 26px; font-size: 17px; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .55; cursor: progress; }
.max-ic, .tg-ic { width: 22px; height: 22px; flex: none; border-radius: 6px; }
.tg-ic { border-radius: 50%; }
.msgs { display: flex; flex-wrap: wrap; gap: 10px; }
.msgs .btn { flex: 1 1 140px; }
.msgs--block { flex-direction: column; }
.msgs--block .btn { flex: none; width: 100%; }

/* ---------- Верхняя строка и шапка ---------- */
.topline { background: var(--navy); color: #CBD5E1; font-size: 13px; }
.topline__in { display: flex; align-items: center; gap: 24px; min-height: 36px; }
.topline__in > * { display: inline-flex; align-items: center; gap: 6px; }
.topline .ic { width: 15px; height: 15px; color: var(--sky); }
.topline a { color: #CBD5E1; }
.topline a:hover { color: #fff; }
.topline__right:first-of-type { margin-left: auto; }

.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow .2s var(--ease); }
.hdr.is-stuck { box-shadow: 0 6px 20px rgba(15, 23, 42, .08); }
.hdr__bar { display: flex; align-items: center; gap: 20px; min-height: var(--hdr-h); }
.hdr__logo { display: flex; align-items: center; gap: 12px; flex: none; }
.hdr__nav { display: flex; gap: 2px; margin: 0 auto; }
.hdr__nav a { color: var(--ink); font-weight: 600; font-size: 15px; white-space: nowrap; padding: 10px 11px; border-radius: 8px; transition: background-color .2s, color .2s; }
.hdr__nav a:hover { background: var(--blue-soft); color: var(--blue-h); }
.hdr__side { display: flex; align-items: center; gap: 8px; flex: none; }
.hdr__phone { display: flex; flex-direction: column; align-items: flex-end; margin-right: 6px; line-height: 1.2; }
.hdr__phone-num { font-weight: 800; color: var(--navy); font-size: 17px; white-space: nowrap; }
.hdr__phone-hint { font-size: 12px; color: var(--muted); white-space: nowrap; }
.hdr__phone:hover .hdr__phone-num { color: var(--blue); }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); color: var(--blue); background: #fff; transition: border-color .2s, background-color .2s; }
.icon-btn:hover { border-color: var(--blue); background: var(--blue-soft); }
.icon-btn--tg:hover { border-color: var(--tg); background: #EAF6FC; }
.icon-btn--max:hover { border-color: var(--max); background: #F3EFFE; }
.icon-btn .tg-ic, .icon-btn .max-ic { width: 26px; height: 26px; }
.hdr__mob { display: none; align-items: center; gap: 8px; margin-left: auto; }
.hdr__burger { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hdr__burger span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; }

.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .5); opacity: 0; transition: opacity .25s var(--ease); }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: #fff; padding: 16px 20px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow-y: auto;
  transform: translateX(100%); transition: transform .28s var(--ease); }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer__top .logo__txt small { display: none; }
.drawer__top .logo__d { display: block; }
.drawer__top .logo__txt b { font-size: 16px; line-height: 1.1; }
.drawer__top { gap: 12px; }
.drawer__close { width: 44px; height: 44px; border: 0; background: var(--bg-alt); border-radius: 12px; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.drawer__panel > a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--navy); font-weight: 700; font-size: 17px; }
.drawer__foot { margin-top: 20px; display: grid; gap: 10px; }
.drawer__phone { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 20px; color: var(--navy); }
.drawer__hint { text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Логотип ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); }
.logo__mark { width: 40px; height: 40px; flex: none; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo__txt b { font-size: 18px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.logo__txt em { font-style: normal; color: var(--blue); }
.logo__txt small { font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.logo--light { color: #fff; }
.logo--light .logo__txt em { color: var(--sky); }
.logo--light .logo__txt small { color: #94A3B8; }

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background:
  radial-gradient(900px 480px at 85% 30%, rgba(56, 189, 248, .18), transparent 70%),
  linear-gradient(180deg, #F4F9FD 0%, #FFFFFF 100%); border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 40px; align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 72px); }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: #075985; background: var(--blue-soft); border: 1px solid #BAE6FD; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero__kicker .ic { width: 16px; height: 16px; }
.hero__title { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.02em; }
.hero__lead { margin-top: 18px; font-size: clamp(16px, 1.4vw, 18.5px); max-width: 640px; }
.hero__ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.hero__ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; color: var(--ink); }
.hero__ticks .ic { color: var(--blue); width: 20px; height: 20px; margin-top: 2px; }
.hero__msg { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 20px; font-size: 15px; color: var(--muted); }
.msgs--hero .btn { flex: none; min-height: 44px; padding: 8px 16px; }
.hero__media { position: relative; justify-self: center; width: 100%; max-width: 520px; }
.hero__media::before { content: ""; position: absolute; inset: 8% 4% 2%; z-index: -1; border-radius: 32px; background: linear-gradient(160deg, #E0F2FE, #F8FAFC); }
.hero__media img { width: 100%; height: auto; mix-blend-mode: multiply; }
.hero__chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-h); }
.hero__chip .ic { width: 22px; height: 22px; color: var(--blue); }
.hero__chip span { display: flex; flex-direction: column; font-size: 12.5px; color: var(--muted); line-height: 1.25; }
.hero__chip b { font-size: 17px; color: var(--navy); font-weight: 800; }
.hero__chip--a { left: -6%; top: 18%; }
.hero__chip--b { right: -2%; bottom: 14%; }

/* Подбор по числу постов */
.pick { margin-top: 26px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh); display: grid; grid-template-columns: auto 1fr; grid-template-areas: "t t" "o b"; gap: 12px 16px; align-items: center; max-width: 600px; }
.pick__title { grid-area: t; font-weight: 700; color: var(--navy); }
.pick__opts { grid-area: o; display: flex; gap: 8px; }
.pick__opt { position: relative; cursor: pointer; }
.pick__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick__opt span { display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 52px; padding: 0 10px; border: 1.5px solid #CBD5E1; border-radius: 12px; font-weight: 800; font-size: 18px; color: var(--ink); transition: border-color .2s, background-color .2s, color .2s; }
.pick__opt:hover span { border-color: var(--blue); }
.pick__opt input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.pick__opt input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.pick__btn { grid-area: b; }

/* ---------- Цифры ---------- */
.stats { background: #fff; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 20px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: clamp(26px, 3vw, 36px); font-weight: 800; color: var(--blue); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); }

/* ---------- Секции ---------- */
.sec { padding: clamp(56px, 7vw, 96px) 0; }
.sec--alt { background: var(--bg-alt); }
.sec__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 44px); }
.sec__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.sec__lead { margin-top: 12px; font-size: 17px; color: var(--text); }

.cards { display: grid; gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.card:hover { box-shadow: var(--sh-h); transform: translateY(-2px); }
.card__img { position: relative; background: #F1F5F9; aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__img--sq { aspect-ratio: 1; }
.card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 22px; }
.card__type { font-size: 13px; font-weight: 600; color: var(--muted); }
.card__title { font-size: 24px; margin-top: 4px; }
.card__title--sm { font-size: 20px; }
.card__note { margin-top: 6px; color: var(--text); font-size: 15px; }
.card__text { margin-top: 10px; font-size: 15px; }
.card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; }
.card--row { flex-direction: row; }
.card--row .card__img { flex: 0 0 42%; aspect-ratio: auto; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--blue); color: #fff; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.price { font-size: 26px; font-weight: 800; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price span { font-size: 15px; font-weight: 600; color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; }
.ticks li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.ticks .ic { width: 18px; height: 18px; color: var(--blue); margin-top: 3px; }

/* ---------- Комплекты ---------- */
.kit { position: relative; display: flex; flex-direction: column; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--sh); transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.kit:hover { box-shadow: var(--sh-h); transform: translateY(-2px); }
.kit--hl { border: 2px solid var(--blue); }
.badge--top { top: -13px; left: 22px; z-index: 1; }
.kit__img { margin: -6px -6px 0; border-radius: 12px; background: #F8FAFC; aspect-ratio: 16 / 11; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.kit__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.kit__title { font-size: 26px; margin-top: 2px; }
.kit__title span { font-size: 17px; font-weight: 700; color: var(--muted); }
.kit__for { margin-top: 6px; font-size: 15px; }
.specs { margin: 0; display: grid; }
.specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--ink); font-weight: 600; }
.specs dt small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.specs dd { margin: 0; font-weight: 800; color: var(--navy); text-align: right; white-space: nowrap; }
.specs--compact div { font-size: 14.5px; padding: 6px 0; }
.specs--compact dt { color: var(--muted); font-weight: 400; }
.specs--compact dd { font-weight: 700; }
.kit > .btn { margin-top: auto; }
.kits__more { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 18px 20px; border-radius: var(--r); background: var(--bg-alt); font-size: 15.5px; }
.kits__more .ic { color: var(--blue); margin-top: 2px; }
.link-btn { display: inline; padding: 0; border: 0; background: none; color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--blue-h); }
.card__sub { font-size: 16px; font-weight: 700; color: var(--muted); }
.card .specs { margin-top: 12px; }

/* ---------- Программы и оплата ---------- */
.opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.opt { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.opt__ic { flex: none; display: inline-flex; width: 52px; height: 52px; border-radius: 14px; background: var(--blue); color: #fff; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(3, 105, 161, .22); }
.opt__ic .ic { width: 26px; height: 26px; }
.opt__type { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.opt h3 { font-size: 19px; margin-top: 2px; }
.opt p:last-child { margin-top: 6px; font-size: 15px; }

/* ---------- Комплектующие ---------- */
.equip { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.equip__media { position: relative; }
.equip__media img { width: 100%; border-radius: 18px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--sh-h); }
.equip__note { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; background: rgba(255, 255, 255, .95); border-radius: 14px; font-size: 14.5px; box-shadow: var(--sh); }
.equip__note b { color: var(--navy); font-size: 16px; }
.equip .sec__head { margin-bottom: 24px; }
.equip__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.equip__list li { display: flex; gap: 14px; align-items: flex-start; }
.equip__ic { flex: none; display: inline-flex; width: 44px; height: 44px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); align-items: center; justify-content: center; }
.equip__list h3 { font-size: 17px; }
.equip__list p { margin-top: 4px; font-size: 14.5px; }

/* ---------- Бренды ---------- */
.brands { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.brands__title { font-size: 15px; font-weight: 700; color: var(--muted); text-align: center; margin-bottom: 22px; }
.brands__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.brands__list li { display: flex; align-items: center; justify-content: center; height: 76px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.brands__list img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.brands__list li:hover img { filter: none; opacity: 1; }

/* ---------- Баннер мессенджеров ---------- */
.band { background: linear-gradient(120deg, #0C4A6E 0%, var(--blue) 60%, #0284C7 100%); color: #fff; }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 40px; padding-bottom: 40px; }
.band__title { color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.band__text p { margin-top: 8px; color: #E0F2FE; max-width: 620px; }
.msgs--band { flex: none; }
.msgs--band .btn { min-width: 170px; border-color: transparent; }

/* ---------- Галерея ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 22vw, 300px); gap: 16px; }
.gallery__item { position: relative; display: block; border-radius: var(--r-sm); overflow: hidden; background: #F1F5F9; }
.gallery__item--big { grid-column: span 2; grid-row: span 2; }
.gallery__item--big img { object-position: 50% 15%; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease); }
.gallery__item:hover img { transform: scale(1.03); }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 14px; font-weight: 600; color: #fff; background: linear-gradient(rgba(15, 23, 42, 0), rgba(15, 23, 42, .75)); }

/* ---------- Преимущества, шаги ---------- */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.feat__ic { display: inline-flex; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); align-items: center; justify-content: center; margin-bottom: 14px; }
.feat__ic .ic { width: 24px; height: 24px; }
.feat h3 { font-size: 18px; }
.feat p { margin-top: 6px; font-size: 15px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.steps li { position: relative; padding: 22px 18px; border-radius: var(--r); background: var(--bg-alt); }
.steps__n { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 12px; }
.sec--alt .steps li { background: #fff; border: 1px solid var(--line); }
.steps h3 { font-size: 17px; }
.steps p { margin-top: 6px; font-size: 14.5px; }

/* ---------- SEO-текст ---------- */
.fold { position: relative; max-height: 260px; overflow: hidden; margin-top: 20px; transition: max-height .4s var(--ease); }
.fold::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(rgba(244, 247, 251, 0), var(--bg-alt)); pointer-events: none; }
.fold.is-open { max-height: none; }
.fold.is-open::after { display: none; }
.no-js .fold, html:not(.js) .fold { max-height: none; }
.fold__btn { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; min-height: 44px; padding: 8px 0; border: 0; background: none; color: var(--blue); font-weight: 700; }
.fold__btn .ic { transition: transform .2s; }
.fold__btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.prose h3 { font-size: 20px; margin: 24px 0 8px; }
.prose p { margin: 10px 0; }
.prose ul { margin: 10px 0; padding-left: 22px; }
.prose li { margin: 4px 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: border-color .2s; }
.faq__item[open] { border-color: #BAE0F5; box-shadow: var(--sh); }
.faq__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; color: var(--navy); font-size: 17px; cursor: pointer; min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { color: var(--blue); transition: transform .2s; }
.faq__item[open] summary .ic { transform: rotate(180deg); }
.faq__a { padding: 0 22px 20px; }
.faq__more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 22px; border-radius: var(--r); background: var(--bg-alt); }
.faq__more p { font-weight: 600; color: var(--ink); }
.faq__more .msgs .btn { flex: none; min-width: 150px; }

/* ---------- Контакты и форма ---------- */
.contacts { padding: clamp(56px, 7vw, 96px) 0; background: var(--bg-alt); border-top: 1px solid var(--line); }
.contacts__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 48px; align-items: start; }
.contacts__lead { margin-top: 12px; font-size: 17px; }
.contacts__list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.contacts__list li { display: flex; gap: 14px; align-items: flex-start; }
.contacts__list .ic { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.contacts__list div { display: flex; flex-direction: column; }
.contacts__list a, .contacts__list span:first-child { font-weight: 700; color: var(--navy); font-size: 17px; }
.contacts__list .muted { font-size: 14px; font-weight: 400; }
.contacts__msg { margin-top: 28px; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.contacts__msg-title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.contacts__msg-title .ic { color: var(--blue); }
.contacts__form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--sh); }
.contacts__form .muted { margin-top: 6px; font-size: 15px; }

.form { display: grid; gap: 14px; margin-top: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.req { color: var(--err); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #CBD5E1; border-radius: var(--r-sm); font: inherit; font-size: 16px; color: var(--navy); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(3, 105, 161, .18); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.field__err { font-size: 13.5px; color: var(--err); font-weight: 600; }
.form__note { font-size: 12.5px; color: var(--muted); text-align: center; }
.form__result:empty { display: none; }
.form__result { padding: 12px 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 15px; }
.form__result.is-ok { background: #DCFCE7; color: var(--ok); }
.form__result.is-err { background: #FEE2E2; color: var(--err); }

/* ---------- Подвал ---------- */
.foot { background: var(--navy); color: #94A3B8; font-size: 15px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 32px; padding-top: 52px; padding-bottom: 36px; }
.foot__brand img { width: 160px; }
.foot__brand p { margin-top: 14px; max-width: 340px; }
.foot h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.foot__nav, .foot__contacts { display: flex; flex-direction: column; gap: 8px; }
.foot a { color: #CBD5E1; }
.foot a:hover { color: #fff; }
.foot__phone { font-weight: 800; font-size: 19px; color: #fff !important; }
.foot__msgs { display: flex; gap: 16px; margin: 4px 0; }
.foot__msgs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.foot__msgs .max-ic, .foot__msgs .tg-ic { width: 20px; height: 20px; }
.foot .muted { color: #94A3B8; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid #1E293B; font-size: 13px; }

/* ---------- Модалка и лайтбокс ---------- */
.modal, .lb { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden], .lb[hidden], .drawer[hidden] { display: none; }
.modal__backdrop, .lb__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .6); }
.modal__box { position: relative; width: 100%; max-width: 480px; max-height: calc(100dvh - 32px); overflow-y: auto; background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 24px 60px rgba(15, 23, 42, .3);
  animation: pop .22s var(--ease); }
.modal__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 0; background: var(--bg-alt); border-radius: 12px; color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.modal__box .h3 { padding-right: 48px; }
.modal__lead { margin-top: 6px; font-size: 15px; }
.msgs--modal { margin-top: 12px; }
.msgs--modal .btn { min-height: 44px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.lb__fig { position: relative; margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb__img { max-height: calc(100dvh - 110px); width: auto; border-radius: 10px; background: #fff; }
.lb__cap { color: #fff; margin-top: 10px; font-weight: 600; text-align: center; }
.lb__btn { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; }
.lb__btn:hover { background: #fff; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb__close { top: 16px; right: 16px; }
body.is-locked { overflow: hidden; }

/* ---------- Адаптив ---------- */
@media (max-width: 1379px) {
  .hdr__phone-hint { display: none; }
  .hdr__logo .logo__txt small { display: none; }
}
@media (max-width: 1279px) {
  .hdr__cta { display: none; }
  .hdr__nav a { padding: 10px 8px; font-size: 14.5px; }
  .hdr__phone-hint { display: none; }
}
@media (max-width: 1100px) {
  .opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brands__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .equip { grid-template-columns: 1fr; }
  .equip__media { max-width: 640px; }
  .equip__media img { aspect-ratio: 3 / 2; }
  .hdr__nav, .hdr__side, .topline { display: none; }
  .hdr__mob { display: flex; }
  .cards--2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__media { max-width: 400px; }
  .hero__chip--a { left: 0; }
  .hero__chip--b { right: 0; }
  .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--3 > :last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 12px); }
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contacts__grid { grid-template-columns: 1fr; gap: 36px; }
  .band__in { flex-direction: column; align-items: flex-start; }
  .msgs--band { width: 100%; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 767px) {
  .hero__media { max-width: 300px; }
  .hero__chip { padding: 8px 10px; }
  .hero__chip b { font-size: 15px; }
  .pick { grid-template-columns: 1fr; grid-template-areas: "t" "o" "b"; }
  .pick__opts .pick__opt { flex: 1; }
  .pick__opt span { width: 100%; }
  .opts { grid-template-columns: 1fr; }
  .equip__list { grid-template-columns: 1fr; }
  .brands__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .brands__list li { height: 64px; padding: 10px; }
  .brands__list img { max-height: 36px; }
  :root { --hdr-h: 64px; }
  .topline { display: none; }
  .cards--3 { grid-template-columns: 1fr; }
  .cards--3 > :last-child:nth-child(odd) { width: auto; justify-self: stretch; }
  .card--row { flex-direction: column; }
  .card--row .card__img { flex: none; aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
  .steps__n { grid-row: span 2; margin: 0; }
  .form__row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; gap: 10px; }
  .gallery__cap { font-size: 12.5px; padding: 22px 10px 8px; }
  .gallery__item:not(.gallery__item--big) .gallery__cap { display: none; }
  .msgs--band .btn, .faq__more .msgs .btn { min-width: 0; flex: 1 1 0; }
  .faq__more .msgs { width: 100%; }
  .foot__grid { grid-template-columns: 1fr; gap: 26px; }
  .contacts__form { padding: 22px 18px; }
  .modal { align-items: flex-end; padding: 0; }
  .modal__box { max-width: none; border-radius: 18px 18px 0 0; padding: 24px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 92dvh; }
  .lb__prev, .lb__next { top: auto; bottom: 16px; transform: none; }
}
@media (max-width: 560px) {
  .hdr__logo .logo__txt b { font-size: 15px; line-height: 1.1; }
  .hdr__logo .logo__d { display: block; }
  .logo__mark { width: 36px; height: 36px; }
  .hdr__bar { gap: 10px; }
  .hdr__logo .logo { gap: 8px; }
  .brands__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feats { grid-template-columns: 1fr; }
  .card__foot { flex-wrap: wrap; }
  .card__foot .btn { flex: 1 1 100%; }
  .hdr__mob { gap: 6px; }
  .hdr__mob .icon-btn, .hdr__burger { width: 42px; height: 42px; }
  .price { font-size: 24px; }
}
@media (max-width: 374px) {
  .hdr__mob .icon-btn--tg { display: none; }
  .hero__title { font-size: 28px; }
  .hero__kicker { font-size: 13px; }
  .pick__opt span { min-width: 0; }
  .hdr__logo .logo__txt b { font-size: 14px; }
  .hdr__logo .logo__mark { width: 32px; height: 32px; }
  .hdr__logo .logo { gap: 7px; }
  .hdr__bar { gap: 8px; }
  .hdr__mob { gap: 5px; }
  .hdr__mob .icon-btn, .hdr__burger { width: 40px; height: 40px; }
  .wrap { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 404 ---------- */
.nf__in { text-align: center; }
.nf__code { font-size: clamp(72px, 12vw, 120px); font-weight: 800; line-height: 1; color: var(--blue-soft); -webkit-text-stroke: 2px var(--blue); margin-bottom: 12px; }
.nf .sec__lead { margin-left: auto; margin-right: auto; max-width: 560px; }
.nf__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
