@font-face {
  font-family: "Inter";
  src: url("assets/Inter-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/Inter-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/Inter-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/Inter-800.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/Inter-900.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

/* ===== Дизайн-токены (слайд 03 «Визуальный язык сайта») ===== */
:root {
  --red: #c81e2b;
  --red-hover: #a91622;
  --red-tint: #fbe9eb;
  --red-tint-line: #f3c9ce;
  --graphite: #23262b;
  --graphite-2: #2d3137;
  --ink: #16181c;
  --text: #2a2e34;
  --muted: #6b717b;
  --silver: #d9dce1;
  --line: #e3e6ea;
  --bg: #f5f6f8;
  --white: #ffffff;
  --gold: #b9965c;
  --gold-hover: #a6844d;
  --club-bg: #121315;

  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-y: clamp(72px, 8vw, 120px);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(22, 24, 28, 0.04), 0 8px 24px rgba(22, 24, 28, 0.05);
  --shadow-hover: 0 2px 4px rgba(22, 24, 28, 0.05), 0 16px 40px rgba(22, 24, 28, 0.09);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  color-scheme: light;
}

/* ===== База ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-synthesis: none;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }

svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ===== Кнопки ===== */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 22px;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.button svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform 0.2s var(--ease); }
.button:hover svg { transform: translateX(3px); }
.button:active { transform: translateY(1px); }
.button-lg { min-height: 56px; padding: 0 26px; font-size: 15px; }

.button-primary { background: var(--red); color: var(--white); box-shadow: 0 6px 16px rgba(200, 30, 43, 0.22); }
.button-primary:hover { background: var(--red-hover); }

.button-outline { border-color: var(--red); color: var(--red); background: var(--white); }
.button-outline:hover { background: var(--red-tint); }

.button-gold { background: var(--gold); color: var(--club-bg); }
.button-gold:hover { background: var(--gold-hover); }

/* ===== Шапка ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-compact { box-shadow: 0 6px 24px rgba(22, 24, 28, 0.07); }

.header-inner {
  display: flex; align-items: center; gap: 32px;
  height: calc(var(--header-h) - 4px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.brand-mark {
  font-size: 30px; font-weight: 900; line-height: 1; letter-spacing: -0.03em; color: var(--red);
  padding-left: 12px; border-left: 4px solid var(--red);
}
.brand-caption {
  font-size: 10px; line-height: 1.3; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}

.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); margin-inline: auto; }
.site-nav a:not(.button) {
  position: relative; padding: 6px 0;
  font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text);
  transition: color 0.2s var(--ease);
}
.site-nav a:not(.button)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.site-nav a:not(.button):hover { color: var(--red); }
.site-nav a:not(.button):hover::after,
.site-nav a.is-active::after { transform: scaleX(1); }
.site-nav a.is-active { color: var(--red); }
.nav-cta { display: none; }
.header-cta { min-height: 44px; padding: 0 20px; font-size: 13px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto;
  align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ===== Общие элементы секций ===== */
.section { padding-block: var(--section-y); }
.section-tight { padding-top: 0; }
.section-white { background: var(--white); }

.section-head { max-width: 100%; margin-bottom: clamp(36px, 4.5vw, 56px); }

.kicker, .eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red);
}
.kicker { margin-bottom: 16px; }

h2 {
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
}

.section-lead { margin-top: 16px; max-width: 62ch; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.5; color: var(--muted); }

.section-rule {
  display: block; position: relative; height: 1px; margin-top: 32px; background: var(--silver);
}
.section-rule::before { content: ""; position: absolute; left: 0; top: -1px; width: 96px; height: 3px; background: var(--red); }

.accent-bar { display: block; width: 88px; height: 4px; margin: 28px 0; background: var(--red); }

.statement {
  margin-top: clamp(32px, 4vw, 48px);
  padding: 20px 24px;
  background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--red); border-radius: 4px var(--radius-sm) var(--radius-sm) 4px;
  font-size: clamp(15px, 1.3vw, 18px); font-weight: 700; line-height: 1.45; color: var(--ink);
}
.section-white .statement { background: var(--bg); }
.statement .arrow { color: var(--red); }

.icon-circle {
  display: inline-grid; place-items: center; flex: none;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--red-tint); color: var(--red);
}
.icon-circle svg { width: 26px; height: 26px; stroke-width: 2; }
.icon-circle-grey { background: #eef0f3; color: var(--graphite); }
.icon-circle-lg { width: 88px; height: 88px; box-shadow: inset 0 0 0 2px var(--red-tint-line); }
.icon-circle-lg svg { width: 38px; height: 38px; }
.icon-circle-solid { background: var(--red); color: var(--white); box-shadow: none; }

.panel {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(24px, 3vw, 40px);
}
.panel-dark { background: var(--graphite); border-color: var(--graphite); color: #cfd3d9; }
.panel-title { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; font-weight: 800; text-transform: uppercase; color: var(--ink); letter-spacing: -0.01em; }
.panel-lead { margin-top: 12px; color: var(--muted); }

/* ===== 01 · Первый экран ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: clamp(560px, calc(100svh - var(--header-h)), 720px);
  display: flex; align-items: center;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 36%, #eeeded 62%, #e9e8e8 100%);
}

/* Фото справа (отзеркалено — девушка смотрит на текст), растворяется в фон влево */
.hero-visual {
  position: absolute; top: 0; right: 0; bottom: 0; width: 58%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.3) 16%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.3) 16%, #000 40%);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 34% 40%; }

.hero-inner { position: relative; z-index: 1; padding-block: 64px 96px; }
.hero-copy { max-width: min(580px, 42vw); }
.eyebrow { margin-bottom: 20px; }

h1 {
  font-size: clamp(34px, 3.7vw, 54px); line-height: 1.08; font-weight: 800; letter-spacing: -0.015em;
  text-transform: uppercase; color: var(--ink);
}

.hero-lead { max-width: 480px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--muted); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

.audience-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.audience-chips a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px;
  border: 1.5px solid var(--red); border-radius: 999px; background: rgba(255, 255, 255, 0.85);
  font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--red);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.audience-chips a:hover { background: var(--red); color: var(--white); }

.hero-badge {
  position: absolute; z-index: 1; right: var(--gutter); bottom: 32px;
  padding: 14px 22px; background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow);
  font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
}
.hero-badge span { color: var(--red); }

/* ===== 02 · Система ===== */
.system {
  position: relative;
  display: grid; grid-template-columns: 1fr minmax(260px, 340px) 1fr; align-items: center; gap: clamp(24px, 5vw, 80px);
}
.system-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.system-lines line { stroke: #e7a9b0; stroke-width: 1.2; }
.system-lines line.grey { stroke: #c9cdd3; }

.system-col { position: relative; z-index: 1; display: grid; gap: 20px; }
.system-col-left .node:nth-child(2n) { margin-right: 40px; }
.system-col-left .node:nth-child(2n + 1) { margin-left: 40px; }
.system-col-right { gap: 40px; }
.system-col-right .node:nth-child(2) { margin-left: 48px; }

.node {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.node:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.node strong { display: block; font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink); }
.node small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }

.system-core {
  position: relative; z-index: 1; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white); box-shadow: 0 20px 60px rgba(22, 24, 28, 0.1), inset 0 0 0 1px var(--line);
}
.core-inner {
  width: 64%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--red-tint); box-shadow: inset 0 0 0 1.5px var(--red-tint-line);
}
.core-inner strong { font-size: clamp(40px, 4vw, 60px); line-height: 1; font-weight: 900; letter-spacing: -0.03em; color: var(--red); }
.core-inner span { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--muted); }

/* ===== 03 · Шаги ===== */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.step {
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px 20px 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -21px; width: 10px; height: 10px;
  border-top: 2px solid #aab0b8; border-right: 2px solid #aab0b8; transform: translateY(-50%) rotate(45deg);
}
.step-num { align-self: flex-start; font-size: 15px; font-weight: 700; color: #c3c8ce; }
.step .icon-circle { margin: 8px 0 22px; }
.step strong { font-size: 18px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.01em; color: var(--ink); }
.step p { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.step-dark { background: var(--graphite); border-color: var(--graphite); }
.step-dark .step-num { color: var(--white); }
.step-dark strong { color: var(--white); }
.step-dark p { color: #c4c9d0; }

.quote {
  display: flex; align-items: center; justify-content: center; gap: 20px;
  max-width: 900px; margin: 40px auto 0; padding: 24px 32px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.quote svg { width: 32px; height: 32px; fill: var(--red); stroke: none; }
.quote p { font-size: clamp(17px, 1.6vw, 21px); font-weight: 700; line-height: 1.35; color: var(--ink); }

/* ===== 04 · Направления ===== */
.directions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.direction {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  min-height: 300px; padding: 32px 32px 28px 36px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.direction::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); }
.direction:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.direction-num { position: absolute; top: 24px; right: 28px; font-size: 24px; font-weight: 600; color: #d3d7dc; }
.direction h3 { margin-top: 24px; font-size: 22px; line-height: 1.15; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.direction p { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.direction-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 24px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red);
}
.direction-link svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform 0.2s var(--ease); }
.direction:hover .direction-link svg { transform: translateX(4px); }
.direction-graphite::before { background: var(--graphite); }
.direction-graphite .direction-link { color: var(--ink); }

/* ===== 05 · Решения ===== */
.solutions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.solution {
  position: relative; display: flex; gap: 28px; align-items: flex-start;
  padding: 36px 40px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.solution:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.solution-body { flex: 1; min-width: 0; padding-right: 32px; }
.solution h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.15; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.checklist { display: grid; gap: 10px; margin-top: 20px; }
.checklist li { position: relative; padding-left: 30px; font-size: 15px; color: var(--muted); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.solution-link {
  position: absolute; right: 32px; bottom: 32px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--red);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.solution-link svg { width: 24px; height: 24px; stroke-width: 2.2; }
.solution-link:hover { background: var(--red); color: var(--white); }

.solution-dark { background: var(--graphite); border-color: var(--graphite); }
.solution-dark h3 { color: var(--white); }
.solution-dark .checklist li { color: #c9ced5; }
.solution-dark .checklist li::before {
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8' fill='none' stroke='%2323262b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.solution-dark .solution-link { color: var(--white); }
.solution-dark .solution-link:hover { background: var(--white); color: var(--graphite); }

/* ===== 06 · Медиа ===== */
.media-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }

.media-catalog { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.filters, .media-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; width: 100%; }
.filter {
  position: relative; padding: 14px 40px 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
}
.filter small { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.filter span { display: block; margin-top: 4px; font-size: 14px; color: var(--text); }
.filter svg { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); }

.media-type {
  padding: 24px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); min-height: 168px;
}
.media-icon { width: 30px; height: 30px; color: var(--red); stroke-width: 2; }
.media-type h3 { margin-top: 22px; font-size: 15px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.media-type p { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.media-type-dark { background: var(--graphite); border-color: var(--graphite); }
.media-type-dark .media-icon { color: var(--white); }
.media-type-dark h3 { color: var(--white); }
.media-type-dark p { color: #bfc4cb; }
.media-catalog .button { margin-top: auto; }

.presence { display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: center; }
.presence h3 { font-size: clamp(20px, 1.9vw, 26px); font-weight: 800; text-transform: uppercase; color: var(--white); }
.presence p { color: #c9ced5; }
.presence hr { width: 64%; margin: 20px auto; border: 0; border-top: 1px solid #4a5058; }
.presence strong { max-width: 30ch; font-size: 14px; font-weight: 700; color: var(--white); }

.network { width: 100%; max-width: 420px; height: auto; margin: 28px 0; overflow: visible; }
.net-lines path { stroke: rgba(255, 255, 255, 0.4); stroke-width: 1.3; fill: none; }
.net-dots circle { fill: var(--graphite); stroke: rgba(255, 255, 255, 0.85); stroke-width: 1.5; }
.net-dots circle.f { fill: #eceef1; stroke: none; }
.net-dots circle.r { fill: var(--red); stroke: none; }
.net-dots circle.r { animation: pulse 2.6s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }

/* ===== 07 · Технологии ===== */
.tech-panel { padding: clamp(24px, 3.5vw, 48px); }
.flow {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 12px;
  padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line);
  font-size: clamp(13px, 1.25vw, 17px); font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; color: var(--red);
}
.flow i { font-style: normal; color: var(--red); opacity: 0.7; }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product {
  position: relative; display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 20px; min-height: 112px;
  background: #f8f9fa; border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.product:hover { background: var(--white); border-color: var(--red-tint-line); }
.product > div { min-width: 0; }
.product h3 { padding-right: 92px; padding-top: 4px; font-size: 15px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.product p { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.status {
  position: absolute; top: 18px; right: 16px;
  padding: 5px 10px; border-radius: 999px; background: var(--red-tint);
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red);
}
.status-soft { background: #eef0f3; color: var(--graphite); }
.product-dark { background: var(--graphite); border-color: var(--graphite); }
.product-dark:hover { background: var(--graphite-2); border-color: var(--graphite-2); }
.product-dark h3 { color: var(--white); }
.product-dark p { color: #bfc4cb; }
.status-dark { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px #6b717b; }

.tech-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line);
}
.tech-foot p { max-width: 60ch; font-size: 15px; color: var(--muted); }

/* ===== 08 · Кейсы ===== */
.case {
  display: grid; grid-template-columns: minmax(260px, 4fr) 8fr;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--white);
}
.case-side {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 40px 32px; background: var(--graphite);
}
.case-side .network { max-width: 240px; margin: 0 0 28px; }
.case-side .kicker { margin-bottom: 12px; color: #ef4b57; }
.case-side h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.15; font-weight: 800; text-transform: uppercase; color: var(--white); }
.case-body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.case-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; width: 100%; }
.case-steps li { display: grid; gap: 14px; align-content: start; }
.case-steps li > span {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: var(--white); font-size: 14px; font-weight: 800;
}
.case-steps h4 { font-size: 16px; font-weight: 800; text-transform: uppercase; color: var(--red); }
.case-steps p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* ===== 09 · События ===== */
.events-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.events { display: flex; flex-direction: column; align-items: flex-start; }
.event-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: 100%; margin: 28px 0 32px; }
.event-steps li {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px; background: #f8f9fa; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.event-steps li > span { font-size: 15px; font-weight: 800; color: var(--red); line-height: 1.4; }
.event-steps strong { display: block; font-size: 14px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.event-steps small { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.events .button { margin-top: auto; }

.club {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  background: var(--club-bg); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.club-copy { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3.5vw, 48px); }
.club h3 {
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; color: #f1ece3;
}
.club-rule { display: block; width: 72px; height: 3px; margin: 24px 0; background: var(--gold); }
.club-lead { font-size: 17px; font-weight: 700; line-height: 1.45; color: var(--gold); }
.club-note { margin: 20px 0 28px; font-size: 14px; line-height: 1.5; color: #b8b2a8; }
.club .button { margin-top: auto; }
.club img { width: 100%; height: 100%; object-fit: cover; min-height: 320px; }

/* ===== 10 · Контакт ===== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-copy .accent-bar { margin: 28px 0 24px; }
.contact-copy .section-lead { margin-top: 0; }
.next-steps { display: grid; gap: 16px; margin-top: 32px; }
.next-steps li { display: flex; align-items: center; gap: 16px; font-size: 15px; font-weight: 600; color: var(--text); }
.next-steps span {
  display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%;
  background: var(--red-tint); color: var(--red); font-size: 14px; font-weight: 800;
}
.contact-mail {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 32px;
  font-size: 18px; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--red); padding-bottom: 2px;
}
.contact-mail svg { color: var(--red); }

.contact-form { display: grid; gap: 18px; background: var(--bg); box-shadow: none; }
.contact-form .panel-title { margin-bottom: 6px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 13px; font-weight: 600; color: var(--text); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #d4d8dd; border-radius: var(--radius-sm); background: var(--white);
  font-size: 16px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field textarea { resize: vertical; min-height: 112px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(200, 30, 43, 0.12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--red); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.consent.is-invalid span { color: var(--red); }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.form-note { flex: 1 1 200px; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* ===== Подвал ===== */
.site-footer { background: var(--graphite); color: #aeb4bc; padding: 64px 0 32px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid #3a3f46; }
.brand-footer .brand-caption { color: #9aa1aa; }
.sitemap { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px; padding: 40px 0; }
.sitemap h4 { margin-bottom: 14px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); }
.sitemap a { display: block; padding: 4px 0; font-size: 14px; transition: color 0.2s var(--ease); }
.sitemap a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid #3a3f46; font-size: 13px; color: #8a919a; }

/* ===== Появление при прокрутке ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .net-dots circle.r { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ===== Адаптив ===== */
@media (max-width: 1180px) {
  .header-cta { display: none; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step:nth-child(3)::after { display: none; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sitemap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .club { grid-template-columns: minmax(0, 1fr); }
  .club img { order: -1; height: 260px; min-height: 0; object-position: center 60%; }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }

  .menu-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 8px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(22, 24, 28, 0.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav a:not(.button) { padding: 16px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.button)::after { display: none; }
  .nav-cta { display: inline-flex; margin-top: 20px; }

  /* Мобильный первый экран: крупный кадр, низ растворяется в фон, текст «вырастает» из картинки */
  .hero { display: block; min-height: 0; background: var(--bg); }
  .hero-visual {
    position: relative; width: 100%; height: clamp(340px, 96vw, 600px);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.55) 74%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 52%, rgba(0, 0, 0, 0.55) 74%, transparent 100%);
  }
  .hero-visual img { object-position: 50% 18%; }
  .hero-inner { margin-top: clamp(-140px, -22vw, -72px); padding-block: 0 56px; }
  .hero-copy { max-width: 640px; }
  .hero .eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
    padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 6px 18px rgba(22, 24, 28, 0.08); backdrop-filter: blur(6px);
    font-size: 11px; letter-spacing: 0.14em;
  }
  .hero .eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); flex: none; }
  .hero-badge {
    left: auto; right: var(--gutter); top: 16px; bottom: auto;
    padding: 9px 14px; font-size: 10px; letter-spacing: 0.06em;
    background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(6px);
  }

  .system { grid-template-columns: 1fr 1fr; gap: 16px; }
  .system-lines { display: none; }
  .system-core { grid-column: 1 / -1; order: -1; width: min(280px, 70vw); justify-self: center; margin-bottom: 16px; }
  .system-col { gap: 16px; }
  .system-col .node:nth-child(n) { margin: 0; }

  .directions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solutions { grid-template-columns: minmax(0, 1fr); }
  .media-grid { grid-template-columns: minmax(0, 1fr); }
  .case { grid-template-columns: minmax(0, 1fr); }
  .case-side { flex-direction: row; justify-content: flex-start; gap: 24px; text-align: left; padding: 28px; }
  .case-side .network { display: none; }
  .events-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .header-inner { gap: 16px; }
  .brand-mark { font-size: 26px; }

  .hero-actions .button { width: 100%; }
  .statement { padding: 18px 18px 18px 20px; }

  .system { grid-template-columns: minmax(0, 1fr); }
  .node { padding: 14px 16px; }
  .node .icon-circle { width: 44px; height: 44px; }
  .node .icon-circle svg { width: 22px; height: 22px; }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .step { flex-direction: row; align-items: center; text-align: left; gap: 16px; padding: 16px; }
  .step::after { display: none; }
  .step-num { display: none; }
  .step .icon-circle { margin: 0; width: 56px; height: 56px; }
  .step .icon-circle svg { width: 26px; height: 26px; }
  .step strong { font-size: 16px; }
  .step p { margin-top: 2px; }
  .step > strong, .step > p { grid-column: 2; }
  .step { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 16px; row-gap: 0; }
  .step .icon-circle { grid-row: 1 / 3; }
  .quote { flex-direction: column; text-align: center; gap: 12px; padding: 20px; }

  .directions { grid-template-columns: minmax(0, 1fr); }
  .direction { min-height: 0; padding: 28px 24px 24px 30px; }

  .solution { flex-direction: column; gap: 20px; padding: 28px 24px 72px; }
  .solution .icon-circle-lg { width: 64px; height: 64px; }
  .solution .icon-circle-lg svg { width: 28px; height: 28px; }
  .solution-body { padding-right: 0; }
  .solution-link { right: 16px; bottom: 16px; }

  .filters, .media-types { grid-template-columns: minmax(0, 1fr); }
  .media-type { min-height: 0; display: grid; grid-template-columns: 30px 1fr; column-gap: 16px; }
  .media-type h3 { margin-top: 0; }
  .media-type p { grid-column: 2; margin-top: 4px; }
  .media-icon { grid-row: 1 / 3; }

  .products { grid-template-columns: minmax(0, 1fr); }
  .product { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; row-gap: 12px; }
  .product h3 { padding-right: 0; }
  .status { position: static; grid-column: 2; justify-self: start; }
  .tech-foot .button, .media-catalog .button, .events .button, .case-body .button { width: 100%; }
  .case-steps { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .case-steps li { grid-template-columns: 44px 1fr; gap: 16px; }
  .event-steps { grid-template-columns: minmax(0, 1fr); }

  .form-foot .button { width: 100%; }
  .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .footer-top .button { width: 100%; }
}

/* =====================================================================
   НАВИГАЦИЯ: выпадающее меню «Направления»
   ===================================================================== */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { position: relative; padding: 6px 0; font-size: 13px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text); transition: color 0.2s var(--ease); }
.nav-item > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.nav-item:hover > a, .nav-item.is-current > a { color: var(--red); }
.site-nav a[aria-current="page"] { color: var(--red); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav-menu {
  position: absolute; top: calc(100% + 14px); left: -24px; z-index: 60;
  display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 4px;
  padding: 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(22, 24, 28, 0.14);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
}
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-menu:hover .nav-menu, .has-menu:focus-within .nav-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  transition: background-color 0.2s var(--ease);
}
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--bg); }
.nav-menu strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.nav-menu small { display: block; font-size: 12px; color: var(--muted); }
.nav-menu a[aria-current="page"] strong { color: var(--red); }
.icon-circle-sm { width: 40px; height: 40px; }
.icon-circle-sm svg { width: 20px; height: 20px; }

/* =====================================================================
   СТРАНИЦЫ НАПРАВЛЕНИЙ
   ===================================================================== */
.page-hero { position: relative; overflow: hidden; background: var(--bg); padding: clamp(32px, 4vw, 48px) 0 clamp(48px, 6vw, 80px); }
.page-hero::before {
  content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 160%;
  background: radial-gradient(closest-side, rgba(200, 30, 43, 0.06), transparent);
  pointer-events: none;
}
.page-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(30px, 3.3vw, 48px); line-height: 1.1; }
.page-hero .hero-lead { max-width: 560px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 13px; color: var(--muted); }
.breadcrumbs a { transition: color 0.2s var(--ease); }
.breadcrumbs a:hover { color: var(--red); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 600; }

.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.eyebrow-icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--red-tint); }
.eyebrow-icon svg { width: 17px; height: 17px; stroke-width: 2; }

.page-visual { position: relative; }
.page-visual-image img {
  width: 100%; border-radius: var(--radius); background: var(--white);
  box-shadow: 0 30px 70px rgba(22, 24, 28, 0.12);
}
.page-events .page-visual-image img { aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 60%; }

.page-visual-panel {
  min-height: 420px; padding: 32px; border-radius: var(--radius);
  background: var(--graphite); box-shadow: 0 30px 70px rgba(22, 24, 28, 0.18); overflow: hidden;
}
.panel-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #ef4b57; }
.page-visual-panel .network { position: absolute; left: 6%; right: 6%; top: 72px; width: 88%; max-width: none; margin: 0; opacity: 0.85; }
.ui-card {
  position: absolute; display: flex; align-items: center; gap: 12px; min-width: 230px;
  padding: 14px 18px 14px 14px; background: var(--white); border-radius: var(--radius-sm); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  animation: float 6s ease-in-out infinite;
}
.ui-card strong { display: block; font-size: 14px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.ui-card small { display: block; font-size: 12px; color: var(--muted); }
.ui-card-1 { left: 32px; bottom: 150px; }
.ui-card-2 { right: 32px; bottom: 92px; animation-delay: -2s; }
.ui-card-3 { left: 64px; bottom: 32px; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* полоса фактов */
.highlights { background: var(--graphite); color: var(--white); }
.highlights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.highlight { display: grid; gap: 2px; padding: 32px 32px 32px 28px; border-left: 1px solid #3a3f46; }
.highlight:first-child { border-left: 0; padding-left: 0; }
.highlight strong { position: relative; padding-left: 18px; font-size: clamp(30px, 3.2vw, 44px); line-height: 1.05; font-weight: 900; letter-spacing: -0.02em; color: var(--white); }
.highlight strong::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; background: var(--red); }
.highlight span { padding-left: 18px; margin-top: 6px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.highlight small { padding-left: 18px; font-size: 14px; color: #a9afb8; }

/* плитки задач */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tile {
  padding: 28px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.tile:hover { background: var(--white); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.tile h3 { margin-top: 20px; font-size: 17px; line-height: 1.25; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.tile p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* агентская модель */
.model { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; align-items: stretch; }
.model-card {
  position: relative; padding: clamp(28px, 3vw, 40px); background: var(--graphite); border-radius: var(--radius); color: #c9ced5;
}
.model-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); border-radius: var(--radius) 0 0 var(--radius); }
.model-card .kicker { color: #ef4b57; }
.model-big { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.05; font-weight: 900; text-transform: uppercase; color: var(--white); }
.model-card .accent-bar { margin: 24px 0; }
.model-list { padding: clamp(28px, 3vw, 40px); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); box-shadow: var(--shadow); }
.model-list-title { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.model-list ol { margin-top: 20px; }
.model-list li { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.model-list li > span { font-size: 14px; font-weight: 800; color: var(--red); line-height: 1.6; }
.model-list h3 { font-size: clamp(17px, 1.6vw, 21px); font-weight: 800; text-transform: uppercase; color: var(--ink); }
.model-list p { margin-top: 4px; font-size: 15px; color: var(--muted); }
.model-bottom { display: grid; grid-template-columns: 1fr 1fr; margin-top: 24px; background: var(--graphite); border-radius: var(--radius); overflow: hidden; }
.model-bottom > div { position: relative; padding: 28px 32px 28px 36px; }
.model-bottom > div::before { content: ""; position: absolute; left: 20px; top: 28px; bottom: 28px; width: 3px; background: var(--red); }
.model-bottom > div + div { border-left: 1px solid #3a3f46; }
.model-bottom h3 { font-size: 16px; font-weight: 800; text-transform: uppercase; color: var(--white); }
.model-bottom p { margin-top: 6px; font-size: 14px; color: #a9afb8; }

/* этапы */
.psteps { display: grid; gap: 24px; }
.psteps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.psteps-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pstep { position: relative; padding-top: 28px; }
.pstep::before { content: ""; position: absolute; left: 0; right: -24px; top: 21px; height: 2px; background: var(--line); }
.pstep:last-child::before { right: 0; }
.pstep-num {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -28px;
  border-radius: 50%; background: var(--red); color: var(--white); font-size: 14px; font-weight: 800;
  box-shadow: 0 0 0 6px var(--bg);
}
.section-white .pstep-num { box-shadow: 0 0 0 6px var(--white); }
.pstep h3 { margin-top: 20px; font-size: 17px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.pstep p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* форматы / пакеты */
.formats { display: grid; gap: 24px; }
.formats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.format {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 32px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.section-white .format { background: var(--bg); box-shadow: none; }
.format:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.format-num { font-size: 14px; font-weight: 800; color: var(--red); }
.format h3 { margin-top: 12px; font-size: clamp(22px, 2vw, 28px); line-height: 1.1; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.format-price { margin-top: 12px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 900; letter-spacing: -0.02em; color: var(--red); }
.format-goal { width: 100%; margin-top: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; color: var(--text); }
.format ul { display: grid; gap: 10px; margin: 20px 0 24px; }
.format li { position: relative; padding-left: 18px; font-size: 14px; color: var(--muted); }
.format li::before { content: ""; position: absolute; left: 0; top: 7px; width: 7px; height: 7px; background: var(--red); }
.format-foot { width: 100%; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red); }
.format .button { width: 100%; margin-top: 20px; }
.format.format-dark { background: var(--graphite); border-color: var(--graphite); border-top-color: var(--red); }
.format-dark h3, .format-dark .format-goal { color: var(--white); }
.format-dark .format-goal, .format-dark .format-foot { border-color: #3a3f46; }
.format-dark .format-price { color: #ff5a66; }
.format-dark li { color: #c4c9d0; }
.format-dark .format-foot { color: var(--white); }
.button-light { background: var(--white); color: var(--ink); }
.button-light:hover { background: var(--red-tint); }

/* клиенты */
.clients { padding: clamp(24px, 4vw, 48px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.section-white .clients { background: var(--bg); }
.clients img { width: 100%; opacity: 0.8; }

/* смежные направления */
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.related-card {
  display: flex; align-items: center; gap: 16px; padding: 24px;
  background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--red); border-radius: var(--radius); box-shadow: var(--shadow);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.section-white .related-card { background: var(--bg); box-shadow: none; }
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.related-copy { flex: 1; min-width: 0; }
.related-copy strong { display: block; font-size: 17px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.related-copy small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.related-arrow { width: 24px; height: 24px; color: var(--red); stroke-width: 2.2; transition: transform 0.2s var(--ease); }
.related-card:hover .related-arrow { transform: translateX(4px); }

.contact-form-white { background: var(--white); box-shadow: var(--shadow); }
.media-types-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.club-wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.club-wide img { max-height: 520px; }

/* «Подробнее» на главной */
.more-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--red);
}
.more-link svg { width: 18px; height: 18px; stroke-width: 2.2; transition: transform 0.2s var(--ease); }
.more-link:hover svg { transform: translateX(4px); }
.direction-title-link { color: inherit; }
.direction-title-link::before { content: ""; position: absolute; inset: 0; z-index: 0; }
.direction .direction-link { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) { .ui-card { animation: none; } }

@media (max-width: 1180px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psteps-4, .psteps-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .pstep::before { display: none; }
  .club-wide { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1023px) {
  .nav-item { display: block; }
  .nav-item > a { display: block; padding: 16px 0; font-size: 15px; border-bottom: 1px solid var(--line); }
  .nav-item > a::after { display: none; }
  .nav-menu {
    position: static; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0;
    padding: 4px 0 8px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
  }
  .nav-menu::before { display: none; }
  .nav-menu a { padding: 8px 0; }
  .nav-menu small { display: none; }
  .site-nav { max-height: calc(100svh - var(--header-h)); overflow-y: auto; }

  .page-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .page-visual-panel { min-height: 360px; }
  .highlights-grid { grid-template-columns: minmax(0, 1fr); }
  .highlight, .highlight:first-child { padding: 22px 0; border-left: 0; border-top: 1px solid #3a3f46; }
  .highlight:first-child { border-top: 0; }
  .model { grid-template-columns: minmax(0, 1fr); }
  .formats-3 { grid-template-columns: minmax(0, 1fr); }
  .related { grid-template-columns: minmax(0, 1fr); }
  .media-types-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .breadcrumbs { margin-bottom: 20px; }
  .tiles { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tile { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; padding: 20px; }
  .tile .icon-circle { grid-row: 1 / 3; }
  .tile h3 { margin-top: 0; align-self: center; }
  .tile p { margin-top: 6px; }
  .psteps-4, .psteps-5 { grid-template-columns: minmax(0, 1fr); row-gap: 24px; }
  .pstep { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding-top: 0; }
  .pstep-num { grid-row: 1 / 3; margin-top: 0; }
  .pstep h3 { margin-top: 10px; }
  .model-bottom { grid-template-columns: minmax(0, 1fr); }
  .model-bottom > div + div { border-left: 0; border-top: 1px solid #3a3f46; }
  .media-types-6 { grid-template-columns: minmax(0, 1fr); }
  .page-visual-panel { min-height: 330px; padding: 24px; }
  .ui-card { min-width: 0; left: 16px; right: 16px; }
  .ui-card-1 { bottom: 152px; }
  .ui-card-2 { bottom: 86px; }
  .ui-card-3 { bottom: 20px; }
  .format { padding: 24px; }
  .clients { padding: 16px; }
}
.page-direction h2 { max-width: 26ch; }
.highlight-word strong { font-size: clamp(24px, 2.3vw, 32px); padding-top: 4px; padding-bottom: 4px; }
@media (max-width: 720px) {
  .page-hero h1 { font-size: clamp(25px, 7.4vw, 30px); }
  .clients { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .clients img { width: 720px; max-width: none; }
}

/* меню «Направления»: изоляция от стилей пунктов шапки */
.nav-menu { width: 580px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-nav .nav-menu a:not(.button) {
  display: flex; padding: 10px 12px; font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--text);
}
.site-nav .nav-menu a:not(.button)::after { display: none; }
.nav-menu a > span:last-child { min-width: 0; }
@media (max-width: 1023px) {
  .nav-menu { width: auto; grid-template-columns: minmax(0, 1fr); }
  .site-nav .nav-menu a:not(.button) { padding: 8px 0; border-bottom: 0; }
}

/* =====================================================================
   ОБЩИЙ МАСШТАБ САЙТА (десктоп). 1 = 100 %, 0.85 = −15 %, 0.8 = −20 %.
   На телефонах и планшетах масштаб не меняется — ради читаемости.
   ===================================================================== */
:root { --site-scale: 0.85; }
@media (min-width: 1024px) {
  html { zoom: var(--site-scale); }
}


/* =====================================================================
   КЛИЕНТЫ И ПАРТНЁРЫ — сетка логотипов
   ===================================================================== */
.logo-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.logo-grid li { display: grid; place-items: center; height: 104px; padding: 0 16px; background: var(--white); }
.section-white .logo-grid li { background: var(--bg); }
.clients-block .logo-grid li { background: var(--white); }
.logo-grid img {
  width: auto; height: auto; max-width: 66%; max-height: 40px;
  opacity: 0.72; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.logo-grid li:hover img { opacity: 1; transform: scale(1.04); }

.clients-block {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  margin-top: clamp(32px, 4vw, 48px); padding: clamp(24px, 3.5vw, 48px);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
}
.clients-head h3 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.clients-head p:not(.kicker) { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.clients-head .more-link { margin-top: 20px; }

@media (max-width: 1023px) {
  .clients-block { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid li { height: 80px; }
  .logo-grid img { max-height: 30px; max-width: 74%; }
  .clients-block { padding: 20px; }
}
@media (max-width: 480px) {
  .hero .eyebrow { padding: 7px 12px; font-size: 9.5px; letter-spacing: 0.08em; white-space: nowrap; }
}

/* =====================================================================
   «ПОТОК» — карточки продуктов без статусов
   ===================================================================== */
.product { align-items: flex-start; min-height: 0; padding: 24px 22px; }
.product h3 { padding-right: 0; padding-top: 2px; font-size: 16px; }
.product > div > p:not(.product-tag):not(.product-who) { margin-top: 8px; font-size: 14px; line-height: 1.5; }
.product-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--red); }
.product-who { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 13px; line-height: 1.45; color: var(--muted); }
.product-who span { font-weight: 700; color: var(--ink); }
.product-dark .product-tag { color: #ff6b76; }
.product-dark .product-who { border-top-color: #3a3f46; color: #bfc4cb; }
.product-dark .product-who span { color: var(--white); }
.product-dark > div > p:not(.product-tag):not(.product-who) { color: #c9ced5; }
@media (max-width: 720px) {
  .product { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
}

/* =====================================================================
   АНАЛИТИКА — «Знакомо?», «Что вы получаете», FAQ
   ===================================================================== */
.pains-legend { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); margin-bottom: 12px; font-size: 12px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.pains-legend span:first-child { color: var(--muted); }
.pains-legend span:last-child { grid-column: 3; color: var(--red); }
.pains { display: grid; gap: 14px; }
.pain { display: grid; grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr); align-items: stretch; }
.pain-before, .pain-after { display: flex; gap: 14px; align-items: center; padding: 20px 22px; border-radius: var(--radius); }
.pain-before { background: #eceef1; color: var(--muted); }
.pain-after { background: var(--white); border: 1px solid var(--line); border-left: 5px solid var(--red); box-shadow: var(--shadow); color: var(--ink); font-weight: 600; }
.pain p { font-size: 15px; line-height: 1.45; }
.pain-mark { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; }
.pain-mark svg { width: 16px; height: 16px; stroke-width: 2.6; }
.pain-before .pain-mark { background: #dcdfe4; color: #8a9099; }
.pain-after .pain-mark { background: var(--red); color: var(--white); }
.pain-arrow { display: grid; place-items: center; color: var(--red); }
.pain-arrow svg { width: 24px; height: 24px; stroke-width: 2.2; }

.deliver-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.deliver-copy h2 { max-width: 18ch; }
.deliver-copy .accent-bar { margin: 24px 0; }
.deliver-list { display: grid; gap: 18px; }
.deliver-list li { display: flex; gap: 16px; align-items: flex-start; }
.deliver-list .icon-circle-sm { width: 36px; height: 36px; background: var(--red); color: var(--white); }
.deliver-list .icon-circle-sm svg { width: 18px; height: 18px; stroke-width: 2.6; }
.deliver-list h3 { font-size: 16px; font-weight: 800; text-transform: uppercase; color: var(--ink); }
.deliver-list p { margin-top: 4px; font-size: 15px; color: var(--muted); }

.report { margin: 0; background: var(--white); border-radius: var(--radius); box-shadow: 0 30px 70px rgba(22, 24, 28, 0.14); overflow: hidden; transform: rotate(1.2deg); }
.report-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; background: var(--graphite); color: var(--white); }
.report-head span { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.report-head small { padding: 4px 10px; border-radius: 999px; background: var(--red); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.report-body { padding: 22px 24px 26px; }
.report-label { margin: 18px 0 10px; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.report-label:first-child { margin-top: 0; }
.tone-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; }
.tone-pos { background: #2f9e6a; } .tone-neu { background: #c9cdd3; } .tone-neg { background: var(--red); }
.tone-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.tone-legend span { display: inline-flex; align-items: center; gap: 6px; }
.tone-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; }
.report-topics { display: grid; gap: 8px; counter-reset: t; }
.report-topics li { counter-increment: t; display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; background: var(--bg); border-radius: var(--radius-sm); font-size: 13px; color: var(--text); }
.report-topics li span::before { content: counter(t) ". "; font-weight: 800; color: var(--red); }
.report-topics b { color: #2f9e6a; }
.report-topics b.down { color: var(--red); }
.report-alert { display: flex; gap: 12px; margin-top: 18px; padding: 14px; border-radius: var(--radius-sm); background: var(--red-tint); }
.report-alert-icon { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--red); color: var(--white); }
.report-alert-icon svg { width: 16px; height: 16px; }
.report-alert strong, .report-reco strong { display: block; font-size: 13px; font-weight: 800; color: var(--ink); }
.report-alert p, .report-reco p { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--text); }
.report-reco { margin-top: 12px; padding: 14px; border: 1px dashed var(--silver); border-radius: var(--radius-sm); }

.faq { display: grid; gap: 12px; max-width: 920px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: box-shadow 0.2s var(--ease); }
.section-white .faq-item { background: var(--bg); }
.faq-item[open] { box-shadow: var(--shadow); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px;
  list-style: none; cursor: pointer; font-size: 16px; font-weight: 700; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--red-tint); }
.faq-item summary span::before, .faq-item summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--red); transform: translate(-50%, -50%); transition: transform 0.2s var(--ease); }
.faq-item summary span::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] summary span::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item p { padding: 0 24px 22px; font-size: 15px; line-height: 1.6; color: var(--muted); }

@media (max-width: 1023px) {
  .deliver-grid { grid-template-columns: minmax(0, 1fr); }
  .report { transform: none; }
}
@media (max-width: 720px) {
  .pains-legend { display: none; }
  .pain { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pain-arrow { height: 28px; transform: rotate(90deg); }
  .pain-before, .pain-after { padding: 16px; }
  .faq-item summary { padding: 16px 18px; font-size: 15px; }
  .faq-item p { padding: 0 18px 18px; }
}
.report-head small { white-space: nowrap; }

/* Секция «Клиенты и партнёры» на главной: белая карточка на сером фоне */
.clients-block-white { margin-top: 0; background: var(--white); box-shadow: var(--shadow); }
.clients-block-white .logo-grid li { background: var(--white); }
.clients-head h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }

/* Сетка логотипов: плитки, число колонок задаёт генератор (--cols); неполный ряд — по центру */
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; background: none; border: 0; border-radius: 0; overflow: visible; }
.logo-grid li {
  flex: 0 0 calc((100% - (var(--cols, 4) - 1) * 12px) / var(--cols, 4));
  height: 104px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white);
}
.section-white .logo-grid li { background: var(--bg); }
.clients-block .logo-grid li, .clients-block-white .logo-grid li { background: var(--white); }
.clients-block-white .logo-grid li { background: var(--bg); }
.logo-grid img { max-width: 72%; max-height: 42px; }
@media (max-width: 720px) {
  .logo-grid { gap: 8px; }
  .logo-grid li { flex-basis: calc((100% - 8px) / 2); height: 80px; }
  .logo-grid img { max-height: 30px; max-width: 78%; }
}

/* «Клиенты и партнёры» на главной: заголовок сверху, сетка на всю ширину (13+ логотипов) */
.clients-block-white { grid-template-columns: minmax(0, 1fr); align-items: start; }
.clients-block-white .clients-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: 48px; align-items: end; }
.clients-block-white .clients-head .kicker, .clients-block-white .clients-head h2 { grid-column: 1; }
.clients-block-white .clients-head p:not(.kicker) { grid-column: 2; grid-row: 1 / 3; margin-top: 0; align-self: end; }
.clients-block-white .clients-head .more-link { grid-column: 1; }
.logo-grid img { max-height: 48px; }
@media (max-width: 1023px) {
  .clients-block-white .clients-head { grid-template-columns: minmax(0, 1fr); }
  .clients-block-white .clients-head p:not(.kicker) { grid-column: 1; grid-row: auto; margin-top: 14px; }
}
/* Размер логотипа по пропорциям (класс ставит генератор) */
.logo-grid img.logo-wide { max-width: 86%; max-height: 40px; }
.logo-grid img.logo-mid { max-width: 76%; max-height: 50px; }
.logo-grid img.logo-compact { max-width: 60%; max-height: 72px; }
@media (max-width: 720px) {
  .logo-grid img.logo-wide { max-width: 88%; max-height: 28px; }
  .logo-grid img.logo-mid { max-height: 36px; }
  .logo-grid img.logo-compact { max-height: 54px; }
}

/* =====================================================================
   КОНТАКТ — карточка «Напишите нам» (вместо формы заявки)
   ===================================================================== */
.mail-card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px, 3.5vw, 48px); border-radius: var(--radius); overflow: hidden;
  background: var(--graphite); color: #c9ced5; box-shadow: 0 30px 70px rgba(22, 24, 28, 0.16);
}
.mail-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--red); }
.mail-card-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: var(--white); }
.mail-card-icon svg { width: 26px; height: 26px; stroke-width: 2; }
.mail-card-label { margin-top: 24px; font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #ef4b57; }
.mail-card-address {
  margin-top: 8px; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em;
  color: var(--white); word-break: break-all; border-bottom: 3px solid var(--red); padding-bottom: 4px;
  transition: color 0.2s var(--ease);
}
.mail-card-address:hover { color: #ffd9dc; }
.mail-card-text { max-width: 44ch; margin-top: 20px; font-size: 15px; line-height: 1.55; }
.mail-card-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button-ghost { border-color: #4a5058; color: var(--white); background: transparent; }
.button-ghost:hover { border-color: var(--white); }
.contact-grid { align-items: center; }
@media (max-width: 720px) {
  .mail-card-actions, .mail-card-actions .button { width: 100%; }
  .mail-card-address { font-size: clamp(24px, 8vw, 32px); }
}
