/* =========================================================
   Webline
   Тёмная студийная тема: графит, синий акцент, крупная типографика
   ========================================================= */

:root {
  --bg: #08090c;
  --bg-2: #0c0e13;
  --panel: #11141a;
  --panel-2: #161a22;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);
  --text: #f3f5f9;
  --muted: #8d96a8;
  --muted-2: #687184;
  --blue: #2f6bff;
  --blue-2: #5b8cff;
  --blue-soft: rgba(47, 107, 255, 0.14);
  --white: #ffffff;
  --radius: 18px;
  --container: 1280px;
  --header: 76px;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }
body.has-modal .header { visibility: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1, h2 {
  font-weight: 800;
  text-transform: uppercase;
}

h3, h4 { font-size: 20px; line-height: 1.3; }

::selection { background: var(--blue); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 3px;
}

/* ---------- Утилиты ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  padding: 10px 16px;
  background: #fff;
  color: #08090c;
  font-size: 13px;
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, transform 0.18s;
}

.btn .icon { width: 16px; height: 16px; }

.btn--white {
  background: #fff;
  border-color: #fff;
  color: #08090c;
}
.btn--white:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

.btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(47, 107, 255, 0.8);
}
.btn--primary:hover { background: #4b7dff; border-color: #4b7dff; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-2);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.35); }

.btn--lg { padding: 15px 22px; font-size: 14px; border-radius: 12px; }
.btn--block { width: 100%; }

.link-inline {
  color: var(--blue-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: inherit;
  text-align: left;
}
.link-inline:hover { color: #fff; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 9, 12, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background-color 0.2s, border-color 0.2s;
}
.header.is-scrolled {
  background: rgba(8, 9, 12, 0.92);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: var(--header);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--blue);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}
.logo__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 28px; }
.nav__list a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.18s;
}
.nav__list a:hover { color: #fff; }
.nav__foot { display: none; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}

.header__tg {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: var(--text);
  transition: background-color 0.18s, border-color 0.18s;
}
.header__tg:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.header__tg .icon { width: 19px; height: 19px; }

.header__cta { padding: 11px 16px; }

.burger {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.5px;
  background: #fff;
  transition: transform 0.22s, opacity 0.18s, top 0.22s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 74px 0 72px;
  overflow: hidden;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.hero__glow {
  position: absolute;
  top: -280px;
  right: -180px;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.34), transparent 62%);
  pointer-events: none;
}

.hero__art {
  position: absolute;
  top: 0;
  right: -120px;
  width: 900px;
  height: 760px;
  opacity: 0.55;
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 54px;
  font-size: 12px;
  color: var(--muted-2);
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span:last-child { color: var(--text); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px 3px rgba(47, 107, 255, 0.7);
}

.hero h1 {
  max-width: 1020px;
  font-size: clamp(48px, 7.6vw, 108px);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.hero h1 em {
  font-style: normal;
  color: var(--blue-2);
}

.hero__lead {
  max-width: 640px;
  margin-top: 28px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.pill--blue {
  background: var(--blue-soft);
  border-color: rgba(47, 107, 255, 0.45);
  color: #9dbaff;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-top: 60px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__stats dt {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero__stats dd {
  margin-top: 6px;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

/* ---------- Секции ---------- */
.section {
  padding: 96px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: var(--header);
}
.section--panel { background: var(--bg-2); }

.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 46px;
}

.section__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.section__label span { color: var(--muted-2); }
.section__label--light { color: #fff; }
.section__label--light span { color: rgba(255, 255, 255, 0.55); }

.section h2 {
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.section__lead {
  max-width: 470px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.section__lead .pill { margin-top: 14px; }

/* ---------- Услуги ---------- */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.service {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 252px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, background-color 0.2s;
}
.service:hover { border-color: rgba(47, 107, 255, 0.55); transform: translateY(-3px); background: #131720; }

.service--manager { border-color: rgba(47, 107, 255, 0.35); }

.service__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background:
    radial-gradient(320px 220px at 30% 25%, rgba(47, 107, 255, 0.2), transparent 70%),
    #0b0d12;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.service__body {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 22px;
}

.service__kicker {
  margin-bottom: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.service h3 { font-size: 19px; margin-bottom: 8px; }
.service__body > p:not(.service__kicker) {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.service__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}
.service__price { font-size: 12.5px; font-weight: 600; color: #fff; white-space: nowrap; }

.tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.tags li {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9.5px;
  color: var(--muted);
  white-space: nowrap;
}

.services__note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted-2);
}

/* Мокапы в карточках */
.shot {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 4 / 3.2;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #07090d;
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  transform: rotate(-2deg);
  transition: transform 0.3s;
}
.service:hover .shot { transform: rotate(0deg) scale(1.02); }

.shot__bar {
  display: flex;
  gap: 4px;
  padding: 8px 9px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.shot__bar i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.shot__bar i:first-child { background: #ff5f57; }
.shot__bar i:nth-child(2) { background: #febc2e; }
.shot__bar i:nth-child(3) { background: #28c840; }

.shot__body { padding: 12px; }

.srow { display: flex; align-items: center; gap: 7px; margin-bottom: 7px; }
.sdot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue); flex: none; }
.sline { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.13); flex: 1; }
.sline--short { flex: 0 0 40%; }
.sok { font-size: 7px; color: #6ee7b7; letter-spacing: 0.05em; }
.sok--wait { color: #fcd34d; }

.sgraph { display: flex; align-items: flex-end; gap: 4px; height: 54px; margin-top: 12px; }
.sgraph i { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #4b7dff, rgba(47, 107, 255, 0.18)); }

.shot__body--cols { display: flex; gap: 9px; }
.sidebar { display: flex; flex-direction: column; gap: 6px; width: 34px; flex: none; }
.sidebar span { height: 5px; border-radius: 2px; background: rgba(255, 255, 255, 0.09); }
.sidebar span:first-child { background: var(--blue); }
.code { flex: 1; display: flex; flex-direction: column; gap: 7px; padding-top: 2px; }
.code span { height: 5px; width: var(--w); border-radius: 2px; background: rgba(255, 255, 255, 0.16); }
.code span:nth-child(2n) { background: rgba(47, 107, 255, 0.65); }

.tablehead, .tablerow { display: grid; grid-template-columns: 1fr 0.8fr 0.6fr; gap: 6px; align-items: center; }
.tablehead { margin-bottom: 8px; }
.tablehead span { height: 4px; background: rgba(255, 255, 255, 0.1); }
.tablerow { padding: 5px 0; border-top: 1px solid rgba(255, 255, 255, 0.06); }
.tablerow span { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.12); }
.tablerow .tblue { background: rgba(47, 107, 255, 0.75); }

.speedhead { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.speedhead span { font-size: 9px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.speedhead b { font-size: 24px; color: #fff; line-height: 1; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 74px; }
.bars i { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #5b8cff, rgba(47, 107, 255, 0.16)); }

.search {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px 7px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}
.search span { width: 8px; height: 8px; border: 1px solid var(--muted); border-radius: 50%; }
.search b { font-size: 8px; font-weight: 400; color: var(--muted); }
.seresult { display: flex; align-items: center; gap: 5px; margin-bottom: 7px; }
.seresult .sblue { width: 5px; height: 5px; background: var(--blue); border-radius: 50%; }
.seresult span { height: 4px; flex: 1; background: rgba(255, 255, 255, 0.12); border-radius: 2px; }
.seresult .sline--short { flex: 0 0 30%; background: rgba(47, 107, 255, 0.6); }

.kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kanban > div { display: flex; flex-direction: column; gap: 5px; }
.kanban span { height: 4px; background: rgba(255, 255, 255, 0.14); margin-bottom: 2px; }
.kanban i { height: 18px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 3px; background: rgba(255, 255, 255, 0.035); }
.kanban i:nth-child(2) { border-color: rgba(47, 107, 255, 0.5); background: rgba(47, 107, 255, 0.14); }

/* ---------- Пакеты ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.plan--featured {
  border-color: rgba(47, 107, 255, 0.7);
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.14), var(--panel) 55%);
  box-shadow: 0 24px 60px -30px rgba(47, 107, 255, 0.65);
}

.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; }
.plan__label { font-size: 15px; font-weight: 600; color: #fff; }
.plan__off {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9dbaff;
  padding: 3px 7px;
  border-radius: 5px;
  background: rgba(47, 107, 255, 0.16);
  white-space: nowrap;
}

.plan__price {
  font-size: 14px;
  color: var(--muted);
  line-height: 1;
}
.plan__price strong {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  vertical-align: -4px;
}
.plan__price span { margin-left: 4px; font-size: 12px; color: var(--muted-2); }
.plan__rate { margin-top: 8px; font-size: 13px; color: var(--muted); }
.plan__save { margin-top: 2px; font-size: 12px; color: var(--blue-2); }

.plan__list {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.plan__list li {
  position: relative;
  padding-left: 16px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--blue-2);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(40deg);
}

.plan .btn { margin-top: auto; }

.plan--wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}
.plan__wide-main { display: flex; flex-direction: column; }
.plan__list--wide { margin: 0; border-top: 0; padding-top: 0; grid-template-columns: 1fr 1fr; }
.plan__wide-main .btn { margin-top: 20px; }

.plans__note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 22px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--muted-2);
}

/* ---------- Менеджмент ---------- */
.management {
  padding: 92px 0;
  background: var(--blue);
  color: #fff;
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--header);
}
.management::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -200px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.04), 0 0 0 160px rgba(255, 255, 255, 0.03);
}

.management__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.management__intro h2 { color: #fff; font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 18px; }
.management__intro > p { max-width: 42ch; font-size: 15px; color: rgba(255, 255, 255, 0.82); }
.management__intro .btn { margin-top: 26px; }
.management .btn--white:hover { background: #0b0d12; border-color: #0b0d12; color: #fff; }
.management__note { margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, 0.65); }

.management__cards { display: grid; gap: 10px; }
.management__cards article {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 2px 14px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}
.management__cards span { grid-row: span 2; font-size: 11px; color: rgba(255, 255, 255, 0.55); padding-top: 3px; }
.management__cards h3 { color: #fff; font-size: 17px; }
.management__cards p { font-size: 12.5px; line-height: 1.5; color: rgba(255, 255, 255, 0.75); }

/* ---------- Документы ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.audience__card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.audience__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.audience__icon { font-size: 11px; color: var(--blue-2); }
.audience__top p { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.audience__card h3 { font-size: 26px; text-transform: uppercase; letter-spacing: -0.03em; margin-bottom: 10px; }
.audience__lead { max-width: 42ch; font-size: 13.5px; color: var(--muted); }
.audience__card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin: 22px 0 24px;
}
.audience__card li {
  position: relative;
  padding-left: 15px;
  font-size: 12.5px;
  color: var(--muted);
}
.audience__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 9px;
  border: solid var(--blue-2);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(40deg);
}
.audience__card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Кейсы ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.case {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  transition: border-color 0.2s, transform 0.2s;
}
.case:hover { border-color: rgba(47, 107, 255, 0.45); transform: translateY(-2px); }
.case__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.case__top span { font-size: 10.5px; color: var(--blue-2); }
.case__top p { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.case h3 { font-size: 26px; margin: 12px 0 8px; letter-spacing: -0.03em; }
.case > p:not(.case__stack) { max-width: 52ch; font-size: 13px; line-height: 1.55; color: var(--muted); }
.case__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.case__stats dt { font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.case__stats dd { margin-top: 3px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.case__stack { margin-top: 14px; font-size: 10.5px; color: var(--muted-2); }

/* ---------- Процесс ---------- */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
.process li { display: flex; flex-direction: column; padding-top: 18px; border-top: 1px solid var(--line-2); }
.process__num { margin-bottom: 18px; font-size: 26px; font-weight: 800; color: var(--blue-2); letter-spacing: -0.03em; }
.process h3 { font-size: 16px; margin-bottom: 7px; }
.process p { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.process__time { margin-top: auto; padding-top: 16px; font-size: 9.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Гарантии ---------- */
.guarantees { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.guarantees article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.guarantees span { display: block; margin-bottom: 16px; font-size: 10.5px; color: var(--blue-2); }
.guarantees h3 { font-size: 18px; margin-bottom: 7px; }
.guarantees p { font-size: 12.5px; line-height: 1.55; color: var(--muted); }

/* ---------- SEO ---------- */
.seo { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.seo__text { max-width: 720px; }
.seo__text p { margin-bottom: 14px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.seo__text .seo__lead { font-size: 17px; line-height: 1.55; color: var(--text); }
.seo__text h3 { font-size: 18px; margin: 24px 0 7px; }
.seo__aside {
  position: sticky;
  top: calc(var(--header) + 22px);
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.seo__aside h3 { font-size: 22px; margin-bottom: 7px; text-transform: none; }
.seo__aside > p { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin-bottom: 16px; }
.seo__facts { margin-top: 18px; border-top: 1px solid var(--line); }
.seo__facts div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.seo__facts dt { font-size: 11px; color: var(--muted-2); }
.seo__facts dd { font-size: 11.5px; font-weight: 600; color: #fff; text-align: right; }

/* ---------- Контакты и форма ---------- */
.contact {
  position: relative;
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(47, 107, 255, 0.18), transparent 65%),
    var(--bg);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}
.contact__info h2 { font-size: clamp(32px, 4.2vw, 54px); margin-bottom: 16px; max-width: 12ch; }
.contact__lead { max-width: 40ch; font-size: 14.5px; color: var(--muted); }
.contact__channels { margin-top: 30px; border-top: 1px solid var(--line); }
.contact__channels a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.18s;
}
.contact__channels span { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-2); }
.contact__channels strong { font-size: 13px; font-weight: 500; color: var(--text); }
.contact__channels a:hover strong { color: var(--blue-2); }
.contact__hours { margin-top: 20px; font-size: 11.5px; color: var(--muted-2); }

.form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.form__label {
  margin-bottom: 7px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.form__title { font-size: 27px; text-transform: uppercase; letter-spacing: -0.03em; margin-bottom: 6px; }
.form__intro { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.field { margin-bottom: 11px; min-width: 0; }
.field label {
  display: block;
  margin-bottom: 5px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.field label span { color: var(--blue-2); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: #0a0c11;
  font-size: 13.5px;
  color: var(--text);
  transition: border-color 0.18s, box-shadow 0.18s;
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 80px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='m1 1 4.5 4.5L10 1' fill='none' stroke='%238d96a8' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}
.field input::placeholder,
.field textarea::placeholder { color: #596274; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.14);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #ff5d5d; background: rgba(255, 93, 93, 0.05); }
.field__error { display: none; margin-top: 4px; font-size: 10.5px; line-height: 1.4; color: #ff7b7b; }
.field.has-error .field__error { display: block; }

.checkbox { display: flex; align-items: flex-start; gap: 9px; margin: 7px 0 4px; cursor: pointer; font-size: 11px; line-height: 1.5; color: var(--muted); }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox__box {
  position: relative;
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 1px;
  border: 1px solid var(--line-2);
  border-radius: 3px;
  background: #0a0c11;
  transition: background-color 0.18s, border-color 0.18s;
}
.checkbox__box::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s;
}
.checkbox input:checked + .checkbox__box { background: var(--blue); border-color: var(--blue); }
.checkbox input:checked + .checkbox__box::after { transform: rotate(45deg) scale(1); }
.checkbox input:focus-visible + .checkbox__box { outline: 2px solid var(--blue-2); outline-offset: 2px; }
.checkbox__text { flex: 1; }
.checkbox a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.checkbox a:hover { color: var(--blue-2); }
.checkbox.has-error .checkbox__box { border-color: #ff5d5d; }
.checkbox.has-error .checkbox__text { color: #ff7b7b; }

.hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.form__submit { margin-top: 12px; }
.form__note { margin-top: 9px; font-size: 10px; line-height: 1.5; color: var(--muted-2); text-align: center; }
.form__status { margin-top: 5px; min-height: 1em; font-size: 10.5px; color: var(--blue-2); text-align: center; }
.form--modal { padding: 0; border: 0; background: transparent; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.18s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-2); }
.faq__icon { position: relative; width: 13px; height: 13px; flex: none; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 13px;
  height: 1px;
  background: var(--blue-2);
  transition: transform 0.2s;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }
.faq__body { padding: 0 24px 16px 0; }
.faq__body p { font-size: 12.5px; line-height: 1.6; color: var(--muted); max-width: 60ch; }

/* ---------- Подвал ---------- */
.footer { padding: 56px 0 22px; background: #06070a; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 44px; padding-bottom: 34px; border-bottom: 1px solid var(--line); }
.footer__brand p { margin-top: 14px; max-width: 34ch; font-size: 12px; line-height: 1.6; color: var(--muted-2); }
.footer__nav h3, .footer__contacts h3 {
  margin-bottom: 14px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer__nav ul { display: grid; gap: 7px; }
.footer__nav a, .footer__nav .link-inline {
  font-size: 12px;
  color: var(--muted);
  text-decoration: none;
  text-align: left;
  transition: color 0.18s;
}
.footer__nav a:hover, .footer__nav .link-inline:hover { color: #fff; }
.footer__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; font-size: 12px; }
.footer__contacts a { color: var(--muted); transition: color 0.18s; }
.footer__contacts a:hover { color: #fff; }
.footer__phone { font-size: 17px; font-weight: 700; color: #fff !important; }
.footer__contacts p { margin-top: 4px; font-size: 11px; line-height: 1.5; color: var(--muted-2); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 18px; font-size: 10px; color: var(--muted-2); }
.footer__bottom p:nth-child(2) { margin-right: auto; }
.footer__bottom a:hover { color: #fff; }

/* ---------- Мобильная панель ---------- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(10, 12, 17, 0.96);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-2);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a, .mobile-bar button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 4px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.mobile-bar .icon { width: 17px; height: 17px; color: var(--blue-2); }

/* ---------- Модальные окна ---------- */
.modal { position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(3, 4, 6, 0.78); backdrop-filter: blur(4px); animation: fade-in 0.18s ease; }
.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 660px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 34px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--panel);
  animation: dialog-in 0.2s ease;
  -webkit-overflow-scrolling: touch;
}
.modal__dialog--success { max-width: 520px; }
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  color: var(--muted);
  transition: background-color 0.18s, color 0.18s;
}
.modal__close:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.modal__close .icon { width: 17px; height: 17px; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Успех ---------- */
.success h2 { font-size: 32px; text-transform: uppercase; margin-bottom: 8px; }
.success > p { font-size: 12.5px; color: var(--muted); }
.success__preview {
  margin: 16px 0;
  padding: 13px 15px;
  border-left: 2px solid var(--blue);
  border-radius: 0 8px 8px 0;
  background: #0a0c11;
  font-family: var(--sans);
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 180px;
  overflow-y: auto;
}
.success__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.success__actions .btn { flex: 1 1 160px; }
.success__alt { margin-top: 14px; font-size: 11px; color: var(--muted-2); }
.success__alt a { color: var(--blue-2); text-decoration: underline; }

/* ---------- Политика ---------- */
.privacy h2 { font-size: 28px; text-transform: uppercase; margin-bottom: 12px; }
.privacy h3 { font-size: 16px; margin: 18px 0 4px; }
.privacy p { font-size: 12.5px; line-height: 1.6; color: var(--muted); margin-bottom: 6px; }
.privacy a { color: var(--blue-2); text-decoration: underline; }
.privacy__date { margin-top: 16px; font-size: 10.5px; color: var(--muted-2); }

/* ---------- Адаптив ---------- */
@media (max-width: 1180px) {
  .header__inner { gap: 22px; }
  .nav__list { gap: 20px; }
  .service { grid-template-columns: 0.75fr 1.25fr; }
  .plan__price strong { font-size: 40px; }
}

@media (max-width: 1080px) {
  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(8, 9, 12, 0.97);
  }
  .header__inner { gap: 14px; }
  .header__actions { margin-left: auto; }
  .burger { display: block; }

  .nav {
    position: fixed;
    top: var(--header);
    right: 0;
    bottom: 0;
    z-index: 200;
    width: min(380px, 88vw);
    margin: 0;
    padding: 22px 26px 32px;
    background: #0b0d12;
    border-left: 1px solid var(--line-2);
    transform: translateX(100%);
    transition: transform 0.26s ease;
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
    color: var(--text);
  }
  .nav__foot { display: grid; gap: 8px; margin-top: 24px; font-size: 13px; }
  .nav__foot a { color: var(--muted); }
  .nav__foot .btn { width: 100%; margin-top: 10px; }

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(3, 4, 6, 0.62);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s;
  }
  .nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

  .hero__art { right: -280px; opacity: 0.4; }
  .services { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .plan--wide { grid-column: span 2; }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .management__grid { grid-template-columns: 1fr; }
  .management__intro { max-width: 620px; }
  .seo { grid-template-columns: 1fr; }
  .seo__aside { position: static; max-width: 520px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { max-width: 600px; }
  .footer__top { grid-template-columns: 1.4fr 0.8fr 0.8fr; }
  .footer__contacts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, auto); align-items: center; gap: 8px 24px; }
  .footer__contacts h3 { grid-column: 1 / -1; }
  .footer__contacts p { margin: 0; }
}

@media (max-width: 760px) {
  :root { --header: 66px; }
  .container { padding: 0 20px; }
  .header__cta { display: none; }

  .hero { padding: 48px 0 56px; }
  .breadcrumb { margin-bottom: 34px; }
  .hero h1 { font-size: clamp(42px, 12vw, 68px); }
  .hero__lead { margin-top: 22px; font-size: 15.5px; }
  .hero__actions { margin-top: 26px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
  .hero__art { display: none; }
  .hero__glow { width: 600px; height: 600px; top: -220px; right: -220px; }

  .section { padding: 60px 0; }
  .section__head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 30px; }
  .section h2 { font-size: clamp(30px, 8.6vw, 40px); }
  .section__lead { font-size: 13.5px; }

  .service { grid-template-columns: 1fr; }
  .service__media { padding: 18px; border-right: 0; border-bottom: 1px solid var(--line); }
  .shot { max-width: 250px; }
  .service__body { padding: 20px; }
  .service__foot { flex-wrap: wrap; align-items: center; }

  .plans { grid-template-columns: 1fr; }
  .plan--wide { grid-column: auto; grid-template-columns: 1fr; gap: 0; }
  .plan__list--wide { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
  .plan__price strong { font-size: 44px; }
  .plans__note { grid-template-columns: 1fr; gap: 8px; }

  .management { padding: 60px 0; }
  .management__cards article { grid-template-columns: 30px 1fr; }
  .audience { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .guarantees { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq__item:nth-last-child(-n+2) { border-bottom: 0; }
  .faq__item:last-child { border-bottom: 1px solid var(--line); }

  .form { padding: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__info h2 { max-width: 14ch; }

  .footer { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__contacts { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer__bottom p:nth-child(2) { margin-right: 0; }

  .mobile-bar { display: grid; }
  body.nav-open .mobile-bar { display: none !important; }

  .modal { padding: 0; align-items: flex-end; }
  .modal__dialog { max-width: none; max-height: 94vh; border-radius: 18px 18px 0 0; padding: 26px 18px calc(20px + env(safe-area-inset-bottom)); }
  .modal__dialog--success { max-width: none; }
  .success h2 { font-size: 26px; }
}

@media (max-width: 460px) {
  .logo__name { font-size: 18px; }
  .header__actions { gap: 8px; }
  .header__tg { width: 38px; height: 38px; }
  .burger { width: 38px; height: 38px; }
  .burger span { left: 9px; }
  .burger span:nth-child(1) { top: 12px; }
  .burger span:nth-child(2) { top: 18px; }
  .burger span:nth-child(3) { top: 24px; }
  .burger.is-open span:nth-child(1), .burger.is-open span:nth-child(3) { top: 18px; }

  .hero h1 { font-size: 40px; }
  .hero__stats dd { font-size: 18px; }
  .plan__price strong { font-size: 38px; }
  .process { grid-template-columns: 1fr; }
  .case__stats dd { font-size: 19px; }
  .success__actions .btn { flex: 1 1 100%; }
}

@media (max-width: 350px) {
  .hero__stats { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

@media print {
  .header, .mobile-bar, .modal, .nav-backdrop { display: none !important; }
  body { background: #fff; color: #000; }
  .section--panel, .contact, .footer, .management { background: #fff !important; color: #000 !important; }
  h1, h2, h3, .plan__price strong, .case__stats dd { color: #000 !important; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9px; color: #555; }
}

/* =========================================================
   Многостраничные компоненты
   ========================================================= */

.nav__list a.is-active { color: #fff; }
.nav__list a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--blue);
}

.directions { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.direction {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  min-height: 268px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, background-color 0.2s;
}
.direction:hover { border-color: rgba(47, 107, 255, 0.55); transform: translateY(-3px); background: #131720; }

.direction__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background:
    radial-gradient(300px 220px at 30% 25%, rgba(47, 107, 255, 0.2), transparent 70%),
    #0b0d12;
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.direction__body { display: flex; flex-direction: column; padding: 24px; }
.direction__tags {
  margin-bottom: 8px;
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-2);
}
.direction h3 { font-size: 21px; margin-bottom: 8px; }
.direction__body > p:not(.direction__tags) { font-size: 13px; line-height: 1.55; color: var(--muted); }
.direction__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--muted);
}
.direction__foot b { color: #fff; font-size: 15px; }
.direction__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: background-color 0.2s, border-color 0.2s;
}
.direction:hover .direction__arrow { background: var(--blue); border-color: var(--blue); }

.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s, background-color 0.2s;
}
.extra:hover { border-color: rgba(47, 107, 255, 0.5); background: rgba(47, 107, 255, 0.06); }
.extra h3 { font-size: 15px; margin-bottom: 4px; }
.extra p { font-size: 11.5px; color: var(--muted); }
.extra__side { display: flex; align-items: center; gap: 14px; flex: none; }
.extra__side span { font-size: 11.5px; color: var(--blue-2); white-space: nowrap; }
.extra__side i { font-style: normal; color: var(--muted-2); font-size: 16px; }

.page-hero {
  position: relative;
  padding: 58px 0 56px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 380px at 85% 0%, rgba(47, 107, 255, 0.2), transparent 65%),
    var(--bg);
}
.page-hero__inner { position: relative; z-index: 1; }
.page-hero .breadcrumb { margin-bottom: 34px; }
.page-hero h1 {
  max-width: 900px;
  font-size: clamp(40px, 6.4vw, 82px);
  line-height: 0.94;
  letter-spacing: -0.045em;
}
.page-hero__lead { max-width: 620px; margin-top: 20px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  margin-top: 26px;
  font-size: 13px;
  color: var(--muted);
}
.page-hero__meta b { color: #fff; font-size: 22px; letter-spacing: -0.02em; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.page-hero__price {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid rgba(47, 107, 255, 0.45);
  border-radius: 999px;
  background: var(--blue-soft);
  color: #9dbaff;
  font-size: 11px;
}
.page-hero__price b { font-size: 18px; color: #fff; }

.detail { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 40px; align-items: start; }
.detail h2 { font-size: clamp(28px, 3.4vw, 42px); margin-bottom: 20px; }
.detail h3 { font-size: 18px; margin: 26px 0 8px; }
.detail p { font-size: 14px; line-height: 1.65; color: var(--muted); margin-bottom: 12px; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; margin: 18px 0 8px; }
.checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 7px;
  height: 12px;
  border: solid var(--blue-2);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(42deg);
}
.checklist--one { grid-template-columns: 1fr; }

.price-box {
  position: sticky;
  top: calc(var(--header) + 22px);
  padding: 28px;
  border: 1px solid rgba(47, 107, 255, 0.42);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(47, 107, 255, 0.13), var(--panel) 55%);
}
.price-box__label { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-2); }
.price-box__price { margin: 10px 0 4px; font-size: 13px; color: var(--muted); }
.price-box__price strong { font-size: 44px; letter-spacing: -0.04em; color: #fff; font-weight: 800; }
.price-box__note { margin: 10px 0 18px; font-size: 11.5px; line-height: 1.5; color: var(--muted-2); }
.price-box .btn { margin-top: 8px; }

.tariffs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tariff {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.tariff--accent { border-color: rgba(47, 107, 255, 0.55); background: linear-gradient(180deg, rgba(47, 107, 255, 0.12), var(--panel) 55%); }
.tariff__label { font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue-2); margin-bottom: 8px; }
.tariff h3 { font-size: 22px; margin-bottom: 6px; }
.tariff__price { font-size: 12px; color: var(--muted); }
.tariff__price strong { font-size: 38px; color: #fff; letter-spacing: -0.04em; margin-right: 4px; }
.tariff__desc { margin: 8px 0 18px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.tariff .btn { margin-top: auto; }

.addons { border-top: 1px solid var(--line); }
.addon {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.addon h3 { font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.addon p { font-size: 11.5px; color: var(--muted-2); }
.addon span { font-size: 12.5px; color: #fff; white-space: nowrap; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.feature span { display: block; margin-bottom: 18px; font-size: 10.5px; color: var(--blue-2); }
.feature h3 { font-size: 18px; margin-bottom: 7px; }
.feature p { font-size: 12.5px; line-height: 1.55; color: var(--muted); }

.cta-band { padding: 64px 0; background: var(--blue); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; font-size: clamp(30px, 3.8vw, 48px); max-width: 720px; }
.cta-band p { margin-top: 10px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.cta-band .btn--white:hover { background: #0b0d12; border-color: #0b0d12; color: #fff; }

.contact__form-wrap { min-width: 0; }
.contact h2 { max-width: 13ch; }

.plans--support { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans--support + .plans__note { display: block; margin-top: 18px; font-size: 12px; color: var(--muted-2); }

.cases--three { grid-template-columns: repeat(3, 1fr); }
.cases--three .case h3 { font-size: 22px; }
.cases--three .case__stats dd { font-size: 19px; }

.process--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.shot--sites .shot__body { padding: 12px; }
.site-nav { display: flex; gap: 5px; margin-bottom: 10px; }
.site-nav span { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.14); }
.site-nav span:first-child { width: 24%; background: var(--blue); }
.site-nav span:nth-child(2) { width: 14%; }
.site-nav span:nth-child(3) { width: 14%; }
.site-hero { height: 64px; border-radius: 5px; background: linear-gradient(120deg, rgba(47,107,255,.4), rgba(47,107,255,.1)); padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.site-hero b { display: block; width: 60%; height: 8px; background: #fff; opacity: .85; }
.site-hero em { display: block; width: 40%; height: 4px; background: rgba(255,255,255,.5); }
.site-grid { display: flex; gap: 5px; margin-top: 8px; }
.site-grid i { flex: 1; height: 22px; border-radius: 3px; background: rgba(255, 255, 255, 0.08); }

.shop-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.shop-top span { width: 38%; height: 5px; background: rgba(255,255,255,.16); }
.shop-top b { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.shop-grid i { height: 32px; border-radius: 3px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.05); }
.shop-grid i:nth-child(2), .shop-grid i:nth-child(5) { border-color: rgba(47,107,255,.5); }
.shop-cart { width: 48px; height: 8px; margin: 9px 0 0 auto; border-radius: 2px; background: var(--blue); }

.shot__body--app { display: flex; gap: 8px; }
.app-side { display: flex; flex-direction: column; gap: 5px; width: 30px; flex: none; }
.app-side span { height: 5px; border-radius: 2px; background: rgba(255,255,255,.1); }
.app-side span:first-child { background: var(--blue); }
.app-main { flex: 1; }
.app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 9px; }
.app-head b { width: 45%; height: 5px; background: rgba(255,255,255,.16); }
.app-head i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.app-bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; }
.app-bars span { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #5b8cff, rgba(47,107,255,.18)); }

@media (max-width: 1080px) {
  .directions { grid-template-columns: 1fr; }
  .direction { grid-template-columns: 0.7fr 1.3fr; }
  .detail { grid-template-columns: 1fr; }
  .price-box { position: static; max-width: 520px; }
  .extras { grid-template-columns: 1fr; }
  .cases--three { grid-template-columns: 1fr 1fr; }
  .process--four { grid-template-columns: 1fr 1fr; }
  .plans--support { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .page-hero { padding: 40px 0 44px; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 52px); }
  .page-hero__lead { font-size: 14.5px; }
  .direction { grid-template-columns: 1fr; min-height: 0; }
  .direction__media { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .direction__body { padding: 20px; }
  .direction__arrow { width: 30px; height: 30px; }
  .extras { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .tariffs { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .cta-band__actions { width: 100%; }
  .cta-band__actions .btn { flex: 1 1 100%; }
  .cases--three { grid-template-columns: 1fr; }
  .process--four { grid-template-columns: 1fr; }
  .plans--support { grid-template-columns: 1fr; }
  .page-hero__meta { gap: 10px 18px; }
}
.tariffs--one { grid-template-columns: 1fr; }
.tariff--single { max-width: 680px; }
.pill { display: inline-block; }
.page-hero__price { display: inline-block; }
.pill b, .page-hero__price b { white-space: nowrap; }

/* Обновлённая полоса цен в герое */
.hero__stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 48px;
  padding-top: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
}
.hero__stats > div {
  display: flex;
  flex-direction: column;
  padding: 17px 20px 18px;
  border-left: 1px solid var(--line);
}
.hero__stats > div:first-child { border-left: 0; background: rgba(47, 107, 255, 0.08); }
.hero__stats dd {
  order: -1;
  margin: 0 0 5px;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.15;
}
.hero__stats dt {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted-2);
}
@media (max-width: 760px) {
  .hero__stats { grid-template-columns: 1fr 1fr; margin-top: 32px; }
  .hero__stats > div:nth-child(odd) { border-left: 0; }
  .hero__stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 350px) {
  .hero__stats { grid-template-columns: 1fr; }
  .hero__stats > div { border-left: 0; }
  .hero__stats > div + div { border-top: 1px solid var(--line); }
}

/* Пять пакетов поддержки: 3 сверху, 2 по центру */
@media (min-width: 1081px) {
  .plans--support { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .plans--support .plan { grid-column: span 2; }
  .plans--support .plan:nth-child(4) { grid-column: 2 / span 2; }
  .plans--support .plan:nth-child(5) { grid-column: 4 / span 2; }
}
@media (max-width: 1080px) {
  .plans--support { grid-template-columns: 1fr 1fr; }
  .plans--support .plan { grid-column: auto; }
  .plans--support .plan:last-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .plans--support { grid-template-columns: 1fr; }
  .plans--support .plan:last-child { grid-column: auto; }
}

/* Слайдер направлений */
.slider { position: relative; }
.slider__viewport {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.slider__viewport::-webkit-scrollbar { display: none; }
.slider__slide {
  flex: 0 0 calc(50% - 8px);
  scroll-snap-align: start;
  min-width: 0;
}
.slider__slide .direction { height: 100%; min-height: 280px; }
.slider__controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}
.slider__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: #fff;
  font-size: 18px;
  transition: background-color 0.18s, border-color 0.18s, opacity 0.18s;
}
.slider__btn:hover { background: var(--blue); border-color: var(--blue); }
.slider__btn:disabled { opacity: 0.3; cursor: default; }
.slider__btn:disabled:hover { background: transparent; border-color: var(--line-2); }
.slider__count { margin-left: 6px; font-size: 11px; color: var(--muted-2); letter-spacing: 0.05em; }
@media (max-width: 760px) {
  .slider__slide { flex-basis: 100%; }
  .slider__slide .direction { min-height: 0; }
}

/* Пакеты: одна строка на десктопе, слайдер на адаптиве */
.plans-controls { display: none; align-items: center; gap: 8px; margin-top: 16px; }
@media (min-width: 1200px) {
  .plans-slider .plans--support {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
  }
  .plans-slider .plans--support .plan {
    grid-column: auto;
    padding: 18px;
  }
  .plans-slider .plan__price strong { font-size: 33px; }
  .plans-slider .plan__rate { font-size: 11.5px; }
  .plans-slider .plan__list li { font-size: 11px; line-height: 1.4; padding-left: 14px; }
  .plans-slider .plan__list li::before { top: 4px; width: 4px; height: 8px; }
  .plans-slider .plan .btn { font-size: 11px; padding: 9px 8px; }
}
@media (max-width: 1199px) {
  .plans-slider .plans--support {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }
  .plans-slider .plans--support::-webkit-scrollbar { display: none; }
  .plans-slider .plans--support .plan {
    flex: 0 0 300px;
    grid-column: auto;
    scroll-snap-align: start;
    padding: 20px;
  }
  .plans-controls { display: flex; }
}
@media (max-width: 760px) {
  .plans-slider .plans--support .plan { flex-basis: 84vw; }
}

/* Направления: поддержка крупнее, остальные компактнее */
.directions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.section--directions { padding-top: 44px; }
.direction--featured {
  grid-column: 1 / -1;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 310px;
}
.direction--featured h3 { font-size: 30px; }
.direction--featured .direction__body { padding: 30px; }
.direction--featured .direction__body > p:not(.direction__tags) { font-size: 14px; max-width: 54ch; }
.direction--compact {
  grid-template-columns: 1fr;
  min-height: 0;
}
.direction--compact .direction__media {
  min-height: 148px;
  padding: 18px;
  border-right: 0;
  border-bottom: 1px solid var(--line);
}
.direction--compact .direction__body { padding: 20px; }
.direction--compact h3 { font-size: 19px; }
.direction--compact .direction__body > p:not(.direction__tags) { font-size: 12px; }
.direction--compact .direction__foot { padding-top: 18px; }
.direction--compact .direction__arrow { width: 30px; height: 30px; }
@media (max-width: 1080px) {
  .directions { grid-template-columns: 1fr 1fr; }
  .direction--featured { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .directions { grid-template-columns: 1fr; }
  .direction--featured { grid-template-columns: 1fr; min-height: 0; }
  .direction--featured .direction__body { padding: 20px; }
  .direction--featured .direction__media { border-right: 0; border-bottom: 1px solid var(--line); }
}
