/* 4fix — стили сайта. Палитра по логотипу: синий + графит. Шрифт Roboto. */
:root {
  --brand: #1683E0;
  --brand-600: #0B5FB5;
  --brand-50: #E5F2FD;
  --sky: #8FD0FF;
  --navy: #0D3B73;
  --navy-2: #1468C2;
  --ink: #1E2A3B;
  --ink-2: #3B4350;
  --muted: #6B7280;
  --line: #E1E5EB;
  --bg: #F5F7FA;
  --white: #fff;
  --orange: #FF7A1A;
  --orange-50: #FFF0E4;
  --ok: #16A34A;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 24px;
  --shadow: 0 20px 48px rgba(13, 59, 115, .14);
  --wrap: 1200px;
  --font: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.ico { flex: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; margin-top: 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: 15px; line-height: 1.2; cursor: pointer; transition: .2s; white-space: nowrap; text-align: center; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-600); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--brand-50); color: var(--navy); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--accent { background: var(--orange); color: #fff; }
.btn--accent:hover { background: #e96a0c; color: #fff; }
.promo--blue .btn--accent { background: var(--brand); }
.btn--block { width: 100%; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

.tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--brand-50); color: var(--brand); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 13px; }
.pill--ok { background: #DCF7E3; color: var(--ok); }

/* ---------- Шапка ---------- */
.topbar { background: var(--navy); color: #fff; font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.topbar__addr { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.75); }
.topbar__right { display: flex; gap: 28px; }
.topbar a { color: #fff; }
.topbar .muted { color: rgba(255,255,255,.65); }
.topbar__cab { color: var(--sky) !important; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 32px; min-height: 76px; }
.logo { display: inline-flex; align-items: baseline; font-weight: 900; font-size: 34px; letter-spacing: -.03em; line-height: 1; color: var(--ink); flex: none; }
.logo:hover { color: var(--ink); }
.logo img { height: 40px; width: auto; }
.logo__4 { background: linear-gradient(160deg, #2FA4F5, #0B5FB5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo--light, .logo--light:hover { color: #fff; }
.nav { flex: 1; }
.nav > ul { display: flex; gap: 30px; }
.nav li { position: relative; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--brand); }
.nav .sub { position: absolute; top: 100%; left: -16px; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 9px 12px; border-radius: 8px; font-weight: 400; }
.nav .sub a:hover { background: var(--bg); }
.nav__mobile-extra { display: none; }
.header__actions { display: flex; align-items: center; gap: 22px; }
.header__phone { display: flex; flex-direction: column; color: var(--ink); line-height: 1.3; }
.header__phone strong { font-weight: 500; }
.header__phone span { font-size: 13px; color: var(--muted); }
.burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; color: var(--ink); }

/* ---------- Секции ---------- */
.sec { padding: 104px 0; }
.sec--gray { background: var(--bg); }
.sec--navy { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.sec--navy .tag { background: rgba(255,255,255,.12); color: var(--sky); }
.sec--navy .shead__sub, .sec--navy .muted { color: rgba(214,230,247,.85); }
.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; margin-bottom: 52px; }
.shead__main { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 720px; }
.shead__title { font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.01em; }
.shead__sub { max-width: 440px; color: var(--muted); font-size: 17px; margin: 0; }

.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink); transition: .2s; }
.sec--gray .card { border-color: transparent; }
a.card:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.card--soft { background: var(--bg); border-color: transparent; }
.card__ico { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--brand-50); color: var(--brand); display: grid; place-items: center; margin-bottom: 8px; }
.card__title { font-size: 19px; font-weight: 500; line-height: 1.3; color: var(--ink); }
.card__text { color: var(--muted); font-size: 15px; margin: 0; }
.card__price { color: var(--brand); font-weight: 500; margin: 0; }
.card__more { margin-top: auto; padding-top: 8px; color: var(--brand); font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.sec--navy .card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); color: #fff; }
.sec--navy .card__title { color: #fff; }
.sec--navy .card__text { color: rgba(214,230,247,.85); }
.sec--navy .card__ico { background: rgba(255,255,255,.12); color: var(--sky); }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 80px 0 112px; overflow: hidden; }
.hero--inner { padding: 56px 0 96px; }
.hero__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.hero .tag { background: rgba(255,255,255,.12); color: var(--sky); }
.hero__title { font-size: clamp(36px, 5vw, 58px); letter-spacing: -.015em; line-height: 1.08; }
.hero__title--md { font-size: clamp(32px, 4.2vw, 50px); }
.hero__sub { font-size: 18px; color: rgba(214,230,247,.92); margin: 0; max-width: 620px; }
.hero__stats { display: flex; gap: 48px; margin: 8px 0 0; padding-top: 8px; }
.hero__stats dt { font-size: 26px; font-weight: 500; }
.hero__stats dd { margin: 2px 0 0; font-size: 14px; color: rgba(169,196,227,.95); }
.hero__img img { border-radius: var(--r-lg); box-shadow: var(--shadow); }
.hero__img--box { aspect-ratio: 6/5; border-radius: var(--r-lg); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; overflow: hidden; }
.hero__img--box img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero__ico { color: var(--sky); }
.hero__visual { position: relative; height: 500px; }
.hero__visual::before { content: ''; position: absolute; inset: 15% 10%; background: #3AA8F5; filter: blur(110px); opacity: .45; border-radius: 50%; }
.hv { position: absolute; border-radius: var(--r-lg); padding: 22px 24px; }
.hv--ticket { top: 30px; left: 0; width: 76%; background: #fff; color: var(--ink); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.hv--report { top: 230px; right: 0; width: 42%; background: var(--brand); color: #fff; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
.hv--report b { font-size: 36px; font-weight: 700; }
.hv--report small { font-size: 13px; opacity: .9; }
.hv--status { top: 310px; left: 6%; width: 54%; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.hv__row { display: flex; justify-content: space-between; align-items: center; }
.hv__mono { font: 500 12px/1.2 ui-monospace, 'SFMono-Regular', Menlo, monospace; letter-spacing: .08em; color: var(--muted); }
.hv--report .hv__mono { color: rgba(255,255,255,.85); }
.hv__title { font-weight: 500; font-size: 18px; }
.hv__title--sm { font-size: 15px; margin-bottom: 10px; }
.hv__who { display: flex; gap: 12px; align-items: center; font-size: 15px; }
.hv__who small { display: block; color: var(--muted); font-size: 13px; }
.hv__av { width: 38px; height: 38px; border-radius: 50%; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-size: 13px; font-weight: 500; flex: none; }
.hv--status li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink-2); padding: 5px 0; }
.hv--status li i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.hv--status li span { margin-left: auto; color: var(--ink); }

.phero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 56px 0 84px; }
.phero__title { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.015em; max-width: 900px; margin: 18px 0 0; }
.phero__title--md { font-size: clamp(28px, 3.8vw, 44px); }
.phero__sub { color: rgba(214,230,247,.92); font-size: 18px; max-width: 720px; margin: 22px 0 0; }
.phero .btns { margin-top: 28px; }
.phero__date { display: block; margin-top: 16px; color: rgba(214,230,247,.85); }
.phero__code { font-size: 96px; font-weight: 900; line-height: 1; color: var(--sky); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(169,196,227,.95); }
.crumbs a { color: rgba(214,230,247,.95); }
.crumbs a:hover { color: #fff; }

/* ---------- Логотипы ---------- */
.logos { padding: 36px 0; }
.logos__in { display: flex; align-items: center; gap: 40px; }
.logos__title { color: var(--muted); font-size: 14px; margin: 0; flex: none; }
.logos__list { flex: 1; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.logos__list li { background: #fff; border-radius: var(--r-md); padding: 14px 26px; display: grid; place-items: center; min-width: 150px; height: 64px; color: var(--muted); font-weight: 500; }
.logos__list img { max-height: 36px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.logos__list li:hover img { filter: none; opacity: 1; }

/* ---------- Цифры ---------- */
.stat { padding: 28px; border-radius: var(--r-lg); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.stat__val { font-size: 52px; font-weight: 700; color: var(--sky); line-height: 1.1; margin-bottom: 14px; letter-spacing: -.02em; }
.stat__title { font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.stat__text { font-size: 14px; color: rgba(214,230,247,.85); margin: 0; }

/* ---------- Шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.step { border-top: 2px solid var(--line); padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.step:first-child { border-color: var(--brand); }
.step__num { font: 500 13px/1 ui-monospace, Menlo, monospace; color: var(--muted); letter-spacing: .08em; }
.step:first-child .step__num { color: var(--brand); }
.step__title { font-size: 24px; font-weight: 500; }
.step__text { color: var(--muted); margin: 0; }

/* ---------- Тарифы ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.plan--hot { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-color: transparent; box-shadow: var(--shadow); }
.plan__badge { position: absolute; top: 28px; right: 24px; padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,.14); color: var(--sky); font-size: 11px; font-weight: 500; letter-spacing: .08em; }
.plan__name { font-size: 20px; font-weight: 500; }
.plan__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price b { font-size: 34px; font-weight: 700; letter-spacing: -.01em; }
.plan__price span { color: var(--muted); }
.plan--hot .plan__price span { color: rgba(214,230,247,.8); }
.plan__users { color: var(--brand); font-weight: 500; margin-top: -10px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.plan--hot .plan__users { color: var(--sky); border-color: rgba(255,255,255,.18); }
.plan__desc { color: var(--muted); }
.plan--hot .plan__desc { color: rgba(214,230,247,.9); }
.plan .checks { flex: 1; }
.plan .btn { margin-top: auto; }
.plans__note { margin: 32px 0 0; color: var(--muted); }
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.checks .ico { color: var(--brand); margin-top: 2px; }
.plan--hot .checks li, .checks--light li { color: rgba(214,230,247,.95); }
.plan--hot .checks .ico, .checks--light .ico { color: var(--sky); }
.checks--lg li { font-size: 16px; font-weight: 500; color: var(--ink); }
.promo--orange .checks .ico { color: var(--orange); }

/* ---------- Таблица ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; }
.cmp th, .cmp td { padding: 17px 22px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; }
.cmp thead th { background: var(--navy); color: #fff; font-weight: 500; }
.cmp thead th.hl { background: var(--brand); }
.cmp tbody th { text-align: left; font-weight: 500; }
.cmp tbody tr:nth-child(even) { background: var(--bg); }
.cmp td.hl { background: var(--brand-50); }
.cmp tr:last-child th, .cmp tr:last-child td { border-bottom: 0; font-weight: 500; }
.cmp .yes { color: var(--brand); display: inline-flex; }
.cmp .no { color: #C9CED6; }

/* ---------- Промо ---------- */
.promo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px; border-radius: var(--r-lg); }
.promo--orange { background: var(--orange-50); }
.promo--blue { background: var(--brand-50); }
.promo--orange .tag { background: #fff; color: var(--orange); }
.promo__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.promo__title { font-size: clamp(26px, 3vw, 36px); }
.promo__text p { color: var(--ink-2); font-size: 17px; }
.promo__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { background: #fff; border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.tile .ico { color: var(--orange); margin-bottom: 10px; }
.promo--blue .tile .ico { color: var(--brand); }
.tile b { font-weight: 500; font-size: 18px; }
.tile small { color: var(--muted); font-size: 14px; }

/* ---------- Команда, отзывы ---------- */
.person { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.person__photo { aspect-ratio: 9/10; border-radius: var(--r-lg); background: var(--bg); display: grid; place-items: center; color: #C9CED6; overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person b { display: block; font-size: 19px; font-weight: 500; }
.person span { color: var(--muted); font-size: 14px; }
.person p { color: var(--ink-2); margin: 12px 0 0; }
.team-solo .person { flex-direction: row; align-items: center; gap: 40px; padding: 28px; background: var(--bg); border-radius: var(--r-lg); }
.team-solo .person__photo { width: 260px; flex: none; background: #fff; }
.team-solo .person b { font-size: 26px; }
@media (max-width: 640px) { .team-solo .person { flex-direction: column; align-items: flex-start; } .team-solo .person__photo { width: 100%; } }
.review { margin: 0; background: #fff; border-radius: var(--r-lg); padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.review__stars { display: flex; gap: 3px; color: var(--orange); }
.review__stars .ico { fill: currentColor; }
.review p { font-size: 17px; flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; }
.review footer b { display: block; font-weight: 500; }
.review footer small { color: var(--muted); }
.review__av { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; font-weight: 500; flex: none; }

/* ---------- Программы ---------- */
.dl { display: grid; grid-template-columns: 380px 1fr; gap: 48px; align-items: center; }
.dl .shead { margin-bottom: 16px; }
.dl .shead__title { font-size: 32px; }
.dl__groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl__group { background: #fff; border-radius: var(--r-lg); padding: 24px; }
.dl__group h3 { font-size: 18px; font-weight: 500; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dl__group h3 .ico { color: var(--brand); }
.dl__group li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 500; font-size: 15px; }
.dl__group li a { font-weight: 400; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 380px 1fr; gap: 80px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 24px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { font-size: 19px; font-weight: 500; }
.qa__ico { transition: .2s; color: var(--ink); flex: none; }
.qa[open] .qa__ico { transform: rotate(45deg); color: var(--brand); }
.qa__a { color: var(--muted); padding: 0 48px 24px 0; }

/* ---------- Форма ---------- */
.cta__in { display: grid; grid-template-columns: 1fr 520px; gap: 80px; align-items: center; }
.cta__text { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.cta__title { font-size: clamp(30px, 3.6vw, 44px); }
.cta__sub { color: rgba(214,230,247,.92); font-size: 18px; margin: 0; }
.cta__contacts { display: flex; flex-direction: column; gap: 14px; }
.cta__contacts li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.cta__contacts .ico { color: var(--sky); }
.cta__contacts a { color: #fff; }
.cta__form { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 40px; box-shadow: var(--shadow); }
.cta__form-title { font-size: 26px; font-weight: 500; }
.cta__form > .muted { margin: 4px 0 18px; font-size: 14px; }
.lead-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.fl { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); }
.fl b { color: #E5484D; font-weight: 400; }
.fl input, .fl select, .fl textarea { width: 100%; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); font-size: 16px; color: var(--ink); transition: .15s; }
.fl input:focus, .fl select:focus, .fl textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px var(--brand-50); }
.fl input.invalid { border-color: #E5484D; }
.lead-form .btn { margin-top: 6px; }
.lead-form__note { font-size: 12px; color: var(--muted); margin: 0; }
.lead-form__msg:empty { display: none; }
.lead-form__msg, .alert { padding: 12px 14px; border-radius: var(--r-md); font-size: 14px; }
.alert--ok, .lead-form__msg.ok { background: #DCF7E3; color: #11793A; }
.alert--err, .lead-form__msg.err { background: #FDE8E8; color: #B42318; }
.hp { position: absolute; left: -9999px; }
.lead-form.sending .btn { opacity: .6; pointer-events: none; }

/* ---------- Текст ---------- */
.text2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.text2__img img { border-radius: var(--r-lg); }
.prose { font-size: 17px; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 30px; color: var(--ink); margin-top: 1.6em; }
.prose h3 { font-size: 22px; color: var(--ink); margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: var(--r-md); }
.prose blockquote { margin: 1.4em 0; padding: 16px 22px; border-left: 4px solid var(--brand); background: var(--bg); border-radius: 0 var(--r-md) var(--r-md) 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; }
.prose .ql-align-center { text-align: center; }
.prose .ql-align-right { text-align: right; }
.shead__title + .prose { margin-top: 24px; }
.text2 .tag, .narrow > div > .tag { margin-bottom: 18px; }

/* ---------- Услуга ---------- */
.inc { display: flex; gap: 16px; padding: 26px; background: var(--bg); border-radius: var(--r-lg); }
.inc__ico { width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.inc h3 { font-size: 19px; font-weight: 500; margin-bottom: 6px; }
.inc p { color: var(--muted); margin: 0; }

/* ---------- Контакты ---------- */
.contacts__row { display: grid; grid-template-columns: 1fr 400px; gap: 24px; margin-top: 24px; }
.contacts__map { min-height: 460px; border-radius: var(--r-lg); overflow: hidden; background: var(--line); }
.contacts__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; }
.contacts__map-empty { height: 100%; min-height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--ink-2); }
.contacts__map-empty .ico { color: var(--brand); }
.contacts__req { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border-radius: var(--r-lg); padding: 32px; }
.contacts__req h2 { font-size: 26px; font-weight: 500; margin-bottom: 18px; }
.contacts__req dt { font-size: 13px; color: rgba(169,196,227,.95); margin-top: 14px; }
.contacts__req dd { margin: 2px 0 0; font-weight: 500; word-break: break-word; }
.card--soft .card__title { font-size: 18px; }

/* ---------- Новости ---------- */
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; transition: .2s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-card__img { aspect-ratio: 16/9; background: var(--bg); display: grid; place-items: center; color: #C9CED6; overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.post-card time { color: var(--muted); font-size: 13px; }
.post-card h3 { font-size: 19px; font-weight: 500; line-height: 1.35; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { color: var(--muted); font-size: 15px; margin: 0; }
.post-cover { margin: 0 0 36px; }
.post-cover img { border-radius: var(--r-lg); width: 100%; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); color: var(--ink); }
.pager span { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Подвал ---------- */
.footer { background: var(--navy); color: rgba(214,230,247,.85); padding: 64px 0 36px; font-size: 14px; }
.footer__top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
.footer__about p { margin: 18px 0; max-width: 320px; }
.footer__contacts li { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.footer__contacts .ico { color: var(--sky); }
.footer a { color: rgba(214,230,247,.85); }
.footer a:hover { color: #fff; }
.footer__title { color: #fff; font-weight: 500; font-size: 16px; margin-bottom: 14px; }
.footer__col li + li { margin-top: 10px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.15); margin-top: 48px; padding-top: 24px; color: rgba(169,196,227,.9); }
.footer__social { display: flex; gap: 20px; }

/* ---------- Служебное ---------- */
.mbar { display: none; }
.draft-bar { background: #FEF3C7; color: #92400E; text-align: center; padding: 10px; font-size: 14px; }
.edit-fab { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; gap: 8px; align-items: center; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 14px; box-shadow: var(--shadow); }
.edit-fab:hover { color: #fff; background: var(--brand); }
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(14,26,44,.55); display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__box { position: relative; background: #fff; border-radius: var(--r-lg); padding: 36px; width: 100%; max-width: 460px; max-height: 92vh; overflow: auto; }
.modal__title { font-size: 24px; font-weight: 500; }
.modal__close { position: absolute; top: 14px; right: 14px; border: 0; background: var(--bg); border-radius: 50%; width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer; }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .nav > ul { gap: 20px; }
  .header__phone { display: none; }
  .grid--4, .plans { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .dl { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .cta__in { grid-template-columns: 1fr 460px; gap: 48px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .topbar__addr { display: none; }
  .topbar__in { justify-content: center; }
  .header__in { gap: 16px; min-height: 66px; }
  .burger { display: block; }
  .header__cta { display: none; }
  .nav { position: fixed; inset: 106px 0 0 0; background: #fff; padding: 20px 24px 120px; overflow-y: auto; transform: translateX(100%); transition: transform .25s; flex: none; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a { padding: 16px 0; font-size: 18px; width: 100%; justify-content: space-between; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 12px; min-width: 0; }
  .nav .sub a { font-size: 16px; padding: 8px 0; }
  .nav__mobile-extra { display: block; margin-top: 24px; }
  .header__actions { margin-left: auto; }
  .hero__in, .promo, .text2, .cta__in, .contacts__row { grid-template-columns: 1fr; }
  .hero__visual { height: 440px; max-width: 520px; width: 100%; }
  .shead { flex-direction: column; align-items: flex-start; gap: 18px; }
  .grid--3 { grid-template-columns: 1fr 1fr; }
  .dl__groups { grid-template-columns: 1fr 1fr; }
  .logos__in { flex-direction: column; align-items: flex-start; gap: 16px; }
  .logos__list { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { padding-bottom: 72px; }
  .wrap { padding: 0 20px; }
  .topbar { display: none; }
  .nav { inset: 66px 0 0 0; }
  .sec { padding: 64px 0; }
  .hero { padding: 40px 0 64px; }
  .phero { padding: 36px 0 56px; }
  .hero__text { gap: 20px; }
  .btns { width: 100%; }
  .btns .btn { flex: 1 1 100%; }
  .hero__stats { gap: 22px; flex-wrap: wrap; }
  .hero__stats dt { font-size: 20px; }
  .hero__visual { height: 400px; }
  .hv--ticket { width: 92%; }
  .hv--report { top: 200px; width: 52%; }
  .hv--status { top: 270px; left: 0; width: 64%; }
  .shead { margin-bottom: 32px; }
  .grid--4, .grid--3, .grid--2, .plans, .steps, .dl__groups, .promo__tiles { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .stat__val { font-size: 40px; }
  .promo { padding: 28px 22px; gap: 28px; }
  .cta__form { padding: 24px 20px; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .contacts__map, .contacts__map iframe, .contacts__map-empty { min-height: 320px; }
  .mbar { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 12px 16px; background: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,.1); }
  .mbar .btn { flex: 1; padding: 14px; }
  .edit-fab { bottom: 84px; }
  .qa__a { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Уточнения */
.cta__form .muted { color: var(--muted); }
.faq .shead, .dl .shead { margin-bottom: 18px; }
.footer .logo, .footer .logo:hover { color: #fff; }
html, body { overflow-x: clip; }
@media (max-width: 960px) {
  .nav { visibility: hidden; }
  .nav.open { visibility: visible; }
}
@media (max-width: 640px) {
  .hero__visual { display: none; }
  .hero__stats > div { min-width: 40%; }
}
@media (max-width: 960px) { .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
