/* «Запуск-СБ» — публичный сайт. Без внешних шрифтов и библиотек. */
:root {
  --navy: #0b2545; --navy2: #13315c; --ink: #1b2430; --muted: #5b6675; --line: #dfe4ea;
  --bg: #ffffff; --bg-alt: #f3f6f9; --accent: #d94a2b; --accent-d: #b93a1f; --ok: #1f8a4c;
  --r: 12px; --shadow: 0 6px 24px rgba(11, 37, 69, .09);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: var(--bg); -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; }
a { color: var(--navy2); }
a:hover { color: var(--accent); }
.wrap { width: 100%; margin: 0 auto; padding: 0 clamp(16px, 4vw, 96px); }
.muted { color: var(--muted); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(28px, 4.2vw, 44px); margin: 0 0 12px; }
h2 { font-size: clamp(22px, 3vw, 30px); }

.preview-bar { background: #fff3cd; color: #6b4e00; text-align: center; font-size: 14px; padding: 6px; }

/* --- шапка */
.top { position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 1px 0 var(--line); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-logo { display: block; height: clamp(46px, 3.4vw, 60px); width: auto; }
.foot-logo { display: block; height: 52px; width: auto; max-width: 100%; margin-bottom: 10px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-size: 22px; letter-spacing: .3px; white-space: nowrap; }
.brand-txt small { font-size: 13px; color: var(--muted); }
.top-contacts { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.top-phone { font-size: 19px; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; line-height: 1.25; }
.top-phone:hover { color: var(--accent); }
/* часы работы — под телефонами (относятся к ним); «чердак» (23.10.2026) — круглосуточный автоинформатор над шапкой */
.top-hours { display: inline-flex; align-items: center; font-size: 13px; color: var(--muted); margin-top: 2px; }
.top-hours svg { width: 13px; height: 13px; margin-right: 5px; color: var(--accent); flex: none; }
.top-hours .h2 { margin-left: 4px; }
@media (max-width: 1100px) { .top-hours { display: block; text-align: right; line-height: 1.3; font-size: 12.5px; } .top-hours svg { vertical-align: -2px; } .top-hours .h2 { display: block; margin-left: 0; } }
.utility { background: var(--bg-alt); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; line-height: 1.35; }
.utility-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 24px; min-height: 36px; padding-top: 6px; padding-bottom: 6px; }
.u-info { display: inline-flex; align-items: center; flex-wrap: wrap; margin-left: auto; }
.utility svg { width: 15px; height: 15px; margin-right: 7px; color: var(--accent); flex: none; }
.utility a { color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; margin-left: 5px; }
.utility a:hover { color: var(--accent); }
.u-label-s { display: none; }
.nav { background: var(--navy); }
.nav-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.nav a { color: #e8eef5; text-decoration: none; padding: 11px 13px; font-size: 15px; border-radius: 6px; white-space: nowrap; }
.nav a:hover, .nav a.on { background: rgba(255, 255, 255, .12); color: #fff; }
.top-call { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; align-items: center; justify-content: center; flex: none; }
.top-call svg { width: 22px; height: 22px; }
.top-cab { padding: 10px 16px; gap: 8px; }
.top-cab svg { width: 20px; height: 20px; }
.nav-cab { display: none; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* --- кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 10px; font: 600 16px var(--font);
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s; white-space: nowrap; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-d); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* --- главная */
.hero { color: #fff; background-color: var(--navy);
  background-image: linear-gradient(90deg, rgba(8, 26, 49, .96) 0%, rgba(8, 26, 49, .88) 38%, rgba(8, 26, 49, .3) 52%, rgba(8, 26, 49, 0) 62%), url("../img/hero-police.jpg");
  background-size: cover; background-position: right center; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-top: clamp(56px, 6vw, 120px); padding-bottom: clamp(64px, 6.5vw, 130px); min-height: clamp(480px, 38vw, 760px); }
.hero h1 { color: #fff; }
.kicker { text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; color: #9fc0e6; margin: 0 0 12px; }
.hero-lead { font-size: clamp(18px, 1.15vw, 22px); color: #dbe6f2; max-width: 760px; }
.hero-act { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 820px; }
.hero-facts li { background: rgba(8, 26, 49, .55); backdrop-filter: blur(2px); border-radius: var(--r); padding: 14px; font-size: 14px; color: #c9d8e8; }
.hero-facts b { display: block; color: #fff; font-size: 16px; }
.hero-art { display: none; }

.sec { padding: 56px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-h { margin: 0 0 24px; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.2vw, 24px); }   /* 8 услуг: 4×2, на широком 8×1 */
@media (min-width: 2100px) { .cards { grid-template-columns: repeat(8, 1fr); } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; gap: 8px; transition: box-shadow .15s, transform .15s, border-color .15s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; color: var(--ink); }
.card-ico { width: 44px; height: 44px; color: var(--accent); }
.card-t { font-weight: 700; font-size: 18px; color: var(--navy); }
.card-d { font-size: 14px; color: var(--muted); }

.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.2vw, 24px); }
/* «Информация» на главной: всегда целые ряды — 4×2, широкий 6×2, планшет 2×2, телефон 3 в столбик */
.news-grid .news-card:nth-child(n+9) { display: none; }
@media (min-width: 2100px) { .news-grid { grid-template-columns: repeat(6, 1fr); } .news-grid .news-card:nth-child(n+9) { display: flex; } }
@media (max-width: 1000px) { .news-grid { grid-template-columns: repeat(2, 1fr); } .news-grid .news-card:nth-child(n+5) { display: none; } }
.news-card, .news-row { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.news-card:hover, .news-row:hover { box-shadow: var(--shadow); color: var(--ink); }
.news-card time, .news-row time { font-size: 13px; color: var(--muted); }
.news-card b, .news-row b { color: var(--navy); }
.news-card span, .news-row span { font-size: 14px; color: var(--muted); }
.news-list { display: flex; flex-direction: column; gap: 12px; padding: 28px 0; }
.more { font-weight: 600; text-decoration: none; }

/* --- главная: «визитка» — уезжаете отдыхать? */
.trip { background: linear-gradient(180deg, #fff 0%, #fff7f2 100%); }
.trip-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.trip-img { display: block; border-radius: 20px; overflow: hidden; box-shadow: 0 18px 50px rgba(11, 37, 69, .18); position: relative; }
.trip-img img { display: block; width: 100%; height: auto; }
.trip-kicker { display: inline-block; margin: 0 0 12px; padding: 5px 14px; border-radius: 99px; background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.trip-txt h2 { font-size: clamp(28px, 3vw, 46px); margin: 0 0 16px; line-height: 1.12; }
.trip-lead { font-size: clamp(17px, 1.2vw, 20px); color: #3a4757; margin: 0 0 24px; max-width: 640px; }
.trip-act { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.trip-act .btn { padding: 14px 26px; font-size: 17px; }
.trip-phones { display: flex; flex-wrap: wrap; gap: 6px 24px; }
.trip-phones a { font-size: clamp(20px, 1.6vw, 26px); font-weight: 800; color: var(--navy); text-decoration: none; white-space: nowrap; }
.trip-phones a:hover { color: var(--accent); }
.trip-h { margin: clamp(36px, 4vw, 60px) 0 18px; font-size: clamp(20px, 1.8vw, 26px); color: var(--navy); }
.trip-why { list-style: none; counter-reset: why; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.2vw, 22px); }
.trip-why li { counter-increment: why; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px 20px;
  display: flex; flex-direction: column; gap: 6px; box-shadow: 0 4px 16px rgba(11, 37, 69, .05); }
.trip-why li::before { content: counter(why); position: absolute; top: 14px; right: 16px; font-size: 44px; font-weight: 800; line-height: 1; color: #f3dfd7; }
.trip-why svg { width: 36px; height: 36px; color: var(--accent); margin-bottom: 4px; }
.trip-why b { color: var(--navy); font-size: 17px; }
.trip-why span { font-size: 15px; color: var(--muted); }
@media (max-width: 1300px) { .trip-why { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1000px) { .trip-in { grid-template-columns: 1fr; } .trip-why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trip-why { grid-template-columns: 1fr; } .trip-act .btn { flex: 1; } }

/* --- внутренние страницы */
.page-head { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 26px 0 18px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.page-lead { font-size: 18px; color: var(--muted); margin: 0; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(280px, 22vw, 380px); gap: clamp(28px, 3vw, 64px); padding-top: 32px; padding-bottom: 40px; }
.content { min-width: 0; }
.content h2 { margin-top: 1.6em; }
.content img { border-radius: 8px; }
.content table { border-collapse: collapse; width: 100%; font-size: 15px; }
.content th, .content td { border: 1px solid var(--line); padding: 8px 10px; vertical-align: top; }
.content th { background: var(--bg-alt); }
.tbl { overflow-x: auto; margin: 1em 0; }
.content blockquote { border-left: 4px solid var(--accent); margin: 1em 0; padding: .3em 1em; background: var(--bg-alt); }
.side { position: relative; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; position: sticky; top: 140px; }
.side-h { font-weight: 700; color: var(--navy); }
.side-phone { font-size: 20px; font-weight: 700; text-decoration: none; color: var(--navy); }
.sub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin: 28px 0; }
.sub-card { border: 1px solid var(--line); border-radius: var(--r); padding: 16px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.sub-card:hover { box-shadow: var(--shadow); color: var(--ink); }
.sub-card b { color: var(--navy); }
.sub-card span { font-size: 14px; color: var(--muted); }
.pager { display: flex; gap: 6px; padding-bottom: 32px; }
.pager a, .pager span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.pager .on { background: var(--navy); color: #fff; border-color: var(--navy); }

/* --- каталог оборудования */
.btn-line { border-color: #c8d0da; color: var(--navy); background: #fff; }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.cat { padding-top: 28px; padding-bottom: 48px; }
.cat-group { margin-bottom: 44px; }
.cat-group > h2 { margin: 0 0 18px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.2vw, 24px); }   /* в группах по 3 — целый ряд */
.cat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .15s, transform .15s, border-color .15s; }
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
/* фото на светлой плашке; multiply растворяет белый фон старых jpeg в плашке */
.cat-img { display: flex; align-items: center; justify-content: center; background: var(--bg-alt); height: clamp(200px, 15vw, 280px); padding: 22px; }
.cat-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.cat-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cat-body h3 { margin: 0; font-size: 19px; }
.cat-body h3 a { color: var(--navy); text-decoration: none; }
.cat-body h3 a:hover { color: var(--accent); }
.cat-body p { margin: 0; font-size: 15px; color: var(--muted); }
.cat-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cat-tags li { font-size: 13px; padding: 3px 10px; border-radius: 99px; background: #e8eef6; color: var(--navy2); }
.cat-foot { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cat-foot .btn { padding: 9px 16px; font-size: 15px; flex: 1; }
.cat-price { width: 100%; font-weight: 700; font-size: 18px; color: var(--navy); }
/* одна карточка в группе (комплект, видео) — широкая: фото слева */
.cat-one .cat-grid { grid-template-columns: 1fr; }
.cat-one .cat-card { flex-direction: row; }
.cat-one .cat-img { flex: 0 0 min(42%, 520px); height: auto; min-height: 260px; }
.cat-one .cat-body { padding: 28px 32px; justify-content: center; }
.cat-one .cat-body h3 { font-size: 24px; }
.cat-one .cat-body p { font-size: 16px; max-width: 760px; }
.cat-one .cat-foot { max-width: 420px; }
.cat-cmp-h { margin: 26px 0 10px; color: var(--navy); }
.cat-cmp table { border-collapse: collapse; width: 100%; font-size: 15px; background: #fff; }
.cat-cmp th, .cat-cmp td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.cat-cmp thead th { background: var(--navy); color: #fff; }
.cat-cmp thead th a { color: #fff; }
.cat-cmp tbody th { background: var(--bg-alt); color: var(--navy); width: 18%; white-space: nowrap; }
.cat-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding: 28px 32px;
  border-radius: var(--r); background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); color: #dbe6f2; margin-bottom: 32px; }
.cat-help h2 { color: #fff; margin: 0 0 6px; }
.cat-help p { margin: 0; max-width: 680px; }
.cat-help-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cat-help-phone { color: #fff; font-size: 22px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.cat-help-phone:hover { color: #fff; text-decoration: underline; }
/* страница прибора: модель = фото слева, заголовок и характеристики справа */
.prod { display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: clamp(18px, 2.5vw, 40px); padding: 26px 0;
  border-top: 1px solid var(--line); }
.prod:first-of-type { border-top: 0; padding-top: 6px; }
.prod-img { display: flex; flex-wrap: wrap; align-content: flex-start; justify-content: center; gap: 10px; background: var(--bg-alt);
  border-radius: var(--r); padding: 18px; align-self: start; }
.content .prod-img img { display: block; margin: 0; max-width: 100%; max-height: 240px; width: auto; mix-blend-mode: multiply; border-radius: 0; }
.prod-img img + img { max-width: calc(50% - 5px); }
.prod-txt h2 { margin: 0 0 12px; font-size: clamp(19px, 1.6vw, 24px); }
.prod-txt > p:last-child { margin-bottom: 0; }
.content .prod-specs { border-collapse: collapse; margin: 0 0 12px; font-size: 15px; width: auto; }
.content .prod-specs th, .content .prod-specs td { border: 0; border-bottom: 1px solid var(--line); padding: 7px 18px 7px 0; text-align: left; vertical-align: top; }
.content .prod-specs th { color: var(--muted); font-weight: 400; background: none; }
.prod-specs td { font-weight: 600; color: var(--navy); }
.prod-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 28px 0 8px;
  padding: 18px 22px; border-radius: var(--r); background: var(--bg-alt); }

/* --- услуги и тарифы: карточки с ценой, тарифы, калькулятор, прайс строками */
.cat-group > h2 small { font-size: 15px; font-weight: 400; color: var(--muted); margin-left: 10px; letter-spacing: 0; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.2vw, 24px); }
.svc-card, .plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow .15s, transform .15s, border-color .15s; position: relative; }
.svc-card:hover, .plan:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.svc-ico { width: 40px; height: 40px; color: var(--accent); }
.svc-card h3, .plan h3 { margin: 4px 0 0; font-size: 18px; }
.svc-card h3 a { color: var(--navy); text-decoration: none; }
.svc-card h3 a:hover { color: var(--accent); }
.svc-price, .plan-price { font-size: clamp(24px, 1.8vw, 30px); font-weight: 800; color: var(--navy); line-height: 1.15; white-space: nowrap; }
.svc-card p, .plan p { margin: 0; font-size: 15px; color: var(--muted); }
.svc-card .cat-foot, .plan .cat-foot { padding-top: 10px; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 1.2vw, 24px); }
.plan-hot { border: 2px solid var(--accent); }
.plan-badge { position: absolute; top: -13px; left: 20px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 99px; }
.calc { background: var(--bg-alt); border-radius: var(--r); padding: clamp(20px, 2.4vw, 40px); }
.calc > h2 { margin-bottom: 4px; }
.calc-sub { margin: 0 0 20px; }
.calc-in { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(18px, 2.4vw, 40px); align-items: start; }
.calc-form { display: flex; flex-direction: column; gap: 16px; }
.calc fieldset { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.calc legend { font-weight: 700; color: var(--navy); margin-bottom: 6px; padding: 0; }
.calc-row { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 16px; cursor: pointer; transition: border-color .15s; }
.calc-row:hover { border-color: #b7c3d1; }
.calc-row:has(input:checked) { border-color: var(--navy2); box-shadow: inset 0 0 0 1px var(--navy2); }
.calc-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); }
.calc-row b { color: var(--navy); white-space: nowrap; }
.calc-sum { background: var(--navy); color: #dbe6f2; border-radius: var(--r); padding: 24px; display: flex; flex-direction: column; gap: 12px;
  position: sticky; top: 140px; }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .14); padding-bottom: 10px; }
.calc-line b { color: #fff; font-size: clamp(24px, 2vw, 32px); white-space: nowrap; }
.calc-note { margin: 0; font-size: 14px; color: #a9bdd3; }
.calc-note b { color: #fff; }
.calc-sum .btn { white-space: normal; text-align: center; margin-top: 4px; }
.plist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(20px, 3vw, 56px); }
.plist-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.plist-row:first-of-type { border-top: 1px solid var(--line); }
.plist-row b, .plist-row b a { color: var(--navy); text-decoration: none; }
.plist-row b a:hover { color: var(--accent); }
.plist-row span { display: block; font-size: 14px; color: var(--muted); }
.plist-price { font-weight: 800; font-size: 19px; color: var(--navy); white-space: nowrap; }
.plist-ask { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.plist-ask:hover { text-decoration: underline; }
.prc-note { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
@media (max-width: 1300px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1000px) { .calc-in, .plist-grid { grid-template-columns: 1fr; } .calc-sum { position: static; } .plan-grid { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .plist-row { grid-template-columns: minmax(0, 1fr) auto; } .plist-ask { grid-column: 1 / -1; } }

/* --- готовые решения (видеонаблюдение): комплекты под ключ */
.pkg-intro { max-width: 1100px; margin-bottom: 8px; }
.pkg-perks { list-style: none; padding: 0; margin: 8px 0 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.2vw, 24px); }
.pkg-perks li { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; align-items: center; background: var(--bg-alt); border-radius: var(--r); padding: 16px 18px; }
.pkg-perks svg { width: 34px; height: 34px; color: var(--accent); grid-row: span 2; }
.pkg-perks b { color: var(--navy); }
.pkg-perks span { font-size: 14px; color: var(--muted); }
.pkg-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(18px, 2.4vw, 40px); }
.pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 1.2vw, 24px); }
.pkg-one { grid-template-columns: 1fr; }
.pkg-one .pkg-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.pkg-one .pkg-group > h2 { margin-bottom: 18px; }
.pkg-article { margin: 4px 0 28px; }
.pkg-l, .pkg-r { display: flex; flex-direction: column; gap: 8px; }
.pkg-r { flex: 1; }
.pkg-r .cat-foot { margin-top: auto; }
.pkg-solo { grid-template-columns: 1fr !important; }
.pkg-solo .pkg-card { flex-direction: row; gap: 20px clamp(24px, 4vw, 64px); padding: 26px 30px; }
.pkg-solo .pkg-l { flex: 0 0 min(36%, 420px); }
.pkg-solo .pkg-r { justify-content: center; }
.pkg-solo .cat-foot { margin-top: 6px; max-width: 460px; }
.pkg-calc { font-size: 15px; font-weight: 600; color: var(--accent); text-decoration: none; }
.pkg-calc:hover { text-decoration: underline; }
@media (max-width: 760px) { .pkg-solo .pkg-card { flex-direction: column; padding: 22px; } .pkg-solo .pkg-l { flex: none; } }
.pkg-eq-img svg { width: 48px; height: 48px; color: var(--navy2); }
.pkg-sub { font-size: 14px; color: var(--muted); }
.pkg-sub b { color: var(--navy); white-space: nowrap; }
.pkg-inc { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.pkg-inc li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; }
.pkg-inc svg { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; }
.pkg-eq { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--r); padding: 14px 24px 14px 14px; margin: 0 0 28px; background: #fff; transition: box-shadow .15s; }
.pkg-eq:hover { box-shadow: var(--shadow); color: var(--ink); }
.pkg-eq-img { display: flex; width: 120px; height: 90px; align-items: center; justify-content: center; background: var(--bg-alt); border-radius: 10px; padding: 8px; }
.pkg-eq-img img { max-height: 100%; mix-blend-mode: multiply; }
.pkg-eq b { display: block; color: var(--navy); font-size: 18px; }
.pkg-eq > span > span { font-size: 15px; color: var(--muted); }
.pkg-eq-go { font-weight: 700; color: var(--accent); white-space: nowrap; }
@media (max-width: 1300px) { .pkg-groups { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .pkg-perks, .pkg-grid { grid-template-columns: 1fr; } .pkg-eq { grid-template-columns: 1fr; } .pkg-eq-img { width: 100%; height: 140px; } }

/* --- клиентам: личный кабинет, документы, сертификаты */
.cab { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 24px clamp(24px, 4vw, 72px); align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); color: #dbe6f2; border-radius: var(--r); padding: clamp(22px, 3vw, 44px); margin-bottom: 44px; }
.cab-ico { width: 44px; height: 44px; color: #fff; background: var(--accent); border-radius: 50%; padding: 9px; }
.cab h2 { color: #fff; margin: 12px 0 12px; }
.cab-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.cab-list li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; }
.cab-list svg { width: 20px; height: 20px; color: #7fd1a0; margin-top: 3px; }
.cab-hint { margin: 0; font-size: 15px; color: #a9bdd3; }
.cab-act { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.cab > * { min-width: 0; }
.cab-btn { padding: 16px 22px; font-size: 18px; white-space: normal; text-align: center; }
.cab-btn svg { width: 22px; height: 22px; }
.cab-app { color: #fff; font-weight: 600; text-decoration: none; text-align: center; }
.cab-app:hover { color: #fff; text-decoration: underline; }
.cab-contacts { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 14px; font-size: 15px; color: #c9d8e8; }
.cab-contacts p { margin: 0 0 8px; }
.cab-contacts p:last-child { margin-bottom: 0; }
.cab-contacts a { color: #fff; font-weight: 700; white-space: nowrap; text-decoration: none; }
.cab-contacts a:hover { text-decoration: underline; }
.docs-sub { margin: -8px 0 18px; }
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(12px, 1vw, 20px); }
.doc-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 18px; transition: box-shadow .15s, border-color .15s; }
.doc-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.doc-ico { width: 40px; height: 40px; color: var(--accent); }
.doc-body { display: flex; flex-direction: column; gap: 6px; }
.doc-body b { color: var(--navy); }
.doc-body > span { font-size: 14px; color: var(--muted); }
.doc-acts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 6px; align-items: center; }
.doc-open { font-weight: 700; color: var(--accent); text-decoration: none; }
.doc-open:hover { text-decoration: underline; }
.doc-dl { display: inline-flex; align-items: center; gap: 5px; font-size: 14px; color: var(--muted); text-decoration: none; }
.doc-dl:hover { color: var(--navy); }
.doc-dl svg { width: 16px; height: 16px; }
.docs-note { margin-top: 16px; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: clamp(12px, 1vw, 20px); }
.cert-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s; }
.cert-card:hover { box-shadow: var(--shadow); }
.cert-view { position: relative; display: block; border: 0; padding: 14px; background: var(--bg-alt); cursor: zoom-in; aspect-ratio: 3 / 4; }
.cert-view img { width: 100%; height: 100%; object-fit: contain; box-shadow: 0 2px 10px rgba(11, 37, 69, .18); background: #fff; }
.cert-n { position: absolute; top: 10px; right: 10px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; }
.cert-eye { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(11, 37, 69, .45); opacity: 0; transition: opacity .15s; }
.cert-eye svg { width: 44px; height: 44px; color: #fff; }
.cert-view:hover .cert-eye, .cert-view:focus-visible .cert-eye { opacity: 1; }
.cert-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cert-body b { color: var(--navy); font-size: 15px; line-height: 1.3; }
.cert-eq { font-size: 13px; color: var(--muted); }
.cert-body .doc-dl { margin-top: auto; padding-top: 6px; }
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5, 14, 28, .92); display: grid; grid-template-columns: 64px minmax(0, 1fr) 64px;
  grid-template-rows: auto minmax(0, 1fr); align-items: center; }
.lb[hidden] { display: none; }
.lb-top { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 10px 16px; color: #fff; }
.lb-title { flex: 1; font-size: 16px; }
.lb-n { color: #a9bdd3; font-size: 14px; }
.lb-x, .lb-prev, .lb-next { background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; justify-self: center; }
.lb-x:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .22); }
.lb-img { max-width: 100%; max-height: calc(100vh - 90px); margin: 0 auto; display: block; background: #fff; }
.lb-one .lb-prev, .lb-one .lb-next { visibility: hidden; }
@media (max-width: 760px) {
  .cab { grid-template-columns: 1fr; }
  .lb { grid-template-columns: 0 minmax(0, 1fr) 0; }
  .lb-prev, .lb-next { position: fixed; bottom: 18px; z-index: 2; }
  .lb-prev { left: 18px; } .lb-next { right: 18px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- заявка */
.lead-sec { background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%); color: #fff; padding: 56px 0; }
.lead-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 96px); align-items: start; }
.lead-sec h2 { color: #fff; margin-top: 0; }
.lead-txt p { color: #dbe6f2; }
.lead-phones a { display: block; color: #fff; font-size: 24px; font-weight: 700; text-decoration: none; }
.lead-form { background: #fff; color: var(--ink); border-radius: var(--r); padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.lead-form .wide { grid-column: 1 / -1; }
.lead-form input, .lead-form select, .lead-form textarea { font: 16px var(--font); padding: 10px 12px; border: 1px solid #c8d0da; border-radius: 8px; color: var(--ink); background: #fff; width: 100%; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid #9fc0e6; border-color: var(--navy2); }
.lead-form .agree { flex-direction: row; align-items: flex-start; gap: 8px; }
.lead-form .agree input { width: auto; margin-top: 4px; }
.lead-form .hp { position: absolute; left: -9999px; }
.req { color: var(--accent); }
.form-msg { margin: 0; font-size: 15px; min-height: 1em; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--accent); }

/* --- подвал */
.foot { background: #081a31; color: #c3cfdc; padding: 44px 0 20px; font-size: 15px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(24px, 4vw, 96px); }
.foot a { color: #e8eef5; display: block; text-decoration: none; margin: 3px 0; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .muted { color: #8fa1b5; }
.foot-brand { font-size: 22px; font-weight: 700; color: #fff; }
.foot-h { color: #fff; font-weight: 700; margin-bottom: 8px; }
.foot-phone { font-size: 18px; font-weight: 700; }
.foot-copy { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 28px; padding-top: 16px; font-size: 13px; }

/* --- адаптив */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; }
  .page-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .side-box { position: static; }
  .lead-in { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top-in { min-height: 60px; gap: 8px; }
  .brand { gap: 8px; min-width: 0; }
  .brand-txt b { font-size: 19px; }
  .burger { flex: none; }
  .brand-txt small, .top-cta { display: none; }
  .brand-logo { height: 42px; }
  .top-phone { font-size: 16px; }
  .burger { display: block; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav-in { flex-direction: column; align-items: stretch; padding: 8px 12px 14px; }
  .nav a { padding: 12px; font-size: 16px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* телефон: сверху полоса с машиной, текст ниже на сплошном тёмно-синем */
  .hero-in { padding-top: 236px; padding-bottom: 48px; min-height: 0; }
  .hero { background-color: #081a31;
    background-image: linear-gradient(180deg, rgba(8, 26, 49, 0) 0%, rgba(8, 26, 49, 0) 150px, #081a31 250px), url("../img/hero-police-960.jpg");
    background-size: 100% 100%, auto 260px; background-position: 0 0, 72% 0; background-repeat: no-repeat; }
  .hero-facts { grid-template-columns: 1fr; }
  .news-grid, .sub-cards, .foot-in { grid-template-columns: 1fr; }
  .news-grid .news-card:nth-child(n+4) { display: none; }
  .lead-form { grid-template-columns: 1fr; }
  .sec { padding: 40px 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .cat-one .cat-card { flex-direction: column; }
  .cat-one .cat-img { flex: none; min-height: 0; height: 220px; }
  .cat-one .cat-body { padding: 18px 20px 20px; }
  .prod { grid-template-columns: 1fr; }
  .cat-help { padding: 22px 20px; }
}
@media (max-width: 420px) { .cards { grid-template-columns: 1fr; } .hero-act .btn { width: 100%; } }
@media (max-width: 520px) { .top-contacts { display: none; } .top-call { display: inline-flex; } }
@media (max-width: 1440px) { .u-note { display: none; } }
@media (max-width: 1100px) { .u-label { display: none; } .u-label-s { display: inline; } .utility { font-size: 13px; } }
@media (max-width: 760px) { .top-hours { display: none; } .u-info { margin-left: 0; } .utility-in { justify-content: center; min-height: 32px; } }
/* телефон/планшет: «Личный кабинет» — круглая иконка в шапке + пункт в меню */
@media (max-width: 1100px) { .top-cab { width: 44px; height: 44px; padding: 0; border-radius: 50%; flex: none; } .top-cab span { display: none; } }
@media (max-width: 760px) { .nav-cab { display: block; font-weight: 700; } }

@media (min-width: 1800px) { body { font-size: 18px; } .card-t { font-size: 19px; } }

/* текст — на всю ширину (сайт резиновый, решение пользователя 07.10); картинки по центру */
.content img { display: block; margin: 1.2em auto; }
.content p:not(.with-img):has(> img:only-child), .content p:not(.with-img):has(> a:only-child > img) { text-align: center; }
/* вопрос-ответ (F.A.Q.): нажал на вопрос — открылся ответ */
.content details { border: 1px solid var(--line); border-radius: var(--r); margin: 10px 0; background: #fff; }
.content details[open] { box-shadow: var(--shadow); border-color: transparent; }
.content summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font-weight: 700; color: var(--navy); position: relative; }
.content summary::-webkit-details-marker { display: none; }
.content summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px;
  border-radius: 50%; background: var(--bg-alt); color: var(--accent); font: 700 22px/28px var(--font); text-align: center; transition: transform .2s; }
.content details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.content summary:hover { color: var(--accent); }
.content details > :not(summary) { margin: 0 20px 14px; }
.content details > p:first-of-type { margin-top: -4px; }
/* значок в начале абзаца (бронза/серебро/золото и т.п.) — слева, текст обтекает, как на старом сайте */
.content p.with-img { display: flow-root; }
.content p.with-img img { display: inline; float: left; margin: .15em 14px .3em 0; border-radius: 0; }
