/* ==========================================================================
   Аритин.Коннект — базовые стили
   Стили общие для всех страниц сайта.
   ========================================================================== */

/* ---------- Переменные ---------- */
:root {
  --bg: #f8fafc;
  --bg-soft: #f1f5f9;
  --surface: #ffffff;
  --border: #e6ebf1;
  --text: #0f172a;
  --muted: #64748b;
  --muted-2: #94a3b8;
  /* Фирменные цвета Аритин.Коннект */
  --accent: #00a2e6;
  --accent-soft: rgba(0, 162, 230, .10);
  --accent-ink: #01729f;
  --brand-1: #053d51;
  --brand-2: #260f1d;
  --brand-grad: linear-gradient(135deg, #053d51 0%, #260f1d 100%);
  /* Цвета каналов */
  --wa: #25d366;
  --wa-plain: #128c7e;
  --tg: #2aabee;
  --tgb: #0088cc;
  --max: #7b61ff;
  --vk: #0077ff;
  /* Цвета CRM */
  --bitrix24: #2fc7f7;
  --amo: #4c8bf5;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 1px 3px rgba(15, 23, 42, .06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, .06), 0 2px 6px rgba(15, 23, 42, .04);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, .10), 0 8px 20px rgba(15, 23, 42, .05);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1160px;
}

/* ---------- Reset / база ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: #cfd8e3; transform: translateY(-2px); }

/* ---------- Шапка ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, .78);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
header.site-header.scrolled { border-bottom-color: var(--border); background: rgba(248, 250, 252, .92); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -.02em;
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--brand-grad);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(5, 61, 81, .28);
}
.logo-mark svg { width: 20px; height: 20px; }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 15px;
  color: var(--muted);
  font-weight: 500;
  transition: color .15s ease;
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--text); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.burger {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.burger span {
  display: block; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px; position: relative;
}
.burger span::before, .burger span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--text); border-radius: 2px;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

/* Мобильное меню */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border);
  background: rgba(248,250,252,.98);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 6px; font-weight: 500; color: var(--muted);
  border-radius: 10px;
}
.mobile-menu a:hover { background: var(--bg-soft); color: var(--text); }

/* ---------- Hero (главная) ---------- */
.hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -260px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 620px;
  background: radial-gradient(closest-side, rgba(0,162,230,.12), rgba(5,61,81,.07), transparent 72%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 26px;
}
.badge b { color: var(--text); font-weight: 600; }
.badge .pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e; margin-left: 4px;
  box-shadow: 0 0 0 0 rgba(34,197,94,.5);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,.45); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

h1 {
  font-size: 56px;
  line-height: 1.06;
  letter-spacing: -.035em;
  font-weight: 700;
  margin: 0 0 22px;
}
h1 .grad {
  background: linear-gradient(120deg, var(--accent) 0%, var(--brand-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 19px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--muted-2);
}

/* Визуальный блок в hero */
.visual { position: relative; padding: 8px; }
.visual-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 20px;
  position: relative;
  z-index: 2;
}
.visual-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.visual-head .dots { display: flex; gap: 6px; }
.visual-head .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); display: block; }
.visual-head .title { font-size: 13px; font-weight: 600; color: var(--muted); }

.chat-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px;
  border-radius: 14px;
  transition: background .2s ease;
}
.chat-row:hover { background: var(--bg-soft); }
.avatar {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center; flex-shrink: 0;
}
.avatar svg { width: 20px; height: 20px; }
.avatar.wa { background: rgba(37,211,102,.14); color: var(--wa); }
.avatar.tg { background: rgba(42,171,238,.14); color: var(--tg); }
.avatar.tgb { background: rgba(0,136,204,.14); color: var(--tgb); }
.avatar.mx { background: rgba(123,97,255,.14); color: var(--max); }
.chat-row .meta { flex: 1; min-width: 0; }
.chat-row .meta .who { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.chat-row .meta .txt {
  font-size: 13px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tag {
  font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink);
}

.floating-badge {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600;
  z-index: 3;
}
.floating-badge small { display: block; font-weight: 500; color: var(--muted-2); font-size: 11px; }
.fb-1 { top: 4px; right: -6px; animation: float 6s ease-in-out infinite; }
.fb-2 { bottom: -6px; left: -6px; animation: float 6s ease-in-out infinite 1.4s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.fb-icon { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; }
.fb-icon svg { width: 17px; height: 17px; }
.fb-icon.green { background: rgba(34,197,94,.13); color: #16a34a; }
.fb-icon.blue { background: rgba(0,162,230,.13); color: var(--accent-ink); }

/* ---------- Строка логотипов ---------- */
.logos { padding: 12px 0 8px; text-align: center; }
.logos p {
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted-2); font-weight: 600; margin: 0 0 26px;
}
.logos-row {
  display: flex; align-items: center; justify-content: center;
  gap: 44px; flex-wrap: wrap;
  opacity: .85;
}
.logos-row .lg {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 17px; color: var(--muted);
}
.logos-row .lg svg { width: 22px; height: 22px; }

/* ---------- Секции ---------- */
section { padding: 88px 0; }
.section-flush-top { padding-top: 0; }

.section-head { max-width: 660px; margin: 0 auto 56px; text-align: center; }
.section-head.is-left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  padding: 5px 13px; border-radius: 999px;
  margin-bottom: 18px;
}
h2 {
  font-size: 40px; line-height: 1.14; letter-spacing: -.03em;
  font-weight: 700; margin: 0 0 16px;
}
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }

/* ---------- Каналы ---------- */
.channels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.channel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
}
.channel::after {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--c, var(--accent)); opacity: 0; transition: opacity .25s ease;
}
.channel:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #dbe6ee; }
.channel:hover::after { opacity: 1; }
.channel .ch-icon {
  width: 52px; height: 52px; border-radius: 15px;
  display: grid; place-items: center; margin-bottom: 20px;
}
.channel .ch-icon svg { width: 27px; height: 27px; }
.channel h3 { font-size: 18px; margin: 0 0 8px; letter-spacing: -.02em; }
.channel p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.channel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.channel li { font-size: 14px; color: var(--muted); display: flex; gap: 9px; align-items: flex-start; }
.channel li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: #16a34a; }

/* ---------- Возможности ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature .f-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-ink);
  display: grid; place-items: center; margin-bottom: 18px;
}
.feature .f-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 17px; margin: 0 0 8px; letter-spacing: -.01em; }
.feature p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Шаги ---------- */
.steps-bg { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brand-grad); color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 16px;
  margin-bottom: 20px;
}
.step h3 { font-size: 19px; margin: 0 0 8px; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.step .code,
code {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
.step .code {
  display: inline-block;
  margin-top: 14px;
  font-size: 12.5px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--accent-ink);
  padding: 6px 11px;
  border-radius: 8px;
}

/* ---------- Тарифы ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
.plan {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan.featured {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  position: relative;
  background: linear-gradient(180deg, #fff, #fbfbff);
}
.plan.featured::before {
  content: ''; position: absolute; inset: -1px; border-radius: var(--radius);
  padding: 1px;
  background: linear-gradient(140deg, var(--accent), var(--brand-1), var(--brand-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.plan .p-name { font-size: 16px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.plan .p-price { font-size: 42px; font-weight: 700; letter-spacing: -.03em; line-height: 1; margin: 0 0 4px; }
.plan .p-price span { font-size: 15px; font-weight: 500; color: var(--muted-2); letter-spacing: 0; }
.plan .p-desc { font-size: 14px; color: var(--muted); margin: 12px 0 22px; }
.plan .btn { width: 100%; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--muted); align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--accent-ink); flex-shrink: 0; margin-top: 2px; }
.plan .popular {
  position: absolute; top: 18px; right: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: var(--text); color: #fff; padding: 4px 10px; border-radius: 999px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.qa {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.qa[open] { box-shadow: var(--shadow-sm); border-color: #dde5ee; }
.qa summary {
  list-style: none; cursor: pointer;
  padding: 20px 22px;
  font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary .chev {
  width: 22px; height: 22px; flex-shrink: 0; color: var(--muted-2);
  transition: transform .25s ease;
}
.qa[open] summary .chev { transform: rotate(180deg); }
.qa .a { padding: 0 22px 22px; color: var(--muted); font-size: 15px; margin: 0; }
.qa .a code {
  font-size: 13px; background: var(--bg-soft); border: 1px solid var(--border);
  padding: 2px 6px; border-radius: 6px; color: var(--accent-ink);
}

/* ---------- CTA ---------- */
.cta {
  background: var(--brand-grad);
  border-radius: 28px;
  padding: 60px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta::before, .cta::after {
  content: ''; position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta::before { width: 340px; height: 340px; top: -160px; right: -90px; }
.cta::after { width: 260px; height: 260px; bottom: -140px; left: -70px; }
.cta h2 { color: #fff; margin-bottom: 14px; position: relative; }
.cta p { color: rgba(255,255,255,.78); font-size: 18px; margin: 0 0 30px; position: relative; }
.cta .btn-primary { background: #fff; color: var(--text); position: relative; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); position: relative; }
.cta .btn-ghost:hover { border-color: rgba(255,255,255,.7); }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---------- Внутренние страницы ---------- */
.page-hero { padding: 64px 0 40px; }
.breadcrumbs {
  font-size: 13.5px; color: var(--muted-2);
  margin-bottom: 18px; display: flex; gap: 8px; align-items: center;
}
.breadcrumbs a { transition: color .15s ease; }
.breadcrumbs a:hover { color: var(--text); }
.page-hero h1 { font-size: 44px; margin-bottom: 14px; }
.page-hero p.lead { max-width: 640px; color: var(--muted); font-size: 18px; margin: 0; }

/* ---------- Контакты ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contacts-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.contacts-h { font-size: 21px; margin: 0 0 22px; letter-spacing: -.02em; }

.contacts-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contacts-link {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.contacts-link:hover {
  transform: translateY(-2px);
  border-color: #cfe6f2;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.contacts-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; flex-shrink: 0;
}
.contacts-icon svg { width: 20px; height: 20px; }
.contacts-text { display: grid; min-width: 0; }
.contacts-value { font-weight: 600; font-size: 15px; }
.contacts-label { font-size: 12.5px; color: var(--muted-2); }

.contacts-kv { margin: 0; }
.contacts-row {
  display: flex; justify-content: space-between; gap: 10px 24px;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.contacts-row:first-child { padding-top: 0; }
.contacts-row:last-child { border-bottom: none; padding-bottom: 0; }
.contacts-k { color: var(--muted); font-size: 14px; margin: 0; flex-shrink: 0; }
.contacts-v { font-weight: 600; font-size: 14.5px; margin: 0; text-align: right; }

.contacts-map {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface);
}
.contacts-map iframe { display: block; width: 100%; height: 460px; border: 0; }

/* Узкая колонка для форм */
.form-narrow { max-width: 660px; margin: 0 auto; }

.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.input, .textarea, .select {
  width: 100%; font: inherit; font-size: 15px; color: var(--text);
  background: var(--bg-soft); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 14px;
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(0,162,230,.14);
}
.textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }

.notice {
  border-radius: 12px; padding: 14px 16px; font-size: 14.5px;
  margin-bottom: 20px; border: 1px solid;
}
.notice.success { background: rgba(34,197,94,.10); border-color: rgba(34,197,94,.3); color: #15803d; }
.notice.error { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.3); color: #b91c1c; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

/* ---------- Футер ---------- */
footer.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 32px;
  margin-bottom: 44px;
}
.foot-brand p { color: var(--muted); font-size: 14.5px; margin: 16px 0 0; max-width: 280px; }
.foot-col h4 { font-size: 14px; margin: 0 0 16px; letter-spacing: -.01em; }
.foot-col a {
  display: block; color: var(--muted); font-size: 14.5px; padding: 5px 0;
  transition: color .15s ease;
}
.foot-col a:hover { color: var(--text); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 26px; border-top: 1px solid var(--border);
  font-size: 13.5px; color: var(--muted-2); flex-wrap: wrap; gap: 12px;
}

/* ---------- Интеграции ---------- */
.prose { max-width: 780px; }
.prose p {
  color: var(--muted); font-size: 16.5px; line-height: 1.7; margin: 0 0 18px;
}
.prose p:last-child { margin-bottom: 0; }

.app-card {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
}
.app-card .app-logo {
  width: 56px; height: 56px; border-radius: 16px; flex-shrink: 0;
  background: var(--brand-grad); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(5, 61, 81, .24);
}
.app-card .app-logo svg { width: 26px; height: 26px; }
.app-card .app-body { flex: 1; min-width: 220px; }
.app-card .app-name {
  font-weight: 700; font-size: 18px; letter-spacing: -.02em; margin: 0 0 4px;
}
.app-card .app-meta { color: var(--muted); font-size: 14.5px; margin: 0; }
.app-card .app-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #dbe6ee;
}
.related-card .rc-icon {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  display: grid; place-items: center;
}
.related-card .rc-icon svg { width: 20px; height: 20px; }
.related-card .rc-body { display: grid; min-width: 0; }
.related-card .rc-title { font-weight: 600; font-size: 15px; }
.related-card .rc-label { font-size: 12.5px; color: var(--muted-2); }

/* ---------- Анимация появления ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Адаптив ---------- */
@media (max-width: 980px) {
  h1 { font-size: 44px; }
  h2 { font-size: 33px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero p.lead { max-width: none; }
  .channels, .features, .steps, .pricing { grid-template-columns: 1fr 1fr; }
  .contacts-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 34px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .burger { display: flex; }
}

@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  .section-head p, .cta p { font-size: 16px; }
  .channels, .features, .steps, .pricing { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contacts-panel { padding: 24px 20px; }
  .contacts-map iframe { height: 340px; }
  .contacts-row { flex-direction: column; gap: 4px; }
  .contacts-v { text-align: left; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta { padding: 44px 24px; border-radius: 22px; }
  .floating-badge { display: none; }
  .logos-row { gap: 32px; }
}

@media (max-width: 980px) {
  .related { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .related { grid-template-columns: 1fr; }
  .app-card { padding: 20px; }
}
