:root {
  --bg: #f6f9fc;
  --bg-white: #ffffff;
  --bg-soft: #eef4ff;
  --text: #152238;
  --text-muted: #5a6b85;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --accent-2: #0ea5e9;
  --accent-soft: #dbeafe;
  --border: #d8e3f0;
  --shadow: 0 12px 40px rgba(21, 34, 56, 0.08);
  --shadow-lg: 0 24px 60px rgba(37, 99, 235, 0.12);
  --radius: 16px;
  --radius-lg: 28px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Manrope", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --header-h: 80px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: none; margin-inline: auto; padding-inline: var(--gutter); }

/* Decorative background */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.page-bg__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.page-bg__blob--1 { width: 520px; height: 520px; background: #bfdbfe; top: -120px; right: -80px; }
.page-bg__blob--2 { width: 400px; height: 400px; background: #a5f3fc; bottom: 10%; left: -100px; }
.page-bg__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  transition: box-shadow 0.3s, border-color 0.3s;
}
.header.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}
.logo img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav__links {
  display: flex; gap: 24px; list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  font-size: 1.2rem; font-weight: 600; color: var(--text-muted);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--accent); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.header__phone {
  font-weight: 700; font-size: 1.125rem; color: var(--text);
  white-space: nowrap;
}
.header__phone:hover { color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 12px;
  font-family: inherit; font-size: 0.92rem; font-weight: 700;
  border: none; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28);
}
.btn--primary:hover { box-shadow: 0 12px 32px rgba(37, 99, 235, 0.35); }
.btn--ghost {
  background: var(--bg-white);
  color: var(--accent);
  border: 2px solid var(--accent-soft);
}
.btn--ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn--client { padding: 10px 18px; font-size: 1.05rem; }

.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; background: none; border: none; cursor: pointer;
}
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.mobile-nav {
  display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: rgba(255,255,255,0.98); padding: 24px;
  flex-direction: column; gap: 8px;
  transform: translateX(100%); transition: transform 0.35s;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a { font-size: 1.35rem; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--border); }

.page { padding-top: var(--header-h); min-height: 70vh; }
.page-hero {
  padding: 48px 0 40px;
  position: relative;
}
.page-hero h1 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.page-hero p { margin: 0; color: var(--text-muted); font-size: 1.1rem; max-width: 560px; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 4px;
  margin-bottom: 28px;
  padding: 10px 16px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}
.breadcrumb a {
  color: var(--text-muted);
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.breadcrumb a:hover { color: var(--accent); background: var(--accent-soft); }
.breadcrumb__sep {
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  transform: rotate(-45deg);
  margin: 0 4px;
  opacity: 0.7;
}
.breadcrumb__current {
  color: var(--text);
  font-weight: 700;
  padding: 2px 8px;
  max-width: min(420px, 55vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Hero home — крупный визуал как на tehotdel */
.hero {
  padding: calc(var(--header-h) + 32px) 0 64px;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-dark);
  font-size: 0.82rem; font-weight: 700; margin-bottom: 20px;
}
.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.35rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__title-line { display: block; }
.hero__title-line--accent { color: var(--accent); }
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 800;
}
.hero__lead { margin: 0 0 12px; color: var(--text-muted); font-size: 1.12rem; }
.hero__lead--sub { margin: 0 0 28px; font-size: 1rem; opacity: 0.9; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__stats {
  display: flex;
  gap: clamp(28px, 5vw, 56px);
  flex-wrap: wrap;
  margin-top: 12px;
}
.stat__value {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat__label {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: var(--text-muted);
  margin-top: 8px;
  font-weight: 600;
}

.hero__media { position: relative; }
.hero__picture {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
  background: var(--bg-soft);
}
.hero__picture img {
  width: 100%;
  min-height: 420px;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
}
.hero__float {
  position: absolute;
  padding: 14px 18px;
  background: var(--bg-white);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  font-size: 0.88rem; font-weight: 700;
  border: 1px solid var(--border);
}
.hero__float--1 { top: 24px; left: -16px; }
.hero__float--2 { bottom: 32px; right: -12px; }

/* Полноширинный баннер */
.visual-banner {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 48px 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.visual-banner img {
  width: 100%;
  min-height: 280px;
  max-height: 360px;
  object-fit: cover;
}

/* Страница с крупным верхним фото */
.page-cover {
  margin: 24px 0 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.page-cover img {
  width: 100%;
  height: auto;
  display: block;
}
.page--contacts .page-cover img {
  width: 100%;
  height: 300px;
  max-height: 300px;
  object-fit: cover;
  object-position: center 40%;
}

/* Sections */
.section { padding: 72px 0; }
.section--white { background: var(--bg-white); }
.section__head { margin-bottom: 40px; max-width: 620px; }
.section__label {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 8px;
  display: block;
  line-height: 1.2;
}
.section h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-muted);
}
.section__desc { margin: 0; color: var(--text-muted); }

/* Cards */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card__img {
  margin: -24px -24px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 16 / 10;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.card:hover .card__img img { transform: scale(1.04); }

/* Карточки услуг с картинкой — без наложения */
.card--visual,
a.card--link {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
a.card--link { cursor: pointer; }
a.card--link:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.card--visual .card__img,
.card--link .card__img {
  margin: 0;
  width: 100%;
  flex-shrink: 0;
  border-radius: 0;
  aspect-ratio: 16 / 10;
  min-height: 0;
}
.card--visual .card__body,
.card--link .card__body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card--link .card__more {
  margin-top: auto;
  padding-top: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}
.card--link:hover { border-color: rgba(37, 99, 235, 0.35); }
.card__icon { display: none; }
.card h3 { margin: 0 0 8px; font-size: 1.12rem; }
.card p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

/* Якоря услуг (фикс. шапка) */
.service-block {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

/* Карта */
.map-wrap {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  background: var(--bg-soft);
}
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* Крупная сетка визуалов */
.visual-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 220px 220px;
  gap: 16px;
  margin-top: 40px;
}
.visual-grid__item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 2px solid var(--bg-white);
}
.visual-grid__item img { width: 100%; height: 100%; object-fit: cover; }
.visual-grid__item--large {
  grid-row: 1 / span 2;
  min-height: 100%;
}

/* Tech cloud — хаотичное облако, белые теги */
.section--tech-cloud {
  position: relative;
  overflow-x: clip;
  background: linear-gradient(180deg, #f3f8ff 0%, #eef4fc 45%, #f8fbff 100%);
}
.tech-cloud-codebg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.tech-code-frag {
  position: absolute;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 1.1vw, 0.8rem);
  line-height: 1.45;
  color: rgba(37, 99, 235, 0.11);
  white-space: pre;
  user-select: none;
}
.tech-code-frag--1 { top: 6%;  left: 2%;   max-width: 22ch; transform: rotate(-2deg); }
.tech-code-frag--2 { top: 14%; right: 4%;  max-width: 26ch; transform: rotate(1deg); color: rgba(30, 64, 175, 0.09); }
.tech-code-frag--3 { top: 42%; left: 6%;   max-width: 24ch; transform: rotate(-1deg); }
.tech-code-frag--4 { top: 55%; right: 8%;  max-width: 28ch; transform: rotate(2deg); color: rgba(37, 99, 235, 0.13); }
.tech-code-frag--5 { bottom: 28%; left: 18%; max-width: 30ch; transform: rotate(-3deg); }
.tech-code-frag--6 { bottom: 12%; right: 14%; max-width: 22ch; transform: rotate(1deg); }
.tech-code-frag--7 { top: 28%; left: 38%;  max-width: 26ch; transform: rotate(2deg); color: rgba(30, 64, 175, 0.1); }
.tech-code-frag--8 { bottom: 38%; right: 32%; max-width: 24ch; transform: rotate(-2deg); }
.tech-cloud-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: var(--gutter);
}
.tech-cloud__title {
  margin: 0 0 32px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}
.tech-cloud {
  position: relative;
  min-height: clamp(400px, 36vw, 540px);
  width: 100%;
  max-width: none;
  margin-inline: 0;
  cursor: default;
}
.tech-cloud__item {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text);
  box-shadow: var(--shadow);
  white-space: nowrap;
  transition: box-shadow 0.2s, border-color 0.2s;
  will-change: transform;
}
.tech-cloud__item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  z-index: 5;
}
.tech-cloud__item--lg {
  font-size: 1.15rem;
  padding: 15px 28px;
  font-weight: 700;
}
.tech-cloud__item--ai {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
}
.tech-cloud__item--ai:hover {
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
}
.tech-cloud [data-pos="1"]  { top: 5%;   left: 1%;   transform: rotate(-10deg); }
.tech-cloud [data-pos="2"]  { top: 18%;  left: 11%;  transform: rotate(4deg); }
.tech-cloud [data-pos="3"]  { top: 3%;   right: 1%;  transform: rotate(8deg); }
.tech-cloud [data-pos="4"]  { top: 42%;  left: 3%;   transform: rotate(-6deg); }
.tech-cloud [data-pos="5"]  { top: 10%;  left: 28%;  transform: rotate(-3deg); }
.tech-cloud [data-pos="6"]  { bottom: 35%; left: 1%; transform: rotate(7deg); }
.tech-cloud [data-pos="7"]  { top: 48%;  right: 12%; transform: rotate(-9deg); }
.tech-cloud [data-pos="8"]  { bottom: 20%; left: 22%; transform: rotate(5deg); }
.tech-cloud [data-pos="9"]  { top: 25%;  right: 3%;  transform: rotate(-5deg); }
.tech-cloud [data-pos="10"] { bottom: 45%; right: 8%; transform: rotate(11deg); }
.tech-cloud [data-pos="11"] { top: 58%;  left: 18%;  transform: rotate(-4deg); }
.tech-cloud [data-pos="12"] { bottom: 8%;  right: 24%; transform: rotate(6deg); }
.tech-cloud [data-pos="13"] { top: 40%;  left: 38%;  transform: rotate(9deg); }
.tech-cloud [data-pos="14"] { bottom: 22%; right: 1%; transform: rotate(-7deg); }
.tech-cloud [data-pos="15"] { top: 68%;  left: 40%;  transform: rotate(3deg); }
.tech-cloud [data-pos="16"] { top: 15%;  left: 58%;  transform: rotate(-8deg); }
.tech-cloud [data-pos="17"] { bottom: 50%; left: 52%; transform: rotate(6deg); }
.tech-cloud [data-pos="18"] { top: 45%;  right: 35%; transform: rotate(-11deg); }
.tech-cloud [data-pos="19"] { bottom: 10%; left: 48%; transform: rotate(4deg); }
.tech-cloud [data-pos="20"] { top: 6%;   left: 72%;  transform: rotate(7deg); }
.tech-cloud [data-pos="21"] { bottom: 38%; left: 68%; transform: rotate(-5deg); }
.tech-cloud [data-pos="22"] { top: 55%;  left: 76%;  transform: rotate(10deg); }
.tech-cloud [data-pos="23"] { bottom: 5%;  left: 58%;  transform: rotate(-6deg); }
.tech-cloud [data-pos="24"] { top: 30%;  left: 86%;  transform: rotate(5deg); }
.tech-cloud [data-pos="25"] { bottom: 55%; right: 40%; transform: rotate(-4deg); }
.tech-cloud [data-pos="26"] { top: 75%;  right: 15%; transform: rotate(8deg); }
.tech-cloud [data-pos="27"] { bottom: 12%; left: 8%;  transform: rotate(-9deg); }
.tech-cloud [data-pos="28"] { top: 62%;  right: 4%;  transform: rotate(3deg); }
.tech-cloud [data-pos="29"] { top: 1%;   left: 50%;  transform: rotate(6deg); }
.tech-cloud [data-pos="30"] { bottom: 48%; left: 32%; transform: rotate(-7deg); }
.tech-cloud [data-pos="31"] { top: 34%;  right: 52%; transform: rotate(4deg); }
.tech-cloud [data-pos="32"] { bottom: 2%;  right: 10%; transform: rotate(-11deg); }
.tech-cloud [data-pos="33"] { top: 52%;  left: 10%;  transform: rotate(8deg); }
.tech-cloud [data-pos="34"] { top: 22%;  left: 4%;   transform: rotate(-4deg); }
.tech-cloud [data-pos="35"] { bottom: 28%; right: 46%; transform: rotate(5deg); }
.tech-cloud [data-pos="36"] { top: 72%;  left: 63%;  transform: rotate(-6deg); }
.tech-cloud [data-pos="37"] { bottom: 16%; left: 82%; transform: rotate(9deg); }
.tech-cloud [data-pos="38"] { top: 10%;  right: 28%; transform: rotate(-8deg); }

.pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 10px 16px; border-radius: 999px;
  background: var(--bg-white); border: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  color: var(--text-muted);
}

/* Партнёры — логотипы */
.partners-logos,
.clients-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}
.partner-logo,
.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 2.2 / 1;
  min-height: 96px;
  padding: 18px 28px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.35s ease;
}
.partner-logo:hover,
.client-logo:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.partner-logo img,
.client-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 180px);
  max-height: 52px;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.35s ease;
}
.partner-logo:hover img,
.client-logo:hover img {
  transform: scale(1.03);
}
.partner-logo--bitrix24 img {
  max-height: 36px;
  max-width: 170px;
}
.partner-logo--elama img {
  max-height: 44px;
  max-width: 150px;
}
.partner-logo--click img {
  max-height: 32px;
  max-width: 140px;
}

/* Legal / privacy */
.page--legal { padding-bottom: 64px; }
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 16px 0 48px;
}
.legal-page h1 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.legal-page__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.legal-page__body p { margin: 0 0 14px; }
.legal-page__body ul {
  margin: 0 0 18px;
  padding-left: 1.35rem;
}
.legal-page__body li { margin-bottom: 8px; }
.legal-page__body > p:first-child {
  font-weight: 700;
  color: var(--text);
}

/* Exit popup */
body.exit-popup-open { overflow: hidden; }
.exit-popup[hidden] { display: none !important; }
.exit-popup {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}
.exit-popup__panel {
  position: relative;
  width: min(920px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.25);
  border: 1px solid var(--border);
}
.exit-popup__close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.exit-popup__close:hover { background: var(--accent-soft); color: var(--accent); }
.exit-popup__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
}
.exit-popup__visual {
  background: linear-gradient(160deg, var(--accent-soft), #e0f2fe);
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.exit-popup__visual img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 12px;
}
.exit-popup__content {
  padding: 40px 36px 36px;
}
.exit-popup__content h2 {
  margin: 0 0 14px;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.exit-popup__content p {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}
.exit-popup__cta {
  width: 100%;
  margin-bottom: 12px;
}
.exit-popup__skip {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  background: none;
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: underline;
}
.exit-popup__skip:hover { color: var(--accent); }

/* CTA band */
.cta-band {
  margin: 0;
  padding: 56px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--accent), #0284c7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  width: 280px; height: 280px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  right: -60px; top: -80px;
}
.cta-band > div,
.cta-band .btn {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  color: #fff;
  font-weight: 800;
}
.cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}
.cta-band .btn--ghost {
  background: #fff;
  color: var(--accent);
  border-color: #fff;
}

/* News */
.news-page-head {
  margin-bottom: 32px;
  padding-top: 8px;
}
.news-page-head h1 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.news-page-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.news-spotlight {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) 1fr;
  gap: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  color: inherit;
  transition: box-shadow 0.25s, border-color 0.25s;
}
.news-spotlight:hover {
  border-color: #a5c4f5;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
}
.news-spotlight__img {
  min-height: 280px;
  background: var(--bg-soft);
  overflow: hidden;
}
.news-spotlight__img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.news-spotlight:hover .news-spotlight__img img { transform: scale(1.03); }
.news-spotlight__content {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.news-spotlight__tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.news-spotlight time {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}
.news-spotlight h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--text);
}
.news-spotlight p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.news-spotlight__more {
  margin-top: 20px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--accent);
}

.news-archive {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.news-row {
  border-bottom: 1px solid var(--border);
}
.news-row:last-child { border-bottom: none; }
.news-row__inner {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  color: inherit;
  transition: background 0.2s;
}
.news-row__inner:hover {
  background: var(--accent-soft);
}
.news-row__thumb {
  width: 140px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
}
.news-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-row__text time {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 6px;
}
.news-row__text h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
}
.news-row__text p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-row__go {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
}
.news-row__inner:hover .news-row__go {
  opacity: 1;
  transform: translateX(4px);
}

/* News — превью на главной */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
  color: inherit;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.news-card__thumb {
  height: 180px;
  background: var(--bg-soft);
  overflow: hidden;
}
.news-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-card time {
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-mono);
}
.news-card h3 {
  margin: 8px 0 10px;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.news-card p {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
}
.news-card__link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
}

/* Article — журнальная вёрстка */
.page--article { padding-bottom: 64px; }
.article-layout {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.article-layout--rich {
  max-width: 1320px;
}
.article-wide {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  padding: 24px 0 48px;
}
.article-wide--rich {
  max-width: none;
}
.article-wide__head {
  padding: 8px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
  text-align: center;
}
.article-wide--rich .article-wide__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  gap: 24px 32px;
  align-items: center;
  margin-bottom: 32px;
  padding: 24px 28px;
  background: linear-gradient(145deg, #f8fbff 0%, #ffffff 48%, #f1f5f9 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
}
.article-wide--rich .article-wide__hero-text {
  min-width: 0;
}
.article-wide__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin-bottom: 14px;
}
.article-wide--rich .article-wide__meta {
  justify-content: flex-start;
  margin-bottom: 16px;
}
.article-wide__read {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.article-wide__date {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  padding: 6px 14px;
  background: var(--accent-soft);
  border-radius: 999px;
}
.article-wide__title {
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 34ch;
}
.article-wide--rich .article-wide__title {
  margin: 0;
  text-align: left;
  max-width: none;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.28;
}
.article-wide__cover {
  margin: 0 auto 40px;
  max-width: 620px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
  border: 4px solid var(--bg-white);
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}
.article-wide--rich .article-wide__cover {
  margin: 0;
  padding: 0;
  max-width: none;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 188px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
.article-wide__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-wide--rich .article-wide__main {
  padding: 28px 32px 8px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.article-wide__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px 48px;
  align-items: start;
}
.article-wide--rich .article-wide__grid {
  grid-template-columns: minmax(0, 1fr) 236px;
  gap: 32px 36px;
}
.article-wide__main {
  min-width: 0;
}
.article-wide__body {
  font-size: 1.1rem;
  line-height: 1.78;
  color: var(--text-muted);
  max-width: none;
}
.article-wide__body > p:first-child {
  font-size: 1.2rem;
  line-height: 1.72;
  color: var(--text);
}
.article-wide__body h2 {
  margin: 36px 0 16px;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.01em;
}
.article-wide__body ol,
.article-wide__body ul {
  margin: 0 0 24px;
  padding-left: 1.35rem;
}
.article-wide__body li { margin-bottom: 12px; }
.article-wide__body p { margin: 0 0 20px; }
.article-pullquote {
  margin: 32px 0;
  padding: 28px 32px;
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(255, 255, 255, 0.6) 100%);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.article-pullquote p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}
.article-callout {
  margin: 28px 0;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  line-height: 1.55;
}
.article-callout--warn {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
}
.article-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.article-aside__card {
  padding: 20px 22px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.article-wide--rich .article-aside__card {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.article-aside__sticky {
  position: sticky;
  top: 96px;
}
.article-aside__label {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.article-aside__list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}
.article-aside__list li { margin-bottom: 10px; }
.article-aside__list li:last-child { margin-bottom: 0; }
.article-aside__cta-text {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text);
}
.article-aside__links a {
  display: block;
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.article-aside__links a:hover { text-decoration: underline; }
.btn--block { width: 100%; justify-content: center; }
.article-wide__foot {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.article {
  max-width: 760px;
  padding: 40px 0 80px;
}
.article__date {
  font-family: var(--font-mono);
  font-size: 0.85rem; font-weight: 700; color: var(--accent);
}
.article__title {
  margin: 12px 0 24px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.article__body p { margin: 0 0 16px; color: var(--text-muted); }
.article__body h2 {
  margin: 28px 0 12px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}
.article__body ol {
  margin: 0 0 20px;
  padding-left: 1.35rem;
  color: var(--text-muted);
}
.article__body li { margin-bottom: 12px; }
.article__body a { color: var(--accent); text-decoration: underline; }
.article__body strong { color: var(--text); }

/* About / contacts */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.split__visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}
.page-cover img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--bg-white);
}
.article__cover {
  margin: 0 0 28px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.article__cover img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
}
.info-box {
  padding: 24px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  border: 1px solid #bfdbfe;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.contact-card {
  padding: 24px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.contact-card span { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; }
.contact-card a { font-weight: 700; font-size: 1.05rem; color: var(--accent); }

.form-card {
  padding: 32px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 700;
  color: var(--text-muted); margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--border); font-family: inherit;
  font-size: 0.95rem; background: var(--bg);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-check {
  display: flex; gap: 10px; font-size: 0.82rem;
  color: var(--text-muted); margin-bottom: 20px;
}
.form-check a { color: var(--accent); text-decoration: underline; }

/* Footer */
.footer {
  background: #0f172a;
  border-top: none;
  padding: 56px 0 32px;
  margin-top: 40px;
  color: #cbd5e1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}
.footer__brand p {
  margin: 18px 0 0;
  font-size: 1.2rem;
  line-height: 1.45;
  color: #94a3b8;
  max-width: 360px;
}
.footer .logo img {
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer h4 {
  margin: 0 0 18px;
  font-size: 1.04rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.35;
  color: #94a3b8;
}
.footer a {
  font-size: 1.2rem;
  color: #e2e8f0;
  text-decoration: none;
}
.footer a:hover { color: #60a5fa; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 1.09rem;
  color: #64748b;
}
.footer__bottom a {
  font-size: 1.09rem;
  color: #94a3b8;
}
.footer__bottom a:hover { color: #60a5fa; }

/* Логотипы партнёрства в подвале */
.footer-partners {
  display: block;
  padding: 26px 0 30px;
  margin-bottom: 8px;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}
.footer-partners__label {
  margin-bottom: 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}
.footer-partners__logos {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 28px 46px;
}
.footer-partners__logos img {
  display: block;
  flex: 0 0 auto;
  max-width: none;
  opacity: 0.72;
  filter: grayscale(1) brightness(1.35) contrast(0.92);
  transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}
.footer-partners__logos img:hover {
  opacity: 1;
  filter: none;
  transform: translateY(-1px);
}
.footer-partners__logos .footer-partners__logo-1c {
  width: 168px;
  height: 33px;
  max-width: 168px;
}
.footer-partners__logos .footer-partners__logo-b24 {
  width: 168px;
  height: 36px;
  max-width: 168px;
}
.footer-partners__logos .footer-partners__logo-mincifry {
  width: 132px;
  height: 38px;
  max-width: 132px;
}

/* Contact modal */
body.contact-modal-open { overflow: hidden; }
.contact-modal[hidden] { display: none; }
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
}
.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 34, 56, 0.45);
  backdrop-filter: blur(4px);
}
.contact-modal__panel {
  position: relative;
  width: min(520px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.contact-modal__panel h2 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
}
.contact-modal__lead {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.contact-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
}
.contact-modal__close:hover { background: var(--accent-soft); color: var(--accent); }

.service-page {
  width: 100%;
}
.service-page__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.service-page__head-text {
  flex: 1;
  min-width: 0;
}
.service-page__head .section__label {
  margin-bottom: 8px;
}
.service-page__head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: none;
}
.service-page__thumb {
  flex-shrink: 0;
  width: min(320px, 38vw);
  max-height: 180px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.service-page__lead {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 72ch;
}
.service-page__body {
  width: 100%;
  max-width: none;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}
.service-page__body h2 {
  margin: 36px 0 16px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}
.service-page__body h3 {
  margin: 28px 0 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}
.service-page__body ul { margin: 16px 0; padding-left: 1.25rem; }
.service-page__body li { margin-bottom: 8px; }
.service-page__body .service-table th:last-child,
.service-page__body .service-table td:last-child {
  text-align: left;
  font-weight: inherit;
}
.service-page__body .service-table td:first-child {
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.service-page__inline-cta {
  margin-top: 36px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, rgba(255, 255, 255, 0.85) 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
}
.service-page__inline-cta-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}
.service-page__inline-cta p:last-of-type { margin-bottom: 20px; }
.service-page__cta--inline {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.service-page__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* ——— Страница «Поддержка» ——— */
.support-stats-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}
.support-infographic--stats {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(120px, 160px));
  gap: 12px 20px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 24px 32px;
  background: linear-gradient(120deg, var(--accent), #0284c7);
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: #fff;
}
.support-infographic--stats .si-stat {
  text-align: center;
  padding: 4px 8px;
}
.si-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.si-stat__label {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.92;
}

.support-section {
  margin-bottom: 44px;
}
.support-section__title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}
.support-section__desc {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 56ch;
}
.service-page--support .service-page__body > h2 {
  display: none;
}

.si-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.si-pillar {
  text-align: center;
  padding: 32px 22px 28px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.si-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.si-pillar__icon {
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 28px;
  border: none;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.14);
}
.si-pillar__icon svg {
  width: 56px;
  height: 56px;
}
.si-pillar__icon--monitor {
  background: linear-gradient(145deg, #3b82f6 0%, #1d4ed8 100%);
  color: #fff;
}
.si-pillar__icon--growth {
  background: linear-gradient(145deg, #22c55e 0%, #059669 100%);
  color: #fff;
}
.si-pillar__icon--backup {
  background: linear-gradient(145deg, #a855f7 0%, #7c3aed 100%);
  color: #fff;
}
.si-pillar__icon--report {
  background: linear-gradient(145deg, #06b6d4 0%, #0891b2 100%);
  color: #fff;
}
.si-pillar h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.si-pillar p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.support-duo {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 24px;
  margin-bottom: 44px;
  align-items: start;
}
.support-section--sla,
.support-section--checklist {
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin-bottom: 0;
}
.support-section--sla {
  background: var(--accent-soft);
  border-color: #bfdbfe;
}
.support-note {
  margin: 16px 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.si-sla {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.si-sla__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.si-sla__item--urgent {
  border-color: var(--accent);
  background: #fff;
}
.si-sla__time {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}
.si-sla__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  text-align: right;
}
.si-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.si-checklist li {
  position: relative;
  padding: 10px 12px 10px 36px;
  background: var(--bg-soft);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.si-checklist li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M4.5 9 1.5 6l1-1 2 2 5-5 1 1z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

.support-section--pricing {
  padding: 48px 40px 52px;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.support-section--pricing .support-section__title {
  font-size: clamp(1.65rem, 2.8vw, 2.1rem);
  text-align: center;
}
.support-section--pricing .support-section__desc {
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
  margin-bottom: 36px;
  font-size: 1.08rem;
}
.support-tariffs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto;
  max-width: 100%;
}
.support-tariff {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 26px 28px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  min-height: 400px;
}
.support-tariff--featured {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.15);
}
.support-tariff__badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  white-space: nowrap;
}
.support-tariff__name {
  display: block;
  margin-bottom: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}
.support-tariff__price {
  margin: 0 0 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.support-tariff__price strong {
  display: block;
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.support-tariff ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  flex: 1;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.support-tariff li {
  margin-bottom: 12px;
  padding-left: 22px;
  position: relative;
}
.support-tariff li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.support-tariff__extra {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding-top: 14px;
  margin-bottom: 16px;
  border-top: 1px dashed var(--border);
}
.support-tariff__cta {
  width: 100%;
  justify-content: center;
  padding: 12px 16px;
  font-size: 0.88rem;
  margin-top: auto;
}
.support-tariff--featured .support-tariff__cta {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
}

.support-faq {
  margin-bottom: 16px;
}
.support-faq__item {
  margin-bottom: 10px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.support-faq__item summary {
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}
.support-faq__item summary::-webkit-details-marker { display: none; }
.support-faq__item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 800;
}
.support-faq__item[open] summary::after { content: "−"; }
.support-faq__item p {
  margin: 0;
  padding: 0 20px 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.map-wrap { margin-top: 24px; }
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.map-caption {
  margin-top: 12px;
  padding: 14px 18px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.map-caption strong { display: block; margin-bottom: 4px; color: var(--text); }

/* Pricing */
.pricing-hero {
  margin-bottom: 40px;
  padding-top: 16px;
}
.pricing-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.pricing-hero p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.pricing-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: scale(1.02);
}
.pricing-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.pricing-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}
.pricing-card__price {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--text-muted);
}
.pricing-card__price strong {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.pricing-card__note {
  margin: 0 0 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.pricing-card ul {
  margin: 0 0 24px;
  padding-left: 1.2rem;
  flex: 1;
  color: var(--text-muted);
  font-size: 0.92rem;
}
.pricing-card li { margin-bottom: 8px; }
.pricing-card .btn { width: 100%; justify-content: center; }
.pricing-table-wrap {
  margin-bottom: 24px;
  overflow-x: auto;
}
.pricing-table__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 16px;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-size: 0.95rem;
}
.pricing-table th,
.pricing-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.pricing-table th {
  background: var(--bg-soft);
  font-weight: 700;
  color: var(--text);
}
.pricing-table td:last-child,
.pricing-table th:last-child { text-align: right; font-weight: 700; }
.pricing-disclaimer {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 16px 20px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  border: 1px solid #bfdbfe;
}

.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s, transform 0.6s;
}
.reveal.is-visible { opacity: 1; transform: none; }

.layout-fallback {
  padding: 12px; background: #fef3c7; color: #92400e;
  text-align: center; font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .hero__grid, .split { grid-template-columns: 1fr; }
  .si-pillars { grid-template-columns: repeat(2, 1fr); }
  .support-duo { grid-template-columns: 1fr; }
  .support-tariffs { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 100%; }
  .cards-3, .cards-4, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-logos,
  .clients-logos { grid-template-columns: repeat(2, 1fr); }
  .cases, .visual-grid { grid-template-columns: 1fr; }
  .exit-popup__grid { grid-template-columns: 1fr; }
  .visual-grid__item--large { grid-row: auto; }
  .news-spotlight { grid-template-columns: 1fr; }
  .news-row__inner { grid-template-columns: 120px 1fr; }
  .news-row__go { display: none; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card--featured { transform: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .article-wide__grid { grid-template-columns: 1fr; }
  .article-wide--rich .article-wide__hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .article-wide--rich .article-wide__cover {
    max-height: 150px;
  }
  .article-wide--rich .article-wide__main {
    padding: 22px 20px 6px;
  }
  .article-aside__sticky { position: static; }
}

@media (max-width: 768px) {
  .nav__links, .header__phone { display: none; }
  .burger { display: flex; }
  .mobile-nav { display: flex; }
  .partners-logos,
  .clients-logos { grid-template-columns: 1fr; }
  .footer-partners__logos {
    gap: 20px 26px;
  }
  .footer-partners__logos .footer-partners__logo-1c {
    width: 140px;
    height: 28px;
    max-width: 140px;
  }
  .footer-partners__logos .footer-partners__logo-b24 {
    width: 140px;
    height: 30px;
    max-width: 140px;
  }
  .footer-partners__logos .footer-partners__logo-mincifry {
    width: 112px;
    height: 32px;
    max-width: 112px;
  }
  .cards-3, .cards-4, .news-grid, .cases, .graphic-strip { grid-template-columns: 1fr; }
  .exit-popup__grid { grid-template-columns: 1fr; }
  .news-spotlight__content { padding: 24px; }
  .news-row__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 16px;
  }
  .news-row__thumb { width: 100%; height: 160px; }
  .tech-cloud__title { white-space: normal; }
  .tech-cloud {
    min-height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 16px 0 32px;
  }
  .tech-cloud__item {
    position: static;
    transform: rotate(-2deg);
  }
  .tech-cloud__item:nth-child(even) { transform: rotate(3deg); }
  .service-page__head { flex-direction: column; }
  .service-page__thumb { width: 100%; max-height: 200px; }
  .si-pillars { grid-template-columns: 1fr; }
  .si-pillar__icon { width: 96px; height: 96px; }
  .si-pillar__icon svg { width: 48px; height: 48px; }
  .support-infographic--stats {
    grid-template-columns: 1fr;
    padding: 20px 24px;
  }
  .support-tariffs {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .cta-band { padding: 32px 24px; }
}
