/* =========================================================
   Видеонаблюдение — стили сайта (дизайн 2026)
   ========================================================= */
:root {
  --ink: #001E46;
  --text: #2B3A55;
  --muted: #596476;
  --bg: #EFF2F6;
  --card: #fff;
  --line: #E1E7EF;
  --blue: #1565C0;
  --blue-d: #0F4FA0;
  --sky: #1C8FD8;
  --sky-soft: #E3F0FC;
  --grad: linear-gradient(97deg, #3AA3EC 0%, #1565C0 120%);
  --grad-h: linear-gradient(97deg, #2E97E2 0%, #0F4FA0 120%);
  --soft: radial-gradient(100.64% 120.11% at 75.84% 70.4%, rgba(248, 248, 253, .92) 0, rgba(179, 210, 245, .92) 100%);
  --soft-warm: radial-gradient(100% 120% at 76% 70%, rgba(250, 248, 245, .92) 0, rgba(224, 206, 190, .92) 100%);
  --soft-green: radial-gradient(160% 600% at 148% 13%, rgba(222, 236, 231, .9) 0, rgba(140, 178, 167, .75) 100%);
  --inset: inset 0 0 18px rgba(174, 188, 210, .24);
  --shadow: 0 20px 50px rgba(0, 30, 70, .08);
  --navy: #0B1F3F;
  --green: #15803D;
  --red: #D93A3F;
  --amber: #B45309;
  --r-xl: 40px;
  --r-lg: 32px;
  --r-md: 24px;
  --wrap: 1360px;
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; font-weight: 500; line-height: 1.55; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .15s; }
a:hover { color: var(--blue); }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 3px solid rgba(28, 143, 216, .5); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.muted { color: var(--muted); }
.is-blue, .hl { color: var(--sky); }
.ico { flex: none; }
.ico--blue { color: var(--blue); }
.ico--green { color: var(--green); }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--green { background: #22C55E; }
.dot--red { background: #FF4D4F; }
.dot--blink { animation: blink 1.2s steps(2) infinite; }

/* ---------- Типографика ---------- */
.h1 { font-weight: 700; font-size: clamp(34px, 5vw, 64px); line-height: 1.08; letter-spacing: -.025em; }
.h1--article { font-size: clamp(30px, 3.6vw, 48px); }
.h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
.h2--wide { max-width: 900px; margin-bottom: 32px; }
.h3 { font-weight: 700; font-size: 24px; }
.eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.eyebrow--muted { color: var(--muted); }
.eyebrow--light { color: #DCEBFF; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 100px; border: 0; font-weight: 600; font-size: 16px; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.btn--primary { background: var(--grad); color: #fff; }
.btn--primary:hover { background: var(--grad-h); color: #fff; box-shadow: 0 10px 26px rgba(21, 101, 192, .3); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000F28; color: #fff; }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: var(--inset); }
.btn--ghost:hover { color: var(--blue); box-shadow: var(--inset), 0 0 0 2px rgba(21, 101, 192, .25); }
.btn--white { background: #fff; color: var(--blue); }
.btn--lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn--sm { height: 44px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--shadow { box-shadow: 0 12px 30px rgba(21, 101, 192, .28); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn:active { transform: scale(.98); }
.round { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--blue); box-shadow: var(--inset); flex: none; transition: background .15s, color .15s; }
.round:hover { background: var(--blue); color: #fff; }
.round--lg { width: 58px; height: 58px; }
.round--sm { width: 44px; height: 44px; }
.round--glass { background: rgba(255, 255, 255, .16); color: #fff; box-shadow: none; backdrop-filter: blur(6px); }
.btn-pair { display: inline-flex; align-items: center; gap: 4px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); }
.pill-link { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 100px; background: #fff; box-shadow: var(--inset); font-weight: 600; font-size: 15px; }

/* ---------- Топбар и шапка ---------- */
.topbar { font-size: 13px; color: var(--muted); }
.topbar__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-top: 12px; padding-bottom: 4px; }
.city-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 4px 0; font-weight: 700; color: var(--ink); font-size: 13px; }
.topbar__nav { display: flex; flex-wrap: wrap; gap: 20px; }
.topbar__nav a { color: var(--muted); }
.topbar__nav a:hover { color: var(--blue); }
.topbar__note { display: inline-flex; align-items: center; gap: 8px; }

.header { position: sticky; top: 0; z-index: 40; padding: 10px 0; transition: background .2s, box-shadow .2s; }
.header.is-stuck { background: rgba(239, 242, 246, .88); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(0, 30, 70, .06); }
.header__in { display: flex; align-items: center; gap: 14px; min-height: 56px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; margin-right: 6px; }
.logo img { height: 44px; width: auto; }
.logo__mark { width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; }
.logo__text { font-weight: 800; font-size: 19px; letter-spacing: -.02em; color: var(--ink); max-width: 200px; line-height: 1.1; }
.logo--light .logo__text { color: var(--ink); }

.nav { display: flex; align-items: center; gap: 2px; background: #fff; border-radius: 100px; padding: 4px; box-shadow: var(--inset); }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; height: 44px; padding: 0 16px; border: 0; background: none; font-weight: 600; font-size: 15px; color: var(--ink); border-radius: 100px; transition: background .15s, color .15s; }
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--bg); color: var(--blue); }
.nav__link .ico { transition: transform .2s; }
.nav__drop { position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; background: #fff; border-radius: 28px; padding: 10px; box-shadow: 0 24px 60px rgba(0, 30, 70, .14); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .18s; }
.nav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__drop a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; font-weight: 600; font-size: 15px; }
.nav__drop a .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--sky-soft); }
.nav__drop a:hover { background: var(--bg); }
.nav__item:hover .nav__drop, .nav__item:focus-within .nav__drop, .nav__item.is-open .nav__drop { opacity: 1; visibility: visible; transform: none; }
.nav__item:hover .nav__link .ico, .nav__item.is-open .nav__link .ico { transform: rotate(180deg); }
.nav__mobile-extra { display: none; }

.header__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.header__city { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border-radius: 100px; border: 0; background: #fff; box-shadow: var(--inset); font-weight: 600; font-size: 15px; color: var(--ink); }
.header__phone { display: flex; flex-direction: column; line-height: 1.2; padding: 0 6px; }
.header__phone span { font-weight: 700; font-size: 16px; white-space: nowrap; }
.header__phone small { font-size: 12px; color: var(--muted); }
.burger { display: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--inset); align-items: center; justify-content: center; }

/* ---------- Первый экран (главная) ---------- */
.hero2 { padding: 16px 0 0; }
.hero2__top { display: flex; flex-wrap: wrap; gap: 16px; }
.hero2__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 24px 24px 24px 0; }
.hero2__lead { font-size: 19px; line-height: 1.55; color: var(--text); max-width: 540px; }
.hero2__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hero2__feed { flex: 1.3 1 560px; min-width: 0; }
.hero2__tiles { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: #fff; box-shadow: var(--inset); border-radius: 100px; padding: 8px 16px; font-size: 13px; font-weight: 700; color: var(--ink); }

.tile { position: relative; flex: 1 1 300px; min-width: 0; min-height: 260px; border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; background: var(--soft); color: var(--ink); isolation: isolate; transition: transform .25s; }
.tile:hover { transform: translateY(-4px); color: var(--ink); }
.tile--warm { background: var(--soft-warm); }
.tile--green { background: var(--soft-green); }
.tile__icon { position: absolute; right: 24px; top: 20px; color: var(--blue); opacity: .75; z-index: -1; transition: transform .4s; }
.tile--warm .tile__icon { color: #7A5A3E; }
.tile--green .tile__icon { color: #1F4E45; }
.tile:hover .tile__icon { transform: scale(1.06) rotate(-3deg); }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.tile:hover .tile__img { transform: scale(1.04); }
.tile--photo { color: #fff; }
.tile--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 20, 50, 0) 40%, rgba(0, 20, 50, .65) 100%); }
.tile--photo:hover { color: #fff; }
.tile__label { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tile__label b { font-size: 24px; line-height: 1.2; font-weight: 700; }
.tile__label small { display: block; font-size: 14px; font-weight: 500; opacity: .8; margin-top: 4px; }

/* Внутренние страницы */
.hero { position: relative; }
.hero__in { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.hero--inner .hero__in { padding-top: 8px; }
.hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 24px 16px 24px 0; }
.hero__media { flex: 1 1 520px; min-width: 0; }
.hero__lead { font-size: 18px; color: var(--text); max-width: 560px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__photo { position: relative; height: 100%; min-height: 380px; border-radius: var(--r-xl); overflow: hidden; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; }
.facts > div { background: #fff; box-shadow: var(--inset); border-radius: 20px; padding: 10px 16px; }
.facts dt { font-size: 12px; font-weight: 600; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; }

/* «Живой кадр» */
.feed { height: 100%; background: var(--navy); border-radius: var(--r-xl); padding: 12px; display: flex; flex-direction: column; gap: 10px; min-height: 420px; }
.feed__screen { position: relative; flex: 1; min-height: 300px; background: radial-gradient(120% 120% at 70% 20%, #1D4C8C 0, #0B1F3F 70%); border-radius: 30px; overflow: hidden; color: #fff; font-size: 12px; font-weight: 700; }
.feed__scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.feed__scan { position: absolute; left: 0; right: 0; top: 0; height: 9%; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .08), transparent); animation: scan 5s linear infinite; }
.feed__box { position: absolute; border: 2px solid; border-radius: 6px; }
.feed__box span { position: absolute; left: -2px; bottom: 100%; margin-bottom: 4px; white-space: nowrap; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 6px; color: var(--navy); text-transform: uppercase; }
.feed__box--person { left: 63%; top: 51.5%; width: 10.5%; height: 34%; border-color: #7BE0B0; animation: pulseBox 2.4s ease-in-out infinite; }
.feed__box--person span { background: #7BE0B0; }
.feed__box--car { left: 15%; top: 68%; width: 26%; height: 22%; border-color: #5FB8F5; }
.feed__box--car span { background: #5FB8F5; }
.feed__corner { position: absolute; width: 24px; height: 24px; border: 0 solid rgba(255, 255, 255, .8); }
.feed__corner--tl { left: 18px; top: 18px; border-left-width: 2px; border-top-width: 2px; border-top-left-radius: 8px; }
.feed__corner--tr { right: 18px; top: 18px; border-right-width: 2px; border-top-width: 2px; border-top-right-radius: 8px; }
.feed__corner--bl { left: 18px; bottom: 18px; border-left-width: 2px; border-bottom-width: 2px; border-bottom-left-radius: 8px; }
.feed__corner--br { right: 18px; bottom: 18px; border-right-width: 2px; border-bottom-width: 2px; border-bottom-right-radius: 8px; }
.feed__top, .feed__bottom { position: absolute; left: 52px; right: 52px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.feed__top { top: 22px; }
.feed__bottom { bottom: 20px; font-weight: 600; color: #C9D8EE; }
.feed__rec { display: inline-flex; align-items: center; gap: 6px; }
.feed__rec .dot { width: 9px; height: 9px; }
.feed__thumbs { display: flex; gap: 8px; }
.feed__thumb { position: relative; flex: 1; height: 62px; background: #13305C; border-radius: 16px; overflow: hidden; }
.feed__thumb svg { width: 100%; height: 100%; }
.feed__thumb span { position: absolute; left: 10px; bottom: 6px; font-size: 10px; font-weight: 700; color: #C7D2E6; }

/* Бегущая строка */
.marquee { overflow: hidden; padding: 24px 0 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; gap: 8px; }
.marquee span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 100px; background: #fff; box-shadow: var(--inset); font-size: 16px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.marquee i { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }

/* ---------- Секции ---------- */
.section { padding: 88px 0 0; }
.section--tight { padding: 56px 0 0; }
.section--gray > .wrap, .panel { background: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); max-width: calc(var(--wrap) - 48px); box-shadow: var(--inset); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 48px; margin-bottom: 36px; }
.section__head > div { max-width: 820px; }
.section__head--center { flex-direction: column; align-items: center; text-align: center; }
.section__lead { max-width: 440px; color: var(--muted); font-size: 16px; }
.page-head { padding: 24px 0 8px; }
.page-head .h1 { margin-top: 14px; }
.page-head time { display: block; margin-top: 12px; color: var(--muted); }
.page-404 { padding: 72px 0; }
.page-404 .hero__lead { margin: 18px 0 28px; }

.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

.icon-box { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-box .ico { width: 24px; height: 24px; }

/* ---------- Преимущества ---------- */
.stats4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-top: 16px; }
.stat { background: #fff; border-radius: var(--r-lg); box-shadow: var(--inset); padding: 28px 32px; display: flex; flex-direction: column; gap: 6px; }
.stat b { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; font-weight: 700; color: var(--sky); letter-spacing: -.02em; }
.stat span { color: var(--muted); font-size: 15px; }

/* ---------- Услуги ---------- */
.svc-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 100px; background: var(--bg); }
.svc-tabs button { height: 48px; padding: 0 22px; border-radius: 100px; border: 0; background: transparent; font-weight: 700; font-size: 16px; color: var(--muted); }
.svc-tabs button.is-active { background: #fff; color: var(--blue); box-shadow: var(--inset); }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc--span2 { grid-column: span 2; }
.svc--span3 { grid-column: span 3; min-height: 300px; }
.svc { position: relative; min-height: 360px; border-radius: var(--r-xl); overflow: hidden; padding: 32px 30px 26px; display: flex; flex-direction: column; background: var(--soft); isolation: isolate; transition: transform .25s; }
.svc:hover { transform: translateY(-4px); color: var(--ink); }
.svc__title { font-size: clamp(26px, 2.3vw, 34px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; max-width: 80%; }
.svc__price { margin-top: 10px; font-size: 17px; font-weight: 600; }
.svc__text { margin-top: 12px; max-width: 380px; color: var(--text); font-size: 15px; }
.svc__icon { position: absolute; right: 20px; bottom: 76px; color: var(--blue); opacity: .55; z-index: -1; transition: transform .4s; }
.svc:hover .svc__icon { transform: scale(1.07); }
.svc__img { position: absolute; right: 0; bottom: 0; width: 62%; height: 70%; object-fit: cover; border-top-left-radius: var(--r-lg); z-index: -1; }
.svc__more { margin-top: auto; padding-top: 20px; }
.svc__more .btn { pointer-events: none; }
.svc__more .round { pointer-events: none; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.mini { display: flex; flex-direction: column; gap: 24px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--bg); transition: background .2s, transform .2s; }
.mini:hover { background: var(--sky-soft); transform: translateY(-2px); color: var(--ink); }
.mini b { display: block; font-size: 17px; line-height: 1.25; }
.mini small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.subhead { margin: 40px 0 18px; font-size: 26px; font-weight: 700; letter-spacing: -.01em; }

/* Типы объектов (перелинковка) */
.objects { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.object { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 28px; background: #fff; box-shadow: var(--inset); transition: transform .15s, background .15s; }
.object:hover { transform: translateY(-2px); color: var(--ink); background: var(--sky-soft); }
.object .icon-box { width: 46px; height: 46px; }
.object__name { flex: 1; font-weight: 700; line-height: 1.3; }
.object__arrow { color: var(--blue); }

/* ---------- Планировщик ---------- */
.planner__grid { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.planner__controls { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 26px; background: var(--bg); border-radius: var(--r-lg); padding: 26px; }
.planner__controls fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.planner__legend { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; padding: 0; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 54px; padding: 0 20px; border-radius: 100px; border: 0; background: #fff; font-weight: 700; font-size: 15px; text-align: left; color: var(--ink); transition: .15s; }
.opt small { font-weight: 600; font-size: 12px; opacity: .8; }
.opt.is-active { background: var(--grad); color: #fff; }
.planner__lenses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.lens { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px 16px; border-radius: 22px; border: 2px solid transparent; background: #fff; text-align: left; color: var(--ink); transition: .15s; }
.lens b { font-size: 17px; font-weight: 800; }
.lens small { font-size: 12px; font-weight: 500; opacity: .85; }
.lens.is-active { border-color: var(--sky); background: var(--sky-soft); color: var(--blue); }
.planner__stats { margin-top: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.planner__stats > div { background: #fff; border-radius: 22px; padding: 14px 18px; }
.planner__stats small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.planner__stats b { font-size: 26px; font-weight: 800; }
.planner__map { position: relative; flex: 2 1 560px; min-width: 0; background: #fff; border-radius: var(--r-lg); padding: 16px; box-shadow: var(--inset); }
.planner__map svg { display: block; width: 100%; height: auto; }
.planner__tag { position: absolute; right: 28px; top: 26px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); background: var(--bg); padding: 6px 12px; border-radius: 100px; }
.planner__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; background: var(--soft); border-radius: var(--r-lg); padding: 20px 20px 20px 28px; font-size: 17px; font-weight: 600; }
.cone-sweep { animation: sweep 5s ease-in-out infinite alternate; }

/* ---------- Комплекты ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.tabs__btn { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 96px; padding: 14px 20px; border-radius: 28px; border: 0; background: transparent; font-weight: 700; font-size: 14px; color: var(--muted); transition: background .15s, color .15s; }
.tabs__btn:hover { color: var(--blue); }
.tabs__btn.is-active { background: #fff; color: var(--blue); box-shadow: var(--inset); }
.section--gray .tabs__btn.is-active { background: var(--bg); }
.kits { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.kit { position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px 30px; border-radius: var(--r-xl); background: #fff; box-shadow: var(--inset); }
.section--gray .kit { background: var(--bg); box-shadow: none; }
.kit--featured, .section--gray .kit--featured { background: var(--soft); }
.kit__num { display: flex; align-items: baseline; gap: 10px; }
.kit__num b { font-size: 60px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--sky); }
.kit--featured .kit__num b { color: var(--blue); }
.kit__num small { font-size: 15px; font-weight: 600; color: var(--muted); text-transform: lowercase; }
.kit__info { display: flex; flex-direction: column; gap: 6px; }
.kit__info h3 { font-size: 22px; font-weight: 700; }
.kit__info p { color: var(--muted); font-size: 15px; }
.kit--featured .kit__info p { color: var(--text); }
.badge { position: absolute; top: 28px; right: 28px; font-size: 12px; font-weight: 700; background: var(--ink); color: #fff; padding: 6px 14px; border-radius: 100px; }
.kit__specs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding: 18px 0; border-top: 1px solid rgba(0, 30, 70, .1); border-bottom: 1px solid rgba(0, 30, 70, .1); font-size: 15px; }
.kit__specs dt { font-size: 13px; font-weight: 500; color: var(--muted); }
.kit__specs dd { margin: 2px 0 0; font-weight: 700; }
.kit__buy { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.kit__price { display: flex; flex-direction: column; line-height: 1.2; }
.kit__price small { font-size: 13px; color: var(--muted); }
.kit__price b { font-size: 24px; font-weight: 700; }
.kit__btn { height: 48px; padding: 0 22px; border-radius: 100px; border: 0; background: var(--grad); color: #fff; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.kit__btn:hover { background: var(--grad-h); }

/* ---------- Бенто «Система» ---------- */
.bento { display: flex; flex-wrap: wrap; gap: 16px; }
.bento__card { flex: 1 1 280px; min-width: 0; border-radius: var(--r-xl); padding: 32px; display: flex; flex-direction: column; gap: 14px; background: #fff; box-shadow: var(--inset); }
.bento__card h3 { font-size: 24px; font-weight: 700; line-height: 1.2; }
.bento__card p { color: var(--muted); font-size: 15px; }
.bento__card--wide { flex: 2 1 560px; }
.bento__card--gray { background: #fff; }
.bento__card--soft { background: var(--soft); box-shadow: none; }
.bento__card--soft p { color: var(--text); }
.bento__card--blue { background: linear-gradient(140deg, #3AA3EC 0%, #1565C0 100%); color: #fff; box-shadow: none; }
.bento__card--blue p { color: #E3F0FF; }
.bento__card--tile { min-height: 230px; transition: transform .2s; }
.bento__card--tile:hover { transform: translateY(-3px); color: var(--ink); }
.bento__card--phone { position: relative; overflow: hidden; min-height: 360px; }
.bento__card--phone p, .bento__card--phone h3 { max-width: 62%; }
.bento__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.bento__head p { margin-top: 6px; max-width: 460px; }
.bento__top { display: flex; justify-content: space-between; align-items: flex-start; }
.bento__n { font-size: 13px; font-weight: 700; color: #9AA6BC; }
.bento__split { flex-direction: row; flex-wrap: wrap; gap: 24px; align-items: center; }
.bento__split > div { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.pills { display: flex; gap: 6px; font-size: 13px; font-weight: 700; }
.pill { padding: 6px 14px; border-radius: 100px; background: #fff; }
.pill--dark { background: var(--ink); color: #fff; }
.checks { flex: 1 1 260px; min-width: 0; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 700; }
.checks li { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border-radius: 100px; padding: 12px 18px; }
.mini-phone { position: absolute; right: -30px; bottom: -70px; width: 190px; height: 300px; background: #fff; border-radius: 36px; padding: 10px; transform: rotate(-12deg); box-shadow: 0 20px 50px rgba(0, 20, 50, .3); }
.mini-phone > div { width: 100%; height: 100%; background: var(--bg); border-radius: 28px; padding: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-content: start; }
.mini-phone i { height: 46px; border-radius: 10px; background: var(--navy); }
.mini-phone i.wide { grid-column: span 2; height: 80px; border-radius: 12px; }

/* ---------- День / ночь ---------- */
.dn { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.dn__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 18px; justify-content: center; padding: 8px 8px 8px 0; }
.dn__side p { color: var(--text); font-size: 17px; }
.dn__tabs { display: inline-flex; align-self: flex-start; flex-wrap: wrap; gap: 4px; padding: 4px; background: #fff; border-radius: 100px; box-shadow: var(--inset); }
.dn__tabs button { height: 44px; padding: 0 18px; border-radius: 100px; border: 0; background: transparent; font-weight: 700; font-size: 14px; color: var(--muted); }
.dn__tabs button.is-active { background: var(--ink); color: #fff; }
.dn__facts { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dn__facts li { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.dn__facts .ico { color: var(--sky); }
.dn__stage { flex: 2 1 600px; min-width: 0; }
.compare { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: var(--navy); touch-action: pan-y; user-select: none; cursor: ew-resize; }
.compare > svg, .compare > img, .compare > video, .compare__night > svg, .compare__night > img, .compare__night > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__night { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--split)); }
.compare__label { position: absolute; top: 18px; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 100px; background: rgba(255, 255, 255, .9); color: var(--ink); pointer-events: none; }
.compare__label--l { left: 18px; }
.compare__label--r { right: 18px; background: rgba(0, 30, 70, .8); color: #fff; }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--split); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.compare__line span { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: 0 6px 20px rgba(0, 20, 50, .35); display: flex; align-items: center; justify-content: center; }
.compare__hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-size: 13px; font-weight: 700; color: #fff; background: rgba(0, 30, 70, .55); padding: 6px 14px; border-radius: 100px; pointer-events: none; transition: opacity .3s; }
.compare.is-touched .compare__hint { opacity: 0; }
.compare__range { position: absolute; width: 1px; height: 1px; opacity: 0; }
.compare video { pointer-events: none; }
.compare--single { cursor: default; }

/* ---------- Этапы ---------- */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.steps__item { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--r-lg); background: #fff; box-shadow: var(--inset); }
.section--gray .steps__item { background: var(--bg); box-shadow: none; }
.steps__item h3 { font-size: 20px; font-weight: 700; }
.steps__item p { color: var(--muted); font-size: 15px; }
.steps__line { display: flex; align-items: center; }
.steps__num { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.steps__cable { flex: 1; height: 2px; margin-left: 12px; border-radius: 2px; background-image: repeating-linear-gradient(90deg, #9DC8F0 0 14px, transparent 14px 26px); animation: flow 1.2s linear infinite; }
.steps__item:last-child .steps__cable { opacity: .3; }

/* ---------- Объекты-портфолио ---------- */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.project { display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: var(--r-xl); padding: 12px 12px 28px; box-shadow: var(--inset); }
.project > *:not(.project__img) { margin-left: 16px; margin-right: 16px; }
.project__img { position: relative; aspect-ratio: 4 / 3; background: var(--soft); border-radius: var(--r-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--blue); margin-bottom: 6px; }
.project__img img { width: 100%; height: 100%; object-fit: cover; }
.project__tag { align-self: flex-start; font-size: 13px; font-weight: 600; background: var(--bg); padding: 4px 12px; border-radius: 100px; }
.project h3 { font-size: 20px; font-weight: 700; }
.project p { color: var(--muted); font-size: 15px; }
.frame { display: none; }

/* ---------- Карта объектов ---------- */
.omap { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.omap__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.omap__counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.omap__counters div { background: var(--bg); border-radius: 22px; padding: 16px 18px; }
.omap__counters b { display: block; font-size: 32px; line-height: 1.1; color: var(--sky); font-weight: 700; }
.omap__counters span { font-size: 14px; color: var(--muted); }
.omap__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 340px; overflow-y: auto; }
.omap__list button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 18px; border: 0; background: transparent; text-align: left; font-weight: 600; font-size: 14px; color: var(--ink); }
.omap__list button:hover, .omap__list button.is-active { background: var(--sky-soft); }
.omap__list i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.omap__list small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.omap__map { flex: 2.2 1 560px; min-width: 0; min-height: 520px; border-radius: var(--r-lg); overflow: hidden; background: var(--bg); position: relative; z-index: 0; }
.omap-pin { width: 38px; height: 38px; border-radius: 50%; background: var(--grad); color: #fff; font: 800 13px/1 var(--font); display: flex; align-items: center; justify-content: center; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(21, 101, 192, .45); }
.omap-pin::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(28, 143, 216, .5); animation: ring 2.4s ease-out infinite; }
.leaflet-popup-content-wrapper { border-radius: 24px !important; padding: 0 !important; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 30, 70, .2) !important; }
.leaflet-popup-content { margin: 0 !important; width: 260px !important; font-family: var(--font); }
.opop img { width: 100%; height: 150px; object-fit: cover; }
.opop div { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.opop b { font-size: 16px; line-height: 1.25; color: var(--ink); }
.opop small { color: var(--muted); font-size: 13px; }
.opop p { margin: 4px 0 0 !important; font-size: 13px; color: var(--text); }

/* ---------- ИИ: фото → камеры, проверка системы ---------- */
.aiv { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.aiv__intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.aiv__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; }
.aiv__badge i { width: 8px; height: 8px; border-radius: 50%; background: #5FE3A1; box-shadow: 0 0 0 4px rgba(95, 227, 161, .25); }
.aiv__intro p { color: var(--text); font-size: 17px; }
.aiv__how { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; counter-reset: aiv; }
.aiv__how li { display: flex; gap: 12px; align-items: center; font-weight: 600; counter-increment: aiv; }
.aiv__how li::before { content: counter(aiv); flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--blue); font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: var(--inset); }
.section--gray .aiv__how li::before { background: var(--bg); }
.aiv__note { font-size: 13px; color: var(--muted); }
.aiv__stage { flex: 1.6 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.drop { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 380px; padding: 32px; border-radius: var(--r-xl); background: var(--soft); border: 2px dashed rgba(21, 101, 192, .35); text-align: center; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.is-over { border-color: var(--blue); background: radial-gradient(100% 120% at 75% 70%, #fff 0, #CFE3F8 100%); }
.drop b { font-size: 22px; line-height: 1.25; }
.drop span { color: var(--text); font-size: 15px; max-width: 420px; }
.drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop__ico { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(21, 101, 192, .18); }
.drop__types { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.drop__types label { cursor: pointer; }
.drop__types input { position: absolute; opacity: 0; }
.drop__types span { display: inline-block; padding: 8px 14px; border-radius: 100px; background: rgba(255, 255, 255, .7); font-size: 13px; font-weight: 700; color: var(--ink); }
.drop__types input:checked + span { background: var(--ink); color: #fff; }
.drop__types input:focus-visible + span { outline: 3px solid rgba(28, 143, 216, .5); }

.aiv-scan { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--navy); }
.aiv-scan img { width: 100%; max-height: 640px; object-fit: contain; display: block; }
.aiv-scan__overlay { position: absolute; inset: 0; }
.aiv-scan.is-busy::after { content: ""; position: absolute; left: 0; right: 0; height: 30%; top: -30%; background: linear-gradient(180deg, transparent, rgba(95, 184, 245, .35), transparent); animation: aiscan 1.8s linear infinite; }
.aiv-scan.is-busy img { filter: saturate(.6) brightness(.85); }
.aiv-status { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 100px; background: rgba(0, 20, 50, .8); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; backdrop-filter: blur(6px); }
.aiv-status i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; }
.aiv-cone { position: absolute; width: 0; height: 0; pointer-events: none; }
.aiv-cone svg { position: absolute; left: -110px; top: -110px; width: 220px; height: 220px; overflow: visible; }
.aiv-pin { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 3px solid #fff; background: var(--grad); color: #fff; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 20, 50, .45); animation: pop .35s ease-out backwards; }
.aiv-pin.is-active { background: var(--ink); transform: scale(1.15); }
.aiv-res { display: flex; flex-wrap: wrap; gap: 12px; }
.aiv-res__main { flex: 1.4 1 380px; min-width: 0; background: #fff; border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--inset); }
.section--gray .aiv-res__main, .section--gray .aiv-res__side { background: var(--bg); box-shadow: none; }
.aiv-res__side { flex: 1 1 280px; min-width: 0; background: #fff; border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--inset); }
.aiv-res h3 { font-size: 22px; font-weight: 700; }
.aiv-res__summary { color: var(--text); }
.aiv-cams { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.aiv-cams button { width: 100%; display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 18px; border: 0; background: transparent; text-align: left; color: var(--ink); font-size: 14px; }
.aiv-cams button:hover, .aiv-cams button.is-active { background: var(--sky-soft); }
.aiv-cams i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; font-style: normal; font-weight: 800; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.aiv-cams b { display: block; font-size: 15px; }
.aiv-cams small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.aiv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.aiv-tags span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 100px; background: #FFF4E5; color: #8A4B08; }
.aiv-kv { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.aiv-kv small { color: var(--muted); font-weight: 600; }
.aiv-kit { background: var(--soft); border-radius: 24px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.aiv-kit b { font-size: 18px; }
.aiv-kit strong { font-size: 22px; }
.aiv-lead { display: flex; flex-direction: column; gap: 10px; }
.aiv-lead .field input { height: 50px; }
.aiv-again { align-self: flex-start; background: none; border: 0; color: var(--blue); font-weight: 700; padding: 6px 0; }
.aiv-err { background: #FDECEC; color: #9B1C1C; border-radius: 20px; padding: 14px 18px; font-weight: 600; }
.score { display: flex; align-items: center; gap: 18px; }
.score__ring { --p: 50; width: 96px; height: 96px; flex: none; border-radius: 50%; background: conic-gradient(var(--c, var(--sky)) calc(var(--p) * 1%), #E3E9F2 0); display: flex; align-items: center; justify-content: center; }
.score__ring b { width: 74px; height: 74px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; }
.section--gray .score__ring b { background: var(--bg); }
.issues { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.issues li { display: flex; gap: 12px; padding: 12px 14px; border-radius: 18px; background: var(--bg); font-size: 14px; }
.section--gray .issues li { background: #fff; }
.issues li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: var(--amber); }
.issues li.high::before { background: var(--red); }
.issues li.low::before { background: #94A3B8; }
.issues b { display: block; }
.issues span { color: var(--muted); }
.goodlist { margin: 0; padding-left: 18px; color: var(--text); font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.goodlist li::marker { color: var(--green); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: flex-start; }
.faq__aside { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.faq__phone { font-size: 22px; font-weight: 800; }
.faq__list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.faq__item { background: var(--bg); border-radius: 28px; transition: background .2s; }
.faq__item[open] { background: var(--sky-soft); }
.faq__item summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 22px 20px 28px; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__n { display: none; }
.faq__q { flex: 1; font-size: 18px; font-weight: 700; }
.faq__icon { flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s, color .2s; }
.faq__item[open] .faq__icon { background: var(--grad); color: #fff; transform: rotate(45deg); }
.faq__a { padding: 0 72px 24px 28px; color: var(--text); }

/* ---------- SEO-блок и статьи ---------- */
.seo-block { display: flex; flex-wrap: wrap; gap: 48px; }
.seo-block__text { flex: 2 1 560px; min-width: 0; }
.seo-block__links { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; }
.seo-block__links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); font-weight: 600; }

.prose { color: var(--text); font-size: 17px; line-height: 1.75; min-width: 0; }
.prose > * + * { margin-top: 1em; }
.prose h2 { color: var(--ink); font-size: 28px; font-weight: 700; margin-top: 1.6em; line-height: 1.25; }
.prose h3 { color: var(--ink); font-size: 21px; font-weight: 700; margin-top: 1.4em; }
.prose > h2:first-child, .prose > h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--sky); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--r-md); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg); color: var(--ink); }
.prose blockquote { margin-left: 0; padding: 18px 22px; border-radius: var(--r-md); background: var(--sky-soft); color: var(--ink); }
.prose--narrow { max-width: 820px; }
.prose__cover { width: 100%; margin-bottom: 1.5em; }

.article-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; background: #fff; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 56px); box-shadow: var(--inset); }
.article-layout > .prose { flex: 2 1 600px; }
.side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.side__card { background: var(--soft); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.side__card--plain { background: var(--bg); gap: 0; }
.side__card--plain .eyebrow { margin-bottom: 8px; }
.side__card--plain a { padding: 10px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.side__title { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.side__phone { font-size: 22px; font-weight: 800; }

.cards3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.cards3:has(> :only-child), .cards3:has(> :nth-child(2):last-child) { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.acard { display: flex; flex-direction: column; gap: 10px; background: #fff; border-radius: var(--r-xl); padding: 12px 12px 26px; box-shadow: var(--inset); }
.acard > *:not(.acard__img) { margin: 0 14px; }
.acard__img { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.acard:hover .acard__img img { transform: scale(1.04); }
.acard time { font-size: 13px; color: var(--muted); }
.acard h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.acard p { color: var(--muted); font-size: 15px; }
.pager { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.pager a, .pager span { min-width: 48px; height: 48px; padding: 0 14px; border-radius: 100px; background: #fff; box-shadow: var(--inset); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.pager span { background: var(--grad); color: #fff; box-shadow: none; }

/* ---------- Контакты ---------- */
.contacts { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.contacts__list { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; background: #fff; border-radius: var(--r-xl); padding: 32px; box-shadow: var(--inset); }
.contact { display: flex; align-items: center; gap: 16px; }
.contact small { display: block; font-size: 13px; font-weight: 600; color: var(--muted); }
.contact a, .contact span:not(.icon-box) { font-size: 18px; font-weight: 700; }
.contacts__form { margin-top: 12px; background: var(--bg); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.contacts__map { flex: 1 1 480px; min-width: 0; min-height: 460px; border-radius: var(--r-xl); overflow: hidden; background: #fff; }
.contacts__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.map-empty { height: 100%; min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--muted); text-align: center; padding: 24px; }
.city-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.city-chip { padding: 12px 20px; border-radius: 100px; background: #fff; box-shadow: var(--inset); font-weight: 600; }
.city-chip.is-active { background: var(--grad); color: #fff; box-shadow: none; }

/* ---------- CTA ---------- */
.cta { position: relative; background: radial-gradient(485% 165% at 57% 62%, rgba(248, 248, 253, .95) 0, rgba(179, 210, 245, .95) 100%); color: var(--ink); border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); overflow: hidden; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.cta__text { position: relative; flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.cta__text p { color: var(--text); font-size: 18px; }
.cta .lead-form { position: relative; flex: 1 1 380px; min-width: 0; background: #fff; border-radius: var(--r-lg); padding: 28px; }

/* ---------- Форма заявки ---------- */
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.lead-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 13px; font-weight: 600; padding-left: 4px; }
.field input, .field textarea { height: 56px; border-radius: 100px; border: 2px solid transparent; padding: 0 22px; font-size: 16px; background: var(--bg); color: var(--ink); width: 100%; transition: border-color .15s, background .15s; }
.field input:focus { border-color: var(--sky); background: #fff; outline: none; }
.field.is-error input { border-color: var(--red); }
.lead-form__note { font-size: 12px; color: var(--muted); }
.lead-form__note a { text-decoration: underline; }
.lead-form--blue .btn--dark { background: var(--grad); }
.lead-form__msg { font-size: 14px; font-weight: 600; min-height: 0; }
.lead-form__msg.is-ok { color: var(--green); }
.lead-form__msg.is-err { color: var(--red); }
.lead-form.is-sent .lead-form__row, .lead-form.is-sent button, .lead-form.is-sent .lead-form__note { display: none; }
.lead-form.is-sent .lead-form__msg { font-size: 18px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Подвал ---------- */
.footer { padding: 88px 0 24px; font-size: 15px; color: var(--muted); }
.footer > .wrap > .footer__grid { background: #fff; border-radius: var(--r-xl); padding: clamp(28px, 4vw, 48px); box-shadow: var(--inset); }
.footer a:hover { color: var(--blue); }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col a { color: var(--ink); }
.footer__brand { gap: 12px; }
.footer__title { color: var(--muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.footer__phone { color: var(--ink); font-size: 22px; font-weight: 800; }
.footer__bottom { margin-top: 20px; padding: 0 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(0, 20, 50, .45); backdrop-filter: blur(4px); display: flex; align-items: flex-start; justify-content: center; padding: 10vh 16px 16px; overflow-y: auto; }
.modal[hidden] { display: none; }
.modal__box { width: 100%; max-width: 560px; background: #fff; border-radius: var(--r-xl); padding: 36px; display: flex; flex-direction: column; gap: 20px; animation: pop .2s ease-out; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.modal__head h2 { font-size: 26px; font-weight: 700; }
.modal__close { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--bg); display: flex; align-items: center; justify-content: center; flex: none; }
.modal__text { color: var(--muted); margin-top: -8px; }
.city-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.city-list__item { height: 56px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 12px; border-radius: 100px; background: var(--bg); font-weight: 700; font-size: 15px; line-height: 1.2; }
.city-list__item.is-active { background: var(--grad); color: #fff; }
.city-confirm { position: fixed; z-index: 90; left: 50%; top: 110px; transform: translateX(-50%); width: min(380px, calc(100% - 32px)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); border-radius: 32px; padding: 22px; box-shadow: 0 24px 60px rgba(0, 30, 70, .18); display: flex; flex-direction: column; gap: 14px; }
.city-confirm p { font-size: 18px; font-weight: 700; }
.city-confirm p b { color: var(--sky); }
.city-confirm[hidden] { display: none; }
.city-confirm div { display: flex; flex-wrap: wrap; gap: 8px; }
.call-fab { display: none; position: fixed; left: 16px; bottom: 16px; z-index: 50; width: 58px; height: 58px; border-radius: 50%; background: var(--grad); color: #fff; align-items: center; justify-content: center; box-shadow: 0 12px 30px rgba(21, 101, 192, .4); }
.call-fab:hover { color: #fff; }
body.no-scroll { overflow: hidden; }

/* ---------- ИИ-консультант ---------- */
.aichat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 22px 0 8px; border-radius: 100px; border: 0; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; box-shadow: 0 16px 40px rgba(0, 20, 50, .35); transition: transform .2s; }
.aichat-fab:hover { transform: translateY(-2px); }
.aichat-fab__av { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); display: flex; align-items: center; justify-content: center; }
.aichat-fab__av::after { content: ""; position: absolute; right: 0; bottom: 0; width: 12px; height: 12px; border-radius: 50%; background: #22C55E; border: 2px solid var(--ink); }
.aichat-fab__bubble { position: absolute; right: 0; bottom: calc(100% + 12px); width: 260px; padding: 14px 16px; border-radius: 22px 22px 6px 22px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; text-align: left; box-shadow: 0 16px 40px rgba(0, 30, 70, .18); animation: pop .3s ease-out; }
.aichat { position: fixed; right: 20px; bottom: 20px; z-index: 61; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100vh - 40px)); display: flex; flex-direction: column; background: #fff; border-radius: 32px; box-shadow: 0 30px 80px rgba(0, 20, 50, .3); overflow: hidden; animation: pop .22s ease-out; }
.aichat[hidden] { display: none; }
.aichat__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: var(--ink); color: #fff; }
.aichat__head .aichat-fab__av { flex: none; }
.aichat__head b { display: block; font-size: 16px; }
.aichat__head small { display: block; font-size: 12px; color: #A9BBD6; }
.aichat__close { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: flex; align-items: center; justify-content: center; }
.aichat__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.aichat__msg { max-width: 86%; padding: 12px 16px; border-radius: 22px; font-size: 15px; line-height: 1.5; background: #fff; align-self: flex-start; border-bottom-left-radius: 6px; overflow-wrap: anywhere; }
.aichat__msg--user { align-self: flex-end; background: var(--grad); color: #fff; border-bottom-left-radius: 22px; border-bottom-right-radius: 6px; }
.aichat__msg ul { margin: 6px 0; padding-left: 18px; }
.aichat__msg a { color: var(--blue); text-decoration: underline; }
.aichat__msg p + p { margin-top: 6px; }
.aichat__typing { display: inline-flex; gap: 4px; padding: 16px 18px; }
.aichat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AA6BC; animation: typing 1.2s infinite; }
.aichat__typing i:nth-child(2) { animation-delay: .15s; }
.aichat__typing i:nth-child(3) { animation-delay: .3s; }
.aichat__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 12px; background: var(--bg); }
.aichat__chips button { padding: 8px 14px; border-radius: 100px; border: 0; background: #fff; color: var(--blue); font-size: 13px; font-weight: 700; box-shadow: var(--inset); }
.aichat__form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.aichat__form textarea { flex: 1; min-width: 0; height: 48px; max-height: 120px; resize: none; border: 0; border-radius: 24px; background: var(--bg); padding: 13px 18px; font-size: 15px; line-height: 1.4; }
.aichat__form textarea:focus { outline: 2px solid var(--sky); }
.aichat__form button { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 0; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; }
.aichat__foot { padding: 0 16px 10px; font-size: 11px; color: var(--muted); text-align: center; }

/* ---------- Анимации ---------- */
@keyframes blink { 50% { opacity: .2; } }
@keyframes scan { 0% { transform: translateY(-100%); } 100% { transform: translateY(1100%); } }
@keyframes aiscan { 0% { top: -30%; } 100% { top: 100%; } }
@keyframes pulseBox { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes sweep { from { transform: rotate(-55deg); } to { transform: rotate(55deg); } }
@keyframes flow { to { background-position: 26px 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ring { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; } }

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
  .header__phone small { display: none; }
  .nav__link { padding: 0 12px; font-size: 14px; }
  .header__city span { display: none; }
}
@media (max-width: 1080px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc--span3 { grid-column: span 2; }
  .burger { display: inline-flex; }
  .header__cta, .header__city { display: none; }
  .nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 100%); border-radius: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 88px 20px 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; box-shadow: -20px 0 60px rgba(0, 30, 70, .15); z-index: 45; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav__link { width: 100%; justify-content: space-between; height: 54px; font-size: 16px; border-radius: 18px; padding: 0 14px; }
  .nav__drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 4px 0 8px; min-width: 0; display: none; }
  .nav__item.is-open .nav__drop { display: block; }
  .nav__item:hover .nav__drop { display: none; }
  .nav__item.is-open:hover .nav__drop { display: block; }
  .nav__mobile-extra { display: flex; flex-direction: column; }
  .nav__mobile-extra a { height: 54px; display: flex; align-items: center; font-weight: 600; padding: 0 14px; }
  .nav__mobile-extra .nav__phone { font-size: 20px; font-weight: 800; color: var(--blue); margin-top: 12px; }
  .burger { position: relative; z-index: 46; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .section { padding-top: 56px; }
  .section--tight { padding-top: 40px; }
  .section--gray > .wrap { max-width: calc(100% - 24px); padding: 28px 18px; border-radius: 32px; }
  .topbar__nav, .topbar__note { display: none; }
  .topbar { display: none; }
  .header__in { min-height: 52px; gap: 8px; }
  .header__phone { display: none; }
  .logo__text { font-size: 16px; }
  .logo img { height: 36px; }
  .logo__mark { width: 40px; height: 40px; }
  .hero2__text { padding: 8px 0 16px; gap: 18px; }
  .hero2__lead, .hero__lead { font-size: 16px; }
  .hero2__btns .btn { flex: 1; }
  .hero__text { padding: 8px 0 8px; }
  .tile { min-height: 200px; padding: 24px; border-radius: 32px; }
  .tile__icon { width: 110px; height: 110px; }
  .feed { min-height: 0; padding: 8px; border-radius: 32px; }
  .feed__screen { min-height: 240px; font-size: 10px; border-radius: 26px; }
  .feed__top, .feed__bottom { left: 34px; right: 34px; }
  .feed__top { top: 14px; } .feed__bottom { bottom: 12px; }
  .feed__box span { font-size: 9px; }
  .feed__thumbs { display: none; }
  .svc { min-height: 300px; padding: 26px 24px 22px; border-radius: 32px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc--span2, .svc--span3 { grid-column: auto; }
  .svc__icon { width: 120px; height: 120px; }
  .stat { padding: 22px 24px; border-radius: 28px; }
  .kit { padding: 26px 22px; border-radius: 32px; }
  .kit__num b { font-size: 50px; }
  .bento__card { padding: 24px; border-radius: 32px; }
  .bento__card--phone { min-height: 340px; }
  .bento__card--phone p { max-width: 58%; }
  .mini-phone { width: 150px; height: 240px; right: -24px; bottom: -60px; }
  .faq__item summary { padding: 16px 16px 16px 20px; gap: 12px; }
  .faq__q { font-size: 16px; }
  .faq__a { padding: 0 20px 20px; }
  .planner__controls { padding: 18px; }
  .planner__map { padding: 8px; }
  .planner__tag { right: 16px; top: 14px; font-size: 10px; }
  .modal__box { padding: 24px; border-radius: 32px; }
  .city-list { grid-template-columns: 1fr; }
  .call-fab { display: flex; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 23px; }
  .side { position: static; }
  .contacts__map, .contacts__map iframe, .map-empty { min-height: 320px; }
  .compare { aspect-ratio: 4 / 3; border-radius: 32px; }
  .drop { min-height: 300px; padding: 24px 18px; border-radius: 32px; }
  .drop b { font-size: 19px; }
  .omap__map { min-height: 380px; }
  .aichat-fab { right: 12px; bottom: 12px; height: 56px; padding: 0 6px; }
  .aichat-fab__label { display: none; }
  .aichat-fab__bubble { width: 230px; }
  .aichat { right: 0; bottom: 0; width: 100%; height: 100%; max-height: 100dvh; border-radius: 0; }
  .cta .lead-form { padding: 20px; }
}
.svc.tile--warm { background: var(--soft-warm); }
.svc.tile--warm .svc__icon { color: #7A5A3E; }
.svc.tile--green { background: var(--soft-green); }
.svc.tile--green .svc__icon { color: #1F4E45; }
.flip { transform: rotate(180deg); }
.rot-90 { transform: rotate(-90deg); }
.section--gray .aiv-res__side .field input, .section--gray .aiv-res__main .field input { background: #fff; }
.section, .aiv-scan, .aiv-res { scroll-margin-top: 96px; }
@media (max-width: 760px) {
  .hero2__tiles { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .hero2__tiles::-webkit-scrollbar { display: none; }
  .hero2__tiles .tile { flex: 0 0 72%; min-height: 180px; scroll-snap-align: start; }
  .stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 18px; }
  .stat b { font-size: 24px; }
  .stat span { font-size: 13px; }
  .svc-tabs { display: flex; width: 100%; }
  .svc-tabs button { flex: 1; padding: 0 10px; font-size: 14px; }
  .feed__bottom span:last-child { display: none; }
  .aiv-res__main, .aiv-res__side { padding: 20px; }
}
