/* ============================================================
   SEOGEO+AI — Main CSS
   Концепция: Neural Signal
   ============================================================ */

/* ============================================================
   1. CSS-ПЕРЕМЕННЫЕ (токены дизайна)
   ============================================================ */
:root {
  /* Фоны */
  --bg:       #080B14;
  --bg2:      #0F1420;
  --bg3:      #161C2E;
  --border:   #1E2A45;

  /* Акценты */
  --accent:   #6366F1;   /* Индиго — основной */
  --accent2:  #06B6D4;   /* Циан — данные / поток */
  --purple:   #8B5CF6;   /* Фиолетовый — AI / нейро */
  --green:    #10B981;
  --red:      #EF4444;
  --yellow:   #F59E0B;

  /* Текст */
  --text:     #F1F5F9;
  --muted:    #64748B;
  --muted2:   #94A3B8;

  /* Градиенты */
  --grad-main:   linear-gradient(135deg, #6366F1, #8B5CF6);
  --grad-signal: linear-gradient(135deg, #06B6D4, #6366F1, #8B5CF6);
  --grad-glow:   linear-gradient(135deg, rgba(99,102,241,.15), rgba(139,92,246,.15));

  /* Шрифты */
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Onest', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Радиусы */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Отступы секций */
  --section-gap: 80px;
}

/* ============================================================
   2. СБРОС И БАЗА
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

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

img, video { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: color .2s; }

ul, ol { list-style: none; }

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ============================================================
   3. NEURAL CANVAS (анимированный фон)
   ============================================================ */
#neural-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: .35;
  pointer-events: none;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.container--narrow { max-width: 780px; }
.container--wide   { max-width: 1320px; }

.section {
  padding: var(--section-gap) 0;
}

.section + .section {
  border-top: 1px solid var(--border);
}

/* Заголовок секции */
.section__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent2);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -.01em;
}

.section__subtitle {
  font-size: 16px;
  color: var(--muted2);
  max-width: 600px;
  margin-bottom: 48px;
  line-height: 1.7;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   5. ТИПОГРАФИКА
   ============================================================ */
.t-display {
  font-family: var(--font-head);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
}

.t-h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.t-h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
}

.t-h3 {
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.3;
}

.t-body  { font-size: 16px; line-height: 1.7; color: var(--muted2); }
.t-small { font-size: 13px; line-height: 1.6; color: var(--muted); }
.t-mono  { font-family: var(--font-mono); font-size: 13px; }

/* Спецэффекты текста */
.t-gradient {
  background: var(--grad-signal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.t-glow {
  text-shadow: 0 0 30px rgba(99,102,241,.5);
  color: var(--accent);
}

/* Контент из редактора WordPress */
.entry-content h2 { font-family: var(--font-head); font-size: 26px; font-weight: 600; margin: 40px 0 16px; }
.entry-content h3 { font-family: var(--font-head); font-size: 20px; font-weight: 600; margin: 32px 0 12px; }
.entry-content p  { color: var(--muted2); line-height: 1.75; margin-bottom: 20px; }
.entry-content ul,
.entry-content ol { padding-left: 24px; margin-bottom: 20px; color: var(--muted2); }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 8px; line-height: 1.65; }
.entry-content strong { color: var(--text); font-weight: 600; }
.entry-content a  { color: var(--accent); text-decoration: underline; }
.entry-content a:hover { color: var(--purple); }
.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  background: var(--bg2);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 24px 0;
  color: var(--muted2);
  font-style: italic;
}
.entry-content code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg3);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent2);
}
.entry-content pre {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  overflow-x: auto;
  margin-bottom: 24px;
}
.entry-content pre code {
  background: none;
  border: none;
  padding: 0;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 14px;
}
.entry-content th {
  background: var(--bg3);
  color: var(--text);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border: 1px solid var(--border);
}
.entry-content td {
  padding: 10px 16px;
  border: 1px solid var(--border);
  color: var(--muted2);
}
.entry-content tr:nth-child(even) td { background: var(--bg2); }

/* ============================================================
   6. КНОПКИ
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .25s ease;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--grad-main);
  color: #fff;
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,.4);
  color: #fff;
}

.btn--secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn--secondary:hover {
  border-color: rgba(99,102,241,.5);
  background: rgba(99,102,241,.06);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(6,182,212,.1);
  color: var(--accent2);
  border: 1px solid rgba(6,182,212,.25);
}
.btn--ghost:hover {
  background: rgba(6,182,212,.18);
  box-shadow: 0 0 20px rgba(6,182,212,.2);
  transform: translateY(-2px);
}

.btn--sm  { padding: 9px 18px; font-size: 13px; }
.btn--lg  { padding: 18px 36px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   7. КАРТОЧКИ
   ============================================================ */
.card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}

/* Градиентная рамка при ховере */
.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  padding: 1px;
  background: var(--grad-main);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.card:hover::before  { opacity: 1; }
.card:hover {
  background: var(--bg3);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(99,102,241,.1);
}

.card--signal {
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.04));
  border-color: rgba(99,102,241,.25);
}

.card__icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.card--signal .card__icon {
  background: var(--grad-main);
  border: none;
}

.card__label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent2);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card__text {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.65;
  flex: 1;
}

.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--accent);
  margin-top: 16px;
  font-weight: 500;
  transition: gap .2s;
}
.card__link:hover { gap: 10px; color: var(--accent); }

/* ============================================================
   8. БЕЙДЖИ И ТЕГИ
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-mono);
}

.badge--accent  { background: rgba(99,102,241,.12); color: var(--accent);  border: 1px solid rgba(99,102,241,.25); }
.badge--cyan    { background: rgba(6,182,212,.12);  color: var(--accent2); border: 1px solid rgba(6,182,212,.25); }
.badge--purple  { background: rgba(139,92,246,.12); color: var(--purple);  border: 1px solid rgba(139,92,246,.25); }
.badge--green   { background: rgba(16,185,129,.12); color: var(--green);   border: 1px solid rgba(16,185,129,.25); }
.badge--yellow  { background: rgba(245,158,11,.12); color: var(--yellow);  border: 1px solid rgba(245,158,11,.25); }

.tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--muted2);
  cursor: default;
  transition: all .25s;
}
.tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(99,102,241,.06);
  transform: translateY(-2px);
}

/* ============================================================
   9. KPI-БЛОК
   ============================================================ */
.kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 768px) {
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
}

.kpi-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  text-align: center;
  transition: all .3s;
}
.kpi-card:hover {
  border-color: rgba(99,102,241,.4);
  box-shadow: 0 0 30px rgba(99,102,241,.08);
}

.kpi-card__value {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  background: var(--grad-signal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.kpi-card__label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

/* ============================================================
   10. PROCESS STEPS
   ============================================================ */
.steps { display: flex; flex-direction: column; }

.step { display: flex; gap: 20px; }

.step__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 0 20px rgba(99,102,241,.3);
}

.step__line {
  width: 2px;
  flex: 1;
  min-height: 24px;
  background: linear-gradient(180deg, var(--accent), transparent);
  margin: 8px 0;
}

.step__body { padding-bottom: 32px; }

.step__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  margin: 8px 0 6px;
}

.step__text { font-size: 14px; color: var(--muted2); line-height: 1.65; }

/* ============================================================
   11. FAQ АККОРДЕОН
   ============================================================ */
.faq { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.is-open { border-color: rgba(99,102,241,.4); }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  cursor: pointer;
  background: transparent;
  color: var(--text);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  user-select: none;
  transition: color .2s;
}
.faq-item__q:hover { color: var(--accent); }

.faq-item__icon {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(99,102,241,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 16px;
  transition: transform .3s, background .2s;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); background: var(--accent); color: #fff; }

.faq-item__a {
  display: none;
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.7;
}
.faq-item.is-open .faq-item__a { display: block; }

/* ============================================================
   12. CTA СЕКЦИЯ
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, rgba(99,102,241,.08), rgba(139,92,246,.05));
  border: 1px solid rgba(99,102,241,.2);
  border-radius: var(--r-xl);
  padding: 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(99,102,241,.15), transparent 70%);
  pointer-events: none;
}

.cta-section__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-section__text {
  font-size: 16px;
  color: var(--muted2);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.65;
}

.cta-section__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 600px) {
  .cta-section { padding: 36px 24px; }
}

/* ============================================================
   13. CALLOUT / АЛЕРТЫ
   ============================================================ */
.callout {
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.6;
}

.callout__icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }

.callout--info    { background: rgba(6,182,212,.08);   border: 1px solid rgba(6,182,212,.2);  color: var(--muted2); }
.callout--warn    { background: rgba(245,158,11,.08);  border: 1px solid rgba(245,158,11,.2); color: var(--muted2); }
.callout--success { background: rgba(16,185,129,.08);  border: 1px solid rgba(16,185,129,.2); color: var(--muted2); }
.callout--purple  { background: rgba(139,92,246,.08);  border: 1px solid rgba(139,92,246,.2); color: var(--muted2); }

/* ============================================================
   14. SIGNAL DIVIDER (фирменный разделитель)
   ============================================================ */
.signal-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.signal-divider::before,
.signal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.signal-divider__node {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-main);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-node 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-node {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

/* ============================================================
   15. ХЛЕБНЫЕ КРОШКИ
   ============================================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  padding: 16px 0;
}

.breadcrumbs a { color: var(--muted2); transition: color .2s; }
.breadcrumbs a:hover { color: var(--accent); }

.breadcrumbs__sep { color: var(--border); }
.breadcrumbs__current { color: var(--muted2); }

/* ============================================================
   16. ФОРМА
   ============================================================ */
.form { display: flex; flex-direction: column; gap: 16px; }

.form__group { display: flex; flex-direction: column; gap: 6px; }

.form__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted2);
}

.form__input,
.form__textarea,
.form__select {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.form__input:focus,
.form__textarea:focus,
.form__select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}

.form__textarea { resize: vertical; min-height: 120px; }

.form__input::placeholder,
.form__textarea::placeholder { color: var(--muted); }

.form__note {
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   17. НАВИГАЦИЯ
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,11,20,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.nav__logo {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--text);
}

.nav__logo-plus {
  background: var(--grad-signal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__links a {
  color: var(--muted2);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-main);
  border-radius: 1px;
  transition: width .25s;
}

.nav__links a:hover       { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.current-menu-item::after { width: 100%; }
.nav__links a.current-menu-item { color: var(--text); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: transparent;
  border: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.nav__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform .3s, opacity .3s;
}

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
}

/* Мобильное меню — отдельный элемент вне header */
.mobile-nav {
  display: none !important;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 24px;
  z-index: 9999;
  overflow-y: auto;
  flex-direction: column;
  gap: 24px;
}
.mobile-nav.is-open { display: flex !important; }

.mobile-nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mobile-nav__list a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-nav__list a:hover { color: var(--accent); }
.mobile-nav__list li:last-child > a { border-bottom: none; }

.mobile-nav__cta { width: 100%; justify-content: center; margin-top: 8px; }

/* ============================================================
   17b. INFO CARDS — карточки «Что получите» / «Кому подходит»
   ============================================================ */
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 40px 0 0;
}

.info-card {
  background: linear-gradient(135deg, var(--bg3) 0%, rgba(99,102,241,.12) 60%, rgba(139,92,246,.08) 100%);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: var(--r-lg);
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.info-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(99,102,241,.15);
}

.info-card__title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}

.info-card__list,
.entry-content .info-card__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-card__list li {
  font-size: 15px;
  color: var(--muted2);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}

.info-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent2);
  font-weight: 700;
  pointer-events: none;
}

@media (max-width: 768px) {
  .info-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   17c. PRICING BLOCK — тарифы услуг
   ============================================================ */
@keyframes pricing-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(99,102,241,.25), 0 0 0 1px rgba(99,102,241,.35); }
  50%       { box-shadow: 0 0 48px rgba(99,102,241,.45), 0 0 0 1px rgba(99,102,241,.6); }
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-cards--2 { grid-template-columns: repeat(2, 1fr); }

.pricing-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px 32px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
}

/* Верхняя градиентная полоса — появляется при ховере */
.pricing-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-signal);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

/* Shimmer — блик при ховере */
.pricing-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 40%,
    rgba(255,255,255,.04) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  transition: transform .55s ease;
  pointer-events: none;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(99,102,241,.2);
}

.pricing-card:hover::after  { opacity: 1; }
.pricing-card:hover::before { transform: translateX(100%); }

/* Уникальный акцент у каждой карточки по позиции */
.pricing-cards .pricing-card:nth-child(1) {
  background: linear-gradient(145deg, var(--bg3) 60%, rgba(6,182,212,.1) 100%);
  border-color: rgba(6,182,212,.2);
}
.pricing-cards .pricing-card:nth-child(1):hover {
  border-color: var(--accent2);
  box-shadow: 0 16px 48px rgba(6,182,212,.2);
}
.pricing-cards .pricing-card:nth-child(1) .pricing-card__price { color: var(--accent2); }

.pricing-cards .pricing-card:nth-child(2) {
  background: linear-gradient(145deg, var(--bg3) 40%, rgba(99,102,241,.12) 100%);
}
.pricing-cards .pricing-card:nth-child(3) {
  background: linear-gradient(145deg, var(--bg3) 60%, rgba(139,92,246,.1) 100%);
  border-color: rgba(139,92,246,.2);
}
.pricing-cards .pricing-card:nth-child(3):hover {
  border-color: var(--purple);
  box-shadow: 0 16px 48px rgba(139,92,246,.2);
}
.pricing-cards .pricing-card:nth-child(3) .pricing-card__price { color: var(--purple); }

/* Featured — пульсирующее свечение */
.pricing-card--featured {
  border-color: var(--accent) !important;
  animation: pricing-pulse 2.8s ease-in-out infinite;
}
.pricing-card--featured::after { opacity: 1; }

.pricing-card__popular {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-main);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .06em;
  pointer-events: none;
}

.pricing-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  font-family: var(--font-head);
}

.pricing-card__price {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-head);
  line-height: 1;
}

.pricing-card__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
  margin: 0; padding: 0;
}

.pricing-card__features li {
  font-size: 14px;
  color: var(--muted2);
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}

.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  pointer-events: none;
}

.pricing-card__cta {
  margin-top: 4px;
  text-align: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .pricing-cards { grid-template-columns: 1fr; }
  .pricing-card--featured { animation: none; }
}

/* ============================================================
   18. HERO — ГЛАВНАЯ (двухколоночный)
   ============================================================ */
.hero-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  position: relative;
}

.hero-home__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.hero-home__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

.hero-home__badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-node 2s ease-in-out infinite;
}

.hero-home__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-home__stat-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-home__stat-label { font-size: 13px; color: var(--muted); margin-top: 2px; }

@media (max-width: 900px) {
  .hero-home__inner { grid-template-columns: 1fr; }
  .hero-home__right { display: none; }
}

/* ============================================================
   19. HERO — ВНУТРЕННИЕ СТРАНИЦЫ (компактный)
   ============================================================ */
.hero-page {
  padding: 60px 0 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-page__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 40px;
  min-height: 320px;
}

.hero-page__content {
  padding-bottom: 40px;
}

.hero-page__sphere {
  position: relative;
  height: 360px;
  margin-right: -24px; /* вплотную к правому краю */
}

.hero-page__sphere canvas {
  width: 100%;
  height: 100%;
  display: block;
}

@media (max-width: 900px) {
  .hero-page__inner {
    grid-template-columns: 1fr;
  }
  .hero-page__sphere {
    display: none;
  }
  .hero-page__content {
    padding-bottom: 40px;
  }
}

.hero-page__badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-page__title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 720px;
}

.hero-page__sub {
  font-size: 17px;
  color: var(--muted2);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* ============================================================
   20. FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  position: relative;
  z-index: 1;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer__logo-plus {
  background: var(--grad-signal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer__desc { font-size: 13px; color: var(--muted); line-height: 1.65; }

.footer__heading {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: .03em;
}

.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--accent); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .2s;
}
.footer__social a:hover {
  border-color: rgba(99,102,241,.5);
  background: rgba(99,102,241,.08);
  transform: translateY(-2px);
}

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

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

/* ============================================================
   21. ВСПОМОГАТЕЛЬНЫЕ УТИЛИТЫ
   ============================================================ */
.text-center { text-align: center; }
.text-muted  { color: var(--muted2); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.flex  { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.w-full { width: 100%; }

/* Анимации появления */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  animation: fade-up .6s ease forwards;
}

.animate-delay-1 { animation-delay: .1s; opacity: 0; }
.animate-delay-2 { animation-delay: .2s; opacity: 0; }
.animate-delay-3 { animation-delay: .3s; opacity: 0; }
.animate-delay-4 { animation-delay: .4s; opacity: 0; }

/* ============================================================
   22. NEURAL CANVAS
   ============================================================ */
#neural-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
}

/* ============================================================
   23. NAV — позиционирование и дополнения
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,11,20,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav__list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav__list a {
  color: var(--muted2);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
.nav__list a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--grad-main);
  border-radius: 1px;
  transition: width .25s;
}
.nav__list a:hover { color: var(--text); }
.nav__list a:hover::after,
.nav__list .current-menu-item > a::after { width: 100%; }
.nav__list .current-menu-item > a { color: var(--text); }

/* ============================================================
   24. HERO — общие стили
   ============================================================ */
.hero { position: relative; z-index: 1; }

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__title-accent {
  background: var(--grad-signal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--muted2);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.hero__trust-item {
  font-size: 13px;
  color: var(--muted2);
}

/* ============================================================
   25. GEO VISIBILITY WIDGET
   ============================================================ */
.hero-home__widget {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.geo-widget {
  background: var(--bg2);
  border: 1px solid rgba(99,102,241,.25);
  border-radius: var(--r-xl);
  padding: 24px;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 0 60px rgba(99,102,241,.12), 0 20px 40px rgba(0,0,0,.3);
  animation: widget-float 4s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes widget-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

.geo-widget__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.geo-widget__label {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.geo-widget__badge {
  font-size: 10px;
  font-family: var(--font-mono);
  color: var(--green);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: 4px;
  padding: 2px 6px;
  animation: pulse-node 2s ease-in-out infinite;
}

.geo-widget__ring {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
}

.geo-widget__score {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.geo-widget__score-value {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.geo-widget__score-unit {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
}

.geo-widget__ring-progress {
  transition: stroke-dashoffset 1s ease;
}

.geo-widget__channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.geo-widget__channel-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 4px;
  color: var(--muted2);
}

.geo-widget__bar {
  height: 4px;
  background: var(--bg3);
  border-radius: 2px;
  overflow: hidden;
}

.geo-widget__bar-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1.2s ease;
}

.geo-widget__issues {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.geo-widget__issues-title {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 8px;
}

.geo-widget__issues ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.geo-widget__issues li {
  font-size: 12px;
  color: var(--yellow);
}

/* Floating badges */
.hero-badge {
  position: absolute;
  background: var(--bg2);
  border: 1px solid rgba(99,102,241,.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--muted2);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  z-index: 2;
}

.hero-badge--1 {
  top: 10%;
  left: -10px;
  animation: badge-float-1 5s ease-in-out infinite;
}

.hero-badge--2 {
  bottom: 15%;
  right: -10px;
  animation: badge-float-2 5s ease-in-out infinite 1s;
}

@keyframes badge-float-1 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes badge-float-2 {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

@media (max-width: 900px) {
  .hero-home__widget { display: none; }
  .hero-home__inner  { grid-template-columns: 1fr; }
}

/* ============================================================
   26. SECTION — заголовочный блок
   ============================================================ */
.section { padding: var(--section-gap) 0; position: relative; z-index: 1; }

.section__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -.02em;
}

.section__subtitle {
  font-size: 16px;
  color: var(--muted2);
  line-height: 1.7;
}

.section__cta {
  text-align: center;
  margin-top: 40px;
}

/* ============================================================
   27. CARDS GRID
   ============================================================ */
.cards-grid {
  display: grid;
  gap: 24px;
}

.cards-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .cards-grid--3,
  .cards-grid--2 { grid-template-columns: 1fr; }
}

/* ============================================================
   28. КАРТОЧКИ — доп. стили
   ============================================================ */
.card__body { padding: 20px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card__img  { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.card__img-wrap { display: block; overflow: hidden; }
.card__img-wrap img { transition: transform .4s; }
.card__img-wrap:hover img { transform: scale(1.04); }

.card__icon {
  font-size: 32px;
  margin-bottom: 14px;
  display: block;
}

.card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.card__date,
.card__read-time {
  font-size: 12px;
  color: var(--muted);
}

.card__desc {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}

.card__results {
  display: flex;
  gap: 20px;
  margin: 12px 0;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.card__result-item { display: flex; flex-direction: column; gap: 2px; }

.card__result-value {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
}

.card__result-label { font-size: 11px; color: var(--muted); }

/* Team card */
.card--team { text-align: center; }

.card__avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
  border: 2px solid rgba(99,102,241,.3);
}

.card__avatar img { width: 100%; height: 100%; object-fit: cover; }

.card__avatar--placeholder {
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.card__role {
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 500;
}

/* ============================================================
   29. KPI — поддержка классов kpi-item/kpi-value/kpi-label
   ============================================================ */
.kpi-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  text-align: center;
  transition: all .3s;
}
.kpi-item:hover {
  border-color: rgba(99,102,241,.4);
  box-shadow: 0 0 30px rgba(99,102,241,.08);
}

.kpi-value {
  font-family: var(--font-head);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  background: var(--grad-signal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  display: block;
}

.kpi-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  display: block;
}

.kpi-desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.kpi-row--sm .kpi-item { padding: 16px; }

/* ============================================================
   30. STEPS — поддержка .step__desc
   ============================================================ */
.steps { display: flex; flex-direction: column; gap: 0; }

.step {
  display: flex;
  gap: 24px;
  padding-bottom: 32px;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.step__num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  box-shadow: 0 0 20px rgba(99,102,241,.3);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step__body { padding-top: 8px; }

.step__title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step__desc { font-size: 14px; color: var(--muted2); line-height: 1.65; }

/* ============================================================
   31. FAQ — поддержка .faq-list
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }

/* ============================================================
   32. CTA BLOCK — стили для cta-section.php
   ============================================================ */
.cta__inner {
  background: linear-gradient(135deg, rgba(99,102,241,.1), rgba(139,92,246,.07));
  border: 1px solid rgba(99,102,241,.25);
  border-radius: var(--r-xl);
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta__title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
}

.cta__text {
  font-size: 15px;
  color: var(--muted2);
  line-height: 1.65;
  max-width: 480px;
}

.cta__action { flex-shrink: 0; text-align: center; }

.cta__note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
}

.cta-section--compact .cta__inner {
  padding: 32px 40px;
}

@media (max-width: 768px) {
  .cta__inner,
  .cta-section--compact .cta__inner { flex-direction: column; padding: 28px 20px; text-align: center; }
  .cta__text  { max-width: 100%; }
  .cta__action { width: 100%; }
  .cta__action .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   33. FORM WRAP — contact-form block
   ============================================================ */
.form-wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.form-wrap__info .section__title { text-align: left; }
.form-wrap__info .section__subtitle { text-align: left; }

.form-wrap__benefits {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0;
}

.form-wrap__benefits li { font-size: 14px; color: var(--muted2); }

.form-wrap__contacts { margin-top: 24px; }

.form__submit { width: 100%; display: flex; justify-content: center; align-items: center; text-align: center; }

.form__privacy {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.form__privacy a { color: var(--muted2); text-decoration: underline; }

@media (max-width: 768px) {
  .form-wrap { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   34. FOOTER — поддержка новых классов
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
  position: relative;
  z-index: 1;
  background: var(--bg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {}
.footer__tagline { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 10px 0 20px; }

.footer__col {}
.footer__col-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: .03em;
}

.footer__list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__list a { font-size: 13px; color: var(--muted); transition: color .2s; }
.footer__list a:hover { color: var(--accent); }

.footer__social-link {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: var(--bg2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted2);
  transition: all .2s;
}
.footer__social-link:hover {
  border-color: rgba(99,102,241,.5);
  background: rgba(99,102,241,.08);
  color: var(--accent);
  transform: translateY(-2px);
}

.footer__copy { font-size: 12px; color: var(--muted); }

.footer__bottom-links {
  display: flex;
  gap: 20px;
}
.footer__bottom-links a { font-size: 12px; color: var(--muted); transition: color .2s; }
.footer__bottom-links a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   35. CONTENT AREA — статьи и страницы
   ============================================================ */
.container--narrow { max-width: 760px; }

.content-section { padding-top: 40px; }

/* Проза — ограничиваем ширину для читабельности, таблицы — на всю ширину */
.entry-content > h2,
.entry-content > h3,
.entry-content > p,
.entry-content > ul,
.entry-content > ol,
.entry-content > blockquote,
.entry-content > pre {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.entry-content {
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted2);
}

.entry-content h2 {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text);
  margin: 40px 0 16px;
}

.entry-content h3 {
  font-family: var(--font-head);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 12px;
}

.entry-content p { margin-bottom: 16px; }

.entry-content ul,
.entry-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.entry-content li { margin-bottom: 8px; }

.entry-content a { color: var(--accent); text-decoration: underline; }

.entry-content strong { color: var(--text); font-weight: 600; }

.entry-content code {
  font-family: var(--font-mono);
  font-size: .9em;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  color: var(--accent2);
}

.entry-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(99,102,241,.05);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: var(--muted2);
}

/* Post meta */
.post-meta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.post-thumbnail { margin-bottom: 32px; border-radius: var(--r-md); overflow: hidden; }
.post-thumbnail__img { width: 100%; height: auto; display: block; }

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* ============================================================
   36. FILTER BAR — архив кейсов
   ============================================================ */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tag--active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(99,102,241,.08);
  cursor: default;
}

/* ============================================================
   37. TRENDS / ДИНАМИКА
   ============================================================ */
.trend-up      { color: var(--green); }
.trend-down    { color: var(--red); }
.trend-neutral { color: var(--yellow); }

/* ============================================================
   38. PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: var(--bg2);
  border: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted2);
  transition: all .2s;
}

.page-numbers:hover,
.page-numbers.current {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(99,102,241,.08);
}

/* ============================================================
   39. BLOG GRID — index.php
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

/* ============================================================
   40. 404 СТРАНИЦА
   ============================================================ */
.error-404 {
  text-align: center;
  padding: 40px 0;
}

.error-404__code {
  font-family: var(--font-head);
  font-size: clamp(80px, 15vw, 160px);
  font-weight: 700;
  line-height: 1;
  background: var(--grad-signal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  opacity: .6;
}

/* ============================================================
   41. МОБИЛЬНАЯ АДАПТАЦИЯ — комплексные фиксы
   ============================================================ */

/* Бургер-меню: анимация в крестик */
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Мобильное меню: кнопка CTA скрывается */
@media (max-width: 1024px) {
  .nav__actions .btn--sm { display: none; }
}

/* KPI-ряд: 1 колонка на телефонах */
@media (max-width: 480px) {
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
  .kpi-row--sm { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) {
  .kpi-row { grid-template-columns: 1fr; }
}

/* Hero главной: статистика на мобильном */
@media (max-width: 600px) {
  .hero-home__stats { gap: 20px; margin-top: 32px; padding-top: 24px; }
  .hero-home__stat-num { font-size: 24px; }
  .hero-home__stat-label { font-size: 12px; }
  .hero-home { padding: 60px 0 40px; }
  .hero-home__title { font-size: clamp(28px, 8vw, 42px); }
}

/* Hero бейджи: скрыть на мобильном */
@media (max-width: 600px) {
  .hero-badge--1,
  .hero-badge--2 { display: none; }
}

/* Hero внутренних страниц */
@media (max-width: 600px) {
  .hero-page { padding: 60px 0 32px; }
  .hero-page__title { font-size: clamp(24px, 7vw, 36px); }
}

/* Таблицы: горизонтальный скролл на мобильном */
@media (max-width: 768px) {
  .entry-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
  }
  .entry-content table th,
  .entry-content table td {
    white-space: normal;
    min-width: 120px;
  }
}

/* Форма: минимум 16px для предотвращения zoom на iOS */
@media (max-width: 768px) {
  .form__input,
  .form__textarea,
  .form__select { font-size: 16px; }
}

/* Секции: уменьшить отступы на мобильном */
@media (max-width: 600px) {
  :root { --section-gap: 56px; }
  .section { padding: 48px 0; }
  .section__head { margin-bottom: 32px; }
  .section__subtitle { max-width: 100%; }
}
@media (max-width: 360px) {
  :root { --section-gap: 40px; }
  .container { padding: 0 16px; }
}

/* CTA секция: уменьшить padding */
@media (max-width: 480px) {
  .cta-section { padding: 32px 20px; }
  .cta-section__title { font-size: 22px; }
}

/* GEO-виджет */
@media (max-width: 480px) {
  .geo-widget { max-width: 100%; }
}

/* Карточки: 1 колонка на телефонах */
@media (max-width: 480px) {
  .cards-grid--3,
  .cards-grid--2 { grid-template-columns: 1fr; }
  .card { padding: 20px; }
}

/* Кнопки: минимальная высота touch-цели */
@media (max-width: 768px) {
  .btn { min-height: 44px; }
  .btn--sm { min-height: 38px; padding: 10px 18px; }
}

/* Футер: улучшенные отступы */
@media (max-width: 480px) {
  .footer { padding: 40px 0 24px; }
  .footer__grid { gap: 32px; }
  .footer__col-title { margin-bottom: 12px; }
}

/* Код: мобильный размер */
@media (max-width: 600px) {
  .entry-content pre {
    font-size: 12px;
    padding: 12px;
  }
}

/* Процесс: шаги на мобильном */
@media (max-width: 600px) {
  .process-steps { gap: 16px; }
  .process-step__num { width: 36px; height: 36px; font-size: 14px; }
}
