/* Портал «МБ Облако» — v2 (04.11.2026). Строгий корпоративный стиль облачного провайдера:
   белый фон, тёмно-синие акцентные секции, один яркий синий для действий, много воздуха,
   плотная типографика. Логотипные цвета (#91AFCA, #C39A96) — только в иллюстрациях. */
:root {
  --bg: #ffffff;
  --surface: #f6f7f9;
  --surface-2: #eef1f5;
  --line: #e4e7ec;
  --line-strong: #d0d5dd;
  --text: #101828;
  --text-2: #475467;
  --text-3: #667085;
  --navy: #0b1b33;
  --navy-2: #122a4d;
  --primary: #1d5fd1;
  --primary-hover: #174ba8;
  --primary-soft: #e8f0fd;
  --logo-blue: #91afca;
  --logo-rose: #c39a96;
  --ok: #0f7a4b;
  --warn: #9a6414;
  --danger: #c0392b;
  --radius: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 48px -12px rgba(16, 24, 40, .18);
  --font-head: "Rubik", "Segoe UI", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
  --container: 1232px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 16px; line-height: 1.6; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.015em; color: var(--text); }
h1 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.page-narrow { max-width: 880px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-title { margin: 0; }
.section-kicker { font-family: var(--font-head); font-size: .8rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin: 0 0 10px; }
.section-intro { color: var(--text-2); max-width: 680px; margin: 10px 0 0; font-size: 1.05rem; }
.muted { color: var(--text-3); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 20px; height: 20px; }
.icon-xs { width: 16px; height: 16px; vertical-align: -3px; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-family: var(--font-head); font-weight: 500; font-size: .97rem; line-height: 1; border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-outline { background: #fff; color: var(--text); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--text-3); color: var(--text); background: var(--surface); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface); color: var(--text); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef1f5; color: var(--navy); }
.btn-inverse { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-inverse:hover { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.6); }
.btn-sm { height: 38px; padding: 0 14px; font-size: .9rem; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 1.05rem; }
.btn:disabled { opacity: .6; cursor: wait; }
.link-more { font-weight: 500; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Шапка и мегаменю ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { display: block; height: 38px; width: 134px; }
.main-nav { flex: 1; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; border-radius: 8px; color: var(--text); font-family: var(--font-head); font-weight: 500; font-size: .95rem; background: none; border: 0; cursor: pointer; }
.nav-link:hover, .nav-link[aria-current], .nav-item.open > .nav-link { background: var(--surface-2); color: var(--text); }
.nav-chevron { transition: transform .15s; color: var(--text-3); }
.nav-item.open .nav-chevron { transform: rotate(180deg); }
.nav-panel { position: absolute; left: 0; top: calc(100% + 8px); display: none; z-index: 70; }
.nav-item.open > .nav-panel { display: block; }
.nav-panel-inner { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: 20px; display: grid; gap: 8px 28px; min-width: 300px; }
.nav-panel-inner.cols-2 { grid-template-columns: repeat(2, 280px); }
.nav-panel-inner.cols-3 { grid-template-columns: repeat(3, 280px); }
.nav-group-title { margin: 4px 0 8px 12px; font-family: var(--font-head); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.nav-group ul { list-style: none; margin: 0; padding: 0; }
.nav-group a { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--text); }
.nav-group a:hover { background: var(--surface); }
.nav-group a .icon { grid-row: span 2; color: var(--primary); }
.nav-link-title { font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.nav-link-text { font-size: .83rem; color: var(--text-3); line-height: 1.3; }
.nav-panel-all { grid-column: 1 / -1; margin-top: 6px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-weight: 500; display: inline-flex; gap: 6px; align-items: center; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--text); white-space: nowrap; margin-right: 6px; }
.header-phone:hover { color: var(--primary); }
.header-phone-icon { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; color: var(--text); }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: 10px; position: relative; cursor: pointer; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; position: absolute; left: 11px; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s, top .2s; }
.nav-toggle-bar { top: 20px; }
.nav-toggle-bar::before { top: -6px; left: 0; }
.nav-toggle-bar::after { top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

/* ---------- Обложка ---------- */
.hero { position: relative; padding: 80px 0 72px; overflow: hidden; background: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(16,24,40,.045) 1px, transparent 1px), linear-gradient(to bottom, rgba(16,24,40,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 90%); -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 90%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .82rem; font-weight: 500; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 8px; margin-bottom: 22px; }
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(18,146,91,.15); }
.hero-title { font-size: clamp(2.3rem, 4.1vw, 3.6rem); margin-bottom: 20px; letter-spacing: -0.02em; }
.hero-title em { font-style: normal; color: var(--primary); }
.hero-text { font-size: 1.15rem; color: var(--text-2); max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--text-2); font-size: .92rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--ok); }

/* Консоль-иллюстрация */
.console { position: relative; background: var(--navy); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); color: #dbe3ef; font-size: .82rem; overflow: hidden; border: 1px solid rgba(255,255,255,.06); }
.console-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); display: inline-block; }
.console-bar span { margin-left: 8px; color: rgba(255,255,255,.55); font-family: var(--font-head); font-size: .78rem; }
.console-body { display: grid; grid-template-columns: 150px 1fr; }
.console-side { border-right: 1px solid rgba(255,255,255,.08); padding: 14px 10px; display: grid; gap: 4px; align-content: start; }
.console-side a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; color: rgba(255,255,255,.7); }
.console-side a.active { background: rgba(255,255,255,.1); color: #fff; }
.console-side .icon { width: 16px; height: 16px; }
.console-main { padding: 16px; display: grid; gap: 14px; }
.console-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.console-stat { background: rgba(255,255,255,.06); border-radius: 10px; padding: 10px 12px; }
.console-stat small { display: block; color: rgba(255,255,255,.55); margin-bottom: 4px; }
.console-stat b { font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; color: #fff; }
.console-stat .up { color: #6ee7b7; font-size: .75rem; margin-left: 6px; }
.console-chart { background: rgba(255,255,255,.06); border-radius: 10px; padding: 12px; }
.console-chart svg { display: block; width: 100%; height: 86px; }
.console-rows { display: grid; gap: 6px; }
.console-row { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 8px 10px; background: rgba(255,255,255,.04); border-radius: 8px; }
.console-row b { font-weight: 500; color: #fff; }
.console-row .pill { font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: rgba(110,231,183,.15); color: #6ee7b7; }
.console-row .pill.warn { background: rgba(251,191,36,.15); color: #fbbf24; }
.console-row .mono { color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.hero-badge { position: absolute; right: -14px; bottom: 28px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-md); display: grid; gap: 2px; font-size: .85rem; min-width: 190px; }
.hero-badge b { font-family: var(--font-head); font-weight: 500; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; margin-right: 6px; }

/* ---------- Полоса фактов ---------- */
.facts-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.facts-strip .facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; background: none; border-radius: 0; }
.facts-strip .fact { padding: 26px 24px; border-right: 1px solid var(--line); }
.facts-strip .fact:first-child { padding-left: 0; }
.facts-strip .fact:last-child { border-right: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px; margin: 0; padding: 28px; background: var(--surface); border-radius: var(--radius-lg); }
.fact-value { font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--text); line-height: 1.1; letter-spacing: -0.02em; }
.fact-label { margin: 6px 0 0; color: var(--text-2); font-size: .93rem; }

/* ---------- Карточки ---------- */
.cards { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.card-link:hover { color: var(--text); border-color: var(--line-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-icon { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; background: var(--primary-soft); color: var(--primary); }
.card-icon .icon { width: 24px; height: 24px; }
.card-title { margin: 6px 0 0; font-size: 1.08rem; }
.card-text { color: var(--text-2); font-size: .95rem; margin: 0; flex: 1; }
.card-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.card-price { font-family: var(--font-head); font-weight: 500; color: var(--text); font-size: .95rem; }
.card-more { color: var(--primary); font-weight: 500; font-size: .92rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.badge { display: inline-block; font-family: var(--font-body); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 3px 8px; border-radius: 6px; vertical-align: middle; background: var(--surface-2); color: var(--text-2); }
.badge-live { background: #e4f5ec; color: var(--ok); }
.badge-beta { background: #fdf3e2; color: var(--warn); }
.badge-dev, .badge-soon { background: var(--primary-soft); color: var(--primary); }

/* Продукты на главной */
.product-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-tile { display: flex; flex-direction: column; background: var(--navy); color: #fff; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.06); transition: transform .15s, box-shadow .15s; }
.product-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: #fff; }
.product-tile-art { height: 170px; background: linear-gradient(160deg, var(--navy-2), var(--navy)); padding: 22px 22px 0; }
.app-window { height: 100%; background: #fff; border-radius: 10px 10px 0 0; box-shadow: 0 -8px 30px rgba(0,0,0,.25); overflow: hidden; display: grid; grid-template-rows: 28px 1fr; }
.app-window-bar { background: var(--surface-2); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 10px; }
.app-window-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.app-window-body { padding: 12px; display: grid; gap: 8px; }
.app-window-body .l { height: 8px; border-radius: 4px; background: var(--surface-2); }
.app-window-body .l.w60 { width: 60%; } .app-window-body .l.w80 { width: 80%; } .app-window-body .l.w40 { width: 40%; }
.app-window-body .l.accent { background: var(--primary-soft); }
.app-window-body .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.app-window-body .grid i { height: 26px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); }
.product-tile-body { padding: 20px 22px 22px; display: grid; gap: 8px; }
.product-tile-body h3 { color: #fff; margin: 0; display: flex; align-items: center; gap: 10px; }
.product-tile-body p { color: rgba(255,255,255,.72); margin: 0; font-size: .93rem; }
.product-tile-body .badge { background: rgba(255,255,255,.12); color: #fff; }
.product-tile-more { margin-top: 6px; color: #fff; font-weight: 500; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }

/* Тёмная секция */
.band { background: var(--navy); color: #fff; }
.band h2, .band h3 { color: #fff; }
.band .section-kicker { color: var(--logo-blue); }
.band p { color: rgba(255,255,255,.75); }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.band-item { padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.band-item .icon { color: var(--logo-blue); width: 28px; height: 28px; margin-bottom: 12px; }
.band-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.band-item p { font-size: .95rem; margin: 0; }

/* Тарифы */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 14px; background: #fff; align-content: start; }
.plan.featured { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; position: relative; }
.plan.featured::before { content: "Чаще всего"; position: absolute; top: -12px; left: 24px; background: var(--primary); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.plan h3 { margin: 0; }
.plan-price { font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; }
.plan-price small { font-size: .9rem; font-weight: 400; color: var(--text-3); margin-left: 4px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--text-2); font-size: .95rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .icon { color: var(--ok); width: 18px; height: 18px; margin-top: 3px; }

/* ---------- Страницы ---------- */
.breadcrumbs { margin: 24px 0 8px; font-size: .88rem; color: var(--text-3); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs a { color: var(--text-3); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.page-title { margin-top: 8px; }
.page-header { display: grid; grid-template-columns: 64px 1fr; gap: 22px; align-items: start; margin: 12px 0 36px; }
.page-icon { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary); }
.page-icon .icon { width: 32px; height: 32px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.price-from { font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; color: var(--text); margin: 6px 0; }
.lead-text { font-size: 1.15rem; color: var(--text-2); max-width: 760px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.3em; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1.2em 0; padding: 12px 20px; border-left: 3px solid var(--primary); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--text-2); }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .92em; }
.prose pre { background: var(--navy); color: #e6edf6; padding: 14px 16px; border-radius: var(--radius); overflow-x: auto; font-size: .9em; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.block-heading { margin-top: 1.8em; }
.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 32px 0; }
.callout { border-radius: var(--radius); padding: 14px 18px; margin: 24px 0; border: 1px solid var(--line); background: var(--surface); max-width: 760px; }
.callout-warn { background: #fdf6e8; border-color: #f0dcb4; }
.callout-ok { background: #e9f7ef; border-color: #c4e8d3; }
.callout p:last-child { margin-bottom: 0; }
.figure { margin: 28px 0; }
.figure img { border-radius: var(--radius); display: block; }
.figure figcaption { color: var(--text-3); font-size: .9rem; margin-top: 8px; }
.table-wrap { overflow-x: auto; margin: 24px 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--font-head); font-weight: 500; color: var(--text-2); font-size: .85rem; letter-spacing: .02em; }
.price-table .price-cell { font-family: var(--font-head); font-weight: 500; color: var(--text); white-space: nowrap; }
.footnote { color: var(--text-3); font-size: .88rem; margin-top: 10px; }
.doc-list { list-style: none; padding: 0; margin: 0; }
.doc-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 12px 0 0; }
.tag-list a { display: inline-block; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--text-2); font-size: .88rem; }
.tag-list a:hover, .tag-list a.active { border-color: var(--primary); color: var(--primary); }

/* Шаги, FAQ */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; grid-template-columns: 1fr; gap: 10px; }
.step-num { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 10px; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 500; }
.step-title { font-size: 1.05rem; margin: 0; }
.step p { color: var(--text-2); font-size: .95rem; margin: 0; }
.faq { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 18px 36px 18px 0; font-family: var(--font-head); font-weight: 500; font-size: 1.02rem; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 8px; top: 24px; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(225deg); top: 28px; }
.faq-answer { padding: 0 0 18px; color: var(--text-2); }

/* CTA */
.cta-block { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 44px 48px; margin: 48px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-title { color: #fff; margin-bottom: 8px; }
.cta-text { color: rgba(255,255,255,.78); margin: 0; max-width: 620px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-block .btn-primary { background: #fff; color: var(--navy); }
.cta-block .btn-primary:hover { background: #eef1f5; }
.cta-block .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.cta-block .btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* Калькулятор */
.calc { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; margin: 24px 0; }
.calc-controls { display: grid; gap: 20px; }
.calc-field > span { display: block; font-family: var(--font-head); font-weight: 500; margin-bottom: 8px; font-size: .95rem; }
.calc-input { display: flex; align-items: center; gap: 10px; }
.calc-input input[type=number] { width: 150px; height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; font-size: 1.05rem; background: #fff; }
.calc-input input[type=number]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29,95,209,.15); }
.calc-input em { font-style: normal; color: var(--text-3); }
.calc-field input[type=range] { width: 100%; margin-top: 12px; accent-color: var(--primary); }
.calc-hint { display: block; color: var(--text-3); font-size: .86rem; margin-top: 6px; }
.calc-check { display: flex; align-items: center; gap: 10px; font-size: .95rem; }
.calc-check input { width: 18px; height: 18px; accent-color: var(--primary); }
.calc-result { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 14px; align-content: start; position: sticky; top: calc(var(--header-h) + 16px); }
.calc-total { display: grid; gap: 2px; }
.calc-total-label { color: var(--text-2); font-size: .92rem; }
.calc-total-value { font-family: var(--font-head); font-size: 2.3rem; font-weight: 600; color: var(--text); line-height: 1.1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-total-unit { color: var(--text-3); }
.calc-lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--text-2); }
.calc-lines li { display: flex; justify-content: space-between; gap: 12px; }
.calc-lines b { font-weight: 500; color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc-note { color: var(--text-3); font-size: .83rem; margin: 0; }

/* Новости */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.news-card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.news-card-media { display: block; aspect-ratio: 16 / 10; background: var(--surface-2); }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-card-placeholder { display: flex; height: 100%; align-items: center; justify-content: center; color: var(--logo-blue); }
.news-card-placeholder .icon { width: 44px; height: 44px; }
.news-card-body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.news-date { color: var(--text-3); font-size: .85rem; }
.news-title { font-size: 1.05rem; margin: 0; }
.news-title a { color: var(--text); }
.news-title a:hover { color: var(--primary); }
.news-intro { color: var(--text-2); font-size: .93rem; margin: 0; }
.article-header { margin-bottom: 24px; }
.article-footer { margin: 40px 0; padding-top: 20px; border-top: 1px solid var(--line); }
.pagination { display: flex; justify-content: center; gap: 20px; margin: 30px 0; color: var(--text-3); }

/* Документация */
.docs-layout { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.docs-sidebar { position: sticky; top: calc(var(--header-h) + 16px); font-size: .93rem; }
.docs-sidebar-title { font-family: var(--font-head); font-weight: 600; margin: 24px 0 10px; }
.docs-tree { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.docs-tree li a { display: block; padding: 6px 12px; color: var(--text-2); border-left: 2px solid transparent; margin-left: -2px; }
.docs-tree li a:hover, .docs-tree li a[aria-current] { color: var(--text); border-left-color: var(--primary); }
.docs-tree .depth-2 a { padding-left: 24px; }
.docs-tree .depth-3 a { padding-left: 36px; }
.docs-updated { font-size: .86rem; margin-top: 40px; }
.doc-table td, .doc-table th { font-size: .93rem; }

/* Форма заявки */
.lead-section { background: var(--surface); border-top: 1px solid var(--line); padding: 72px 0; margin-top: 56px; }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.lead-copy p { color: var(--text-2); }
.lead-points { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.lead-points li { display: flex; align-items: center; gap: 10px; }
.lead-points .icon { color: var(--ok); }
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-md); display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: .9rem; font-weight: 500; color: var(--text-2); }
.field em { color: var(--danger); font-style: normal; }
.field input, .field textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29,95,209,.15); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .8rem; color: var(--text-3); margin: 0; }
.form-status { margin: 0; min-height: 1.4em; font-size: .93rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--danger); }

/* Подвал */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 64px 0 28px; font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer-brand img { filter: brightness(0) invert(1); opacity: .95; width: 134px; height: 38px; }
.footer-tagline { margin: 16px 0; max-width: 340px; }
.footer-contacts { line-height: 1.9; }
.footer-heading { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 14px; font-weight: 500; }
.footer-heading a { color: rgba(255,255,255,.5); }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-legal p { margin: 0 0 6px; max-width: 760px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-panel-inner.cols-3 { grid-template-columns: repeat(2, 260px); }
  .header-phone { display: none; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-row { gap: 12px; }
  .main-nav { position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; display: none; z-index: 55; padding: 12px 20px 40px; }
  body.nav-open .main-nav { display: block; }
  body.nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; justify-content: space-between; height: 52px; padding: 0 4px; font-size: 1.05rem; border-radius: 0; }
  .nav-link:hover, .nav-item.open > .nav-link { background: none; }
  .nav-panel { position: static; }
  .nav-panel-inner { box-shadow: none; border: 0; padding: 0 0 12px; grid-template-columns: 1fr !important; min-width: 0; }
  .nav-group a { padding: 10px 4px; }
  .nav-panel-all { padding-left: 4px; }
  .header-actions { margin-left: auto; }
  .header-actions .btn-outline { display: none; }
  .hero { padding: 48px 0; }
  .hero-grid, .lead-grid, .calc, .two-columns, .docs-layout { grid-template-columns: 1fr; }
  .hero-badge { position: static; margin-top: 12px; }
  .cols-3, .news-grid, .steps, .product-tiles, .band-grid, .plans { grid-template-columns: repeat(2, 1fr); }
  .facts-strip .facts { grid-template-columns: repeat(2, 1fr); }
  .facts-strip .fact { padding: 18px 16px; }
  .facts-strip .fact:nth-child(2) { border-right: 0; }
  .docs-sidebar, .calc-result { position: static; }
  .section { padding: 56px 0; }
}
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .cols-2, .cols-3, .cols-4, .news-grid, .steps, .product-tiles, .band-grid, .plans { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .hero-actions .btn { width: 100%; }
  .header-actions .btn-primary { display: none; }
  .header-phone-icon { display: inline-flex; }
  .page-header { grid-template-columns: 1fr; }
  .cta-block { padding: 28px 22px; }
  .cta-actions .btn { width: 100%; }
  .calc { padding: 18px; }
  .lead-form { padding: 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .console-body { grid-template-columns: 1fr; }
  .console-side { display: none; }
  .facts-strip .facts { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .site-header, .site-footer, .lead-section, .nav-toggle, .hero::before, .cta-block { display: none !important; }
  body { font-size: 12pt; color: #000; }
  a { color: #000; text-decoration: underline; }
}
