/* ══════════════════════════════════════════════════════════════
   home.css — стили лендинга (home.html)
   ══════════════════════════════════════════════════════════════ */

body { background: #FFFFFF; }

/* HEADER (top nav) — стили перенесены в shared.css.
   Здесь оставлены только home-специфичные стили: dropdown «Источники данных». */

/* ─── Dropdown «Источники данных» ────────────────────────── */
.bp-nav-dd {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: min(720px, 90vw);
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 200ms var(--ease-out),
    transform 220ms var(--ease-out);
  z-index: 120;
}
.bp-nav-item.is-open .bp-nav-dd {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.bp-nav-dd-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 16px;
}
.bp-nav-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
  text-decoration: none;
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.bp-nav-dd-item:hover { background: #F1F5F9; color: #0F172A; text-decoration: none; }
.bp-nav-dd-item-abbr {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #EFF6FF;
  color: #1D4ED8;
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.bp-nav-dd-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #64748B;
}
.bp-nav-dd-foot a {
  color: #1D4ED8;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}


/* ─── Интерактивные состояния ──────────────────────────────── */
.src-card {
  transition: border-color 200ms cubic-bezier(0.32,0.72,0,1),
              background 200ms cubic-bezier(0.32,0.72,0,1),
              transform 200ms cubic-bezier(0.32,0.72,0,1),
              box-shadow 200ms cubic-bezier(0.32,0.72,0,1);
}
.src-card:hover {
  border-color: #BFDBFE;
  background: var(--ink-50);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15,23,42,0.08), 0 2px 4px rgba(15,23,42,0.04);
}

.hd-link {
  transition: color 160ms cubic-bezier(0.32,0.72,0,1),
              background 160ms cubic-bezier(0.32,0.72,0,1);
}
.hd-link:hover { color: #1D4ED8 !important; background: #EFF6FF !important; }

/* ─── Секционные отступы ───────────────────────────────────── */
/*  Больше воздуха вокруг секций — premium B2B feel (Stripe / Linear / Mercury). */
.section-pad    { padding-block: clamp(80px, 10vw, 140px); padding-inline: 32px; }
.section-pad-sm { padding-block: clamp(48px, 6vw, 80px);   padding-inline: 32px; }

/* ─── Сетки ────────────────────────────────────────────────── */
.sources-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.how-grid      { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 32px; }
.pricing-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-top: 16px; }
.footer-cols   { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.stats-strip   { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-strip   { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; align-items: center; }

/* ─── Заголовок секции ─────────────────────────────────────── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head-text { max-width: 640px; }
/*  Section eyebrow — единый стиль для всех секций (без pill-фона). */
.section-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--blue-600);
  display: inline-block;
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.section-label::before { content: none; }

.section-title {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section-desc {
  font-size: 16px;
  color: var(--ink-500);
  margin: 0;
  line-height: 1.6;
  max-width: 640px;
}

/* ─── Hero · service chooser ──────────────────────────────── */
.hero-wrap {
  position: relative;
  padding: 36px 32px 24px;
  /* прозрачный: фон страницы (мягкий голубой градиент) задан на body */
  background: transparent;
  overflow: hidden;
}
.hero-wrap::before {
  display: none;
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(900px 500px at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(900px 500px at 50% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.hero-inner-centered {
  align-items: center;
}
/* ─── Hero · head (eyebrow + title + desc, выше зоны чипа) ── */
.hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 0;
  position: relative;
  z-index: 20;
}
.hero-head .hero-eyebrow { margin-bottom: 16px; }
.hero-head .hero-eyebrow-plain { margin-bottom: 16px; }
.hero-head .hero-title {
  text-align: center;
  margin: 0 0 16px;
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink-900);
}
.hero-head .hero-desc {
  text-align: center;
  margin: 0 0 32px;
  font-family: 'Inter', 'Onest', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-500);
  max-width: 600px;
}

/* ─── Hero · eyebrow pill ─────────────────────────────────── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--blue-200);
  background: var(--blue-50);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 24px;
  box-shadow: none;
}
/* Pill со щитом — по новой спеке. Sentence case, без uppercase. */
.hero-eyebrow-shield {
  padding: 6px 12px;
  border: 1px solid rgba(37, 99, 235, 0.15);
  background: #FFFFFF;
  border-radius: 100px;
  font-family: 'Onest', 'Inter', 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-900);
  margin-bottom: 0;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.hero-eyebrow-shield svg {
  color: var(--blue-600);
  flex-shrink: 0;
}
/* Plain-вариант eyebrow — без рамки и иконки, только текст */
.hero-eyebrow-plain {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', 'Onest', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-500);
  margin-bottom: 0;
  text-transform: none;
}
.hero-eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
  flex-shrink: 0;
  animation: hero-dot-pulse 1.8s var(--ease-out) infinite;
}
@keyframes hero-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
  70%  { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
/* «за пару секунд» — нейтральный акцент без волнистой линии */
.hero-desc .hl-wavy,
.hl-wavy {
  color: var(--ink-900);
  font-weight: 600;
  text-decoration: none;
}

/* ─── Hero · title ─────────────────────────────────────────── */
.hero-title {
  margin: 0;
  max-width: 880px;
  color: var(--ink-900);
}
/* «подписания договора» — без синего акцента, монохромная типографика */
.hero-title .hl-blue {
  color: var(--ink-900);
  font-weight: inherit;
}

/* ─── Hero · subtitle ──────────────────────────────────────── */
.hero-desc {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-500);
  max-width: 640px;
  line-height: 1.55;
  margin: 18px 0 40px;
}
.num-mono {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-weight: 600;
  color: var(--blue-700);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}

/* ─── Hero · hint chips ────────────────────────────────────── */
.hero-search-hints {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 16px;
}
.hero-search-hints > span:first-child {
  color: var(--ink-500);
  font-weight: 500;
  margin-right: 2px;
}
.hero-hint-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--ink-200);
  background: #fff;
  border-radius: 999px;
  color: var(--ink-700);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition:
    border-color 200ms var(--ease-out),
    background 200ms var(--ease-out),
    color 200ms var(--ease-out),
    transform 200ms var(--ease-out);
}
.hero-hint-link:hover {
  border-color: var(--blue-300);
  background: var(--blue-25);
  color: var(--blue-700);
  text-decoration: none;
  transform: translateY(-1px);
}
/*  ПИН/ОКПО — моноширинно */
.hero-hint-link[href*="0260"],
.hero-hint-link[href*="0220"],
.hero-hint-link[href*="0123"] {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-feature-settings: "tnum";
}
.hero-hint-sep { display: none; }

/* ─── Hero · above-the-fold + scroll hint ─────────────────── */
/* Видимая зона при загрузке: только заголовок, поиск, чип-анимация
   и подсказка «прокрути вниз». Услуги уходят за сгиб. */
.hero-fold {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Высота сгиба = viewport − header − верхний и нижний паддинг hero.
     На 1440×900 → fold = 752px. svh учитывает мобильный UI. */
  min-height: calc(100svh - 72px - 76px);
  position: relative;
  /* Резервируем место под absolute-позиционированный scroll-hint. */
  padding-bottom: 56px;
}
.hero-services {
  width: 100%;
  /* Зазор между сгибом и услугами; отрицательный margin-top не нужен —
     hero-fold уже растянулся до низа viewport. */
  padding-top: 32px;
}
/* Чип-зона прижата к центру сгиба, scroll-hint остаётся absolute. */
.hero-fold > .hero-head { margin-top: 0; }
.hero-fold > .hero-chip-zone { margin-bottom: 0; }

/* Анимированная подсказка «прокрути вниз» — внизу сгиба. */
.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 16px;
  border: 1px solid rgba(37, 99, 235, 0.22);
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
          backdrop-filter: blur(8px) saturate(160%);
  border-radius: 999px;
  font-family: 'Inter', 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--blue-700);
  cursor: pointer;
  pointer-events: auto;
  opacity: 0;
  animation:
    hero-scroll-hint-in 600ms var(--ease-out) 1800ms forwards,
    hero-scroll-hint-glow 2.6s ease-in-out infinite 2400ms;
  transition:
    background 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    transform 200ms var(--ease-out);
  z-index: 50;
}
.hero-scroll-hint:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateX(-50%) translateY(-2px);
}
.hero-scroll-hint:active {
  transform: translateX(-50%) translateY(0) scale(0.98);
}
.hero-scroll-hint-chev {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  animation: hero-scroll-chev-bounce 1.6s ease-in-out infinite;
  transform-origin: center;
}
@keyframes hero-scroll-hint-in {
  from { opacity: 0; transform: translateX(-50%) translateY(8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0);   }
}
/* мягкое «дыхание» подсветки кольца — привлекает взгляд без агрессии */
@keyframes hero-scroll-hint-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.0),
                         0 4px 12px rgba(37, 99, 235, 0.08); }
  50%      { box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.10),
                         0 6px 18px rgba(37, 99, 235, 0.16); }
}
@keyframes hero-scroll-chev-bounce {
  0%, 100% { transform: translateY(0);   opacity: 0.7; }
  50%      { transform: translateY(3px); opacity: 1;   }
}

/* ─── Hero · divider-with-label ("Или выберите сервис") ────── */
.hero-services-label {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0 48px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-500);
  text-align: center;
  white-space: nowrap;
}
.hero-services-label::before,
.hero-services-label::after {
  content: "";
  flex: 1;
  height: 0;
  border-top: 1px solid var(--ink-200);
}

/* ─── Service cards grid ──────────────────────────────────── */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}
.svc-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  min-height: 280px;
  background:
    linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
  border: 1px solid rgba(219, 234, 254, 0.6);
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(37, 99, 235, 0.06);
  transition: all 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 197, 253, 0.7);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(37, 99, 235, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.04);
  text-decoration: none;
}
.svc-card:active {
  transform: translateY(-1px);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 20px rgba(37, 99, 235, 0.08);
}
.svc-card-top {
  display: flex;
  flex-direction: column;
}
.svc-card-icon {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 8px 20px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition:
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 280ms ease;
}
.svc-card-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.75;
  color: #FFFFFF;
}
.svc-card:hover .svc-card-icon {
  transform: scale(1.04);
  box-shadow:
    0 12px 28px rgba(37, 99, 235, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.svc-card-title {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.015em;
  line-height: 1.25;
  margin: 24px 0 0;
}
.svc-card-desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-500);
  line-height: 1.55;
  margin: 12px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.svc-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding: 12px 16px 12px 20px;
  background: rgba(239, 246, 255, 0.7);
  border: 1px solid rgba(191, 219, 254, 0.5);
  border-radius: 999px;
  gap: 12px;
}
.svc-card-meta {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}
.svc-card-meta::before { content: none; }
.svc-card-num {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--blue-600);
  letter-spacing: -0.01em;
}
.svc-card-lbl {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
}
.svc-card-meta .num-mono {
  color: var(--blue-600);
  font-weight: 600;
}
.svc-card-arr {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--ink-500);
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    background 240ms ease,
    color 240ms ease,
    border-color 240ms ease;
}
.svc-card:hover .svc-card-arr {
  background: var(--blue-600);
  color: #FFFFFF;
  border-color: var(--blue-600);
  transform: translateX(2px);
}

/* ─── Trust strip ──────────────────────────────────────────── */
.trust-wrap {
  background: #fff;
  border-top: 1px solid var(--ink-150);
  border-bottom: 1px solid var(--ink-150);
  padding: 24px 32px;
}
.trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-400);
  white-space: nowrap;
}
.trust-items {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-600);
  letter-spacing: 0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust-dot { width: 4px; height: 4px; border-radius: 2px; background: var(--ink-300); }

/* ─── Stats strip (dark, premium) ──────────────────────────── */
.stats-section {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(59, 130, 246, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #0B1F4A 0%, #0F2563 100%);
  isolation: isolate;
}
.stats-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.4), transparent);
  z-index: 1;
}
.stats-section::after {
  content: "";
  position: absolute;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.10) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.stats-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  margin-bottom: 48px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.20);
  background: rgba(255, 255, 255, 0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.stats-eyebrow > .stats-eyebrow-sep {
  display: inline-block;
  width: 20px;
  height: 1px;
  background: rgba(147, 197, 253, 0.4);
}

.stats-item {
  position: relative;
  padding: 4px 0;
  text-align: center;
}
.stats-item-border {
  padding-left: 32px;
  border-left: none;
}
.stats-item-border::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(147, 197, 253, 0.25) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}
.stats-val {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: 52px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #FFFFFF;
}
.stats-lbl {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 20px;
}
.stats-sub {
  font-size: 12px;
  color: rgba(147, 197, 253, 0.65);
  margin-top: 8px;
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  letter-spacing: 0.02em;
}
.stats-strip {
  width: 100%;
  max-width: 1100px;
}
@media (max-width: 767px) {
  .stats-item-border { padding-left: 0; }
  .stats-item-border::before { display: none; }
}

/* ─── Как это работает ─────────────────────────────────────── */
.how-step {
  position: relative;
  padding: 32px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 100%);
  border: 1px solid rgba(219, 234, 254, 0.6);
  border-radius: 20px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(37, 99, 235, 0.04);
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 240ms ease,
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.how-step:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.7);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(37, 99, 235, 0.10);
}
.how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(180deg, #EFF6FF 0%, #DBEAFE 100%);
  border: 1px solid rgba(191, 219, 254, 0.6);
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0;
  color: var(--blue-700);
  font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.how-step-title {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.015em;
  margin: 24px 0 8px;
  position: relative;
}
.how-step-desc {
  font-size: 14px;
  color: var(--ink-500);
  line-height: 1.65;
  margin: 0;
}

/*  Тонкая линия между карточками шагов на десктопе. */
.how-step-connect {
  display: none;
}
@media (min-width: 1024px) {
  .how-grid { position: relative; align-items: stretch; }
  .how-step { position: relative; }
  .how-step + .how-step .how-step-connect {
    display: block;
    position: absolute;
    top: 60px;
    left: -48px;
    width: 48px;
    height: 0;
    border-top: 1.5px dashed rgba(147, 197, 253, 0.7);
    pointer-events: none;
  }
  .how-step + .how-step .how-step-connect::after {
    content: "";
    position: absolute;
    right: -1px;
    top: -5px;
    width: 0;
    height: 0;
    border-left: 6px solid rgba(96, 165, 250, 0.8);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
  }
}

/* ─── Pricing ──────────────────────────────────────────────── */
.pricing-grid { gap: 24px; }

.price-card {
  position: relative;
  background: #FFFFFF;
  padding: 32px;
  border: 1px solid var(--ink-200);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.04);
  transition:
    border-color 240ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.7);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 40px rgba(37, 99, 235, 0.10);
}

/*  Popular tier ("Общее") — мягкий синий accent без 2px-border и scale-трюка. */
.price-card.is-popular {
  border: 1px solid rgba(147, 197, 253, 0.6);
  background:
    linear-gradient(180deg, #F4F8FF 0%, #FFFFFF 35%);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(37, 99, 235, 0.14);
}
.price-card.is-popular:hover {
  border-color: rgba(96, 165, 250, 0.8);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 28px 60px rgba(37, 99, 235, 0.20);
}

.price-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
  color: #FFFFFF;
  font-family: 'Inter', 'Onest', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.30);
  white-space: nowrap;
}

.price-tier {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink-500);
}
.price-card.is-popular .price-tier { color: var(--blue-700); }

.price-tier-desc {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 8px;
  line-height: 1.5;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 20px;
}
.price-amount {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: 48px;
  font-weight: 600;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
}
.price-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-500);
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.price-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.5;
}
.price-feature-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #DBEAFE 0%, #EFF6FF 100%);
  color: var(--blue-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.10);
}
.price-feature-check svg { stroke-width: 2.25; }

.price-cta {
  width: 100%;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  cursor: pointer;
  letter-spacing: 0.005em;
  transition:
    background 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.price-cta-primary {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.24);
}
.price-cta-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.32);
}
.price-cta-primary:active {
  filter: brightness(0.97);
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.20);
}
.price-cta-secondary {
  background: #FFFFFF;
  color: var(--ink-900);
  border: 1px solid var(--ink-200);
}
.price-cta-secondary:hover {
  background: rgba(239, 246, 255, 0.7);
  border-color: rgba(147, 197, 253, 0.7);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}
.price-cta-secondary:active {
  background: var(--blue-50);
  transform: translateY(0);
  box-shadow: none;
}

/* ─── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: #FAFBFD;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  padding-top: 80px !important;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.20), transparent);
}
.footer-col-title {
  font-family: 'Inter', 'Onest', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink-700);
  margin-bottom: 20px;
}
.footer-link {
  display: inline-block;
  font-size: 14px;
  line-height: 2;
  color: var(--ink-500);
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}
.footer-link:hover { color: var(--blue-700); text-decoration: none; }

.footer-brand-blurb {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 16px;
  line-height: 1.7;
  max-width: 340px;
}
.footer-coat-card {
  margin-top: 20px;
  padding: 14px 18px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%);
  border: 1px solid rgba(191, 219, 254, 0.5);
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.footer-coat-title { font-weight: 600; color: var(--ink-900); font-size: 13px; letter-spacing: -0.005em; }
.footer-coat-sub   { font-size: 12px; color: var(--ink-500); margin-top: 2px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-500);
  padding-top: 28px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  margin-top: 56px;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-mid {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  color: var(--ink-400);
  font-size: 11px;
  letter-spacing: 0.02em;
}
.footer-bottom-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-700);
  font-weight: 500;
}
.footer-bottom-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}
.footer-bottom-sep {
  width: 1px;
  height: 12px;
  background: var(--ink-200);
}

/* ─── CTA gradient bar (флаг КР) ───────────────────────────── */
.cta-grad-bar {
  height: 3px;
  background: linear-gradient(90deg,
    #E8112D 0%,  #E8112D 33%,
    #FFCC00 33%, #FFCC00 66%,
    #E8112D 66%, #E8112D 100%);
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet 768-1023 ─────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .section-pad    { padding-inline: 24px; }
  .section-pad-sm { padding-inline: 24px; }

  .hero-wrap  { padding: 56px 24px 48px; }
  .hero-title { font-size: 44px; line-height: 1.1; }
  .hero-desc  { font-size: 16px; }
  .hero-search-hints { gap: 6px; font-size: 12px; }
  /* Сгиб подстраивается под уменьшённый верхний паддинг hero. */
  .hero-fold  { min-height: calc(100svh - 72px - 56px); }

  .svc-grid     { grid-template-columns: repeat(2, 1fr); }
  .sources-grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid     { gap: 32px; }
  .how-num      { width: 52px; height: 52px; font-size: 17px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .price-card   { padding: 24px; }

  .stats-strip { gap: 16px; }
  .stats-val   { font-size: 32px; }

  .footer-cols { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }

  .section-head { gap: 16px; }

  .trust-wrap    { padding: 20px 24px; }
  .trust-inner   { gap: 20px; }
  .trust-items   { gap: 24px; }
}

/* ── Mobile 0-767 ──────────────────────────────────────── */
@media (max-width: 767px) {
  .section-pad    { padding-inline: 16px; }
  .section-pad-sm { padding-inline: 16px; }

  .hero-wrap  { padding: 40px 16px 40px; }
  .hero-title { font-size: 32px; line-height: 1.12; }
  .hero-desc  { font-size: 16px; line-height: 1.5; }
  .hero-search-hints { font-size: 12px; gap: 5px; }
  .hero-services-label { margin-top: 28px; }
  /* Mobile: header 60px, hero pad-top 40px → пересчёт сгиба. */
  .hero-fold  { min-height: calc(100svh - 60px - 40px); padding-bottom: 56px; }
  .hero-scroll-hint { font-size: 11px; padding: 6px 12px 6px 14px; bottom: 12px; }

  .svc-grid     { grid-template-columns: 1fr; gap: 12px; }
  .sources-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .how-grid     { grid-template-columns: 1fr; gap: 16px; }
  .how-num      { width: 48px; height: 48px; font-size: 16px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
  .price-card   { padding: 24px; }

  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stats-item + .stats-item { padding-left: 0; border-left: none; }
  .stats-item-border { padding-left: 0; border-left: none; }
  .stats-item:nth-child(odd) {
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }
  .stats-item:nth-child(even) { padding-left: 16px; }
  .stats-item:nth-child(3),
  .stats-item:nth-child(4)    { padding-top: 28px; }
  .stats-val { font-size: 28px; }

  .src-url  { display: none; }
  .src-name { font-size: 13px; }

  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-title { font-size: 22px; }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-cols > div:first-child { grid-column: 1 / -1; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding-top: 24px;
    margin-top: 28px;
  }

  .cta-title { font-size: 24px !important; }
  .cta-btn   { width: 100%; justify-content: center; }

  .trust-wrap    { padding: 16px; }
  .trust-inner   { gap: 12px; flex-direction: column; align-items: flex-start; }
  .trust-items   { gap: 16px; }
}

/* ── Small phones <480 ─────────────────────────────────── */
@media (max-width: 479px) {
  .hero-title { font-size: 28px; }

  .sources-grid { grid-template-columns: repeat(2, 1fr); }
  .src-name     { font-size: 12px; }

  .footer-cols  { grid-template-columns: 1fr; }
  .footer-cols > div:first-child { grid-column: auto; }
}

/* ── Large phones 480-767 ──────────────────────────────── */
@media (min-width: 480px) and (max-width: 767px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   FLUID TYPOGRAPHY + ULTRA-SMALL ADAPTATIONS
   Дополнения для идеальной адаптивки. Применяются поверх,
   не ломая базовые стили.
   ══════════════════════════════════════════════════════════════ */

/* ─── Service card: адаптивный padding ─────────────────────── */
@media (max-width: 767px) {
  .svc-card {
    padding: 24px;
    min-height: auto;
    gap: 16px;
  }
  .svc-card-icon { width: 56px; height: 56px; }
  .svc-card-icon svg { width: 22px; height: 22px; }
  .svc-card-title { font-size: 18px; }
  .svc-card-desc { font-size: 14px; -webkit-line-clamp: 4; }
  .svc-card-bottom { gap: 8px; padding: 10px 12px 10px 16px; }
  .svc-card-num { font-size: 18px; }
}
@media (max-width: 359px) {
  .svc-card { padding: 20px; }
  .svc-card-icon { width: 52px; height: 52px; }
  .svc-card-title { font-size: 17px; }
}

/* ─── Section padding на ультра-малых ──────────────────────── */
@media (max-width: 359px) {
  .section-pad    { padding-inline: 12px; }
  .section-pad-sm { padding-inline: 12px; }
  .hero-wrap      { padding: 36px 12px 32px; }
  .hero-fold      { min-height: calc(100svh - 60px - 36px); padding-bottom: 48px; }
  .hero-title     { font-size: 26px; }
  .hero-desc      { font-size: 15px; }
  .section-title  { font-size: 20px; }
  .how-grid       { gap: 12px; }
  .how-num        { width: 44px; height: 44px; font-size: 15px; }
  .stats-val      { font-size: 28px; }
  .price-card     { padding: 16px; }
  .trust-wrap     { padding: 16px 12px; }
}

/* ─── Trust strip: гибкая адаптация ────────────────────────── */
.trust-strip {
  /* На малых экранах превращается в горизонтальный скролл */
}
@media (max-width: 1023px) {
  .trust-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (max-width: 479px) {
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ─── CTA на мобильных всегда полная ширина ────────────────── */
@media (max-width: 767px) {
  .cta-btn { width: 100%; justify-content: center; min-height: 44px; }
}

/* ─── Section head: запрет переполнения ────────────────────── */
.section-head { min-width: 0; }
.section-head-text { min-width: 0; flex: 1 1 auto; }

/* ─── Footer bottom: предотвращение переполнения ───────────── */
.footer-bottom { min-width: 0; }
.footer-bottom > * { min-width: 0; overflow-wrap: anywhere; }

/* ─── Hero search box (используется в home.jsx) ────────────── */
.hero-search-box {
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .hero-search-box { height: 48px !important; }
}

/* ─── Стабилизация ширины всех контейнеров ────────────────── */
.hero-inner, .trust-inner, .section-head { max-width: 100%; }

/* ══════════════════════════════════════════════════════════════
   POLISH: Hero & Service Cards (визуальные улучшения)
   ══════════════════════════════════════════════════════════════ */

/* ─── Hero eyebrow с индикатором ───────────────────────────── */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
}
.hero-eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #1D4ED8 100%);
}

/* ─── Hero spacing — чуть просторнее ───────────────────────── */
.hero-title { margin-top: 8px; }
.hero-desc  { margin-top: 16px; max-width: 720px; }

/* ─── Service grid — добавляю воздуха между карточками ────── */
.svc-grid { margin-top: 32px; gap: 16px; }

/* ─── Focus-visible: красивая обводка для клавиатуры ──────── */
.svc-card:focus-visible {
  outline: none;
  border-color: #1D4ED8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18),
              0 8px 24px rgba(29, 78, 216, 0.10);
}

/* ─── Mobile: компактные карточки + tap-feedback ───────────── */
@media (max-width: 767px) {
  .svc-grid { margin-top: 20px; gap: 12px; }
  .svc-card { min-height: auto; }
  .svc-card-icon {
    width: 38px; height: 38px;
    border-radius: 9px;
  }
  .svc-card-arr  { width: 24px; height: 24px; }
  .svc-card-title { font-size: 16px; }
  .svc-card-desc {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  /* На мобильном hover мало работает — усиливаем active */
  .svc-card:active {
    transform: scale(0.985);
    background: var(--ink-50);
    border-color: #93C5FD;
  }
  .svc-card:active::before { opacity: 1; transform: scaleX(1); }
  .svc-card:active .svc-card-icon {
    background: linear-gradient(135deg, #BFDBFE 0%, #DBEAFE 100%);
  }
  .svc-card:active .svc-card-arr {
    background: #1D4ED8;
    color: #fff;
  }
}

@media (max-width: 359px) {
  .svc-grid { gap: 8px; }
  .svc-card-icon { width: 34px; height: 34px; }
  .svc-card-title { font-size: 15px; }
}

/* ─── Hero: подсветка числа источников ─────────────────────── */
.hero-desc strong,
.hero-desc b {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-weight: 600;
  color: var(--ink-900);
}

/* ─── Поддержка prefers-reduced-motion ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .svc-card,
  .svc-card-icon,
  .svc-card-arr,
  .svc-card::before {
    transition: none !important;
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════════════════
   NETWORK BACKGROUND (Hero) — абстрактная mesh-сеть точек и
   связей: визуальная метафора верификации связей и потоков
   данных. Реализована на Canvas (см. NetworkBackground в
   home.html); CSS отвечает только за подложку, aurora, маску
   и mobile/reduce-motion правила.
   ══════════════════════════════════════════════════════════════ */

.hero-wrap::before { display: none !important; }

.net-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  user-select: none;
}

/* dot-grid подложка — самый нижний слой.
   Параллакс по курсору через CSS-переменные --bg-gx/--bg-gy
   (выставляются из RAF NetworkBackground). */
.net-bg-grid {
  position: absolute;
  inset: -8px;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(37,99,235,0.13) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at center, #000 35%, transparent 85%);
          mask-image: radial-gradient(ellipse 75% 65% at center, #000 35%, transparent 85%);
  transform: translate3d(var(--bg-gx, 0), var(--bg-gy, 0), 0);
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
  will-change: transform;
}

/* Aurora-градиенты — медленный дрейф + параллакс на курсоре. */
.net-bg-aurora {
  position: absolute;
  inset: -8%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 35% at 20% 30%, rgba(59,130,246,0.18), transparent 70%),
    radial-gradient(ellipse 45% 30% at 80% 70%, rgba(99,102,241,0.12), transparent 70%);
  animation: net-aurora 22s ease-in-out infinite alternate;
  will-change: transform;
  z-index: 1;
}
@keyframes net-aurora {
  from { transform: translate3d(-1%, 0, 0) scale(1);    }
  to   { transform: translate3d( 2%, 1%, 0) scale(1.08); }
}

/* Canvas-слои: far / mid / near. У каждого свой translate-параллакс,
   задаваемый из RAF в JS (transform). will-change: transform только
   на переднем плане — он реагирует живее остальных. */
.net-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  /* Антиалиасинг через GPU-композицию. */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.net-bg-canvas-far  { z-index: 2; }
.net-bg-canvas-mid  { z-index: 3; will-change: transform; }
.net-bg-canvas-near { z-index: 4; will-change: transform; }

/* Vignette — спрятать края, где сеть обрывается, и сфокусировать
   внимание на центре hero. Между canvas-слоями и финальным fade. */
.net-bg-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(
    ellipse 90% 70% at center,
    transparent 50%,
    rgba(255, 255, 255, 0.4) 90%,
    rgba(255, 255, 255, 0.7) 100%
  );
}

/* Финальная маска по краям — фон растворяется к границам hero. */
.net-bg-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.6) 0%,
    transparent           20%,
    transparent           75%,
    rgba(255,255,255,0.95) 100%
  );
}

@media (max-width: 768px) {
  .net-bg-aurora { display: none; }
  .net-bg-canvas-near { will-change: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .net-bg-aurora { animation: none !important; transform: none !important; }
  .net-bg-canvas-far,
  .net-bg-canvas-mid,
  .net-bg-canvas-near { transform: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   PROCESSOR CHIP · v2 — рамка-карточка с search-box внутри
   Метафора: search-box = «дисплей»/«ввод» процессора, чип-рамка
   = корпус, источники по бокам/снизу = периферия по шинам.

   Состояния задаются через [data-chip-state] на .hero-wrap.
   Открытый автокомплит — класс .is-dropdown-open на .hero-wrap.

   Слои:
     z=0   фоновый dot-grid и градиент (.hero-wrap)
     z=1   .chip-network-low      — PCB-дорожки + узлы источников
     z=2   .chip-labels           — HTML-подписи источников
     z=10  .chip-block            — рамка-карточка с декором/search
     z=11  .chip-network-high     — ножки и угловые пятаки
     z=12  .chip-canvas           — летящие пакеты (canvas)
     z=20  .hero-head             — заголовок и подзаголовок
   ══════════════════════════════════════════════════════════════ */

/* Базовые CSS-переменные на корневом контейнере. Состояния
   обновляют их, а вложенные элементы их потребляют. */
.hero-wrap[data-chip-state] {
  --chip-frame-op:    0.65;
  --chip-pin-op:      0.4;
  --chip-deco-op:     0.4;
  --chip-trace-op:    0.2;
  --chip-via-op:      0.4;
  --chip-node-op:     0.5;
  --chip-label-op:    0.5;
  --chip-status-op:   0.5;
  --chip-frame-border: rgba(37, 99, 235, 0.18);
  --chip-eq-rate:     2.4s;
  --chip-led-rate:    3s;
  --chip-pulse-rate:  0s;
  --chip-trace-flow:  0s;
}
.hero-wrap[data-chip-state="focus"] {
  --chip-frame-op:    1;
  --chip-pin-op:      0.7;
  --chip-deco-op:     0.7;
  --chip-trace-op:    0.45;
  --chip-via-op:      0.6;
  --chip-node-op:     0.85;
  --chip-label-op:    0.8;
  --chip-status-op:   0.85;
  --chip-frame-border: rgba(37, 99, 235, 0.25);
  --chip-eq-rate:     1.2s;
  --chip-led-rate:    1.2s;
  --chip-pulse-rate:  2.5s;
  --chip-trace-flow:  6s;
}
.hero-wrap[data-chip-state="typing"] {
  --chip-frame-op:    1;
  --chip-pin-op:      0.8;
  --chip-deco-op:     0.85;
  --chip-trace-op:    0.55;
  --chip-via-op:      0.7;
  --chip-node-op:     1;
  --chip-label-op:    0.9;
  --chip-status-op:   1;
  --chip-frame-border: rgba(37, 99, 235, 0.35);
  --chip-eq-rate:     0.5s;
  --chip-led-rate:    0.5s;
  --chip-pulse-rate:  1.5s;
  --chip-trace-flow:  2s;
}
.hero-wrap[data-chip-state="submit"] {
  --chip-frame-op:    1;
  --chip-pin-op:      0.9;
  --chip-deco-op:     1;
  --chip-trace-op:    0.6;
  --chip-via-op:      0.7;
  --chip-node-op:     1;
  --chip-label-op:    0.9;
  --chip-status-op:   1;
  --chip-frame-border: rgba(37, 99, 235, 0.45);
  --chip-eq-rate:     0.4s;
  --chip-led-rate:    0.4s;
  --chip-trace-flow:  1.5s;
}

/* ── A. Зона чипа (контейнер для рамки + источников) ─────── */
.hero-chip-zone {
  position: relative;
  width: 100%;
  /* достаточно высоты чтобы вместить рамку + нижний ряд источников
     с подписями (340 + 60 + 30) */
  margin: 0 auto;
}
.chip-area {
  position: relative;
  width: 100%;
  /* Чип 720×360 + 8px боковая грань снизу + карточки 200×56
     с pill «и ещё 10+» под последней правой. Запас под нижние
     ножки 18px, под тень и pill — суммарно ~480px. */
  min-height: 480px;
  padding: 30px 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* ── B. Чип-стек (3D-композиция: тень + грань + стекло) ───── */
.chip-stack {
  position: relative;
  width: 728px;
  height: 368px;
  max-width: 100%;
  z-index: 10;
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out),
    filter 320ms var(--ease-out);
  animation: chip-block-in 700ms var(--ease-out) 600ms forwards;
}
/* Тень-glow под чипом на белой поверхности. */
.chip-shadow {
  position: absolute;
  top: 30px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(ellipse at center,
    rgba(37, 99, 235, 0.25) 0%,
    rgba(37, 99, 235, 0.12) 30%,
    transparent 70%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
/* Боковая металлическая грань корпуса — толщина «slab». */
.chip-bezel {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(180deg,
    #C5CBD3 0%,
    #9CA5B0 40%,
    #7B8590 70%,
    #5C6470 100%);
  box-shadow:
    0 2px 4px rgba(15, 23, 42, 0.10),
    0 8px 24px rgba(15, 23, 42, 0.08);
  z-index: 1;
  pointer-events: none;
}
/* Тонкая блестящая полоска у самого нижнего края боковой грани. */
.chip-bezel::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 1px;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.6) 20%,
    rgba(255, 255, 255, 0.6) 80%,
    transparent 100%);
}

/* Верхняя стеклянная грань — на ней живёт поиск и контент. */
.chip-block {
  position: absolute;
  top: 0;
  left: 4px;
  width: 720px;
  height: 360px;
  max-width: calc(100% - 8px);
  border-radius: 22px;
  background: linear-gradient(135deg,
    #FFFFFF 0%,
    #F4F7FB 50%,
    #ECF1F7 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(37, 99, 235, 0.04);
  padding: 24px 32px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: auto;
}
@keyframes chip-block-in {
  to { opacity: 1; transform: scale(1); }
}
/* В FOCUS/TYPING — тень-glow под чипом усиливается. */
.hero-wrap[data-chip-state="focus"]  .chip-shadow,
.hero-wrap[data-chip-state="typing"] .chip-shadow {
  background: radial-gradient(ellipse at center,
    rgba(37, 99, 235, 0.32) 0%,
    rgba(37, 99, 235, 0.16) 30%,
    transparent 70%);
}
.hero-wrap[data-chip-state="submit"] .chip-stack {
  animation:
    chip-block-in 700ms var(--ease-out) 600ms forwards,
    chip-block-flash 0.7s var(--ease-out) 1000ms;
}
@keyframes chip-block-flash {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.02); }
}
.hero-wrap[data-chip-state="submit"] .chip-shadow {
  background: radial-gradient(ellipse at center,
    rgba(37, 99, 235, 0.45) 0%,
    rgba(37, 99, 235, 0.22) 30%,
    transparent 70%);
}
/* Блик стекла в верхней части верхней грани. */
.chip-glass-highlight {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg,
    rgba(255, 255, 255, 0.5) 0%,
    transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* ── C. Рабочая зона (внутри корпуса) ─────────────────────── */
.chip-working-zone {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  z-index: 2;
}

/* ── F. Примеры запросов (под search) ─────────────────────── */
.chip-examples {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0;
  font-size: 12px;
  color: var(--ink-500);
}
.chip-examples > span:first-child {
  color: var(--ink-500);
  font-family: 'Onest', 'Inter', 'Onest', sans-serif;
  font-weight: 500;
  font-size: 12px;
  margin-right: 4px;
}
.chip-examples .hero-hint-link {
  font-family: 'Onest', 'Inter', 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  height: auto;
  line-height: 1;
  color: var(--ink-600);
  border-radius: 100px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #FFFFFF;
}
.chip-examples .hero-hint-link:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: #FFFFFF;
  transform: none;
}

/* ── I. SVG-сети (low/high) ──────────────────────────────── */
.chip-network-low {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.chip-network-high {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 11;
  overflow: visible;
}
.chip-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 12;
}

/* ── J. Дорожки PCB ──────────────────────────────────────── */
.chip-trace {
  fill: none;
  stroke: rgba(37, 99, 235, 0.35);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: var(--trace-len) var(--trace-len);
  stroke-dashoffset: var(--trace-len);
  animation:
    chip-trace-reveal 600ms var(--ease-out) calc(2100ms + var(--trace-i, 0) * 50ms) forwards;
  transition: stroke 320ms var(--ease-out);
}
@keyframes chip-trace-reveal {
  to { stroke-dashoffset: 0; }
}
/* В FOCUS+ дорожки активнее (медленный stroke-dashoffset поток имитирует данные) */
.hero-wrap[data-chip-state="focus"]  .chip-trace,
.hero-wrap[data-chip-state="typing"] .chip-trace,
.hero-wrap[data-chip-state="submit"] .chip-trace {
  stroke: rgba(37, 99, 235, 0.6);
}
.hero-wrap[data-chip-state="typing"] .chip-trace {
  stroke: rgba(37, 99, 235, 0.7);
}

.chip-via {
  fill: rgba(37, 99, 235, 0.4);
  transition: fill 320ms var(--ease-out);
}

/* ── K. Контактная зона внутри корпуса ────────────────────── */
.chip-contact-zone {
  fill: rgba(37, 99, 235, 0.05);
  opacity: 0;
  animation: chip-pin-in 400ms var(--ease-out) 800ms forwards;
}
.chip-contact-dot {
  fill: rgba(59, 130, 246, 0.5);
  opacity: 0;
  animation: chip-pin-in 220ms var(--ease-out) calc(900ms + var(--pin-i, 0) * 8ms) forwards;
}

/* ── L. Металлические ножки ──────────────────────────────── */
.chip-pin {
  opacity: 0;
  animation: chip-pin-in 280ms var(--ease-out) calc(900ms + var(--pin-i, 0) * 8ms) forwards;
  transition: filter 220ms var(--ease-out);
  filter: drop-shadow(0 1px 1px rgba(15, 23, 42, 0.15));
}
@keyframes chip-pin-in { to { opacity: 1; } }
.chip-pin.is-flash {
  filter:
    drop-shadow(0 0 6px rgba(37, 99, 235, 0.85))
    brightness(1.5);
}

/* ── O. Адаптив ───────────────────────────────────────────── */
@media (max-width: 1023px) {
  .chip-block { width: 760px; height: 320px; }
}
@media (max-width: 879px) {
  .chip-block { width: calc(100% - 32px); }
}
@media (max-width: 767px) {
  .chip-area      { min-height: 320px; }
  .chip-block     { height: 240px; padding: 18px 18px 14px; border-radius: 20px; }
  .chip-eq        { display: none; }
  .chip-os        { font-size: 8px; letter-spacing: 0.06em; }
  .chip-zone-top  { height: 14px; }
  .chip-leds      { gap: 5px; }
  .chip-label-code { display: none; }
}

/* ── Короткие ноутбуки (1366×768) — ещё плотнее ──────────── */
@media (max-height: 760px) and (min-width: 768px) {
  .hero-wrap                       { padding-top: 24px; padding-bottom: 16px; }
  .hero-head                       { margin-bottom: 0; }
  .hero-head .hero-eyebrow         { margin-bottom: 12px; }
  .hero-head .hero-title           { font-size: clamp(32px, 3.6vw, 44px); margin-bottom: 12px; }
  .hero-head .hero-desc            { font-size: 15px; line-height: 1.5; margin-bottom: 24px; }
  .chip-stack                      { width: 648px; height: 318px; }
  .chip-block                      { width: 640px; height: 310px; padding: 20px 28px; }
  .chip-area                       { min-height: 420px; padding: 16px 0 28px; }
  .info-strip                      { margin: 20px auto 16px; padding: 14px 22px; }
  .hero-fold                       { min-height: calc(100svh - 72px - 40px); padding-bottom: 24px; }
}

/* prefers-reduced-motion: статика. */
@media (prefers-reduced-motion: reduce) {
  .chip-block,
  .chip-eq-bar,
  .chip-led,
  .chip-status-led,
  .chip-status-caret,
  .chip-trace,
  .chip-pin,
  .chip-corner-pad,
  .chip-node-core,
  .chip-node-tie {
    animation: none !important;
    transition: none !important;
  }
  .chip-block { opacity: var(--chip-frame-op); transform: none; }
  .chip-pin       { opacity: 1; }
  .chip-corner-pad{ opacity: 1; }
  .chip-trace     { stroke-dashoffset: 0; }
  .chip-canvas    { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   HERO SEARCH (premium B2B styling — Stripe / Linear / Mercury)
   Применяется через классы .hsearch-* в обновлённом HeroSearch.
   ══════════════════════════════════════════════════════════════ */
.hsearch-wrap {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ─── Hero search · вкладки Компания / Физическое лицо ──── */
.hsearch-tabs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: center;
  margin-top: 4px;
  margin-bottom: 18px;
}
.hsearch-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  font-family: 'Onest', 'Inter', 'Onest', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-500);
  cursor: pointer;
  transition:
    background 200ms var(--ease-out),
    border-color 200ms var(--ease-out),
    color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.hsearch-tab svg { color: currentColor; opacity: 0.5; transition: opacity 200ms var(--ease-out); }
.hsearch-tab:hover { color: var(--ink-700); }
.hsearch-tab:hover svg { opacity: 0.8; }
.hsearch-tab.is-active {
  background: #FFFFFF;
  border-color: rgba(37, 99, 235, 0.2);
  color: var(--ink-900);
  font-weight: 600;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hsearch-tab.is-active svg { color: var(--blue-600); opacity: 1; }

/* ─── Hero search · search-input + CTA внутри ────────────── */
.hsearch-bar {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  padding: 0 86px 0 44px;
  transition:
    border-color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.hsearch-bar.is-focused {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 0 0 4px rgba(37, 99, 235, 0.08);
}
.hsearch-icon-slot {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: color 200ms var(--ease-out);
}
.hsearch-bar.is-focused .hsearch-icon-slot { color: var(--blue-600); }
.hsearch-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Onest', 'Inter', 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-900);
  height: 100%;
  min-width: 0;
}
.hsearch-input::placeholder {
  color: #94A3B8;
  font-weight: 400;
  font-size: 14px;
}
.hsearch-clear {
  position: absolute;
  right: 96px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 999px;
  transition: color 200ms var(--ease-out), background 200ms var(--ease-out);
}
.hsearch-clear:hover { color: var(--ink-700); background: var(--ink-100); }
.hsearch-cta {
  position: absolute;
  right: 5px;
  top: 5px;
  height: 38px;
  padding: 0 18px;
  background: var(--blue-600);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-family: 'Onest', 'Inter', 'Onest', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 4px 12px rgba(37, 99, 235, 0.3);
  transition:
    background 200ms var(--ease-out),
    transform 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.hsearch-cta:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 16px rgba(37, 99, 235, 0.35);
}
.hsearch-cta:active {
  transform: translateY(0);
  background: var(--blue-800);
}
.hsearch-cta:focus-visible {
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 4px rgba(37, 99, 235, 0.25);
}

/* ─── Hero search · type-dropdown ────────────────────────── */
.hsearch-type-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid var(--ink-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 4px;
  z-index: 30;
  animation: hsearch-menu-in 220ms var(--ease-out) both;
}
.hsearch-type-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink-700);
  border-radius: var(--r-sm);
  transition: background 160ms var(--ease-out), color 160ms var(--ease-out);
}
.hsearch-type-item:hover { background: var(--blue-25); color: var(--blue-700); }
.hsearch-type-item.is-active { background: var(--blue-50); color: var(--blue-700); }

/* ─── Hero search · suggestions dropdown ─────────────────── */
.hsearch-drop {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  overflow: hidden;
  animation: hsearch-menu-in 220ms var(--ease-out) both;
}
@keyframes hsearch-menu-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hsearch-drop-section {
  padding: 12px 16px 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-400);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hsearch-drop-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-decoration: none;
  color: inherit;
  transition:
    background 200ms var(--ease-out),
    transform 200ms var(--ease-out);
}
.hsearch-drop-row:hover {
  background: var(--blue-25);
  transform: translateX(2px);
  text-decoration: none;
}
.hsearch-drop-icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hsearch-drop-name {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-900);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hsearch-drop-meta {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: 12px;
  color: var(--ink-400);
  flex-shrink: 0;
}
.hsearch-drop-tag {
  font-size: 11px;
  color: var(--ink-700);
  background: var(--ink-100);
  border-radius: var(--r-sm);
  padding: 2px 8px;
  flex-shrink: 0;
  white-space: nowrap;
}
.hsearch-drop-divider {
  height: 1px;
  background: var(--ink-100);
  margin: 6px 0;
}
.hsearch-drop-foot {
  padding: 10px 16px 12px;
  border-top: 1px solid var(--ink-100);
  margin-top: 6px;
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--ink-400);
}
.hsearch-drop-foot span { display: inline-flex; align-items: center; gap: 5px; }

/* ─── Mobile-вариант поиска ───────────────────────────────── */
@media (max-width: 767px) {
  .hsearch-bar {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 12px;
    gap: 10px;
  }
  .hsearch-bar > .hsearch-icon-slot { padding: 0 4px 0 8px; }
  .hsearch-bar > .hsearch-divider { display: none; }
  .hsearch-row-input {
    display: flex;
    align-items: center;
    height: 44px;
  }
  .hsearch-row-controls {
    display: flex;
    gap: 8px;
  }
  .hsearch-type {
    height: 44px;
    border: 1px solid var(--ink-200);
    border-radius: var(--r-md);
    padding: 0 12px;
    font-size: 13px;
  }
  .hsearch-cta {
    flex: 1;
    height: 44px;
    margin: 0;
  }
  .hsearch-input { font-size: 16px; height: 44px; }
}

/* ─── Адаптив svc-grid ─────────────────────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .svc-grid { grid-template-columns: 1fr; }
  .hero-services-label { margin: 40px 0 32px; }
  .hero-desc { margin-bottom: 28px; }
}

/* ══════════════════════════════════════════════════════════════
   PREMIUM MICRO-INTERACTIONS
   Scroll-reveal, mouse-glow на svc-card, draw-on-load для линий
   карты, focus-visible-кольца, press-feedback кнопок,
   prefers-reduced-motion override.
   ══════════════════════════════════════════════════════════════ */

/* ─── Scroll-reveal секций ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/*  Дочерние staggered-элементы внутри .reveal-секции.
    Управляются переменной --i (порядковый номер 1, 2, 3 …). */
.reveal .reveal-child {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 600ms var(--ease-out),
    transform 600ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-visible .reveal-child {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Hero search dropdown · staggered fade-in ─────────────── */
.hsearch-drop .hsearch-drop-row {
  opacity: 0;
  transform: translateX(-4px);
  animation: hsearch-row-in 240ms var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 30ms);
}
@keyframes hsearch-row-in {
  to { opacity: 1; transform: translateX(0); }
}

/* ─── Service card · cursor-follow glow ────────────────────── */
.svc-card { isolation: isolate; }
.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 240ms var(--ease-out);
  background: radial-gradient(
    200px circle at var(--mx, 50%) var(--my, 50%),
    rgba(29, 78, 216, 0.06) 0%,
    rgba(29, 78, 216, 0) 70%
  );
  z-index: 0;
}
.svc-card:hover::after { opacity: 1; }
.svc-card > * { position: relative; z-index: 1; }

/* ─── Focus-visible кольца (a11y) ──────────────────────────── */
.svc-card:focus-visible,
.hsearch-drop-row:focus-visible,
.hero-hint-link:focus-visible,
.footer-link:focus-visible,
.hd-link:focus-visible,
.price-cta:focus-visible,
.hsearch-cta:focus-visible,
.hsearch-clear:focus-visible,
.hsearch-type:focus-visible,
.hsearch-type-item:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: var(--r-md);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.18);
}
/*  Скрыть кольцо при «обычном» клике мышью — браузеры это решают
    через :focus-visible сами; запасной слой ниже снимает outline у
    обычного :focus, оставляя только :focus-visible. */
.svc-card:focus,
.hsearch-drop-row:focus,
.hero-hint-link:focus,
.footer-link:focus,
.hd-link:focus,
.price-cta:focus,
.hsearch-cta:focus,
.hsearch-clear:focus,
.hsearch-type:focus,
.hsearch-type-item:focus {
  outline: none;
}

/* ─── Press feedback на CTA-кнопках (без material ripple) ── */
.price-cta:active            { transform: scale(0.98); transition: transform 80ms var(--ease-out); }
.hsearch-cta:active          { transform: scale(0.98); transition: transform 80ms var(--ease-out); }
.svc-card:active             { transform: translateY(-1px) scale(0.995); transition: transform 80ms var(--ease-out); }

/* ─── prefers-reduced-motion: всё движение отключаем,
       оставляя только opacity-переходы ─────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal .reveal-child {
    transform: none !important;
    transition-property: opacity !important;
    transition-duration: 200ms !important;
  }
  .hsearch-drop .hsearch-drop-row {
    transform: none !important;
    animation: hsearch-row-in-reduced 1ms linear forwards !important;
  }
  @keyframes hsearch-row-in-reduced {
    to { opacity: 1; }
  }
  .svc-card::after { transition-duration: 1ms !important; }
  .svc-card:active,
  .price-cta:active,
  .hsearch-cta:active {
    transform: none !important;
  }
  .stats-eyebrow > .stats-eyebrow-sep { transition: none !important; }
  /*  Глобальные переходы → opacity-only.  */
  *, *::before, *::after {
    animation-iteration-count: 1 !important;
    transition-property: opacity !important;
    scroll-behavior: auto !important;
  }
}

/* ─── DEPRECATED / TO REMOVE LATER (закомментировано) ──────────
   После редизайна следующие классы стали неиспользуемыми
   в home.html, но оставлены закомментированно на случай отката:

   .price-card[style*="2px solid"]   — заменён на .price-card.is-popular
   .hero-hint-sep                     — старая запятая-разделитель в hints
   .stats-eyebrow legacy ribbon       — старая чёрно-белая лента
   .footer-bottom-sep                 — добавлен новый, на всякий
   ────────────────────────────────────────────────────────────── */

/* ══════════════════════════════════════════════════════════════
   SERVICE CARDS — FINAL REDESIGN v2 (по скриншоту)
   Бело-голубой gradient bg, radius 20, soft blue shadow.
   Иконка: круглая 64px, синий gradient, белая иконка.
   Низ: pill-зона с числом и круглой стрелкой-кнопкой.
   ══════════════════════════════════════════════════════════════ */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  margin-top: 0;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 767px) {
  .svc-grid { grid-template-columns: 1fr; gap: 16px; }
}

.svc-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  position: relative !important;
  isolation: isolate;
  padding: 28px !important;
  min-height: 280px !important;
  background: linear-gradient(180deg, #FFFFFF 0%, #F4F8FF 100%) !important;
  border: 1px solid rgba(219, 234, 254, 0.6) !important;
  border-radius: 4px !important;
  cursor: pointer;
  overflow: hidden !important;
  color: inherit !important;
  text-decoration: none !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 12px 32px rgba(37, 99, 235, 0.06) !important;
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 240ms ease,
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.svc-card::before { display: none !important; content: none !important; }

.svc-card:hover {
  transform: translateY(-4px) !important;
  border-color: rgba(147, 197, 253, 0.7) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(37, 99, 235, 0.12),
    0 4px 12px rgba(15, 23, 42, 0.04) !important;
  text-decoration: none !important;
}
.svc-card:active {
  transform: translateY(-1px) !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 20px rgba(37, 99, 235, 0.08) !important;
  transition-duration: 80ms !important;
}

/* Top-row: заголовок слева + 3D-glyph справа на одной линии */
.svc-card-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px;
}
/* Заголовок внутри head — растягивается, glyph не растягивается;
   убираем верхний margin, который имел смысл только когда title шёл
   отдельным блоком ниже круглой иконки. */
.svc-card-head .svc-card-title {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0 !important;
}
.svc-card-icon {
  width: 64px !important;
  height: 64px !important;
  border-radius: 4px !important;
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%) !important;
  color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  box-shadow:
    0 8px 20px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
  transition:
    transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 280ms ease !important;
}
.svc-card-icon svg {
  width: 26px !important;
  height: 26px !important;
  color: #FFFFFF !important;
  stroke-width: 1.75;
}
.svc-card:hover .svc-card-icon {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%) !important;
  transform: scale(1.04) !important;
  box-shadow:
    0 12px 28px rgba(37, 99, 235, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}
.svc-card-viz {
  display: inline-flex;
  width: 56px;
  height: 56px;
  opacity: 0.45;
  color: #93C5FD;
  transition: opacity 0.25s ease;
  flex-shrink: 0;
}
.svc-card:hover .svc-card-viz { opacity: 0.7; }
.svc-card-viz svg { display: block; width: 100%; height: 100%; }

/* Пульсирующее сердце для charity-карточки */
@keyframes svc-heart-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.10); }
}
.svc-card-viz.is-pulse .viz-heart-shape {
  transform-origin: 50% 55%;
  transform-box: fill-box;
  animation: svc-heart-pulse 1.6s var(--ease-out) infinite;
}

/* 3D PNG-иконка в левом верхнем углу карточки сервиса.
   Заменяет старую круглую синюю иконку (.svc-card-icon).
   Размер аналогичен прежнему круглому блоку (≈ 64px). */
.svc-card-glyph {
  width: 72px;
  height: 72px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-card:hover .svc-card-glyph {
  transform: scale(1.06);
}

/* Заголовок и описание */
.svc-card-title {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  color: #0F172A !important;
  letter-spacing: -0.015em;
  line-height: 1.25 !important;
  margin: 24px 0 0 !important;
}
.svc-card-desc {
  font-size: 14px !important;
  font-weight: 400;
  color: #64748B !important;
  line-height: 1.55 !important;
  margin: 12px 0 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  text-overflow: ellipsis;
}

/* Bottom: pill-зона с метрикой и круглой стрелкой */
.svc-card-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 24px !important;
  padding: 12px 12px 12px 20px !important;
  background: rgba(239, 246, 255, 0.7) !important;
  border: 1px solid rgba(191, 219, 254, 0.5) !important;
  border-radius: 4px !important;
  border-top: 1px solid rgba(191, 219, 254, 0.5) !important;
}
.svc-card-meta {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  font-variant-numeric: tabular-nums;
  flex: 1;
  min-width: 0;
  color: inherit;
}
.svc-card-meta::before { content: none !important; }
.svc-card-num {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #2563EB;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.svc-card-lbl {
  font-size: 13px;
  font-weight: 500;
  color: #64748B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.svc-card-meta > .svc-card-lbl:only-child {
  font-size: 13px;
  color: #64748B;
}

/* Стрелка — круглая кнопка справа в pill-зоне */
.svc-card-arr {
  width: 32px !important;
  height: 32px !important;
  border-radius: 4px !important;
  background: #FFFFFF !important;
  color: #64748B !important;
  border: 1px solid rgba(15, 23, 42, 0.06) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 1 !important;
  transform: translateX(0) !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04) !important;
  transition:
    transform 240ms cubic-bezier(0.16, 1, 0.3, 1),
    background 240ms ease,
    color 240ms ease,
    border-color 240ms ease !important;
}
.svc-card:hover .svc-card-arr {
  opacity: 1 !important;
  background: #2563EB !important;
  color: #FFFFFF !important;
  border-color: #2563EB !important;
  transform: translateX(2px) !important;
}

/* mouse-glow ::after от useMouseGlow остаётся — даёт subtle radial */
.svc-card::after { z-index: 0; }

@media (max-width: 767px) {
  .svc-card { padding: 24px !important; min-height: auto !important; }
  .svc-card-icon { width: 56px !important; height: 56px !important; }
  .svc-card-icon svg { width: 22px !important; height: 22px !important; }
  .svc-card-glyph { width: 56px; height: 56px; }
  .svc-card-title { font-size: 18px !important; }
  .svc-card-num { font-size: 18px; }
  .svc-card-bottom { padding: 10px 10px 10px 16px !important; }
}

/*  prefers-reduced-motion — отключаем подъём, transform-эффекты,
    пульсацию сердца. */
@media (prefers-reduced-motion: reduce) {
  .svc-card,
  .svc-card-arr,
  .svc-card-viz,
  .svc-card-icon { transition-property: opacity, background, color !important; }
  .svc-card:hover { transform: none !important; }
  .svc-card:hover .svc-card-icon { transform: none !important; }
  .svc-card:hover .svc-card-arr { transform: none !important; }
  .svc-card-viz.is-pulse .viz-heart-shape { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   КАРТОЧКИ ИСТОЧНИКОВ ВОКРУГ ЧИПА
   5 карточек слева + 5 справа. Под последней правой —
   pill «и ещё 10+ источников». Карточки декоративные, не клик.
   ══════════════════════════════════════════════════════════════ */
.chip-source-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
.src-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
          backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 4px 16px rgba(37, 99, 235, 0.06);
  pointer-events: auto;
  cursor: default;
  opacity: 0;
  transform: translateX(0);
  animation: src-card-in 500ms var(--ease-out) calc(1500ms + var(--card-i, 0) * 60ms) forwards;
  transition:
    transform 300ms var(--ease-out),
    border-color 200ms var(--ease-out),
    box-shadow 200ms var(--ease-out);
}
.src-card-left  { animation-name: src-card-in-left;  }
.src-card-right { animation-name: src-card-in-right; }
@keyframes src-card-in-left {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes src-card-in-right {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes src-card-in {
  from { opacity: 0; transform: translateX(0); }
  to   { opacity: 1; transform: translateX(0); }
}
.src-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(37, 99, 235, 0.15);
}
/* Кратковременная подсветка при typing — добавляется через JS. */
.src-card.is-flash {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 0 24px rgba(37, 99, 235, 0.20);
}
.src-card.is-flash .src-card-icon {
  filter: brightness(1.2) hue-rotate(15deg);
}
/* В FOCUS-состоянии карточки слегка приподняты со stagger */
.hero-wrap[data-chip-state="focus"]  .src-card,
.hero-wrap[data-chip-state="typing"] .src-card,
.hero-wrap[data-chip-state="submit"] .src-card {
  transform: translateY(-2px);
}
.src-card-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: #EFF6FF;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: filter 320ms var(--ease-out);
}
.src-card-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.src-card-name {
  font-family: 'Onest', 'Inter', 'Onest', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-900);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.src-card-code {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-weight: 500;
  font-size: 10px;
  color: var(--blue-600);
  letter-spacing: 0.15em;
  line-height: 1.2;
}
.src-card-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #10B981;
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.5));
  animation: src-card-dot-breathe 3s ease-in-out infinite;
  animation-delay: calc(var(--card-i, 0) * 0.3s);
}
@keyframes src-card-dot-breathe {
  0%, 100% { opacity: 0.7; }
  50%      { opacity: 1; }
}
.hero-wrap[data-chip-state="focus"]  .src-card-dot { animation-duration: 1.5s; }
.hero-wrap[data-chip-state="typing"] .src-card-dot { animation-duration: 1s;   }
.hero-wrap[data-chip-state="submit"] .src-card-dot { background: var(--blue-600); animation-duration: 0.8s; }

/* В SUBMIT все карточки одновременно «загораются». */
.hero-wrap[data-chip-state="submit"] .src-card {
  border-color: var(--blue-600);
  border-width: 1.5px;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 0 24px rgba(37, 99, 235, 0.20);
}

/* Pill «и ещё 10+ источников» — под последней правой карточкой. */
.src-more-pill {
  position: absolute;
  transform: translateX(-50%);
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border: 1px dashed rgba(37, 99, 235, 0.3);
  font-family: 'Onest', 'Inter', 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-600);
  cursor: pointer;
  pointer-events: auto;
  white-space: nowrap;
  transition:
    background 200ms var(--ease-out),
    border-style 200ms var(--ease-out),
    border-color 200ms var(--ease-out);
  opacity: 0;
  animation: src-more-in 400ms var(--ease-out) 2400ms forwards;
}
@keyframes src-more-in {
  from { opacity: 0; transform: translate(-50%, 6px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
.src-more-pill:hover {
  background: #FFFFFF;
  border-style: solid;
  border-color: var(--blue-600);
}

/* ══════════════════════════════════════════════════════════════
   ИНФО-ПОЛОСА снизу (4 пункта)
   ══════════════════════════════════════════════════════════════ */
.info-strip {
  width: 100%;
  max-width: 1100px;
  margin: 28px auto 24px;
  padding: 18px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(248, 250, 252, 0.9) 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.06);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.info-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.info-strip-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #EFF6FF;
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.info-strip-text { min-width: 0; }
.info-strip-title {
  font-family: 'Onest', 'Inter', 'Onest', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-900);
  line-height: 1.3;
}
.info-strip-desc {
  font-family: 'Onest', 'Inter', 'Onest', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--ink-500);
  line-height: 1.4;
  margin-top: 2px;
}

@media (max-width: 1279px) {
  .info-strip { max-width: 100%; }
}
@media (max-width: 767px) {
  .info-strip {
    grid-template-columns: 1fr;
    padding: 16px 20px;
    gap: 14px;
  }
}

/* ══════════════════════════════════════════════════════════════
   АДАПТИВ для чипа и карточек источников.
   Tablet: 600×340 чип, карточки 220px.
   Mobile: чип 100% - 32px, карточки скрыты, pill «10 источников».
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1279px) and (min-width: 768px) {
  .chip-stack { width: 608px; height: 308px; }
  .chip-block { width: 600px; height: 300px; }
  .chip-area  { min-height: 420px; }
}
@media (max-width: 767px) {
  .chip-source-cards { display: none; }
  .chip-network-low,
  .chip-network-high { display: none; }
  .chip-stack {
    width: calc(100% - 32px);
    height: 288px;
  }
  .chip-block {
    width: calc(100% - 8px);
    height: 280px;
    padding: 20px;
  }
  .chip-area  { min-height: 360px; padding: 12px 0; }
  .info-strip { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   BOARD SECTION (PCB-плата + 25 источников + поисковый чип)
   Все правила скоупятся под .partnet-section, чтобы не «течь».
   ══════════════════════════════════════════════════════════════ */
.partnet-section {
  --bg-1: #f4f7fc;
  --bg-2: #eaf0fa;
  --ink: #0b1220;
  --ink-2: #2b3a55;
  --ink-3: #6b7a93;
  --line: #e1e8f3;
  --line-2: #eef2f8;
  --primary: #2563eb;
  --primary-2: #1d4ed8;
  --primary-3: #5a86ff;
  --primary-soft: #eff6ff;
  --ok: #16a34a;
  --ok-soft: #dcfce7;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 1px 0 rgba(15,23,42,0.02), 0 6px 16px -10px rgba(15,23,42,0.12);

  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.partnet-section *,
.partnet-section *::before,
.partnet-section *::after { box-sizing: border-box; }

.partnet-section .board {
  position: relative;
  margin: 0 auto;
  width: 100%;
  min-height: 500px;
}
.partnet-section .pcb-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.partnet-section .corner-dot {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(37,99,235,0.3);
  box-shadow: 0 0 0 4px rgba(37,99,235,0.07);
}
.partnet-section .corner-dot { display: none; }
.partnet-section .corner-dot.tl { top: -2px; left: 60px; }
.partnet-section .corner-dot.tr { top: -2px; right: 60px; }
.partnet-section .corner-dot.bl { bottom: -2px; left: 60px; }
.partnet-section .corner-dot.br { bottom: -2px; right: 60px; }

.partnet-section .rail {
  position: absolute;
  top: 0;
  width: 232px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 4px 0;
  z-index: 3;
}
.partnet-section .rail.left  { left: 0; }
.partnet-section .rail.right { right: 0; }

/* Карточка ведомства: герб в круге + краткое и полное название. */
.partnet-section .src-card {
  display: flex;
  align-items: center;
  gap: 12px;
  /* Без backdrop-filter — он создавал джанк скролла. */
  background: #ffffff;
  border: 1px solid #e6ecf5;
  border-radius: 16px;
  padding: 8px 30px 8px 10px;
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 4px 14px -8px rgba(15,23,42,0.10);
  position: relative;
  height: 64px;
  opacity: 1;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
  transition: transform .25s cubic-bezier(.34,1.4,.64,1),
              box-shadow .25s ease,
              border-color .25s ease,
              background .25s ease;
  /* перебиваем глобальные .src-card transforms из верхней части файла */
  animation: none !important;
}
.partnet-section .src-card:hover {
  border-color: rgba(37,99,235,0.28);
  box-shadow: 0 1px 2px rgba(15,23,42,0.04), 0 10px 24px -12px rgba(37,99,235,0.35);
  transform: translateY(-1px);
}
.partnet-section .src-card .emblem {
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
}
/* Гербы круглые сами по себе — рамку не рисуем (глобальный радиус 4px
   из shared.css превратил бы круг в квадрат). */
.partnet-section .src-card .emblem img {
  width: 44px; height: 44px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(15,23,42,0.14));
}
.partnet-section .src-card .txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.partnet-section .src-card .name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.partnet-section .src-card .full {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--ink-3);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.partnet-section .src-card.scanning .full { color: rgba(255,255,255,0.85); }
.partnet-section .src-card .tag {
  flex: none;
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(37, 99, 235, 0.65);
  background: rgba(238, 243, 255, 0.55);
  padding: 2px 5px;
  border-radius: 3px;
  transition: background .25s, color .25s;
}
.partnet-section .src-card:hover .tag {
  color: var(--primary);
  background: var(--primary-soft);
}
.partnet-section .src-card .dot {
  position: absolute;
  top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.55);
  box-shadow: none;
  transform: translateY(-50%);
  transition: all .25s;
  animation: none;
  filter: none;
}
.partnet-section .src-card:hover .dot {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
}
.partnet-section .rail.left  .src-card .dot { right: -14px; }
.partnet-section .rail.right .src-card .dot { left:  -14px; }

.partnet-section .src-card.scanning {
  transform: scale(1.05);
  background: linear-gradient(135deg, #2563eb 0%, #5a86ff 100%);
  border-color: var(--primary);
  box-shadow:
    0 0 0 4px rgba(37,99,235,0.18),
    0 10px 26px -6px rgba(37,99,235,0.6),
    0 0 30px rgba(37,99,235,0.35);
}
.partnet-section .src-card.scanning .name { color: white; }
.partnet-section .src-card.scanning .ico { background: rgba(255,255,255,0.25); color: white; }
.partnet-section .src-card.scanning .tag { background: rgba(255,255,255,0.25); color: white; }
.partnet-section .src-card.scanning .dot { background: white; box-shadow: 0 0 0 5px rgba(255,255,255,0.5); animation: partnetDotPulse .6s ease-in-out infinite; }
@keyframes partnetDotPulse { 0%,100% { transform: translateY(-50%) scale(1) } 50% { transform: translateY(-50%) scale(1.6) } }

.partnet-section .src-card.armed { border-color: rgba(37,99,235,0.35); }
.partnet-section .src-card.armed .dot { animation: partnetDotIdle 1.6s ease-in-out infinite; }
@keyframes partnetDotIdle { 0%,100% { opacity: .8 } 50% { opacity: .3 } }

.partnet-section .src-card.done {
  border-color: rgba(34,197,94,0.55);
  background: linear-gradient(180deg, #ffffff 0%, #f1fdf5 100%);
}
.partnet-section .src-card.done .ico { background: rgba(34,197,94,0.14); color: var(--ok); }
.partnet-section .src-card.done .tag { background: rgba(34,197,94,0.14); color: var(--ok); }

/* Карточка-источник — не кликабельна; курсор обычный, кликов не ловит. */
.partnet-section .src-card {
  cursor: default;
}

/* «?» — миниатюрный help-маркер справа от названия. */
.partnet-section .src-card .qmark {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  font-family: ui-sans-serif, system-ui, sans-serif;
  color: rgba(37, 99, 235, 0.7);
  background: rgba(238, 243, 255, 0.65);
  border: 1px solid rgba(37, 99, 235, 0.18);
  cursor: help;
  user-select: none;
  position: relative;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
/* В карточке с гербом «?» прижат к правому краю по центру. */
.partnet-section .src-card .qmark {
  position: absolute;
  right: 9px;
  top: calc(50% - 9px);
}
.partnet-section .src-card:hover .qmark {
  color: var(--primary);
  background: var(--primary-soft);
  border-color: rgba(37, 99, 235, 0.4);
}
.partnet-section .src-card .qmark:hover,
.partnet-section .src-card .qmark:focus-visible {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: scale(1.12);
  outline: none;
}
.partnet-section .src-card.scanning .qmark {
  background: rgba(255,255,255,0.28);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.partnet-section .src-card.done .qmark {
  background: rgba(34,197,94,0.14);
  color: var(--ok);
  border-color: rgba(34,197,94,0.4);
}

/* Кастомный tooltip с пояснением. */
.partnet-section .src-card .qmark::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  width: max-content;
  max-width: 240px;
  padding: 8px 10px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
  background: rgba(15, 23, 42, 0.94);
  border-radius: 8px;
  box-shadow: 0 8px 24px -6px rgba(15,23,42,0.35);
  white-space: normal;
  text-align: left;
  letter-spacing: 0;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 50;
}
.partnet-section .src-card .qmark::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(15, 23, 42, 0.94);
  pointer-events: none;
  opacity: 0;
  transition: opacity .18s ease;
  z-index: 50;
}
.partnet-section .src-card .qmark:hover::after,
.partnet-section .src-card .qmark:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.partnet-section .src-card .qmark:hover::before,
.partnet-section .src-card .qmark:focus-visible::before {
  opacity: 1;
}

/* Для крайних карточек слева/справа сдвигаем tooltip, чтобы не вылезал за board. */
.partnet-section .rail.left .src-card .qmark::after {
  left: 0;
  transform: translateX(-20%) translateY(4px);
}
.partnet-section .rail.left .src-card .qmark:hover::after,
.partnet-section .rail.left .src-card .qmark:focus-visible::after {
  transform: translateX(-20%) translateY(0);
}
.partnet-section .rail.right .src-card .qmark::after {
  left: auto;
  right: 0;
  transform: translateX(20%) translateY(4px);
}
.partnet-section .rail.right .src-card .qmark:hover::after,
.partnet-section .rail.right .src-card .qmark:focus-visible::after {
  transform: translateX(20%) translateY(0);
}

.partnet-section .chip {
  /* перебиваем глобальный .chip из shared.css (inline-flex, white-space:nowrap),
     иначе tabs/form/examples встают в один ряд и examples вылезают за корпус */
  display: block;
  white-space: normal;
  font-weight: 400;
  color: var(--ink);
  height: auto;
  gap: 0;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(460px, 40vw, 560px);
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.22);
  border-radius: 22px;
  padding: 24px 26px 20px;
  z-index: 4;
  transition: box-shadow .35s ease, border-color .35s ease;
  /* Деликатная тень + лёгкий halo. */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 0 0 6px rgba(37,99,235,0.04),
    0 12px 28px -10px rgba(37,99,235,0.18),
    0 30px 60px -24px rgba(15,23,42,0.18);
}
.partnet-section .chip.scanning {
  border-color: var(--primary);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.95),
    0 0 0 8px rgba(37,99,235,0.10),
    0 0 0 16px rgba(37,99,235,0.05),
    0 30px 80px -20px rgba(37,99,235,0.45),
    0 12px 30px -10px rgba(37,99,235,0.5);
  animation: partnetChipBreathe 1.4s ease-in-out infinite;
}
@keyframes partnetChipBreathe {
  0%,100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 0 0 8px rgba(37,99,235,0.10), 0 0 0 16px rgba(37,99,235,0.04), 0 30px 80px -20px rgba(37,99,235,0.45), 0 12px 30px -10px rgba(37,99,235,0.5); }
  50%     { box-shadow: inset 0 1px 0 rgba(255,255,255,0.95), 0 0 0 10px rgba(37,99,235,0.16), 0 0 0 22px rgba(37,99,235,0.08), 0 30px 80px -20px rgba(37,99,235,0.5),  0 12px 30px -10px rgba(37,99,235,0.6); }
}
.partnet-section .chip::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, transparent 35%);
  pointer-events: none;
}
.partnet-section .chip-led {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid var(--line);
  padding: 6px 18px;
  border-radius: 999px;
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.partnet-section .chip-led i {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: partnetBlink 1.6s ease-in-out infinite;
}
@keyframes partnetBlink { 0%,100% { opacity: 1 } 50% { opacity: .4 } }

.partnet-section .pins { position: absolute; pointer-events: none; }
.partnet-section .pins.top, .partnet-section .pins.bottom { left: 28px; right: 28px; height: 6px; display: flex; justify-content: space-between; }
.partnet-section .pins.left, .partnet-section .pins.right { top: 28px; bottom: 28px; width: 6px; display: flex; flex-direction: column; justify-content: space-between; }
.partnet-section .pins.top    { top: -6px; }
.partnet-section .pins.bottom { bottom: -6px; }
.partnet-section .pins.left   { left: -6px; }
.partnet-section .pins.right  { right: -6px; }
.partnet-section .pin {
  background: linear-gradient(180deg, #cdd9ee 0%, #91a3c4 100%);
  border-radius: 1.5px;
}
.partnet-section .pins.top .pin, .partnet-section .pins.bottom .pin { width: 4px; height: 6px; }
.partnet-section .pins.left .pin, .partnet-section .pins.right .pin { width: 6px; height: 4px; }

.partnet-section .tabs {
  display: flex;
  gap: 4px;
  background: #f1f5fb;
  padding: 3px;
  border-radius: 9px;
  margin: 0 auto 12px;
  width: fit-content;
  position: relative;
}
.partnet-section .tab {
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 0;
  color: var(--ink-3);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all .15s;
}
.partnet-section .tab svg { width: 14px; height: 14px; }
.partnet-section .tab.active {
  background: white;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(15,23,42,0.06);
}
.partnet-section .tab.active svg { color: var(--primary); }

.partnet-section .search-row {
  display: flex; align-items: center; gap: 6px;
  background: white;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 5px 5px 5px 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
  position: relative;
}
.partnet-section .search-row.focused { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(37,99,235,0.12); }
.partnet-section .search-row > .ico { color: var(--ink-3); display: grid; place-items: center; flex: none; }
.partnet-section .search-row > .ico svg { width: 17px; height: 17px; }
.partnet-section .search-row input {
  flex: 1;
  border: 0; outline: 0; background: transparent;
  font-family: inherit;
  font-size: 13.5px;
  color: var(--ink);
  padding: 9px 4px;
  min-width: 0;
}
.partnet-section .search-row input::placeholder { color: var(--ink-3); }
.partnet-section .find-btn {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: white; border: 0;
  padding: 9px 22px; border-radius: 9px;
  font-family: inherit; font-weight: 600; font-size: 13px;
  cursor: pointer; transition: filter .15s, transform .1s;
  box-shadow: 0 4px 12px -3px rgba(37,99,235,0.55), inset 0 1px 0 rgba(255,255,255,0.25);
  display: inline-flex; align-items: center; gap: 6px;
}
.partnet-section .find-btn:hover { filter: brightness(1.08); }
.partnet-section .find-btn:active { transform: scale(.97); }
.partnet-section .find-btn:disabled { opacity: .55; cursor: default; }
.partnet-section .find-btn .mini-spin { width: 11px; height: 11px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.4); border-top-color: white; animation: partnetSpin .7s linear infinite; }

/* ─── Board search · dropdown с подсказками ─────────────── */
.partnet-section .board-suggest {
  list-style: none;
  margin: 10px 0 0;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(15, 23, 42, 0.18),
              0 2px 4px rgba(15, 23, 42, 0.04);
  max-height: 280px;
  overflow-y: auto;
  animation: partnetStripFadeIn .18s ease;
}
.partnet-section .board-suggest li { margin: 0; }
.partnet-section .board-suggest-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border: none;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--ink);
  transition: background 120ms ease;
}
.partnet-section .board-suggest-item:hover,
.partnet-section .board-suggest-item:focus-visible {
  background: #F1F5FF;
  outline: none;
}
.partnet-section .board-suggest-ico {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: #EFF6FF;
  color: var(--primary);
  display: grid; place-items: center;
  flex: none;
}
.partnet-section .board-suggest-ico svg { width: 14px; height: 14px; }
.partnet-section .board-suggest-main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.partnet-section .board-suggest-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.partnet-section .board-suggest-meta {
  font-size: 11.5px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.partnet-section .board-suggest-meta .mono {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  color: var(--ink-2);
}

.partnet-section .examples {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.partnet-section .ex-label { color: var(--ink-3); font-size: 11.5px; font-weight: 500; }
.partnet-section .ex-chip {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.partnet-section .ex-chip.mono { font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif; font-size: 11px; }
.partnet-section .ex-chip:hover { border-color: var(--primary); color: var(--primary); }

.partnet-section .scan-strip {
  margin-top: 12px;
  background: linear-gradient(180deg, #f6f9ff 0%, #eff6ff 100%);
  border: 1px solid #d4dff2;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: var(--ink-2);
  overflow: hidden;
  position: relative;
  animation: partnetStripFadeIn .25s ease;
}
@keyframes partnetStripFadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.partnet-section .scan-strip .spinner {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(37,99,235,0.2);
  border-top-color: var(--primary);
  animation: partnetSpin .8s linear infinite;
  flex: none;
}
.partnet-section .scan-strip .spinner.done {
  border: 0;
  background: var(--ok);
  color: white;
  display: grid; place-items: center;
  animation: none;
}
.partnet-section .scan-strip .spinner.done::after {
  content: '✓'; font-size: 10px; font-weight: 600; color: white; line-height: 1;
}
@keyframes partnetSpin { to { transform: rotate(360deg) } }
.partnet-section .scan-strip .label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.partnet-section .scan-strip .label b { color: var(--ink); font-weight: 600; }
.partnet-section .scan-strip .count {
  font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
  font-size: 11px; font-weight: 600;
  color: var(--primary);
  background: white;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  flex: none;
}
.partnet-section .scan-strip .progress {
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), #6aa1ff);
  transition: width .25s ease;
}

.partnet-section .sources-pill-row { display: none; }

@media (max-width: 900px) {
  .partnet-section { padding: 16px; }
  .partnet-section .board { display: none; }
  .partnet-section .sources-pill-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 64px auto 0;
    width: 100%;
    max-width: 560px;
  }
  .partnet-section .sources-pill-row .chip {
    position: relative;
    transform: none;
    left: auto; top: auto;
    width: 100%;
    max-width: 100%;
  }
  .partnet-section .sources-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 13px;
    color: var(--ink-2);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
  }
  .partnet-section .sources-summary .pill-num {
    font-family: 'Inter', 'Onest', -apple-system, system-ui, sans-serif;
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-soft);
    padding: 2px 8px;
    border-radius: 6px;
  }
  .partnet-section .sources-summary .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--ok);
    box-shadow: 0 0 6px var(--ok);
    animation: partnetBlink 1.6s ease-in-out infinite;
  }
  .partnet-section .sources-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
  }
  .partnet-section .source-mini {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 7px;
    padding: 5px 9px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink-2);
  }
  .partnet-section .source-mini .ico {
    width: 14px; height: 14px;
    color: var(--primary);
    display: grid; place-items: center;
  }
  .partnet-section .source-mini .ico svg { width: 10px; height: 10px; }
}
@media (max-width: 560px) {
  .partnet-section .source-mini { font-size: 10.5px; padding: 4px 7px; }
}

/* ОПТИМИЗАЦИЯ СКРОЛЛА:
   • content-visibility: auto УБРАН — он вызывал «застревание» скролла
     из-за неточного contain-intrinsic-size: при приближении секции к
     вьюпорту высота пересчитывалась и прокрутка прыгала.
   • will-change оставляем точечно, только на canvas чипа (PCB) — там
     постоянная анимация. */
.partnet-section .pcb-svg { will-change: transform; }

/* ══════════════════════════════════════════════════════════════
   PROD POLISH (типографика, a11y, reduced-motion)
   ══════════════════════════════════════════════════════════════ */
.hero-desc strong {
  color: var(--ink-900);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.005em;
}
.partnet-section .src-card .tag,
.partnet-section .scan-strip .count {
  font-variant-numeric: tabular-nums;
}
/* Чёткий focus-ring для клавиатурной навигации (без визуального шума на mouse). */
.partnet-section .tab:focus-visible,
.partnet-section .ex-chip:focus-visible,
.partnet-section .find-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
.partnet-section .search-row input:focus-visible {
  outline: none;
}

/* Уважение к prefers-reduced-motion: глушим тяжёлые анимации,
   оставляя только осмысленные fade/transition. */
@media (prefers-reduced-motion: reduce) {
  .partnet-section .pcb-svg circle[fill="#2563eb"] animateMotion,
  .partnet-section .pcb-svg circle animateMotion,
  .partnet-section .pcb-svg circle animate {
    display: none;
  }
  .partnet-section .chip.scanning,
  .partnet-section .src-card.scanning {
    animation: none !important;
  }
  .partnet-section .chip-led i,
  .partnet-section .sources-summary .dot,
  .partnet-section .src-card.scanning .dot,
  .partnet-section .src-card.armed .dot { animation: none !important; }
  .partnet-section .scan-strip { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   MeshLines — интерактивная сеть линий с подсветкой возле курсора
   ══════════════════════════════════════════════════════════════ */
.mesh-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: radial-gradient(ellipse 78% 70% at center, #000 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 78% 70% at center, #000 30%, transparent 90%);
}
.mesh-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}
/* Старый dot-grid становится тише — линии теперь делает MeshLines. */
.net-bg-grid {
  background-image: radial-gradient(circle, rgba(37,99,235,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
}
/* Скрываем длинные пунктирные линии-«созвездия» из старого NetworkBackground —
   их роль теперь полностью выполняет MeshLines. */
.net-bg-canvas { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .mesh-bg { display: none; }
}
/* На тачскринах прячем mesh-bg — нет курсора, без подсветки эффект бесполезен,
   плюс лишний композитный слой при скролле. */
@media (pointer: coarse), (max-width: 767px) {
  .mesh-bg { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   DARK THEME — переопределения для home.html
   ══════════════════════════════════════════════════════════════ */
html[data-theme="dark"] body { background: var(--bg-page); color: var(--ink-900); }

/* Home dropdown «Источники данных» */
html[data-theme="dark"] .bp-nav-dd {
  background: var(--bg-subtle);
  border-color: var(--ink-200);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}
html[data-theme="dark"] .bp-nav-dd-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
}
html[data-theme="dark"] .bp-nav-dd-item-abbr {
  background: rgba(244, 244, 245, 0.08);
  color: #EAF0FA;
}
html[data-theme="dark"] .bp-nav-dd-foot {
  background: var(--bg-subtle);
  border-top-color: var(--ink-200);
}
html[data-theme="dark"] .bp-nav-dd-foot a { color: #EAF0FA; }
html[data-theme="dark"] .hd-link:hover {
  color: #EAF0FA !important;
  background: rgba(244, 244, 245, 0.06) !important;
}

/* Hero eyebrow shield, search hint pills */
html[data-theme="dark"] .hero-eyebrow {
  background: rgba(244, 244, 245, 0.06);
  border-color: rgba(244, 244, 245, 0.18);
  color: #EAF0FA;
}
html[data-theme="dark"] .hero-eyebrow-shield {
  background: var(--bg-subtle);
  border-color: rgba(244, 244, 245, 0.22);
  color: #D6DFEE;
}
html[data-theme="dark"] .hero-hint-link {
  background: var(--bg-subtle);
  border-color: var(--ink-200);
  color: #D6DFEE;
}
html[data-theme="dark"] .hero-hint-link:hover {
  background: var(--bg-subtle);
  border-color: rgba(96, 165, 250, 0.4);
  color: #EAF0FA;
}

/* Services / cards */
html[data-theme="dark"] .svc-card {
  background: var(--bg-card);
  border-color: var(--ink-300);
}
html[data-theme="dark"] .svc-card-arr {
  background: var(--bg-page);
  border-color: var(--ink-300);
  color: #EAF0FA;
}
html[data-theme="dark"] .svc-card:hover .svc-card-arr {
  background: var(--blue-600);
  color: #FFFFFF;
  border-color: var(--blue-600);
}

/* Trust strip */
html[data-theme="dark"] .trust-wrap {
  background: var(--bg-card);
  border-color: var(--ink-300);
}
html[data-theme="dark"] .trust-dot { background: var(--ink-400); }

/* Stats / how / pricing / footer */
html[data-theme="dark"] .stats-item-border { border-color: var(--ink-300); }
html[data-theme="dark"] .price-card {
  background: var(--bg-card);
  border-color: var(--ink-300);
}
html[data-theme="dark"] .price-popular-badge {
  background: var(--blue-600);
  color: #FFFFFF;
}
html[data-theme="dark"] .price-cta-secondary {
  background: var(--bg-page);
  border-color: var(--ink-300);
  color: #D6DFEE;
}
html[data-theme="dark"] .price-cta-secondary:hover {
  background: var(--blue-600);
  color: #FFFFFF;
  border-color: var(--blue-600);
}

/* Site footer */
html[data-theme="dark"] .site-footer {
  background: var(--ink-50) !important;
  border-top: 1px solid var(--ink-300);
}
html[data-theme="dark"] .footer-link { color: var(--ink-500); }
html[data-theme="dark"] .footer-link:hover { color: #EAF0FA; }
html[data-theme="dark"] .footer-col-title { color: var(--ink-900); }
html[data-theme="dark"] .footer-brand-blurb { color: var(--ink-500); }
html[data-theme="dark"] .footer-coat-card {
  background: var(--bg-card);
  border-color: var(--ink-300);
}
html[data-theme="dark"] .footer-bottom-sep { background: var(--ink-300); }

/* CTA grad-bar (часто яркая полоса) */
html[data-theme="dark"] .cta-grad-bar {
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-subtle) 100%) !important;
  border-color: var(--ink-300);
}

/* hsearch — большой блок поиска hero */
html[data-theme="dark"] .hsearch-wrap {
  background: var(--bg-card);
  border-color: var(--ink-300);
}
html[data-theme="dark"] .hsearch-tab {
  background: var(--bg-page);
  border-color: var(--ink-300);
  color: var(--ink-700);
}
html[data-theme="dark"] .hsearch-bar {
  background: var(--bg-page);
  border-color: var(--ink-300);
}
html[data-theme="dark"] .hsearch-input { background: transparent; color: var(--ink-900); }
html[data-theme="dark"] .hsearch-input::placeholder { color: var(--ink-500); }
html[data-theme="dark"] .hsearch-type-menu,
html[data-theme="dark"] .hsearch-drop {
  background: var(--bg-card);
  border-color: var(--ink-300);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}
html[data-theme="dark"] .hsearch-type-item:hover,
html[data-theme="dark"] .hsearch-drop-row:hover {
  background: rgba(255, 255, 255, 0.04);
}

/* Src-cards (партнёрская секция PCB) */
html[data-theme="dark"] .src-card {
  background: var(--bg-card);
  border-color: var(--ink-300);
}
html[data-theme="dark"] .partnet-section .src-card {
  background: rgba(17, 26, 46, 0.92);
  border-color: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .partnet-section .src-card .name { color: #EAF0FA; }
html[data-theme="dark"] .partnet-section .src-card .full { color: rgba(234, 240, 250, 0.6); }
/* Гербы — на светлой подложке, чтобы тёмные элементы не терялись. */
html[data-theme="dark"] .partnet-section .src-card .emblem {
  width: 48px; height: 48px;
  background: #ffffff;
}
html[data-theme="dark"] .partnet-section .src-card .emblem img { width: 40px; height: 40px; }
html[data-theme="dark"] .info-strip {
  background: var(--bg-card);
  border-color: var(--ink-300);
}

/* Mesh-bg — приглушаем (на тёмном слишком ярко) */
html[data-theme="dark"] .mesh-bg { opacity: 0.45; }
html[data-theme="dark"] .net-bg-grid {
  background-image: radial-gradient(circle, rgba(244, 244, 245, 0.06) 1px, transparent 1px);
}
html[data-theme="dark"] .net-bg-aurora { opacity: 0.4; mix-blend-mode: screen; }
html[data-theme="dark"] .hero-wrap::before { opacity: 0.55; }

/* Stats section */
html[data-theme="dark"] .stats-section {
  background: var(--bg-card);
  border-color: var(--ink-300);
}


/* ══════════════════════════════════════════════════════════════
   DARK — ДОПОЛНИТЕЛЬНОЕ покрытие всех светлых фонов home.css
   (Apple-Dark, var(--bg-page) base)
   ══════════════════════════════════════════════════════════════ */

/* Все секции лендинга — наследуют фон страницы */
html[data-theme="dark"] body,
html[data-theme="dark"] .container { background: var(--bg-page) !important; }

html[data-theme="dark"] .hero-wrap,
html[data-theme="dark"] section.section-pad,
html[data-theme="dark"] section.section-pad-sm,
html[data-theme="dark"] .partnet-section,
html[data-theme="dark"] .stats-section,
html[data-theme="dark"] .stats-strip,
html[data-theme="dark"] .how-section,
html[data-theme="dark"] .pricing-section,
html[data-theme="dark"] .faq-section,
html[data-theme="dark"] .contacts-section,
html[data-theme="dark"] .sources-section,
html[data-theme="dark"] .trust-strip,
html[data-theme="dark"] .info-strip {
  background: var(--bg-page) !important;
}

/* svc-card / price-card / hsearch / how-step / chip-examples и все карточки */
html[data-theme="dark"] .svc-card,
html[data-theme="dark"] .svc-card-arr,
html[data-theme="dark"] .price-card,
html[data-theme="dark"] .price-cta-secondary,
html[data-theme="dark"] .hsearch-wrap,
html[data-theme="dark"] .hsearch-bar,
html[data-theme="dark"] .hsearch-tab,
html[data-theme="dark"] .hsearch-tab.is-active,
html[data-theme="dark"] .hsearch-drop,
html[data-theme="dark"] .hsearch-type-menu,
html[data-theme="dark"] .how-step,
html[data-theme="dark"] .trust-wrap,
html[data-theme="dark"] .footer-coat-card,
html[data-theme="dark"] .info-strip,
html[data-theme="dark"] .stats-section,
html[data-theme="dark"] .src-card,
html[data-theme="dark"] .src-more-pill,
html[data-theme="dark"] .bp-nav-dd,
html[data-theme="dark"] .hero-eyebrow-shield,
html[data-theme="dark"] .hero-hint-link {
  background: var(--bg-card) !important;
  border-color: var(--ink-300) !important;
  color: var(--ink-900);
}

/* Hover-состояния (не теряют тёмный фон) */
html[data-theme="dark"] .svc-card:hover,
html[data-theme="dark"] .price-card:hover,
html[data-theme="dark"] .how-step:hover,
html[data-theme="dark"] .hero-hint-link:hover,
html[data-theme="dark"] .src-more-pill:hover {
  background: var(--ink-100) !important;
  border-color: var(--ink-400) !important;
}

/* svc-card-arr — кнопка-стрелка в карточке сервиса */
html[data-theme="dark"] .svc-card-arr {
  background: var(--bg-page) !important;
  color: var(--brand-500) !important;
}
html[data-theme="dark"] .svc-card:hover .svc-card-arr {
  background: var(--brand-600) !important;
  color: #FFFFFF !important;
  border-color: var(--brand-600) !important;
}

/* Линейные градиенты с белым → тёмный card */
html[data-theme="dark"] [style*="linear-gradient(180deg, #FFFFFF"],
html[data-theme="dark"] [style*="linear-gradient(180deg, #fff"],
html[data-theme="dark"] [style*="linear-gradient(180deg,#FFFFFF"],
html[data-theme="dark"] [style*="linear-gradient(180deg,#fff"] {
  background: var(--bg-card) !important;
}

/* Footer лендинга */
html[data-theme="dark"] .site-footer,
html[data-theme="dark"] footer.site-footer {
  background: #0F2E63 !important;
  border-top: 1px solid var(--ink-300) !important;
}
html[data-theme="dark"] .footer-link { color: var(--ink-500); }
html[data-theme="dark"] .footer-link:hover { color: var(--brand-500); }
html[data-theme="dark"] .footer-col-title { color: var(--ink-900); }
html[data-theme="dark"] .footer-brand-blurb { color: var(--ink-500); }
html[data-theme="dark"] .footer-bottom-sep { background: var(--ink-300); }

/* Tabs в hsearch */
html[data-theme="dark"] .hsearch-tab { color: var(--ink-600); }
html[data-theme="dark"] .hsearch-tab.is-active {
  background: var(--ink-200) !important;
  color: var(--ink-900);
  border-color: var(--ink-400);
}

/* Inputs / search bars */
html[data-theme="dark"] .hsearch-input,
html[data-theme="dark"] .hsearch-input input {
  background: transparent;
  color: var(--ink-900);
}
html[data-theme="dark"] .hsearch-input::placeholder,
html[data-theme="dark"] .hsearch-input input::placeholder {
  color: var(--ink-500);
}

/* Partnet PCB section / detailed elements */
html[data-theme="dark"] .partnet-section .board,
html[data-theme="dark"] .partnet-section .chip,
html[data-theme="dark"] .partnet-section .src-card,
html[data-theme="dark"] .partnet-section .search-row,
html[data-theme="dark"] .partnet-section .tab.active,
html[data-theme="dark"] .partnet-section .sources-pill-row,
html[data-theme="dark"] .partnet-section .chip-led {
  background: var(--bg-card) !important;
  border-color: var(--ink-300) !important;
  color: var(--ink-800);
}

html[data-theme="dark"] .partnet-section .src-card:hover,
html[data-theme="dark"] .partnet-section .src-card.done {
  background: var(--ink-100) !important;
}

/* Mesh-bg dot-grid */
html[data-theme="dark"] .net-bg-grid {
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px) !important;
}

/* Hero подложка — без светлых паттернов */
html[data-theme="dark"] .hero-wrap::before { opacity: 0 !important; }

/* CTA-grad-bar (часто яркая полоса) — приглушаем */
html[data-theme="dark"] .cta-grad-bar {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-subtle) 100%) !important;
  border-color: var(--ink-300) !important;
}

/* SECTION-фон inline через JSX (если остался #fff hardcoded в DOM) */
html[data-theme="dark"] section[style*="background:#fff"],
html[data-theme="dark"] section[style*="background: #fff"],
html[data-theme="dark"] section[style*="background:#FFFFFF"],
html[data-theme="dark"] section[style*="background: #FFFFFF"] {
  background: var(--bg-page) !important;
}

/* ─── Hero · компактная шапка (заголовок над платой) ──────────
   Меньше кегль и отступы: заголовок занимает ~2 строки по 40px,
   плата с источниками поднимается выше в первый экран. */
.hero-wrap { padding-top: 20px; }
.hero-wrap .hero-head .hero-eyebrow-plain {
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12.5px;
}

.hero-wrap .hero-head .hero-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}
.hero-wrap .hero-head .hero-desc {
  margin: 0 0 20px;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   Палитра: синий акцент + крупный заголовок hero во всю ширину
   ══════════════════════════════════════════════════════════════ */
:root {
  --acc:        #2563EB;
  --acc-700:    #1D4ED8;
  --acc-50:     #EFF6FF;
  --ink-strong: #0B1220;
}

.hero-wrap .hero-head .hero-title {
  margin: 0 0 14px;
  max-width: none;
  font-size: clamp(30px, 3.6vw, 56px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
}
.hero-wrap .hero-head .hero-title .hl-blue { color: var(--acc); }
.hero-wrap .hero-head .hero-desc {
  margin: 0 0 24px;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.55;
  color: #3F3F46;
}
.hero-wrap .hero-head .hero-desc strong,
.hero-wrap .hero-head .hero-desc .hl-wavy { color: var(--ink-strong); font-weight: 600; }

/* ══════════════════════════════════════════════════════════════
   Сервисы — редакционная сетка: общая рамка, ячейки разделены
   волосяными линиями, у каждой — номер и тег-категория. Слева
   главная тёмная ячейка на две строки. Теги совпадают со словами,
   выделенными в подзаголовке. Радиусы через !important (глобально
   *{border-radius:4px !important}).
   ══════════════════════════════════════════════════════════════ */
.hero-services { padding-top: 64px; width: 100%; }

/* Шапка: заголовок слева, подзаголовок справа, по базовой линии */
.svc2-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 56px;
  margin: 0 0 32px;
  text-align: left;
}
.svc2-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--acc);
}
.svc2-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.svc2-kicker-n { color: #A1A1AA; font-weight: 500; }
.svc2-h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
  text-wrap: balance;
}
.svc2-sub {
  margin: 0;
  max-width: 460px;
  font-size: 18px;
  line-height: 1.55;
  color: #52525B;
}
/* Ключевые слова — маркер под нижней половиной строки */
.svc2-hl {
  font-weight: 700;
  color: var(--ink-strong);
  background: linear-gradient(transparent 55%, color-mix(in srgb, var(--acc) 30%, transparent) 55%);
  padding: 0 2px;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* Сетка: одна рамка, внутри линии через gap + фон */
.svc2-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: minmax(236px, auto);
  gap: 1px;
  width: 100%;
  background: #E4E4E7;
  border: 1px solid #E4E4E7;
  border-radius: 20px !important;
  overflow: hidden;
}
.svc2 {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px 26px 22px;
  background: #FFFFFF;
  color: inherit;
  text-decoration: none;
  border-radius: 0 !important;
  transition: background 240ms var(--ease-out);
}
/* Акцентная полоса сверху — проявляется при наведении */
.svc2::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--acc);
  transform: scaleX(0); transform-origin: left;
  transition: transform 320ms var(--ease-out);
}
.svc2:hover { background: #FAFAFA; text-decoration: none; }
.svc2:hover::before { transform: scaleX(1); }
.svc2:focus-visible { outline: 2px solid var(--acc); outline-offset: -2px; }

.svc2-top { display: flex; align-items: center; gap: 12px; }
.svc2-idx {
  font-size: 13px; font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #A1A1AA;
}
.svc2-tag {
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--acc);
}
.svc2-ico { margin-left: auto; display: grid; place-items: center; }

.svc2-body { flex: 1; }
.svc2-title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
}
.svc2-desc { margin: 0; max-width: 340px; font-size: 15px; line-height: 1.5; color: #52525B; }

.svc2-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.svc2-meta { font-size: 13px; line-height: 1.3; color: #71717A; }
.svc2-meta b {
  display: block;
  margin-bottom: 2px;
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1;
  color: var(--ink-strong);
  font-variant-numeric: tabular-nums;
}
.svc2-arr {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--ink-strong);
  white-space: nowrap;
  transition: color 240ms var(--ease-out);
}
.svc2:hover .svc2-arr { color: var(--acc); }
.svc2-arr svg { transition: transform 240ms var(--ease-out); }
.svc2:hover .svc2-arr svg { transform: translateX(4px); }

/* Главная ячейка — тёмная, на две строки */
.svc2--lead {
  grid-row: span 2;
  padding: 32px;
  color: #FFFFFF;
  background:
    radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--acc) 45%, transparent) 0%, transparent 70%),
    var(--ink-strong);
}
.svc2--lead:hover {
  background:
    radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--acc) 60%, transparent) 0%, transparent 70%),
    var(--ink-strong);
}
.svc2--lead .svc2-idx { color: rgba(255, 255, 255, 0.45); }
.svc2--lead .svc2-tag { color: #FFFFFF; }
.svc2--lead .svc2-ico {
  width: 52px; height: 52px;
  background: #FFFFFF;
  border-radius: 14px !important;
}
.svc2--lead .svc2-body { display: flex; flex-direction: column; justify-content: flex-end; }
.svc2--lead .svc2-title { font-size: clamp(28px, 2.6vw, 36px); font-weight: 800; letter-spacing: -0.03em; color: #FFFFFF; }
.svc2--lead .svc2-desc { max-width: 380px; font-size: 16px; color: rgba(255, 255, 255, 0.7); }
.svc2--lead .svc2-foot { flex-direction: column; align-items: stretch; gap: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.svc2--lead .svc2-meta { font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.svc2--lead .svc2-meta b { display: inline; margin: 0 6px 0 0; font-size: 40px; color: #FFFFFF; }
.svc2--lead .svc2-arr {
  justify-content: center;
  height: 50px;
  font-size: 15px;
  color: #FFFFFF;
  background: var(--acc);
  border-radius: 12px !important;
  transition: background 240ms var(--ease-out);
}
.svc2--lead:hover .svc2-arr { color: #FFFFFF; background: var(--acc-700); }

/* Тёмная тема */
html[data-theme="dark"] .svc2-grid { background: var(--ink-200); border-color: var(--ink-200); }
html[data-theme="dark"] .svc2:not(.svc2--lead) { background: var(--bg-card); }
html[data-theme="dark"] .svc2:not(.svc2--lead):hover { background: var(--ink-100); }
html[data-theme="dark"] .svc2-h2,
html[data-theme="dark"] .svc2-hl,
html[data-theme="dark"] .svc2-title,
html[data-theme="dark"] .svc2-meta b,
html[data-theme="dark"] .svc2-arr { color: var(--ink-900); }
html[data-theme="dark"] .svc2-sub,
html[data-theme="dark"] .svc2-desc { color: var(--ink-600); }
html[data-theme="dark"] .svc2-kicker,
html[data-theme="dark"] .svc2:not(.svc2--lead) .svc2-tag { color: var(--brand-700); }
html[data-theme="dark"] .svc2-meta,
html[data-theme="dark"] .svc2-kicker-n,
html[data-theme="dark"] .svc2-idx { color: var(--ink-500); }
html[data-theme="dark"] .svc2::before { background: var(--brand-700); }
html[data-theme="dark"] .svc2--lead .svc2-title,
html[data-theme="dark"] .svc2--lead .svc2-meta b,
html[data-theme="dark"] .svc2--lead .svc2-arr { color: #FFFFFF; }

@media (max-width: 1023px) {
  .svc2-head { grid-template-columns: 1fr; align-items: start; }
  .svc2-grid { grid-template-columns: 1fr 1fr; }
  .svc2--lead { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 640px) {
  .hero-services { padding-top: 44px; }
  .svc2-head { margin-bottom: 24px; gap: 14px; }
  .svc2-h2 { font-size: 30px; }
  .svc2-sub { font-size: 16px; }
  .svc2-grid { grid-template-columns: 1fr; grid-auto-rows: auto; border-radius: 16px !important; }
  .svc2--lead { grid-column: auto; padding: 24px; }
  .svc2 { padding: 22px 20px 20px; }
  .svc2-title { font-size: 20px; }
  .svc2--lead .svc2-title { font-size: 28px; }
  .svc2--lead .svc2-meta b { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .svc2, .svc2::before, .svc2-arr, .svc2-arr svg { transition: none; }
}

/* Единые мягкие скругления на плате (как у карточек сервисов) */
.hero-wrap .partnet-section .src-card { border-radius: 14px !important; }
.hero-wrap .partnet-section .src-card .qmark,
.hero-wrap .partnet-section .src-card .dot { border-radius: 999px !important; }
.hero-wrap .partnet-section .chip { border-radius: 22px !important; }
.hero-wrap .partnet-section .chip-led,
.hero-wrap .partnet-section .ex-chip,
.hero-wrap .hero-scroll-hint { border-radius: 999px !important; }
.hero-wrap .partnet-section .tabs { border-radius: 12px !important; }
.hero-wrap .partnet-section .tab  { border-radius: 9px !important; }
.hero-wrap .partnet-section .search-row { border-radius: 14px !important; }
.hero-wrap .partnet-section .find-btn { border-radius: 10px !important; }

/* ══════════════════════════════════════════════════════════════
   Карточка поиска (центр платы) — чистый «продуктовый» вид:
   шапка «Поиск компании · 11 источников онлайн», крупное поле
   на светлой подложке и сплошная синяя кнопка.
   ══════════════════════════════════════════════════════════════ */
.hero-wrap .partnet-section .chip {
  padding: 20px 22px 18px;
  background: #FFFFFF;
  border: 1px solid #E3E9F4;
  border-radius: 24px !important;
  box-shadow:
    0 0 0 6px rgba(37, 99, 235, 0.05),
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 28px 60px -30px rgba(37, 99, 235, 0.45);
}
.hero-wrap .partnet-section .chip.scanning {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow:
    0 0 0 6px rgba(37, 99, 235, 0.12),
    0 28px 60px -30px rgba(37, 99, 235, 0.6);
}
.hero-wrap .partnet-section .chip::before { display: none; }
.chip-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.chip-head-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-strong);
}
.chip-head-ico {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  color: var(--acc);
  background: var(--acc-50);
  border-radius: 9px !important;
}
.chip-head-ico svg { width: 16px; height: 16px; }
.chip-head-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 500;
  color: #047857;
  background: #ECFDF5;
  border-radius: 999px !important;
  white-space: nowrap;
}
.chip-head-live i {
  width: 7px; height: 7px;
  background: #10B981;
  border-radius: 999px !important;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  animation: chipLive 2s ease-out infinite;
}
@keyframes chipLive {
  0%   { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.hero-wrap .partnet-section .search-row {
  padding: 6px 6px 6px 16px;
  background: #F4F7FC;
  border: 1.5px solid transparent;
  border-radius: 16px !important;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hero-wrap .partnet-section .search-row.focused {
  background: #FFFFFF;
  border-color: var(--acc);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.hero-wrap .partnet-section .search-row input { font-size: 15px; padding: 12px 6px; color: var(--ink-strong); }
.hero-wrap .partnet-section .search-row input::placeholder { color: #8A94A6; }
.hero-wrap .partnet-section .find-btn {
  padding: 12px 26px;
  font-size: 14.5px;
  font-weight: 600;
  background: var(--acc);
  border-radius: 12px !important;
  box-shadow: 0 10px 20px -10px rgba(37, 99, 235, 0.7);
}
.hero-wrap .partnet-section .find-btn:hover:not(:disabled) { background: var(--acc-700); filter: none; }
.hero-wrap .partnet-section .find-btn:disabled { opacity: 0.8; box-shadow: none; }
.hero-wrap .partnet-section .examples { margin-top: 14px; }
.hero-wrap .partnet-section .ex-label { color: #8A94A6; }
.hero-wrap .partnet-section .ex-chip {
  background: #F4F7FC;
  border-color: transparent;
  color: #334155;
  border-radius: 999px !important;
}
.hero-wrap .partnet-section .ex-chip:hover { background: #FFFFFF; border-color: var(--acc); color: var(--acc); }
@media (max-width: 560px) {
  .chip-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ══════════════════════════════════════════════════════════════
   Түндүк — бледный водяной знак за карточкой поиска (классическая
   плата: источники слева/справа с дорожками, поиск в центре).
   ══════════════════════════════════════════════════════════════ */
.hero-wrap .partnet-section .corner-dot { display: none; }
.tdk {
  position: absolute;
  left: 50%;
  top: 50%;
  --tx: 0; --ty: 0;
  /* лёгкий 3D-наклон за курсором (переменные ставит TundukOrbit) */
  transform: translate(-50%, -50%) perspective(1100px)
             rotateY(calc(var(--tx) * 3deg)) rotateX(calc(var(--ty) * -3deg));
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 86%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 86%, transparent 100%);
}
.tdk-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tdk-bold { stroke: #3B82F6; stroke-opacity: .55; stroke-width: 2; }
.tdk-thin { stroke: #3B82F6; stroke-opacity: .32; stroke-width: 1; }
.tdk-edge { stroke: #3B82F6; stroke-opacity: .5;  stroke-width: 1.5; }
.tdk-axis { stroke: #93C5FD; stroke-opacity: .7;  stroke-width: 1; stroke-dasharray: 2 7; stroke-linecap: round; }
.tdk-ray  { stroke: #3B82F6; stroke-opacity: .38; stroke-width: 1.3; stroke-linejoin: round; fill: rgba(219, 234, 254, .45); }
.tdk-tip  { fill: #60A5FA; fill-opacity: .55; }
.tdk-dots { stroke: #93C5FD; stroke-width: 1.4; stroke-dasharray: 1.5 11; stroke-linecap: round; }
.tdk-rays {
  transform-box: view-box;
  transform-origin: 500px 500px;
  animation: tdkSpin 480s linear infinite;
}
@keyframes tdkSpin { to { transform: rotate(360deg); } }
.tdk.is-scanning .tdk-rays { animation-duration: 90s; }
.tdk.is-scanning .tdk-bold { stroke-opacity: .85; }

.hero-wrap .partnet-section .board { min-height: 720px; }
/* карточка поиска внутри обода түндүк: полупрозрачная, сквозь неё
   угадываются уук; мягкое кольцо-«шайба» вокруг */
.hero-wrap .partnet-section .chip {
  width: var(--chip-w, 420px);
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  border-color: rgba(59, 130, 246, 0.22);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.55),
    0 0 0 11px rgba(59, 130, 246, 0.12),
    0 26px 50px -26px rgba(37, 99, 235, 0.45);
}
.hero-wrap .partnet-section .chip-head { margin-bottom: 12px; }
.hero-wrap .partnet-section .chip-head-live { font-size: 12px; padding: 4px 9px; }
.hero-wrap .partnet-section .examples .ex-label { display: none; }
.hero-wrap .partnet-section .ex-chip { font-size: 12px; padding: 5px 10px; }
.hero-wrap .partnet-section .examples { flex-wrap: nowrap; justify-content: center; gap: 6px; }
.hero-wrap .partnet-section .ex-chip { font-size: 12.5px; padding: 5px 11px; }
.hero-wrap { padding-top: 12px; }
.hero-wrap .hero-head .hero-title { margin-bottom: 10px; }
.hero-wrap .hero-head .hero-desc { margin-bottom: 20px; }

@media (max-width: 900px) {
  .tdk { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tdk-rays { animation: none; }
}
.hero-wrap .partnet-section .search-row input { font-size: 14px; }
.chip-head-title, .chip-head-live, .hero-wrap .partnet-section .ex-chip { white-space: nowrap; }

/* ─── Источники по дуге вокруг түндүк + компактный поиск ─── */
.hero-wrap .partnet-section .src-card {
  transform: translateX(var(--arc-x, 0px));
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.hero-wrap .partnet-section .src-card:hover    { transform: translateX(var(--arc-x, 0px)) translateY(-2px); }
.hero-wrap .partnet-section .src-card.scanning { transform: translateX(var(--arc-x, 0px)) scale(1.04); }
.hero-wrap .partnet-section .chip { padding: 14px 14px 12px; }
.hero-wrap .partnet-section .chip-head { justify-content: center; margin-bottom: 10px; }
.hero-wrap .partnet-section .chip-head-title { font-size: 14px; }
.hero-wrap .partnet-section .search-row { padding: 4px 4px 4px 12px; }
.hero-wrap .partnet-section .search-row input { font-size: 13.5px; padding: 9px 4px; }
.hero-wrap .partnet-section .find-btn { padding: 9px 18px; font-size: 13.5px; }
.hero-wrap .partnet-section .examples { margin-top: 10px; }
.hero-wrap .partnet-section .ex-chip { font-size: 11.5px; padding: 4px 9px; }

/* ─── Полировка первого экрана ─── */
/* влезает в 1440×900: плата ниже, карточки компактнее */
.hero-wrap .partnet-section .board { min-height: 600px; }
.hero-wrap .partnet-section .rail { gap: 8px; }
.hero-wrap .partnet-section .src-card { height: 58px; padding-top: 6px; padding-bottom: 6px; }
.hero-wrap .partnet-section .src-card .emblem,
.hero-wrap .partnet-section .src-card .emblem img { width: 40px; height: 40px; }
.hero-wrap .hero-head .hero-desc { margin-bottom: 4px; }
.hero-wrap .hero-head .hero-desc strong { color: var(--ink-strong); font-weight: 600; }
.hero-fold { padding-bottom: 64px; }

/* «?» — только при наведении на карточку (меньше шума) */
.hero-wrap .partnet-section .src-card .qmark { opacity: 0; transition: opacity .2s ease; }
.hero-wrap .partnet-section .src-card:hover .qmark,
.hero-wrap .partnet-section .src-card .qmark:focus-visible { opacity: 1; }
.hero-wrap .partnet-section .src-card { padding-right: 12px; }

/* «Найти» — уверенная синяя кнопка и до ввода текста */
.hero-wrap .partnet-section .find-btn:disabled { opacity: .75; cursor: default; }

/* строка доверия под платой */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #475569;
}
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust-ico {
  display: grid; place-items: center;
  width: 20px; height: 20px;
  font-size: 11px; font-weight: 700;
  color: #2563EB;
  background: #EFF6FF;
  border-radius: 999px !important;
}
@media (max-width: 900px) { .hero-trust { font-size: 13px; gap: 6px 16px; margin-top: 20px; } }

/* ─── «Космос» вокруг түндүк (StarField) ─── */
.hero-wrap .partnet-section .stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  -webkit-mask-image: radial-gradient(75% 80% at 50% 50%, #000 65%, transparent 100%);
          mask-image: radial-gradient(75% 80% at 50% 50%, #000 65%, transparent 100%);
}
/* нейтральные серо-голубые тона — фон не отвлекает */
.star-dot { fill: #CBD5E1; animation: starTwinkle 5s ease-in-out infinite; }
.star-dot:nth-child(3n) { fill: #94A3B8; }
@keyframes starTwinkle { 0%, 100% { opacity: .25; } 50% { opacity: .75; } }
.star-spark {
  fill: #CBD5E1;
  opacity: .6;
  animation: starPulse 7s ease-in-out infinite;
}
@keyframes starPulse {
  0%, 100% { transform: scale(.6) rotate(0deg);  opacity: .3; }
  50%      { transform: scale(1)  rotate(45deg); opacity: .7; }
}
.star-shoot {
  stroke: #CBD5E1;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-dasharray: 40 400;
  stroke-dashoffset: 40;
  opacity: 0;
  animation: starShoot 9s ease-in 2s infinite;
}
.star-shoot--2 { animation-delay: 6.5s; animation-duration: 11s; }
@keyframes starShoot {
  0%   { stroke-dashoffset: 40;   opacity: 0; }
  2%   { opacity: .9; }
  8%   { stroke-dashoffset: -100; opacity: 0; }
  100% { stroke-dashoffset: -100; opacity: 0; }
}
@media (max-width: 900px) { .hero-wrap .partnet-section .stars { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .star-dot, .star-spark { animation: none; }
  .star-shoot { display: none; }
}
/* поле внутри поиска без собственной рамки — фокус показывает .search-row */
.hero-wrap .partnet-section .search-row input,
.hero-wrap .partnet-section .search-row input:focus,
.hero-wrap .partnet-section .search-row input:focus-visible {
  outline: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* ─── Заголовок hero v2: бейдж + два уровня текста ─── */
.hero-wrap { padding-top: 40px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 18px;
  padding: 5px 14px 5px 6px;
  font-size: 13px; font-weight: 500;
  color: #334155;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 999px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hero-badge b {
  padding: 2px 8px;
  font-size: 11.5px; font-weight: 600; letter-spacing: .02em;
  color: #FFFFFF;
  background: #2563EB;
  border-radius: 999px !important;
}
.hero-wrap .hero-head .hero-title {
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.035em;
}
.hero-wrap .hero-head .hero-title .hl-blue {
  color: transparent;
  background: linear-gradient(90deg, #1D4ED8 0%, #3B82F6 100%);
  -webkit-background-clip: text;
          background-clip: text;
}
.hero-wrap .hero-head .hero-desc {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.55;
  color: #475569;
}
.hero-wrap .hero-head .hero-desc strong { color: #0B1220; font-weight: 600; }
/* уплотнение, чтобы первый экран влезал в 900px */
.hero-wrap { padding-top: 22px; }
.hero-badge { margin-bottom: 12px; }
.hero-wrap .partnet-section .board { min-height: 560px; }
.hero-fold { padding-bottom: 56px; }

/* ─── Типографика в стиле orqun.kg (Inter) + фон #F5F7FA ─── */
body { background: #F5F7FA; }
.hero-wrap { padding-top: 36px; }
.hero-wrap .hero-head .hero-title {
  margin: 0 0 16px;
  font-family: 'Inter', 'Onest', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 54px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #1F1F1F;
}
/* выделение — белый текст на синей плашке (как красная плашка у orqun) */
.hero-wrap .hero-head .hero-title .hl-blue {
  display: inline-block;
  padding: 0 14px 4px;
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  background: #2563EB;
  -webkit-background-clip: border-box;
          background-clip: border-box;
  border-radius: 14px !important;
  transform: rotate(-1deg);
}
.hero-wrap .hero-head .hero-desc {
  max-width: 600px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: #4B5563;
}
.hero-wrap .hero-head .hero-desc strong { color: #1F1F1F; font-weight: 600; }
.chip-head-title { font-weight: 800; letter-spacing: 0; color: #1F1F1F; }
.hero-wrap .partnet-section .src-card .name { font-weight: 700; letter-spacing: 0; color: #1F1F1F; }
.hero-wrap .partnet-section .src-card .full { font-weight: 400; color: #6B7280; }
.svc2-h2, .svc2--lead .svc2-title { font-weight: 800; letter-spacing: -0.01em; }
.svc2-title { font-weight: 700; letter-spacing: 0; }
/* фон страницы светло-серый → белые карточки и поиск отделяются */
.tdk-svg circle[fill="#FFFFFF"] { fill: #FFFFFF; }

/* «за секунды» — просто синим, без плашки */
.hero-wrap .hero-head .hero-title .hl-blue {
  display: inline;
  padding: 0;
  color: #2563EB;
  -webkit-text-fill-color: #2563EB;
  background: none;
  transform: none;
}

/* «Поиск компании» — отдельная карточка-ярлык над поиском */
.hero-wrap .partnet-section .chip { overflow: visible; }
.hero-wrap .partnet-section .chip-head {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  transform: translateX(-50%);
  margin: 0;
  padding: 8px 16px;
  background: #FFFFFF;
  border: 1px solid #E3E9F4;
  border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 20px -12px rgba(37, 99, 235, 0.35);
  white-space: nowrap;
}
.hero-wrap .partnet-section .chip-head-title { font-size: 13.5px; }
.hero-wrap .partnet-section .chip { padding-top: 14px; padding-bottom: 14px; }

/* карточки источников — меньший радиус */
.hero-wrap .partnet-section .src-card { border-radius: 8px !important; }
.hero-wrap .partnet-section .src-card .emblem,
.hero-wrap .partnet-section .src-card .emblem img { border-radius: 999px !important; }

/* ══════════════════════════════════════════════════════════════
   Светлый «космос» на первом экране главной (html.page-space):
   нежный голубо-лавандовый градиент сверху, редкие серые звёзды,
   тонкие орбиты вокруг түндүк. Карточки и поиск — белые.
   ══════════════════════════════════════════════════════════════ */
html.page-space .hero-wrap { margin-top: -72px; padding-top: calc(72px + 22px); }
.space-bg {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: max(980px, calc(100svh + 160px));
  z-index: 0;
  pointer-events: none;
  /* один холодный оттенок: сверху глубже, книзу в фон страницы; редкие звёзды */
  background:
    radial-gradient(1.4px 1.4px at 30px 40px,  rgba(30,58,138,.35), transparent 60%) 0 0 / 280px 240px,
    radial-gradient(1px 1px at 160px 130px,    rgba(30,58,138,.25), transparent 60%) 0 0 / 360px 310px,
    linear-gradient(180deg, #DCE6F7 0%, #E6EDF9 45%, #EEF2F9 75%, #F5F7FA 100%);
}
.space-bg::after { content: none; }
/* без белого «облака» за түндүк */
html.page-space #tdkGlow stop { stop-opacity: 0; }
html.page-space .hero-wrap .partnet-section .src-card { border-color: #E2E8F0; box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -16px rgba(30,58,138,.35); }
html.page-space .hero-wrap .hero-head .hero-title .hl-blue {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: linear-gradient(90deg, #1D4ED8 0%, #3B82F6 100%);
  -webkit-background-clip: text;
          background-clip: text;
}
html.page-space .star-dot, html.page-space .star-spark { fill: #94A3B8; }
html.page-space .star-dot:nth-child(4n) { fill: #A5B4FC; }

/* фон первого экрана — чистый #F5F7FA (как в одобренной версии) */
.space-bg { display: none; }
html.page-space #tdkGlow stop:nth-child(1) { stop-color: #EFF6FF; stop-opacity: 1; }
html.page-space #tdkGlow stop:nth-child(2) { stop-color: #F5F9FF; stop-opacity: 1; }
html.page-space #tdkGlow stop:nth-child(3) { stop-opacity: 0; }

/* «Поиск компании» — просто текст, без карточки; поиск — без внешней карточки */
.hero-wrap .partnet-section .chip-head,
html.page-space .hero-wrap .partnet-section .chip-head {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  bottom: calc(100% + 10px);
}
.hero-wrap .partnet-section .chip-head-title { font-size: 15px; font-weight: 700; color: #1F1F1F; }
.hero-wrap .partnet-section .chip,
.hero-wrap .partnet-section .chip.scanning {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
          backdrop-filter: none;
}
.hero-wrap .partnet-section .chip::before { display: none; }
.hero-wrap .partnet-section .search-row {
  background: #FFFFFF;
  border: 1px solid #DCE3EE;
  box-shadow: 0 1px 2px rgba(15,23,42,.04), 0 14px 32px -18px rgba(37,99,235,.45);
}

/* ─── Голубоватый фон + чистая зона под поиском ─── */
body { background: #EAF0FA; }
html.page-space .bp-header.bp-header-v4.is-scrolled { background: rgba(234, 240, 250, 0.88); }
/* внутренний диск түндүк — под цвет фона, чтобы не было «белой дыры» */
html.page-space .tdk-svg circle[fill="#FFFFFF"] { fill: #F4F8FE; }
html.page-space .tdk-svg circle[stroke="#FFFFFF"] { stroke: #F4F8FE; }

/* под заголовком и полем — мягкое светлое пятно, уук не лезут под текст */
.hero-wrap .partnet-section .chip { isolation: isolate; }
.hero-wrap .partnet-section .chip::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 130%; height: 260%;
  transform: translate(-50%, -58%);
  z-index: -1;
  background: radial-gradient(closest-side, #F4F8FE 0%, #F4F8FE 55%, rgba(244, 248, 254, 0) 100%);
  border-radius: 999px !important;
  pointer-events: none;
}
.hero-wrap .partnet-section .chip-head,
html.page-space .hero-wrap .partnet-section .chip-head { bottom: calc(100% + 14px); }
.hero-wrap .partnet-section .chip-head-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #64748B;
}
.hero-wrap .partnet-section .search-row {
  padding: 5px 5px 5px 14px;
  border-radius: 14px !important;
  border-color: #D5DEEC;
}
.hero-wrap .partnet-section .find-btn { border-radius: 10px !important; padding: 10px 18px; }

/* ─── Мягкий «космос» в сине-голубых тонах (без фиолетового) ─── */
.space-bg {
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: max(980px, calc(100svh + 160px));
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(1.3px 1.3px at 30px 40px, rgba(30, 64, 175, .30), transparent 60%) 0 0 / 280px 240px,
    radial-gradient(1px 1px at 160px 130px,   rgba(30, 64, 175, .22), transparent 60%) 0 0 / 360px 310px,
    radial-gradient(60% 50% at 15% 0%,  rgba(59, 130, 246, .22), transparent 70%),
    radial-gradient(55% 45% at 88% 10%, rgba(14, 165, 233, .16), transparent 70%),
    radial-gradient(45% 40% at 50% 60%, rgba(96, 165, 250, .18), transparent 72%),
    linear-gradient(180deg, #D3E1F8 0%, #DFE8F8 40%, #E6EEFA 75%, #EAF0FA 100%);
}
.space-bg::after { content: none; }

/* «за секунды» — тем же цветом, что и заголовок */
.hero-wrap .hero-head .hero-title .hl-blue,
html.page-space .hero-wrap .hero-head .hero-title .hl-blue {
  color: #1F1F1F;
  -webkit-text-fill-color: #1F1F1F;
  background: none;
}

/* фон: спокойный холодный сине-серый градиент */
.space-bg {
  background:
    radial-gradient(1.3px 1.3px at 30px 40px, rgba(51, 65, 85, .28), transparent 60%) 0 0 / 280px 240px,
    radial-gradient(1px 1px at 160px 130px,   rgba(51, 65, 85, .20), transparent 60%) 0 0 / 360px 310px,
    radial-gradient(70% 55% at 50% 0%,  rgba(125, 160, 210, .30), transparent 72%),
    radial-gradient(45% 40% at 50% 60%, rgba(186, 206, 235, .35), transparent 72%),
    linear-gradient(180deg, #D9E2EF 0%, #E3E9F2 45%, #EBEFF5 80%, #EEF1F6 100%);
}
body { background: #EEF1F6; }
html.page-space .bp-header.bp-header-v4.is-scrolled { background: rgba(238, 241, 246, 0.88); }
html.page-space .tdk-svg circle[fill="#FFFFFF"],
html.page-space .tdk-svg circle[fill="#F4F8FE"] { fill: #F3F6FA; }
.hero-wrap .partnet-section .chip::after {
  background: radial-gradient(closest-side, #F3F6FA 0%, #F3F6FA 55%, rgba(243, 246, 250, 0) 100%);
}

/* белый фон первого экрана */
.space-bg { display: none !important; }
body { background: #FFFFFF; }
html.page-space .bp-header.bp-header-v4.is-scrolled { background: rgba(255, 255, 255, 0.9); }
html.page-space .tdk-svg circle[fill="#FFFFFF"],
html.page-space .tdk-svg circle[fill="#F4F8FE"],
html.page-space .tdk-svg circle[fill="#F3F6FA"] { fill: #FFFFFF; }
html.page-space .tdk-svg circle[stroke="#FFFFFF"] { stroke: #FFFFFF; }
.hero-wrap .partnet-section .chip::after {
  background: radial-gradient(closest-side, #FFFFFF 0%, #FFFFFF 55%, rgba(255, 255, 255, 0) 100%);
}

/* наклон түндүк за мышью — чуть сильнее */
.tdk {
  transform: translate(-50%, -50%) perspective(1100px)
             rotateY(calc(var(--tx) * 6deg)) rotateX(calc(var(--ty) * -6deg));
}

/* звёзды: строгие точки + тонкие линии-созвездия */
.hero-wrap .partnet-section .stars { opacity: 1; }
html.page-space .star-dot, .star-dot { fill: #64748B; animation: none; }
.star-dot.tw { animation: starTw 5s ease-in-out infinite; }
@keyframes starTw { 0%, 100% { opacity: .2; } 50% { opacity: .7; } }
.star-links line { stroke: #94A3B8; stroke-width: .7; stroke-opacity: .35; stroke-dasharray: 2 3; }
@media (prefers-reduced-motion: reduce) { .star-dot.tw { animation: none; } }
.star-links line { stroke: #94A3B8; stroke-width: .8; stroke-opacity: .55; }

/* ══════════════════════════════════════════════════════════════
   Фото-фон первого экрана (HeroPhotos): смена каждые 3с.
   Затемнение сверху (белый заголовок/шапка) и снизу (плавный уход
   в белый фон страницы); белые карточки на фото.
   ══════════════════════════════════════════════════════════════ */
.hero-photos {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: max(900px, calc(100svh + 40px));
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #1E293B;
}
.hero-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center 45%;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease, transform 7s ease-out;
}
.hero-photo.is-on { opacity: 1; transform: scale(1); }
.hero-photos-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 15, 30, .62) 0%, rgba(8, 15, 30, .30) 26%, rgba(8, 15, 30, .22) 55%, rgba(8, 15, 30, .45) 82%, rgba(255,255,255,0) 100%);
}
.hero-photos::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #FFFFFF);
}
.hero-photo-credit {
  position: absolute;
  right: 20px;
  top: calc(max(900px, calc(100svh + 40px)) - 150px);
  z-index: 3;
  padding: 4px 10px;
  font-size: 11px;
  color: rgba(255,255,255,.8);
  background: rgba(8,15,30,.35);
  border-radius: 999px !important;
  text-decoration: none;
}
.hero-photo-credit:hover { color: #FFFFFF; text-decoration: none; }

/* текст на фото */
html.page-space .hero-wrap .hero-head .hero-title,
html.page-space .hero-wrap .hero-head .hero-title .hl-blue { color: #FFFFFF; -webkit-text-fill-color: #FFFFFF; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
html.page-space .hero-wrap .hero-head .hero-desc { color: rgba(255,255,255,.88); text-shadow: 0 1px 12px rgba(0,0,0,.45); }
html.page-space .hero-wrap .hero-head .hero-desc strong { color: #FFFFFF; }
html.page-space .hero-wrap .partnet-section .chip-head-title { color: #FFFFFF; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
html.page-space .hero-wrap .partnet-section .chip::after { display: none; }
html.page-space .hero-wrap .partnet-section .stars { display: none; }
/* түндүк на фото — светлые линии, без белого диска */
html.page-space .tdk-svg circle[fill="#FFFFFF"] { fill: rgba(255,255,255,.10); }
html.page-space .tdk-svg circle[stroke="#FFFFFF"] { stroke: rgba(255,255,255,0); }
html.page-space .tdk-bold, html.page-space .tdk-edge { stroke: #FFFFFF; stroke-opacity: .75; }
html.page-space .tdk-thin, html.page-space .tdk-axis, html.page-space .tdk-dots { stroke: #FFFFFF; stroke-opacity: .45; }
html.page-space .tdk-ray { stroke: #FFFFFF; stroke-opacity: .6; fill: rgba(255,255,255,.12); }
html.page-space #tdkGlow stop { stop-opacity: 0 !important; }
html.page-space .pcb-svg path { stroke: rgba(255,255,255,.7) !important; }
html.page-space .hero-scroll-hint { color: #FFFFFF; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); }
@media (prefers-reduced-motion: reduce) { .hero-photo { transition: none; transform: none; } }

/* ══════════════════════════════════════════════════════════════
   На фото: источники и түндүк — матовое стекло (фото за ними
   размыто), светлые полупрозрачные цвета.
   ══════════════════════════════════════════════════════════════ */
html.page-space .hero-wrap .partnet-section .src-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
          backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
html.page-space .hero-wrap .partnet-section .src-card:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}
html.page-space .hero-wrap .partnet-section .src-card .name { color: #FFFFFF; }
html.page-space .hero-wrap .partnet-section .src-card .full { color: rgba(255, 255, 255, 0.78); }
html.page-space .hero-wrap .partnet-section .src-card .emblem {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px !important;
}
html.page-space .hero-wrap .partnet-section .src-card .emblem img { width: 32px; height: 32px; }
html.page-space .hero-wrap .partnet-section .src-card .qmark { color: #FFFFFF; background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.35); }
html.page-space .hero-wrap .partnet-section .src-card.done { background: rgba(16, 185, 129, .22); border-color: rgba(110, 231, 183, .6); }

/* түндүк: матовый диск внутри обода + мягкие светлые линии */
html.page-space .tdk::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 62%; height: 62%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px !important;
  -webkit-backdrop-filter: blur(14px) saturate(130%);
          backdrop-filter: blur(14px) saturate(130%);
}
html.page-space .tdk-svg { position: relative; }
html.page-space .tdk-svg circle[fill="#FFFFFF"] { fill: transparent; }
html.page-space .tdk-bold, html.page-space .tdk-edge { stroke: #E0F2FE; stroke-opacity: .85; }
html.page-space .tdk-thin, html.page-space .tdk-axis, html.page-space .tdk-dots { stroke: #E0F2FE; stroke-opacity: .45; }
html.page-space .tdk-ray { stroke: #E0F2FE; stroke-opacity: .55; fill: rgba(224, 242, 254, .16); }
/* полосы уук внутри — без белой заливки-подложки */
html.page-space .tdk-svg circle[stroke="#FFFFFF"] { stroke: rgba(255,255,255,.08); }

/* линии от источников */
html.page-space .pcb-svg path { stroke: rgba(224, 242, 254, .75) !important; }
/* fadeUp (fill: both) на родителе ломает backdrop-filter у карточек —
   зона платы появляется без него */
html.page-space .hero-wrap .hero-chip-zone { animation: none; opacity: 1; transform: none; }
/* маска у .tdk тоже ломает размытие диска → маску снимаем на фото */
html.page-space .tdk { -webkit-mask-image: none; mask-image: none; }
html.page-space .tdk::before { content: none; }
.tdk-glass { display: none; }
html.page-space .tdk-glass {
  display: block;
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px !important;
  -webkit-backdrop-filter: blur(14px) saturate(130%);
          backdrop-filter: blur(14px) saturate(130%);
  pointer-events: none;
}
@media (max-width: 900px) { html.page-space .tdk-glass { display: none; } }

/* ══════════════════════════════════════════════════════════════
   Стекло v2 на фото: тёмное «дымчатое» стекло с сильным размытием,
   мягкие размытые тени, белый текст — чисто и читабельно.
   ══════════════════════════════════════════════════════════════ */
html.page-space .hero-wrap .partnet-section .src-card {
  background: rgba(12, 20, 36, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(24px) saturate(115%);
          backdrop-filter: blur(24px) saturate(115%);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.55), 0 2px 8px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
html.page-space .hero-wrap .partnet-section .src-card:hover {
  background: rgba(12, 20, 36, 0.55);
  border-color: rgba(255, 255, 255, 0.28);
}
html.page-space .hero-wrap .partnet-section .src-card .name { color: #FFFFFF; font-weight: 700; }
html.page-space .hero-wrap .partnet-section .src-card .full { color: rgba(226, 232, 240, 0.82); }
html.page-space .hero-wrap .partnet-section .src-card .emblem { background: #FFFFFF; box-shadow: 0 4px 12px -4px rgba(0,0,0,.4); }

/* диск түндүк — тот же дымчатый материал */
html.page-space .tdk-glass {
  background: rgba(12, 20, 36, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(26px) saturate(115%);
          backdrop-filter: blur(26px) saturate(115%);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
html.page-space .tdk-bold, html.page-space .tdk-edge { stroke: #FFFFFF; stroke-opacity: .7; }
html.page-space .tdk-thin, html.page-space .tdk-axis, html.page-space .tdk-dots { stroke: #FFFFFF; stroke-opacity: .32; }
html.page-space .tdk-ray { stroke: #FFFFFF; stroke-opacity: .5; fill: rgba(255, 255, 255, .10); }
html.page-space .pcb-svg path { stroke: rgba(255, 255, 255, .55) !important; }

/* поиск — светлое стекло, мягкая тень */
html.page-space .hero-wrap .partnet-section .search-row {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.55);
}
html.page-space .hero-wrap .partnet-section .chip-head-title { letter-spacing: .08em; text-shadow: 0 1px 10px rgba(0,0,0,.45); }

/* «Платформа в цифрах» — те же фото под тёмно-синим тоном */
.stats-section .photo-layer {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.stats-section .photo-layer::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11, 22, 52, .84) 0%, rgba(13, 30, 72, .78) 50%, rgba(11, 22, 52, .88) 100%);
}
.stats-section .container { position: relative; z-index: 1; }

/* ══════════════════════════════════════════════════════════════
   Түндүк v3 на фото: лёгкий, «нарисованный» тонкими белыми линиями
   поверх едва заметного светлого стекла; поиск — крупная пилюля.
   ══════════════════════════════════════════════════════════════ */
html.page-space .tdk-glass {
  background: radial-gradient(closest-side, rgba(255,255,255,.16), rgba(255,255,255,.06) 75%, rgba(255,255,255,.02));
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
          backdrop-filter: blur(6px) saturate(120%);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.45);
}
html.page-space .tdk-bold { stroke: #FFFFFF; stroke-opacity: .85; stroke-width: 1.4; }
html.page-space .tdk-edge { stroke: #FFFFFF; stroke-opacity: .5;  stroke-width: 1; }
html.page-space .tdk-thin, html.page-space .tdk-dots { stroke: #FFFFFF; stroke-opacity: .3; }
html.page-space .tdk-axis { stroke: #FFFFFF; stroke-opacity: 0; }
html.page-space .tdk-svg circle[stroke="#FFFFFF"] { stroke: transparent; }
html.page-space .tdk-ray { stroke: #FFFFFF; stroke-opacity: .55; stroke-width: 1; fill: none; }
html.page-space .tdk-svg { filter: drop-shadow(0 1px 6px rgba(0, 0, 0, .25)); }

/* подпись и поиск */
html.page-space .hero-wrap .partnet-section .chip-head-title {
  font-size: 12px; font-weight: 600; letter-spacing: .14em;
  color: rgba(255,255,255,.9);
}
html.page-space .hero-wrap .partnet-section .search-row {
  height: 58px;
  padding: 6px 6px 6px 20px;
  background: rgba(255, 255, 255, 0.97);
  border: 0;
  border-radius: 999px !important;
  box-shadow: 0 0 0 6px rgba(255,255,255,.18), 0 24px 50px -18px rgba(0, 0, 0, 0.55);
}
html.page-space .hero-wrap .partnet-section .search-row.focused {
  box-shadow: 0 0 0 6px rgba(147,197,253,.45), 0 24px 50px -18px rgba(0, 0, 0, 0.55);
}
html.page-space .hero-wrap .partnet-section .search-row input { font-size: 15px; }
html.page-space .hero-wrap .partnet-section .find-btn {
  height: 46px;
  padding: 0 24px;
  border-radius: 999px !important;
  font-size: 15px;
}
html.page-space .tdk-svg circle[stroke="#FFFFFF"] { stroke: rgba(255, 255, 255, .13); }
html.page-space .tdk-edge { stroke-opacity: .8; stroke-width: 1.1; }
html.page-space .tdk-ray  { stroke-opacity: .7; fill: rgba(255,255,255,.08); }
html.page-space .tdk-glass {
  background: radial-gradient(closest-side, rgba(15,23,42,.18), rgba(15,23,42,.10) 80%, rgba(15,23,42,.04));
  -webkit-backdrop-filter: blur(8px) saturate(120%);
          backdrop-filter: blur(8px) saturate(120%);
}

/* ─── Түндүк без мутности внутри + читаемая подпись поиска ─── */
html.page-space .tdk-glass { display: none !important; }
html.page-space .hero-wrap .partnet-section .chip-head-title {
  padding: 5px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  color: #FFFFFF;
  background: rgba(12, 20, 36, .55);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px !important;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  text-shadow: none;
}

/* ═══ «Платформа в цифрах» — в стиле первого экрана ═══
   фото с тем же затемнением, цифры в карточках дымчатого стекла */
.stats-section { background: #0B1220; }
.stats-section::before, .stats-section::after { display: none; }
.stats-section .photo-layer::after {
  background: linear-gradient(180deg, rgba(8, 15, 30, .62) 0%, rgba(8, 15, 30, .30) 40%, rgba(8, 15, 30, .45) 100%);
}
.stats-section .stats-eyebrow {
  background: rgba(12, 20, 36, .45);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px !important;
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}
.stats-section .stats-strip { gap: 16px; }
.stats-section .stats-item {
  padding: 28px 18px 24px;
  background: rgba(12, 20, 36, .42);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px !important;
  -webkit-backdrop-filter: blur(24px) saturate(115%);
          backdrop-filter: blur(24px) saturate(115%);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .10);
}
.stats-section .stats-item-border::before,
.stats-section .stats-item-border::after { display: none; }
.stats-section .stats-item { border-left: 1px solid rgba(255, 255, 255, .16) !important; }
.stats-section .stats-lbl { color: #FFFFFF; }
.stats-section .stats-sub { color: rgba(226, 232, 240, .78); }
.stats-section .reveal-child[style] { text-shadow: 0 1px 10px rgba(0,0,0,.5); }

/* низ фото: без перехода в белый — чистый край со скруглением */
.hero-photos::after { content: none; }
.hero-photos {
  height: max(860px, 100svh);
  border-radius: 0 0 32px 32px !important;
}
.hero-photos-shade {
  background: linear-gradient(180deg, rgba(8, 15, 30, .62) 0%, rgba(8, 15, 30, .28) 26%, rgba(8, 15, 30, .20) 55%, rgba(8, 15, 30, .55) 100%);
}
.hero-photo-credit { top: calc(max(860px, 100svh) - 44px); }
html.page-space .bp-header.bp-header-v4.is-scrolled {
  background: rgba(12, 20, 36, 0.62);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
          backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: rgba(255, 255, 255, 0.10);
}

/* ══════════════════════════════════════════════════════════════
   Hero «Горизонт» (.hx) — первый экран главной.
   Intro: наезд камеры на фото → слова заголовка выезжают по очереди →
   консоль поиска проявляется → линии прорисовываются к источникам →
   карточки выплывают, по линиям бегут световые импульсы.
   Стеклянным элементам нельзя анимировать opacity у ПРЕДКОВ —
   это ломает backdrop-filter, поэтому анимируются сами элементы.
   ══════════════════════════════════════════════════════════════ */
@property --hx-ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.hx { --hx-ease: cubic-bezier(.16, 1, .3, 1); }

/* ─── фон ─── */
.hx .hero-photos { background: #0B1324; }
.hx-photos-zoom { position: absolute; inset: -28px; animation: hxCamera 2.8s var(--hx-ease) both; }
@keyframes hxCamera {
  from { transform: scale(1.14); filter: brightness(.45) saturate(.8); }
  to   { transform: scale(1);    filter: none; }
}
.hx .hero-photos-shade {
  background: linear-gradient(180deg, rgba(6,12,26,.74) 0%, rgba(6,12,26,.40) 22%, rgba(6,12,26,.30) 50%, rgba(6,12,26,.52) 80%, rgba(6,12,26,.80) 100%);
}
.hx-vignette { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 52%, rgba(4,8,20,.6) 100%); }
.hx-aurora { position: absolute; left: 50%; top: 60%; width: 0; height: 0; }
.hx-aurora i {
  position: absolute; left: 0; top: 0;
  border-radius: 50% !important;
  mix-blend-mode: screen;
  animation: hxDrift 14s ease-in-out infinite alternate, hxFadeIn 2s ease 1s both;
}
.hx-aurora i:nth-child(1) { width: 900px; height: 460px; margin: -230px 0 0 -450px;
  background: radial-gradient(closest-side, rgba(37,99,235,.42), rgba(37,99,235,.12) 60%, transparent); }
.hx-aurora i:nth-child(2) { width: 560px; height: 300px; margin: -190px 0 0 -120px;
  background: radial-gradient(closest-side, rgba(56,189,248,.30), transparent);
  animation-duration: 11s, 2s; animation-direction: alternate-reverse, normal; }
@keyframes hxDrift { from { transform: translate(-40px, 10px) scale(1); } to { transform: translate(40px, -14px) scale(1.12); } }

/* ─── заголовок ─── */
.hx-head { margin-bottom: 4px; }
.hx-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px; padding: 6px 16px 6px 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: rgba(255,255,255,.92);
  background: rgba(10,18,34,.38);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  animation: hxRise .8s var(--hx-ease) .15s both;
}
.hx-eyebrow svg { border-radius: 3px !important; }
.hx-title {
  margin: 0 0 18px;
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(36px, 4.5vw, 66px); line-height: 1.08; letter-spacing: 0;
  color: #FFFFFF; text-align: center; text-wrap: balance;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.hx-w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .03em .16em; margin-bottom: -.16em; }
.hx-w > span { display: inline-block; animation: hxWord 1s var(--hx-ease) both; animation-delay: calc(.25s + var(--w) * .12s); }
@keyframes hxWord {
  from { transform: translateY(105%) rotate(3deg); filter: blur(6px); opacity: 0; }
  to   { transform: none; filter: none; opacity: 1; }
}
.hx-accent { position: relative; display: inline-block; white-space: nowrap; filter: drop-shadow(0 4px 26px rgba(56,189,248,.35)); }
.hx-accent .hx-w > span {
  text-shadow: none;
  color: transparent; -webkit-text-fill-color: transparent;
  background: linear-gradient(100deg, #FFFFFF 0%, #BAE6FD 30%, #FFFFFF 45%, #E0F2FE 55%, #93C5FD 75%, #7DD3FC 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  animation: hxWord 1s var(--hx-ease) .49s both, hxShine 2.2s ease-in-out 1.2s both;
}
@keyframes hxShine { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.hx-swoosh { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .3em; overflow: visible; }
.hx-swoosh path {
  fill: none; stroke: url(#hxSwoosh); stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  vector-effect: non-scaling-stroke;
  animation: hxDraw 1s var(--hx-ease) 1.15s forwards;
}
.hx-desc {
  max-width: 640px; margin: 0 auto;
  font-size: 17px; line-height: 1.55; text-align: center;
  color: rgba(255,255,255,.86); text-shadow: 0 1px 14px rgba(0,0,0,.45);
  animation: hxRise .9s var(--hx-ease) .6s both;
}
.hx-desc strong { color: #FFFFFF; font-weight: 700; }

/* ─── плата: источники + линии + консоль ─── */
.hx-stage { position: relative; width: 100%; margin-top: 14px; }
.hx-board { position: relative; width: 100%; height: clamp(450px, 56vh, 520px); }
.hx-rail {
  position: absolute; top: 0; bottom: 0; z-index: 3;
  width: var(--rail-w);
  display: flex; flex-direction: column; justify-content: center; gap: 10px;
}
.hx-rail--left { left: 0; }
.hx-rail--right { right: 0; }

.hx-node {
  --from: -26px;
  position: relative; flex: none;
  display: flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 14px 0 9px;
  color: #FFFFFF; text-align: left; outline: none; cursor: default;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)), rgba(9,16,32,.42);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px !important;
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.12);
  transform: translateX(var(--arc-x));
  transition: transform .35s var(--hx-ease), background .25s, border-color .25s, box-shadow .25s;
  /* backwards, не both: иначе финальный кадр перебивает hover/scan-transform */
  animation: hxNodeIn .9s var(--hx-ease) backwards;
  animation-delay: calc(1.05s + var(--n) * 70ms);
}
.hx-node--right { --from: 26px; }
@keyframes hxNodeIn {
  from { opacity: 0; transform: translateX(calc(var(--arc-x) + var(--from))) scale(.96); }
}
.hx-node:hover, .hx-node:focus-visible {
  z-index: 5;
  transform: translateX(var(--arc-x)) translateY(-2px);
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05)), rgba(9,16,32,.5);
  border-color: rgba(255,255,255,.32);
}
.hx-emb {
  position: relative; flex: none;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: #FFFFFF; border-radius: 999px !important;
  box-shadow: 0 0 0 3px rgba(255,255,255,.12), 0 6px 14px -6px rgba(0,0,0,.5);
}
.hx-emb img { width: 34px; height: 34px; object-fit: contain; border-radius: 999px !important; }
.hx-emb::after {
  content: ""; position: absolute; inset: -5px;
  border: 2px solid transparent; border-top-color: #7DD3FC; border-right-color: #7DD3FC;
  border-radius: 999px !important; opacity: 0;
}
.hx-emb-ok {
  position: absolute; right: -4px; bottom: -4px;
  width: 18px; height: 18px; display: grid; place-items: center;
  color: #FFFFFF; background: #10B981; border: 2px solid #0B1324;
  border-radius: 999px !important;
  transform: scale(0); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1);
}
.hx-emb-ok svg { stroke-width: 3.4; }
.hx-node-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hx-node-txt b { font-size: 15px; font-weight: 700; line-height: 1.2; color: #FFFFFF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-node-txt small { font-size: 12.5px; line-height: 1.3; color: rgba(226,232,240,.75); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hx-node.is-armed { border-color: rgba(147,197,253,.4); }
.hx-node.is-scanning {
  z-index: 4;
  transform: translateX(var(--arc-x)) scale(1.04);
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.04)), rgba(29,78,216,.5);
  border-color: rgba(125,211,252,.9);
  box-shadow: 0 0 0 4px rgba(56,189,248,.18), 0 0 34px -4px rgba(56,189,248,.6);
}
.hx-node.is-scanning .hx-emb::after { opacity: 1; animation: hxSpin .7s linear infinite; }
.hx-node.is-done {
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03)), rgba(6,78,59,.4);
  border-color: rgba(110,231,183,.5);
}
.hx-node.is-done .hx-emb-ok { transform: scale(1); }

/* подсказка: полное название ведомства + что из него берём */
.hx-tip {
  position: absolute; left: 0; bottom: calc(100% + 10px); z-index: 20;
  width: 300px; padding: 12px 14px;
  font-size: 12.5px; line-height: 1.45; font-weight: 400; color: rgba(226,232,240,.9);
  background: rgba(9,16,32,.95);
  border: 1px solid rgba(255,255,255,.14); border-radius: 12px !important;
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.7);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
  pointer-events: none;
}
.hx-node--right .hx-tip { left: auto; right: 0; }
.hx-tip b { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 700; color: #FFFFFF; }
.hx-node:hover .hx-tip, .hx-node:focus-visible .hx-tip { opacity: 1; visibility: visible; transform: none; }

/* линии */
.hx-links { position: absolute; inset: 0; z-index: 1; overflow: visible; pointer-events: none; }
.hx-link-base {
  fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.2;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: hxDraw 1.1s var(--hx-ease) forwards;
  animation-delay: calc(1.3s + var(--i) * 60ms);
  transition: stroke .3s, stroke-width .3s;
}
.hx-link-comet {
  fill: none; stroke: #E0F2FE; stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 7 200; stroke-dashoffset: 7;
  animation: hxComet var(--dur) linear var(--delay) infinite;
}
@keyframes hxComet { 0% { stroke-dashoffset: 7; } 30%, 100% { stroke-dashoffset: -100; } }
@keyframes hxStream { from { stroke-dashoffset: 7; } to { stroke-dashoffset: -100; } }
.hx-link-anchor { fill: rgba(255,255,255,.75); opacity: 0; animation: hxFadeIn .4s ease forwards; animation-delay: calc(1.3s + var(--i) * 60ms); }
.hx-link-port { fill: #7DD3FC; opacity: 0; animation: hxFadeIn .4s ease forwards; animation-delay: calc(2.1s + var(--i) * 60ms); transition: fill .3s; }
.hx-link.is-active .hx-link-base { stroke: #7DD3FC; stroke-width: 2; }
.hx-link.is-active .hx-link-port { fill: #FFFFFF; }
.hx-link.is-done .hx-link-base { stroke: rgba(110,231,183,.7); }
.hx-link.is-done .hx-link-port { fill: #6EE7B7; }
.hx-links.is-scanning .hx-link-comet { animation: hxStream .8s linear infinite; animation-delay: calc(var(--i) * -.07s); }

/* кольца-«волны» от консоли */
.hx-halo {
  position: absolute; left: 50%; top: 50%; z-index: 0;
  width: calc(var(--chip-w) * 1.05); aspect-ratio: 1;
  translate: -50% -50%; pointer-events: none;
}
.hx-halo::before {
  content: ""; position: absolute; inset: -25%;
  border-radius: 999px !important;
  background: radial-gradient(closest-side, rgba(56,189,248,.16), rgba(37,99,235,.08) 55%, transparent);
}
.hx-halo i {
  position: absolute; inset: 0;
  border: 1px solid rgba(186,230,253,.45); border-radius: 999px !important;
  opacity: 0;
  animation: hxRipple 7.5s cubic-bezier(.2, .6, .3, 1) infinite;
}
.hx-halo i:nth-child(1) { animation-delay: 1.8s; }
.hx-halo i:nth-child(2) { animation-delay: 4.3s; }
.hx-halo i:nth-child(3) { animation-delay: 6.8s; }
.hx-halo.is-scanning i { animation-duration: 2.1s; border-color: rgba(125,211,252,.75); }
.hx-halo.is-scanning i:nth-child(2) { animation-delay: .7s; }
.hx-halo.is-scanning i:nth-child(3) { animation-delay: 1.4s; }
@keyframes hxRipple { 0% { transform: scale(.55); opacity: 0; } 15% { opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }

/* консоль поиска */
.hx-console {
  position: absolute; inset: 0; z-index: 4;
  width: var(--chip-w); height: fit-content; margin: auto;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.04)), rgba(8,14,30,.5);
  border-radius: 26px !important;
  -webkit-backdrop-filter: blur(26px) saturate(150%); backdrop-filter: blur(26px) saturate(150%);
  box-shadow: 0 40px 90px -36px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.14), inset 0 1px 0 rgba(255,255,255,.18);
  transition: box-shadow .4s;
  animation: hxConsoleIn 1s var(--hx-ease) .7s backwards;
}
@keyframes hxConsoleIn { from { opacity: 0; transform: translateY(18px) scale(.94); } }
/* бегущий световой контур */
.hx-console::before {
  content: ""; position: absolute; inset: -1px; padding: 1.5px;
  border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--hx-ang), transparent 0deg 240deg, rgba(125,211,252,.0) 250deg, #7DD3FC 320deg, #FFFFFF 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: hxOrbit 6s linear infinite;
}
@keyframes hxOrbit { to { --hx-ang: 360deg; } }
.hx-console.is-scanning::before { animation-duration: 1.1s; }
.hx-console.is-scanning { box-shadow: 0 40px 90px -36px rgba(0,0,0,.8), 0 0 0 1px rgba(125,211,252,.5), 0 0 60px -10px rgba(56,189,248,.55); }
.hx-console.is-done { box-shadow: 0 40px 90px -36px rgba(0,0,0,.8), 0 0 0 1px rgba(110,231,183,.6), 0 0 60px -10px rgba(16,185,129,.45); }
.hx-console-top { display: flex; align-items: center; justify-content: space-between; padding: 0 8px 12px; }
.hx-console-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.hx-console-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.8); }
.hx-console-live i { width: 7px; height: 7px; border-radius: 999px !important; background: #34D399; animation: hxLive 2s ease-out infinite; }
@keyframes hxLive { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.7); } 100% { box-shadow: 0 0 0 9px rgba(52,211,153,0); } }

.hx-search-wrap { position: relative; z-index: 2; }
.hx-search {
  display: flex; align-items: center; gap: 8px;
  height: 60px; padding: 6px 6px 6px 20px;
  background: #FFFFFF; border-radius: 999px !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.6), 0 18px 40px -18px rgba(0,0,0,.6);
  transition: box-shadow .25s;
}
.hx-search.is-focused { box-shadow: 0 0 0 4px rgba(125,211,252,.5), 0 18px 40px -18px rgba(0,0,0,.6); }
.hx-search-ico { display: grid; place-items: center; color: #64748B; }
.hx-search-ico svg { width: 19px; height: 19px; }
.hx-search input,
.hx-search input:focus,
.hx-search input:focus-visible {
  flex: 1; min-width: 0; height: 100%; padding: 0 4px;
  font: 500 16px/1 'Inter', sans-serif; color: #0F172A;
  background: transparent !important; border: 0 !important; outline: none !important; box-shadow: none !important;
}
.hx-search input::placeholder { color: #94A3B8; font-weight: 400; }
.hx-find {
  position: relative; overflow: hidden; flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px 0 24px;
  font: 700 15px/1 'Inter', sans-serif; color: #FFFFFF;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 55%, #1D4ED8 100%);
  border: 0; border-radius: 999px !important;
  box-shadow: 0 10px 24px -10px rgba(37,99,235,.95), inset 0 1px 0 rgba(255,255,255,.25);
  cursor: pointer;
  transition: transform .2s, filter .2s;
}
.hx-find::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-20deg);
  animation: hxBtnShine 5s ease-in-out 2.8s infinite;
}
@keyframes hxBtnShine { 0% { left: -60%; } 22%, 100% { left: 130%; } }
.hx-find:hover:not(:disabled) { transform: translateY(-1px); filter: brightness(1.08); }
.hx-find:active:not(:disabled) { transform: scale(.97); }
.hx-find:disabled { cursor: default; }
.hx-find svg { transition: transform .2s; }
.hx-find:hover svg { transform: translateX(3px); }
.hx-find:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }

.hx-suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30;
  overflow: hidden; background: #FFFFFF;
  border-radius: 18px !important;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(15,23,42,.06);
  animation: hxDrop .22s var(--hx-ease);
}
.hx-suggest ul { list-style: none; margin: 0; padding: 6px; }
.hx-suggest li { margin: 0; }
.hx-suggest-loading { display: flex; align-items: center; gap: 8px; padding: 12px; font-size: 13px; color: #64748B; }
.hx-suggest-item {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 10px 12px; text-align: left; font-family: inherit;
  color: #94A3B8; background: none; border: 0; border-radius: 12px !important; cursor: pointer;
}
.hx-suggest-item:hover, .hx-suggest-item:focus-visible { background: #F1F5FF; color: #2563EB; outline: none; }
.hx-suggest-ico { flex: none; width: 34px; height: 34px; display: grid; place-items: center; color: #2563EB; background: #EFF6FF; border-radius: 10px !important; }
.hx-suggest-ico svg { width: 17px; height: 17px; }
.hx-suggest-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hx-suggest-name { font-size: 14px; font-weight: 600; color: #0F172A; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-suggest-meta { font-size: 12px; color: #64748B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-suggest-all {
  display: flex; align-items: center; gap: 8px; width: 100%;
  padding: 12px 18px; text-align: left;
  font: 500 13px 'Inter', sans-serif; color: #2563EB;
  background: #F8FAFF; border: 0; border-top: 1px solid #E2E8F0; cursor: pointer;
}
.hx-suggest-all:hover { background: #EFF6FF; }
.hx-suggest-all > span:nth-child(2) { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-suggest-count { margin-left: auto; padding: 2px 9px; font-size: 11.5px; font-weight: 700; color: #1D4ED8; background: #DBEAFE; border-radius: 999px !important; }

.hx-console-foot { display: flex; align-items: center; justify-content: center; min-height: 34px; margin-top: 12px; }
.hx-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; color: rgba(255,255,255,.8); }
.hx-facts li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hx-facts svg { color: #6EE7B7; stroke-width: 2.6; }
.hx-facts b { color: #FFFFFF; font-weight: 700; }
.hx-scan {
  position: relative; overflow: hidden;
  display: flex; align-items: center; gap: 10px; width: 100%; height: 34px; padding: 0 12px;
  font-size: 13px; color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 12px !important;
  animation: hxDrop .25s ease;
}
.hx-scan-spin { flex: none; width: 14px; height: 14px; border: 2px solid rgba(125,211,252,.3); border-top-color: #7DD3FC; border-radius: 999px !important; animation: hxSpin .8s linear infinite; }
.hx-scan.is-done .hx-scan-spin {
  border: 0; animation: none;
  background: #10B981 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.hx-scan-label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hx-scan-label b { color: #FFFFFF; font-weight: 700; }
.hx-scan-count { font-size: 11.5px; font-weight: 700; color: #BAE6FD; font-variant-numeric: tabular-nums; }
.hx-scan-bar { position: absolute; left: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, #38BDF8, #6EE7B7); box-shadow: 0 0 10px rgba(56,189,248,.8); transition: width .25s ease; }
.hx-mini-spin { flex: none; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,.4); border-top-color: #FFFFFF; border-radius: 999px !important; animation: hxSpin .7s linear infinite; }
.hx-mini-spin.is-dark { border-color: rgba(37,99,235,.2); border-top-color: #2563EB; }

.hx .hero-scroll-hint { color: #FFFFFF; background: rgba(9,16,32,.42); border-color: rgba(255,255,255,.22); }
.hx .hero-scroll-hint-chev { color: #BAE6FD; }

/* общие keyframes */
@keyframes hxRise { from { opacity: 0; transform: translateY(14px); } }
@keyframes hxFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes hxDraw { to { stroke-dashoffset: 0; } }
@keyframes hxDrop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes hxSpin { to { transform: rotate(360deg); } }
@keyframes hxMarquee { to { transform: translateX(-50%); } }

/* пауза только для платы: на мобиле она скрыта и «вне экрана» всегда */
.hx-stage.is-paused .hx-board *, .hx-stage.is-paused .hx-board *::before, .hx-stage.is-paused .hx-board *::after { animation-play-state: paused !important; }

/* мобильный вариант */
.hx-mobile { display: none; }
@media (max-width: 1100px) {
  .hx-node-txt small { font-size: 11.5px; }
  .hx-node-txt b { font-size: 14px; }
}
@media (max-width: 900px) {
  .hx-board { display: none; }
  .hx-mobile { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; max-width: 560px; margin: 24px auto 0; }
  .hx-mobile .hx-console { position: relative; inset: auto; width: 100%; height: auto; margin: 0; padding: 14px 12px 12px; }
  .hx-search { height: 54px; padding-left: 16px; }
  .hx-find { height: 42px; padding: 0 18px; }
  .hx-find svg { display: none; }
  .hx-marquee {
    width: 100%; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  }
  .hx-marquee-track { display: flex; width: max-content; animation: hxMarquee 45s linear infinite; }
  .hx-mq-item {
    display: inline-flex; align-items: center; gap: 8px; margin-right: 10px;
    padding: 5px 12px 5px 5px; white-space: nowrap;
    font-size: 13px; font-weight: 600; color: #FFFFFF;
    background: rgba(9,16,32,.45); border: 1px solid rgba(255,255,255,.16); border-radius: 999px !important;
  }
  .hx-mq-item img { width: 26px; height: 26px; padding: 2px; object-fit: contain; background: #FFFFFF; border-radius: 999px !important; }
  .hx-desc { font-size: 15px; }
  .hx-eyebrow { font-size: 12px; margin-bottom: 14px; }
}
/* короткие ноутбуки */
@media (max-height: 820px) and (min-width: 901px) {
  .hx-title { font-size: clamp(34px, 3.9vw, 54px); margin-bottom: 12px; }
  .hx-eyebrow { margin-bottom: 14px; }
  .hx-desc { font-size: 16px; }
  .hx-board { height: 440px; }
  .hx-stage { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx *, .hx *::before, .hx *::after { animation: none !important; }
  .hx-link-base, .hx-swoosh path { stroke-dashoffset: 0; }
  .hx-link-comet { display: none; }
  .hx-link-anchor, .hx-link-port { opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   Hero v2 (по замечаниям): карточки и поиск — непрозрачные белые,
   дорожки как в 03974bc, түндүк за заголовком, фон не двигается.
   ══════════════════════════════════════════════════════════════ */
/* түндүк за заголовком — белые линии, без маски и наклона */
.hx-head { position: relative; isolation: isolate; }
.hx-tdk-wrap {
  position: absolute; left: 50%; top: 58%; z-index: -1;
  width: 340px; height: 340px;
  translate: -50% -50%;
  pointer-events: none;
  animation: hxTdkIn 1.6s var(--hx-ease) .1s both;
}
@keyframes hxTdkIn { from { opacity: 0; transform: scale(.85) rotate(-12deg); } }
.hx-tdk-wrap .tdk {
  position: relative; left: auto; top: auto;
  transform: none; transition: none;
  opacity: .5;
  -webkit-mask-image: none; mask-image: none;
}
.hx-tdk-wrap .tdk-svg { filter: none; }
.hx-tdk-wrap #tdkGlow stop { stop-opacity: 0 !important; }
.hx-tdk-wrap .tdk-bold { stroke: #FFFFFF; stroke-opacity: .9; stroke-width: 2.2; }
.hx-tdk-wrap .tdk-edge { stroke: #FFFFFF; stroke-opacity: .8; stroke-width: 1.6; }
.hx-tdk-wrap .tdk-thin, .hx-tdk-wrap .tdk-dots { stroke: #FFFFFF; stroke-opacity: .45; }
.hx-tdk-wrap .tdk-axis { stroke-opacity: 0; }
.hx-tdk-wrap .tdk-ray { stroke: #FFFFFF; stroke-opacity: .75; stroke-width: 1.6; fill: rgba(255,255,255,.06); }
.hx-tdk-wrap .tdk-svg circle[fill="#FFFFFF"] { fill: transparent; }
.hx-tdk-wrap .tdk-svg circle[stroke="#FFFFFF"] { stroke: rgba(255,255,255,.08); }
.hx-title, .hx-desc, .hx-eyebrow { position: relative; }

/* карточки источников — белые, прямые колонки */
.hx-rail { gap: 10px; }
.hx-node {
  --arc-x: 0px;
  height: 64px; padding: 0 14px 0 10px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 14px 30px -16px rgba(2,6,23,.55);
}
.hx-node:hover, .hx-node:focus-visible {
  background: #FFFFFF; border-color: #BFDBFE;
  box-shadow: 0 1px 2px rgba(15,23,42,.06), 0 18px 36px -16px rgba(2,6,23,.6), 0 0 0 3px rgba(37,99,235,.12);
}
.hx-emb { box-shadow: 0 0 0 1px #E2E8F0; }
.hx-emb-ok { border-color: #FFFFFF; }
.hx-node-txt b { color: #0F172A; }
.hx-node-txt small { color: #64748B; }
.hx-node.is-armed { border-color: #93C5FD; }
.hx-node.is-scanning {
  background: #2563EB; border-color: #2563EB;
  box-shadow: 0 0 0 4px rgba(37,99,235,.25), 0 18px 36px -14px rgba(37,99,235,.7);
}
.hx-node.is-scanning .hx-node-txt b { color: #FFFFFF; }
.hx-node.is-scanning .hx-node-txt small { color: rgba(255,255,255,.85); }
.hx-node.is-scanning .hx-emb::after { border-top-color: #FFFFFF; border-right-color: #FFFFFF; }
.hx-node.is-done { background: #F0FDF4; border-color: #86EFAC; }

/* консоль поиска — белая карточка */
.hx-console {
  padding: 16px 18px 14px;
  background: #FFFFFF;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-radius: 22px !important;
  box-shadow: 0 0 0 1px #E2E8F0, 0 30px 70px -28px rgba(2,6,23,.7);
}
.hx-console::before {
  background: conic-gradient(from var(--hx-ang), transparent 0deg 250deg, rgba(37,99,235,0) 260deg, #3B82F6 325deg, #93C5FD 345deg, transparent 360deg);
}
.hx-console.is-scanning { box-shadow: 0 0 0 1px #93C5FD, 0 0 0 6px rgba(37,99,235,.15), 0 30px 70px -28px rgba(2,6,23,.7); }
.hx-console.is-done { box-shadow: 0 0 0 1px #86EFAC, 0 0 0 6px rgba(22,163,74,.14), 0 30px 70px -28px rgba(2,6,23,.7); }
.hx-console-top { padding: 0 4px 12px; }
.hx-console-label { color: #0F172A; }
.hx-console-live { color: #475569; }
.hx-search {
  height: 56px; padding: 5px 5px 5px 18px;
  background: #F8FAFC;
  border-radius: 14px !important;
  box-shadow: inset 0 0 0 1px #DCE3EE;
}
.hx-search.is-focused { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #2563EB, 0 0 0 4px rgba(37,99,235,.14); }
.hx-find { height: 46px; border-radius: 11px !important; box-shadow: 0 8px 18px -8px rgba(37,99,235,.8), inset 0 1px 0 rgba(255,255,255,.25); }
.hx-suggest { box-shadow: 0 24px 50px -16px rgba(2,6,23,.45), 0 0 0 1px #E2E8F0; }
.hx-facts { color: #475569; }
.hx-facts svg { color: #16A34A; }
.hx-facts b { color: #0F172A; }
.hx-scan { color: #334155; background: #F1F5FF; border-color: #DBEAFE; }
.hx-scan-label b { color: #0F172A; }
.hx-scan-spin { border-color: rgba(37,99,235,.2); border-top-color: #2563EB; }
.hx-scan-count { color: #2563EB; }

/* дорожки — геометрия 03974bc, светлые на фото */
.hx-trace {
  fill: none; stroke: rgba(255,255,255,.62); stroke-width: 1.3;
  stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  animation: hxDraw 1s var(--hx-ease) forwards;
  animation-delay: calc(1.2s + var(--i) * 50ms);
  transition: stroke .3s, stroke-width .3s;
}
.hx-links.is-scanning .hx-trace { stroke: rgba(191,219,254,.85); }
.hx-trace.is-active { stroke: #60A5FA !important; stroke-width: 2; }
.hx-trace.is-done { stroke: rgba(134,239,172,.85) !important; }
.hx-trace-pts { opacity: 0; animation: hxFadeIn .4s ease forwards; animation-delay: calc(1.5s + var(--i) * 50ms); }
.hx-trace-pts circle { transition: fill .3s; }
.hx-halo { display: none; }

@media (max-width: 900px) {
  .hx-tdk-wrap { width: 240px; height: 240px; top: 52%; }
  .hx-tdk-wrap .tdk { width: 240px !important; height: 240px !important; }
  .hx-mq-item { color: #0F172A; background: #FFFFFF; border-color: #E2E8F0; }
  .hx-mq-item img { box-shadow: 0 0 0 1px #E2E8F0; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-trace { stroke-dashoffset: 0; }
  .hx-trace-pts { opacity: 1; }
}
.hx-tdk-wrap .tdk { opacity: .85; }
.hx-stage { max-width: 1320px; margin-left: auto; margin-right: auto; }

/* ══════════════════════════════════════════════════════════════
   Hero v3: вкладки-«папки» над поиском, крупная строка-пилюля,
   полупрозрачные карточки и панель, түндүк за «секунды».
   ══════════════════════════════════════════════════════════════ */
/* түндүк за словом «секунды» */
.hx-accent .hx-tdk-wrap {
  left: 58%; top: 50%; z-index: -1;
  width: 300px; height: 300px;
}
.hx-accent .hx-tdk-wrap .tdk { width: 300px !important; height: 300px !important; opacity: .8; }

/* карточки источников — чуть прозрачные */
.hx-node {
  background: rgba(255,255,255,.84);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border-color: rgba(255,255,255,.7);
}
.hx-node:hover, .hx-node:focus-visible { background: rgba(255,255,255,.95); }
.hx-node.is-done { background: rgba(240,253,244,.9); }

/* консоль = вкладки + панель (стекло только у них самих) */
.hx-console, .hx-console.is-scanning, .hx-console.is-done {
  padding: 0; background: none; box-shadow: none; border-radius: 0 !important;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hx-console::before { display: none; }
.hx-tabs { display: flex; gap: 6px; }
.hx-tab {
  display: inline-flex; align-items: center; gap: 9px;
  height: 48px; padding: 0 24px 0 20px;
  font: 600 15px/1 'Inter', sans-serif; color: #475569;
  background: rgba(255,255,255,.5);
  border: 0; border-radius: 22px 22px 0 0 !important;
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.hx-tab:hover:not(.is-active):not(:disabled) { background: rgba(255,255,255,.68); color: #1E293B; }
.hx-tab.is-active { color: #2563EB; background: rgba(255,255,255,.86); cursor: default; }
.hx-tab:disabled { cursor: default; }
.hx-tab:focus-visible { outline: 2px solid #2563EB; outline-offset: -3px; }
.hx-tab-ico { display: grid; place-items: center; }
.hx-tab-ico svg { width: 19px; height: 19px; }

.hx-panel {
  position: relative;
  padding: 14px;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-radius: 0 34px 34px 34px !important;
  box-shadow: 0 30px 70px -28px rgba(2,6,23,.7);
  transition: box-shadow .4s;
}
/* бегущий световой контур по панели */
.hx-panel::before {
  content: ""; position: absolute; inset: -1px; padding: 1.5px;
  border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--hx-ang), transparent 0deg 250deg, rgba(37,99,235,0) 260deg, #3B82F6 325deg, #93C5FD 345deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: hxOrbit 6s linear infinite;
}
.hx-console.is-scanning .hx-panel::before { animation-duration: 1.1s; }
.hx-console.is-scanning .hx-panel { box-shadow: 0 0 0 6px rgba(37,99,235,.18), 0 30px 70px -28px rgba(2,6,23,.7); }
.hx-console.is-done .hx-panel { box-shadow: 0 0 0 6px rgba(22,163,74,.18), 0 30px 70px -28px rgba(2,6,23,.7); }

.hx-search {
  height: 66px; padding: 7px 7px 7px 26px;
  background: #FFFFFF;
  border-radius: 999px !important;
  box-shadow: inset 0 0 0 1px #E2E8F0, 0 2px 8px rgba(15,23,42,.05);
}
.hx-search.is-focused { background: #FFFFFF; box-shadow: inset 0 0 0 1.5px #2563EB, 0 0 0 4px rgba(37,99,235,.14); }
.hx-search input, .hx-search input:focus, .hx-search input:focus-visible { font-size: 16.5px; }
.hx-find {
  height: 52px; padding: 0 26px 0 20px; gap: 9px;
  border-radius: 999px !important;
  box-shadow: 0 10px 22px -8px rgba(37,99,235,.85), inset 0 1px 0 rgba(255,255,255,.25);
}
.hx-find-ico { display: grid; place-items: center; }
.hx-find-ico svg { width: 19px; height: 19px; }
.hx-console-foot { min-height: 0; margin-top: 12px; }
.hx-suggest { border-radius: 22px !important; }

@media (max-width: 900px) {
  .hx-accent .hx-tdk-wrap, .hx-accent .hx-tdk-wrap .tdk { width: 200px !important; height: 200px !important; }
  .hx-mobile .hx-console { padding: 0; }
  .hx-tab { flex: 1; justify-content: center; height: 44px; padding: 0 10px; font-size: 13.5px; gap: 7px; }
  .hx-panel { padding: 10px; border-radius: 0 0 26px 26px !important; }
  .hx-search { height: 56px; padding-left: 18px; }
  .hx-find { height: 44px; width: 44px; padding: 0; justify-content: center; }
  .hx-find > span:last-child { display: none; }
}
/* без плашки над заголовком — опускаем заголовок, түндүк не заходит под шапку */
.hx-head { margin-top: 44px; }
.hx-accent .hx-tdk-wrap,
.hx-accent .hx-tdk-wrap .tdk { width: 230px !important; height: 230px !important; }
@media (max-height: 820px) and (min-width: 901px) { .hx-head { margin-top: 28px; } }
@media (max-width: 900px) {
  .hx-head { margin-top: 36px; }
  .hx-accent .hx-tdk-wrap, .hx-accent .hx-tdk-wrap .tdk { width: 170px !important; height: 170px !important; }
}
.hero-fold > .hx-head { margin-top: 44px; }
@media (max-height: 820px) and (min-width: 901px) { .hero-fold > .hx-head { margin-top: 28px; } }
@media (max-width: 900px) {
  .hero-fold > .hx-head { margin-top: 30px; }
  .hx-find .hx-find-ico svg { display: block; }
}
@media (max-width: 900px) {
  .hx-search input, .hx-search input:focus, .hx-search input:focus-visible { font-size: 16px; }
  .hx-search input::placeholder { font-size: 14.5px; }
}

/* ══════════════════════════════════════════════════════════════
   Hero v4: источники без «коробок» — белый герб + текст прямо на
   фото (гербы обращены к линиям), поиск — одна белая строка-пилюля
   со световым контуром. Подходит к любому фото слайдшоу.
   ══════════════════════════════════════════════════════════════ */
/* боковое затемнение — белый текст источников читается на любом фото */
.hx-vignette {
  background:
    linear-gradient(90deg, rgba(5,10,22,.62) 0%, rgba(5,10,22,.18) 26%, transparent 40%, transparent 60%, rgba(5,10,22,.18) 74%, rgba(5,10,22,.62) 100%),
    radial-gradient(120% 90% at 50% 50%, transparent 52%, rgba(4,8,20,.55) 100%);
}

/* түндүк крупнее и ниже */
.hx-accent .hx-tdk-wrap { top: 64%; }
.hx-accent .hx-tdk-wrap,
.hx-accent .hx-tdk-wrap .tdk { width: 280px !important; height: 280px !important; }

/* источники */
.hx-node, .hx-node:hover, .hx-node:focus-visible, .hx-node.is-done, .hx-node.is-scanning {
  background: transparent;
  border: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
.hx-node { height: 64px; gap: 14px; padding: 0 0 0 10px; border-radius: 999px !important; transform: none; }
.hx-node--left { flex-direction: row-reverse; padding: 0 0 0 10px; text-align: right; }
.hx-node--left .hx-node-txt { align-items: flex-end; }
.hx-node--right { padding: 0 10px 0 0; }
.hx-node:hover, .hx-node:focus-visible { transform: none; background: linear-gradient(90deg, transparent, rgba(255,255,255,.10)); }
.hx-node--right:hover, .hx-node--right:focus-visible { background: linear-gradient(270deg, transparent, rgba(255,255,255,.10)); }
.hx-node.is-scanning { transform: none; }
.hx-emb {
  width: 50px; height: 50px;
  box-shadow: 0 0 0 3px rgba(255,255,255,.22), 0 8px 22px -6px rgba(0,0,0,.6);
  transition: box-shadow .3s, transform .3s;
}
.hx-emb img { width: 40px; height: 40px; }
.hx-node:hover .hx-emb { transform: scale(1.06); box-shadow: 0 0 0 4px rgba(255,255,255,.4), 0 8px 22px -6px rgba(0,0,0,.6); }
.hx-node-txt b, .hx-node.is-scanning .hx-node-txt b { font-size: 16px; color: #FFFFFF; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.hx-node-txt small, .hx-node.is-scanning .hx-node-txt small { font-size: 12.5px; color: rgba(255,255,255,.8); text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hx-node.is-armed .hx-emb { box-shadow: 0 0 0 3px rgba(147,197,253,.7), 0 8px 22px -6px rgba(0,0,0,.6); }
.hx-node.is-scanning .hx-emb { box-shadow: 0 0 0 4px rgba(96,165,250,.85), 0 0 28px rgba(96,165,250,.9); }
.hx-node.is-scanning .hx-emb::after { inset: -8px; border-top-color: #FFFFFF; border-right-color: #FFFFFF; }
.hx-node.is-done .hx-emb { box-shadow: 0 0 0 3px rgba(74,222,128,.8), 0 8px 22px -6px rgba(0,0,0,.6); }
.hx-node--left .hx-tip { left: auto; right: 0; }
.hx-node--right .hx-tip { right: auto; left: 0; }

/* поиск: одна строка */
.hx-console { width: var(--chip-w); }
.hx-search, .hx-search.is-focused {
  position: relative;
  height: 72px; padding: 8px 8px 8px 24px; gap: 12px;
  background: #FFFFFF;
  border-radius: 999px !important;
  box-shadow: 0 0 0 7px rgba(255,255,255,.16), 0 28px 60px -22px rgba(0,0,0,.75);
  transition: box-shadow .3s;
}
.hx-search.is-focused { box-shadow: 0 0 0 7px rgba(147,197,253,.45), 0 28px 60px -22px rgba(0,0,0,.75); }
/* бегущий световой контур вокруг строки */
.hx-search::before {
  content: ""; position: absolute; inset: -3px; padding: 3px;
  border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--hx-ang), transparent 0deg 230deg, rgba(56,189,248,0) 240deg, #38BDF8 310deg, #FFFFFF 340deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: hxOrbit 5s linear infinite;
}
.hx-console.is-scanning .hx-search::before { animation-duration: 1s; }
.hx-console.is-done .hx-search { box-shadow: 0 0 0 7px rgba(74,222,128,.45), 0 28px 60px -22px rgba(0,0,0,.75); }
.hx-search-ico { color: #2563EB; }
.hx-search-ico svg { width: 22px; height: 22px; }
.hx-search input, .hx-search input:focus, .hx-search input:focus-visible { font-size: 17px; }
.hx-find {
  height: 56px; padding: 0 24px 0 28px; gap: 10px;
  font-size: 16px;
  border-radius: 999px !important;
}
.hx-console-foot { min-height: 34px; margin-top: 18px; }
.hx-hint { margin: 0; font-size: 14px; color: rgba(255,255,255,.82); text-align: center; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.hx-hint b { color: #FFFFFF; font-weight: 600; }
.hx-scan { background: rgba(255,255,255,.92); }

@media (max-width: 900px) {
  .hx-accent .hx-tdk-wrap,
  .hx-accent .hx-tdk-wrap .tdk { width: 200px !important; height: 200px !important; }
  .hx-mobile .hx-console { width: 100%; }
  .hx-search, .hx-search.is-focused { height: 60px; padding: 6px 6px 6px 18px; }
  .hx-search-ico svg { width: 19px; height: 19px; }
  .hx-find { width: 48px; height: 48px; padding: 0; justify-content: center; }
  .hx-find > span { display: none; }
  .hx-find > .hx-mini-spin { display: block; }
  .hx-find svg { display: block; }
  .hx-hint { font-size: 13px; }
  .hx-mq-item { color: #FFFFFF; background: transparent; border: 0; padding-left: 0; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
  .hx-mq-item img { width: 30px; height: 30px; box-shadow: 0 0 0 2px rgba(255,255,255,.25); }
}
@media (max-width: 900px) { .hx-accent .hx-tdk-wrap .tdk { display: block; opacity: .7; } }

/* ══════════════════════════════════════════════════════════════
   Hero v5: источники на стеклянных «пилюлях», поиск — стеклянная
   рамка + белая карточка (подпись над полем, Enter, кнопка).
   ══════════════════════════════════════════════════════════════ */
/* источники: постоянная полупрозрачная подложка, ярче при наведении */
.hx-node {
  height: 64px;
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.16));
  border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  box-shadow: 0 14px 34px -20px rgba(0,0,0,.7);
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.hx-node--left  { padding: 0 7px 0 18px; }
.hx-node--right { padding: 0 18px 0 7px; background: linear-gradient(270deg, rgba(255,255,255,.04), rgba(255,255,255,.16)); }
.hx-node:hover, .hx-node:focus-visible {
  background: linear-gradient(90deg, rgba(255,255,255,.10), rgba(255,255,255,.26));
  border-color: rgba(255,255,255,.34);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,.75);
}
.hx-node--right:hover, .hx-node--right:focus-visible { background: linear-gradient(270deg, rgba(255,255,255,.10), rgba(255,255,255,.26)); }
.hx-node.is-scanning { background: linear-gradient(90deg, rgba(37,99,235,.25), rgba(59,130,246,.55)); border-color: rgba(147,197,253,.8); }
.hx-node--right.is-scanning { background: linear-gradient(270deg, rgba(37,99,235,.25), rgba(59,130,246,.55)); }
.hx-node.is-done { background: linear-gradient(90deg, rgba(22,163,74,.12), rgba(34,197,94,.32)); border-color: rgba(134,239,172,.6); }
.hx-node--right.is-done { background: linear-gradient(270deg, rgba(22,163,74,.12), rgba(34,197,94,.32)); }
.hx-emb { width: 48px; height: 48px; }
.hx-emb img { width: 38px; height: 38px; }

/* поиск: стеклянная рамка */
.hx-frame {
  position: relative;
  padding: 8px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 28px !important;
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 30px 70px -26px rgba(0,0,0,.8);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.hx-frame.is-focused { background: rgba(147,197,253,.24); border-color: rgba(191,219,254,.7); }
.hx-console.is-scanning .hx-frame { border-color: rgba(147,197,253,.85); box-shadow: 0 0 40px -6px rgba(59,130,246,.7), 0 30px 70px -26px rgba(0,0,0,.8); }
.hx-console.is-done .hx-frame { border-color: rgba(134,239,172,.8); }
/* бегущий световой контур — по рамке */
.hx-frame::before {
  content: ""; position: absolute; inset: -1px; padding: 2px;
  border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--hx-ang), transparent 0deg 230deg, rgba(56,189,248,0) 240deg, #38BDF8 310deg, #FFFFFF 340deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: hxOrbit 5s linear infinite;
}
.hx-console.is-scanning .hx-frame::before { animation-duration: 1s; }

/* белая карточка внутри */
.hx-search, .hx-search.is-focused, .hx-console.is-done .hx-search {
  height: 76px; padding: 8px 8px 8px 10px; gap: 14px;
  background: #FFFFFF;
  border-radius: 21px !important;
  box-shadow: 0 2px 10px rgba(15,23,42,.10);
}
.hx-search::before { content: none; }
.hx-search-ico {
  flex: none; width: 56px; height: 56px;
  display: grid; place-items: center;
  color: #2563EB; background: #EFF6FF;
  border-radius: 15px !important;
  transition: background .25s, color .25s;
}
.hx-search.is-focused .hx-search-ico { color: #FFFFFF; background: #2563EB; }
.hx-search-ico svg { width: 22px; height: 22px; }
.hx-field { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 3px; cursor: text; }
.hx-field-label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #94A3B8; }
.hx-search.is-focused .hx-field-label { color: #2563EB; }
.hx-search .hx-field input, .hx-search .hx-field input:focus, .hx-search .hx-field input:focus-visible {
  flex: none; height: 26px; padding: 0;
  font-size: 18px; font-weight: 600; color: #0F172A;
}
.hx-search .hx-field input::placeholder { font-weight: 500; color: #94A3B8; }
.hx-kbd {
  flex: none; padding: 5px 8px;
  font: 600 11.5px/1 'Inter', sans-serif; color: #64748B;
  background: #F1F5F9; border: 1px solid #E2E8F0; border-bottom-width: 2px;
  border-radius: 7px !important;
}
.hx-find {
  height: 60px; padding: 0 26px 0 28px; gap: 10px;
  font-size: 16px;
  border-radius: 15px !important;
}
.hx-console-foot { margin-top: 16px; }

@media (max-width: 900px) {
  .hx-frame { padding: 6px; border-radius: 24px !important; }
  .hx-search, .hx-search.is-focused { height: 66px; padding: 6px; gap: 10px; border-radius: 18px !important; }
  .hx-search-ico { width: 48px; height: 48px; border-radius: 13px !important; }
  .hx-search .hx-field input, .hx-search .hx-field input:focus { font-size: 16px; }
  .hx-field-label { font-size: 10.5px; }
  .hx-kbd { display: none; }
  .hx-find { width: 54px; height: 54px; border-radius: 13px !important; }
  .hx-mq-item {
    padding: 4px 14px 4px 4px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
}
.hx-console-foot:empty { display: none; }
/* түндүк: правее, ниже, крупнее; заголовок чуть ниже, чтобы не заходил под шапку */
.hero-fold > .hx-head { margin-top: 72px; }
.hx-accent .hx-tdk-wrap { left: 68%; top: 88%; }
.hx-accent .hx-tdk-wrap,
.hx-accent .hx-tdk-wrap .tdk { width: 340px !important; height: 340px !important; }
@media (max-height: 820px) and (min-width: 901px) { .hero-fold > .hx-head { margin-top: 48px; } }
@media (max-width: 900px) {
  .hero-fold > .hx-head { margin-top: 30px; }
  .hx-accent .hx-tdk-wrap { left: 62%; top: 70%; }
  .hx-accent .hx-tdk-wrap,
  .hx-accent .hx-tdk-wrap .tdk { width: 220px !important; height: 220px !important; }
  .hx-mobile .hx-find svg { display: block !important; width: 20px; height: 20px; }
}
@media (max-width: 900px) { .hx-mobile .hx-find svg { width: 20px !important; height: 20px !important; min-width: 20px; } }

/* ══════════════════════════════════════════════════════════════
   Hero v6: источники — внешний край непрозрачный, к гербу уходит
   в прозрачность; поиск — тёмная непрозрачная строка в том же
   материале, с синим свечением.
   ══════════════════════════════════════════════════════════════ */
.hx-node, .hx-node--left {
  background: linear-gradient(90deg, rgba(11,19,36,.96) 0%, rgba(11,19,36,.82) 45%, rgba(11,19,36,.12) 100%);
  border: 1px solid rgba(255,255,255,.12);
  border-right-color: transparent;
}
.hx-node--right {
  background: linear-gradient(270deg, rgba(11,19,36,.96) 0%, rgba(11,19,36,.82) 45%, rgba(11,19,36,.12) 100%);
  border-right-color: rgba(255,255,255,.12);
  border-left-color: transparent;
}
.hx-node:hover, .hx-node:focus-visible {
  background: linear-gradient(90deg, rgba(15,27,52,1) 0%, rgba(15,27,52,.9) 45%, rgba(37,99,235,.25) 100%);
  border-color: rgba(147,197,253,.35); border-right-color: transparent;
}
.hx-node--right:hover, .hx-node--right:focus-visible {
  background: linear-gradient(270deg, rgba(15,27,52,1) 0%, rgba(15,27,52,.9) 45%, rgba(37,99,235,.25) 100%);
  border-color: rgba(147,197,253,.35); border-left-color: transparent;
}
.hx-node.is-scanning { background: linear-gradient(90deg, #1E3A8A 0%, #1D4ED8 55%, rgba(59,130,246,.35) 100%); border-color: rgba(147,197,253,.7); border-right-color: transparent; }
.hx-node--right.is-scanning { background: linear-gradient(270deg, #1E3A8A 0%, #1D4ED8 55%, rgba(59,130,246,.35) 100%); border-right-color: rgba(147,197,253,.7); border-left-color: transparent; }
.hx-node.is-done { background: linear-gradient(90deg, #052E1C 0%, #065F46 55%, rgba(16,185,129,.3) 100%); border-color: rgba(110,231,183,.5); border-right-color: transparent; }
.hx-node--right.is-done { background: linear-gradient(270deg, #052E1C 0%, #065F46 55%, rgba(16,185,129,.3) 100%); border-right-color: rgba(110,231,183,.5); border-left-color: transparent; }

/* поиск: тёмная строка */
.hx-frame, .hx-frame.is-focused, .hx-console.is-scanning .hx-frame, .hx-console.is-done .hx-frame {
  padding: 0;
  background: linear-gradient(180deg, #13213D 0%, #0B1324 100%);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px !important;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 30px 70px -24px rgba(0,0,0,.85);
}
.hx-frame.is-focused { border-color: #3B82F6; box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 0 0 4px rgba(59,130,246,.28), 0 30px 70px -24px rgba(0,0,0,.85); }
.hx-console.is-scanning .hx-frame { border-color: #60A5FA; box-shadow: 0 0 0 4px rgba(59,130,246,.3), 0 0 50px -6px rgba(59,130,246,.75), 0 30px 70px -24px rgba(0,0,0,.85); }
.hx-console.is-done .hx-frame { border-color: #4ADE80; box-shadow: 0 0 0 4px rgba(34,197,94,.25), 0 30px 70px -24px rgba(0,0,0,.85); }
.hx-frame::before { inset: -1px; padding: 1.5px; }
.hx-search, .hx-search.is-focused, .hx-console.is-done .hx-search {
  height: 72px; padding: 8px 8px 8px 22px; gap: 14px;
  background: transparent; box-shadow: none; border-radius: 20px !important;
}
.hx-search-ico, .hx-search.is-focused .hx-search-ico {
  width: auto; height: auto; background: none; color: #60A5FA; border-radius: 0 !important;
}
.hx-search-ico svg { width: 22px; height: 22px; }
.hx-search .hx-field input, .hx-search .hx-field input:focus, .hx-search .hx-field input:focus-visible {
  height: 30px; font-size: 17px; font-weight: 500; color: #FFFFFF; caret-color: #60A5FA;
}
.hx-search .hx-field input::placeholder { color: rgba(226,232,240,.55); font-weight: 400; }
.hx-find {
  height: 56px; padding: 0 26px 0 28px;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 40%, #1D4ED8 100%);
  box-shadow: 0 8px 24px -8px rgba(59,130,246,.9), inset 0 1px 0 rgba(255,255,255,.3);
}
/* выпадающие подсказки — тоже тёмные */
.hx-suggest { background: #0F1A2E; box-shadow: 0 30px 60px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.12); }
.hx-suggest-item { color: rgba(148,163,184,.8); }
.hx-suggest-item:hover, .hx-suggest-item:focus-visible { background: rgba(59,130,246,.16); color: #93C5FD; }
.hx-suggest-ico { color: #93C5FD; background: rgba(59,130,246,.18); }
.hx-suggest-name { color: #FFFFFF; }
.hx-suggest-meta, .hx-suggest-loading { color: rgba(203,213,225,.7); }
.hx-suggest-all { color: #93C5FD; background: rgba(255,255,255,.04); border-top-color: rgba(255,255,255,.1); }
.hx-suggest-all:hover { background: rgba(59,130,246,.14); }
.hx-suggest-count { color: #FFFFFF; background: rgba(59,130,246,.35); }
.hx-mini-spin.is-dark { border-color: rgba(147,197,253,.25); border-top-color: #93C5FD; }
.hx-scan { color: rgba(255,255,255,.86); background: rgba(11,19,36,.9); border-color: rgba(255,255,255,.14); }
.hx-scan-label b { color: #FFFFFF; }
.hx-scan-count { color: #93C5FD; }

@media (max-width: 900px) {
  .hx-search, .hx-search.is-focused { height: 62px; padding: 6px 6px 6px 16px; gap: 10px; }
  .hx-search .hx-field input, .hx-search .hx-field input:focus { font-size: 16px; }
  .hx-find { width: 50px; height: 50px; padding: 0; border-radius: 13px !important; }
  .hx-mq-item { background: rgba(11,19,36,.85); border-color: rgba(255,255,255,.12); }
}
@media (max-width: 900px) { .hx-search .hx-field input::placeholder { font-size: 14.5px; } }

/* Hero v6.1: светлее — сине-серый тон вместо почти чёрного */
.hx-node, .hx-node--left {
  background: linear-gradient(90deg, rgba(56,74,110,.86) 0%, rgba(56,74,110,.6) 45%, rgba(56,74,110,.08) 100%);
  border-color: rgba(255,255,255,.22); border-right-color: transparent;
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
}
.hx-node--right {
  background: linear-gradient(270deg, rgba(56,74,110,.86) 0%, rgba(56,74,110,.6) 45%, rgba(56,74,110,.08) 100%);
  border-color: rgba(255,255,255,.22); border-left-color: transparent; border-right-color: rgba(255,255,255,.22);
}
.hx-node:hover, .hx-node:focus-visible {
  background: linear-gradient(90deg, rgba(71,94,140,.95) 0%, rgba(71,94,140,.72) 45%, rgba(96,165,250,.22) 100%);
  border-color: rgba(191,219,254,.45); border-right-color: transparent;
}
.hx-node--right:hover, .hx-node--right:focus-visible {
  background: linear-gradient(270deg, rgba(71,94,140,.95) 0%, rgba(71,94,140,.72) 45%, rgba(96,165,250,.22) 100%);
  border-color: rgba(191,219,254,.45); border-left-color: transparent;
}

.hx-frame, .hx-frame.is-focused, .hx-console.is-scanning .hx-frame, .hx-console.is-done .hx-frame {
  background: linear-gradient(180deg, rgba(76,98,142,.82) 0%, rgba(52,70,108,.82) 100%);
  border-color: rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 26px 60px -24px rgba(0,0,0,.7);
}
.hx-frame.is-focused { border-color: #93C5FD; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 0 4px rgba(147,197,253,.3), 0 26px 60px -24px rgba(0,0,0,.7); }
.hx-search-ico, .hx-search.is-focused .hx-search-ico { color: #BFDBFE; }
.hx-search .hx-field input::placeholder { color: rgba(241,245,249,.72); }
.hx-suggest { background: #2B3A5C; }
.hx-scan { background: rgba(52,70,108,.92); }
@media (max-width: 900px) { .hx-mq-item { background: rgba(56,74,110,.8); border-color: rgba(255,255,255,.2); } }

/* Hero v6.2: просто матовое стекло — без цветной заливки, только размытие */
.hx-node, .hx-node--left, .hx-node--right,
.hx-node:hover, .hx-node:focus-visible, .hx-node--right:hover, .hx-node--right:focus-visible {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.hx-node:hover, .hx-node:focus-visible, .hx-node--right:hover, .hx-node--right:focus-visible {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.4);
}
.hx-frame, .hx-frame.is-focused, .hx-console.is-scanning .hx-frame, .hx-console.is-done .hx-frame {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.28);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.hx-frame.is-focused { border-color: rgba(255,255,255,.6); }
.hx-suggest { background: rgba(30,36,48,.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.hx-scan { background: rgba(255,255,255,.1); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
@media (max-width: 900px) {
  .hx-mq-item { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
}

/* Hero v6.3: без рамок, радиусы меньше */
.hx-node, .hx-node--left, .hx-node--right,
.hx-node:hover, .hx-node:focus-visible, .hx-node--right:hover, .hx-node--right:focus-visible,
.hx-node.is-armed, .hx-node.is-scanning, .hx-node.is-done, .hx-node--right.is-scanning, .hx-node--right.is-done {
  border: 0;
  border-radius: 12px !important;
}
.hx-frame, .hx-frame.is-focused, .hx-console.is-scanning .hx-frame, .hx-console.is-done .hx-frame {
  border: 0;
  border-radius: 14px !important;
}
.hx-frame::before { content: none; }
.hx-search, .hx-search.is-focused, .hx-console.is-done .hx-search { border-radius: 14px !important; }
.hx-find { border-radius: 10px !important; }
.hx-suggest { border-radius: 14px !important; }
.hx-scan { border: 0; border-radius: 10px !important; }
@media (max-width: 900px) {
  .hx-frame { border-radius: 12px !important; }
  .hx-find { border-radius: 9px !important; }
  .hx-mq-item { border: 0; border-radius: 10px !important; }
}
/* источники — чуть плотнее (меньше прозрачности) */
.hx-node, .hx-node--left, .hx-node--right {
  background: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.hx-node:hover, .hx-node:focus-visible, .hx-node--right:hover, .hx-node--right:focus-visible { background: rgba(255,255,255,.2); }

/* ══════════════════════════════════════════════════════════════
   Главная ниже первого экрана (hm-*): крупная типографика, минимум
   текста, те же материалы, что в hero — фото гор, матовое стекло,
   синий акцент, без рамок.
   ══════════════════════════════════════════════════════════════ */
.hm-sec { position: relative; padding: 120px 0; overflow: hidden; }
.hm-wrap { position: relative; z-index: 1; max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.hm-head { margin-bottom: 56px; }
.hm-head--center { text-align: center; }
.hm-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #2563EB;
}
.hm-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hm-head--center .hm-kicker::after { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.hm-h2 {
  margin: 0;
  font-family: 'Inter', sans-serif; font-weight: 800;
  font-size: clamp(36px, 4.4vw, 60px); line-height: 1.08; letter-spacing: 0;
  color: #0B1324; text-wrap: balance;
}
.hm-h2--light { color: #FFFFFF; text-shadow: 0 2px 24px rgba(0,0,0,.35); }
.hm-center { display: flex; justify-content: center; margin-top: 56px; }

/* кнопки */
.hm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 60px; padding: 0 30px;
  font: 700 17px/1 'Inter', sans-serif;
  border: 0; border-radius: 12px !important; cursor: pointer; text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.hm-btn svg { transition: transform .2s; }
.hm-btn:hover svg { transform: translateX(4px); }
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn--primary { color: #FFFFFF; background: linear-gradient(135deg, #3B82F6, #1D4ED8); box-shadow: 0 14px 30px -12px rgba(37,99,235,.8); }
.hm-btn--light { color: #0B1324; background: #FFFFFF; box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.hm-btn--ghost { color: #0B1324; background: #EEF2F7; }
.hm-btn--ghost:hover { background: #E2E8F0; }
.hm-btn--block { width: 100%; }
.hm-btn:focus-visible { outline: 3px solid #93C5FD; outline-offset: 3px; }

/* фото-слой (та же смена фото, что в hero) */
.hm-photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; border-radius: inherit; }
.hm-photo .photo-layer { position: absolute; inset: 0; }
.hm-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,12,26,.35) 0%, rgba(6,12,26,.55) 60%, rgba(6,12,26,.82) 100%);
}

/* ─── Сервисы ─── */
.hm-services { background: #FFFFFF; }
.hm-svc-grid {
  display: grid; gap: 20px;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(300px, auto));
}
.hm-svc {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 32px;
  color: #0B1324; text-decoration: none;
  background: #F3F6FA;
  border-radius: 16px !important;
  transition: transform .3s var(--hx-ease, ease), box-shadow .3s, background .3s;
}
.hm-svc:hover { transform: translateY(-4px); background: #EEF3FB; box-shadow: 0 24px 50px -28px rgba(15,23,42,.45); }
.hm-svc:focus-visible { outline: 3px solid #93C5FD; outline-offset: 3px; }
.hm-svc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
.hm-svc-tag {
  display: inline-flex; padding: 7px 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: #2563EB; background: #FFFFFF; border-radius: 8px !important;
}
.hm-svc-glyph { width: 84px; height: 84px; object-fit: contain; margin: -12px -8px 0 0; transition: transform .4s var(--hx-ease, ease); }
.hm-svc:hover .hm-svc-glyph { transform: scale(1.08) rotate(-4deg); }
.hm-svc-title { margin: auto 0 10px; font-size: 30px; font-weight: 800; line-height: 1.12; letter-spacing: 0; color: inherit; }
.hm-svc-desc { margin: 0; font-size: 18px; line-height: 1.45; color: #475569; }
.hm-svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.hm-svc-meta { font-size: 15px; color: #64748B; }
.hm-svc-meta b { font-size: 22px; font-weight: 800; color: #0B1324; margin-right: 4px; }
.hm-arrow {
  flex: none; width: 52px; height: 52px; display: grid; place-items: center;
  color: #0B1324; background: #FFFFFF; border-radius: 12px !important;
  transition: background .25s, color .25s, transform .25s;
}
.hm-svc:hover .hm-arrow { color: #FFFFFF; background: #2563EB; transform: rotate(-45deg); }

.hm-svc--lead { grid-row: 1 / span 2; min-height: 620px; color: #FFFFFF; background: #0B1324; padding: 36px; }
.hm-svc--lead:hover { background: #0B1324; box-shadow: 0 30px 60px -28px rgba(2,6,23,.7); }
.hm-svc--lead .hm-svc-tag { position: relative; z-index: 1; align-self: flex-start; color: #FFFFFF; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hm-svc-lead-body { position: relative; z-index: 1; margin-top: auto; }
.hm-svc--lead .hm-svc-title { font-size: 44px; margin-top: 0; }
.hm-svc--lead .hm-svc-desc { color: rgba(255,255,255,.85); font-size: 19px; margin-bottom: 28px; }
.hm-svc-num {
  display: inline-flex; flex-direction: column; gap: 4px;
  margin-bottom: 24px; padding: 16px 20px;
  background: rgba(255,255,255,.14); border-radius: 14px !important;
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.hm-svc-num b { font-size: 46px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.hm-svc-num span { font-size: 15px; color: rgba(255,255,255,.85); }
.hm-svc--lead .hm-photo .hero-photo { transition: opacity 1.4s ease, transform 8s ease-out; }
.hm-svc--lead:hover .hm-photo .hero-photo.is-on { transform: scale(1.05); }

/* ─── Цифры ─── */
.hm-stats { padding: 140px 0; background: #0B1324; text-align: center; }
.hm-stats .hm-photo::after { background: linear-gradient(180deg, rgba(6,12,26,.55), rgba(6,12,26,.45) 50%, rgba(6,12,26,.7)); }
.hm-stats .hm-h2 { margin-bottom: 56px; }
.hm-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hm-stat {
  padding: 40px 20px 34px;
  background: rgba(255,255,255,.14);
  border-radius: 16px !important;
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.hm-stat .stats-val {
  font-family: 'Inter', sans-serif; font-size: clamp(36px, 3.8vw, 56px); font-weight: 800; line-height: 1;
  letter-spacing: 0; color: #FFFFFF; font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.hm-stat-lbl { margin-top: 14px; font-size: 18px; font-weight: 500; color: rgba(255,255,255,.88); }

/* ─── Как это работает ─── */
.hm-how { background: #FFFFFF; }
.hm-steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 0; padding: 0; list-style: none; }
.hm-steps-line { position: absolute; left: 16.66%; right: 16.66%; top: 48px; height: 2px; background: #E2E8F0; border-radius: 2px; }
.hm-steps-line i { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, #3B82F6, #38BDF8); border-radius: 2px; transition: width 1.6s var(--hx-ease, ease) .4s; }
.hm-how.is-visible .hm-steps-line i { width: 100%; }
.hm-step { position: relative; z-index: 1; text-align: center; }
.hm-step-n {
  display: inline-grid; place-items: center;
  width: 96px; height: 96px; margin-bottom: 28px;
  font-size: 40px; font-weight: 800; color: #FFFFFF;
  background: linear-gradient(135deg, #3B82F6, #1D4ED8);
  border-radius: 24px !important;
  box-shadow: 0 0 0 10px #FFFFFF, 0 20px 40px -16px rgba(37,99,235,.7);
}
.hm-step-title { margin: 0 0 10px; font-size: 30px; font-weight: 800; line-height: 1.15; color: #0B1324; }
.hm-step-desc { margin: 0; font-size: 18px; line-height: 1.45; color: #475569; }

/* ─── Тарифы ─── */
.hm-pricing { background: #F3F6FA; }
.hm-price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.hm-price-grid > div { display: flex; }
.hm-price {
  position: relative; flex: 1;
  display: flex; flex-direction: column;
  padding: 34px 28px 28px;
  background: #FFFFFF; border-radius: 16px !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
  transition: transform .3s, box-shadow .3s;
}
.hm-price:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(15,23,42,.4); }
.hm-price.is-popular { color: #FFFFFF; background: linear-gradient(160deg, #1E3A8A 0%, #0B1324 100%); box-shadow: 0 30px 60px -28px rgba(30,58,138,.8); }
.hm-price-badge {
  /* Сидит на верхней кромке карточки — не наезжает на длинные названия («Корпоративный») */
  position: absolute; top: 0; right: 24px; z-index: 1; transform: translateY(-50%);
  padding: 6px 10px; font-size: 12px; font-weight: 700; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  color: #0B1324; background: #FFFFFF; border-radius: 7px !important;
  box-shadow: 0 4px 12px -4px rgba(15,23,42,.25);
}
.hm-price-name { margin: 0 0 8px; font-size: 26px; font-weight: 800; color: inherit; }
.hm-price-desc { margin: 0 0 28px; font-size: 16px; color: #64748B; }
.hm-price.is-popular .hm-price-desc { color: rgba(255,255,255,.75); }
.hm-price-amount { display: flex; align-items: baseline; gap: 10px; margin-bottom: 28px; }
.hm-price-unit { font-size: 17px; font-weight: 600; color: #94A3B8; }
.hm-skel { display: inline-block; height: 12px; border-radius: 6px !important; background: linear-gradient(90deg, #E2E8F0, #F1F5F9, #E2E8F0); background-size: 200% 100%; animation: hmSkel 2.4s ease-in-out infinite; }
.hm-skel--price { width: 120px; height: 40px; border-radius: 10px !important; }
.hm-price.is-popular .hm-skel { background: linear-gradient(90deg, rgba(255,255,255,.14), rgba(255,255,255,.26), rgba(255,255,255,.14)); background-size: 200% 100%; }
@keyframes hmSkel { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.hm-price-list { display: flex; flex-direction: column; gap: 16px; margin: 0 0 32px; padding: 0; list-style: none; }
.hm-price-list li { display: flex; align-items: center; gap: 12px; }
.hm-price-check { flex: none; width: 24px; height: 24px; display: grid; place-items: center; color: #2563EB; background: #EFF6FF; border-radius: 7px !important; }
.hm-price.is-popular .hm-price-check { color: #FFFFFF; background: rgba(255,255,255,.18); }
.hm-price .hm-btn { margin-top: auto; height: 56px; padding: 0 16px; text-decoration: none; text-align: center; }
/* Тарифы из /api/auth/plans */
.hm-pricing { scroll-margin-top: 72px; }
.hm-price-num { font-family: var(--font-num, Inter, system-ui, sans-serif); font-size: 44px; font-weight: 800; line-height: 1; color: inherit; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hm-price-from { font-size: 18px; font-weight: 700; color: #64748B; }
.hm-price.is-popular .hm-price-from, .hm-price.is-popular .hm-price-unit { color: rgba(255,255,255,.7); }
.hm-price .hm-price-amount { margin-bottom: 8px; flex-wrap: wrap; row-gap: 4px; }
.hm-price-alt { margin: 0 0 26px; min-height: 22px; font-size: 15px; font-weight: 600; color: #64748B; }
.hm-price.is-popular .hm-price-alt { color: #BFDBFE; }
.hm-price-list li { align-items: flex-start; font-size: 15px; line-height: 1.45; }
.hm-price-list li > span:last-child { padding-top: 2px; }
.hm-price-until { margin: -16px 0 16px; font-size: 14px; color: #64748B; }
.hm-price.is-popular .hm-price-until { color: rgba(255,255,255,.75); }
.hm-price.is-mine { box-shadow: 0 0 0 2px #2563EB, 0 24px 50px -28px rgba(37,99,235,.5); }
.hm-price.is-popular.is-mine { box-shadow: 0 0 0 2px #93C5FD, 0 30px 60px -28px rgba(30,58,138,.8); }
.hm-price-badge.is-mine { color: #FFFFFF; background: #2563EB; }
.hm-price.is-popular .hm-price-badge.is-mine { color: #0B1324; background: #93C5FD; }
.hm-price.is-skel:hover { transform: none; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.hm-skel--name { width: 58%; height: 26px; margin-bottom: 12px; border-radius: 8px !important; }
.hm-skel--desc { width: 76%; height: 14px; margin-bottom: 28px; }
.hm-skel--btn { display: block; width: 100%; height: 56px; margin-top: auto; border-radius: 12px !important; }
.hm-price-note { max-width: 760px; margin: 36px auto 0; text-align: center; font-size: 15px; line-height: 1.6; color: #64748B; }
.hm-link { padding: 0; border: 0; background: none; font: inherit; color: #1D4ED8; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.hm-link:hover { color: #1E3A8A; }
.hm-price-fail { max-width: 560px; margin: 0 auto; padding: 36px 32px; text-align: center; background: #FFFFFF; border-radius: 16px !important; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.hm-price-fail-t { margin: 0 0 8px; font-size: 20px; font-weight: 800; color: #0B1324; }
.hm-price-fail-s { margin: 0 0 22px; font-size: 15px; line-height: 1.55; color: #64748B; }

/* ─── Финальный призыв ─── */
.hm-cta { background: #F3F6FA; padding-top: 0; }
.hm-cta-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 36px;
  min-height: 420px; padding: 72px;
  background: #0B1324; border-radius: 24px !important;
}
.hm-cta-card > .hm-h2, .hm-cta-card > .hm-btn { position: relative; z-index: 2; }
.hm-cta-card .hm-photo::after { background: linear-gradient(90deg, rgba(6,12,26,.82) 0%, rgba(6,12,26,.5) 55%, rgba(6,12,26,.25) 100%); }
.hm-cta-tdk { position: absolute; right: 60px; top: 50%; z-index: 1; translate: 0 -50%; opacity: .75; pointer-events: none; }
.hm-cta-tdk .tdk { position: relative; left: auto; top: auto; transform: none; -webkit-mask-image: none; mask-image: none; display: block; }
.hm-cta-tdk #tdkGlow stop { stop-opacity: 0 !important; }
.hm-cta-tdk .tdk-bold { stroke: #FFFFFF; stroke-opacity: .9; stroke-width: 2.2; }
.hm-cta-tdk .tdk-edge { stroke: #FFFFFF; stroke-opacity: .8; stroke-width: 1.6; }
.hm-cta-tdk .tdk-thin, .hm-cta-tdk .tdk-dots { stroke: #FFFFFF; stroke-opacity: .45; }
.hm-cta-tdk .tdk-axis { stroke-opacity: 0; }
.hm-cta-tdk .tdk-ray { stroke: #FFFFFF; stroke-opacity: .75; stroke-width: 1.6; fill: rgba(255,255,255,.06); }
.hm-cta-tdk .tdk-svg circle[fill="#FFFFFF"] { fill: transparent; }
.hm-cta-tdk .tdk-svg circle[stroke="#FFFFFF"] { stroke: rgba(255,255,255,.08); }

/* ─── Футер главной — тёмный, крупнее ─── */
html.page-space .site-footer { background: #0B1324 !important; color: #FFFFFF; border-top: 0 !important; padding: 88px 0 40px; }
html.page-space .site-footer .container { max-width: 1320px; padding: 0 40px; }
html.page-space .site-footer .footer-brand-blurb { font-size: 16px; line-height: 1.55; color: rgba(226,232,240,.7) !important; }
html.page-space .site-footer .logo-lockup, html.page-space .site-footer .logo-lockup * { color: #FFFFFF !important; }
html.page-space .site-footer .footer-col-title { font-size: 14px; letter-spacing: .1em; color: rgba(255,255,255,.5) !important; }
html.page-space .site-footer .footer-link { font-size: 17px; color: #FFFFFF !important; opacity: .86; transition: opacity .2s, color .2s; }
html.page-space .site-footer .footer-link:hover { opacity: 1; color: #93C5FD !important; }
html.page-space .site-footer .footer-coat-card { background: rgba(255,255,255,.08) !important; border: 0 !important; border-radius: 12px !important; }
html.page-space .site-footer .footer-coat-title { color: #FFFFFF !important; }
html.page-space .site-footer .footer-coat-sub { color: rgba(226,232,240,.7) !important; }
html.page-space .site-footer .footer-bottom { border-top-color: rgba(255,255,255,.1) !important; color: rgba(226,232,240,.6) !important; font-size: 14px; }
html.page-space .site-footer .footer-bottom * { color: rgba(226,232,240,.7) !important; }

/* ─── Адаптив ─── */
@media (max-width: 1100px) {
  .hm-svc-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .hm-svc--lead { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
  .hm-stats-grid, .hm-price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .hm-sec { padding: 80px 0; }
  .hm-wrap { padding: 0 16px; }
  .hm-head { margin-bottom: 36px; }
  .hm-kicker { font-size: 13px; }
  .hm-svc-grid { grid-template-columns: 1fr; gap: 14px; }
  .hm-svc { padding: 24px; }
  .hm-svc-title { font-size: 26px; }
  .hm-svc--lead { min-height: 440px; padding: 24px; }
  .hm-svc--lead .hm-svc-title { font-size: 34px; }
  .hm-svc-num b { font-size: 36px; }
  .hm-stats { padding: 88px 0; }
  .hm-stats-grid { gap: 12px; }
  .hm-stat { padding: 28px 12px 24px; }
  .hm-stat-lbl { font-size: 15px; }
  .hm-steps { grid-template-columns: 1fr; gap: 36px; }
  .hm-steps-line { left: 50%; right: auto; top: 48px; bottom: 48px; width: 2px; height: auto; translate: -1px 0; }
  .hm-steps-line i { width: 100% !important; height: 0; transition: height 1.6s var(--hx-ease, ease) .4s; }
  .hm-how.is-visible .hm-steps-line i { height: 100%; }
  .hm-step-title { font-size: 26px; }
  .hm-price-grid { grid-template-columns: 1fr; }
  .hm-price { padding: 28px 22px 22px; }
  .hm-price-num { font-size: 38px; }
  .hm-price-note { margin-top: 28px; font-size: 14px; text-align: left; }
  .hm-cta-card { padding: 40px 24px; min-height: 380px; gap: 28px; }
  .hm-cta-tdk { right: -120px; opacity: .45; }
  .hm-btn { height: 56px; padding: 0 24px; font-size: 16px; }
  html.page-space .site-footer { padding: 64px 0 32px; }
  html.page-space .site-footer .container { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-skel { animation: none; }
  .hm-steps-line i { transition: none; }
}
@media (max-width: 767px) {
  /* шаги: номер слева, текст справа, линия по номерам */
  .hm-steps { gap: 28px; }
  .hm-step { display: grid; grid-template-columns: 72px 1fr; column-gap: 20px; align-items: center; text-align: left; }
  .hm-step-n { grid-row: 1 / span 2; width: 72px; height: 72px; margin: 0; font-size: 30px; border-radius: 18px !important; box-shadow: 0 0 0 8px #FFFFFF, 0 16px 30px -14px rgba(37,99,235,.7); }
  .hm-step-title { align-self: end; margin-bottom: 4px; font-size: 24px; }
  .hm-step-desc { align-self: start; font-size: 16px; }
  .hm-steps-line { left: 36px; top: 36px; bottom: 36px; translate: -1px 0; }
}
@media (max-width: 520px) {
  .hm-stats-grid { grid-template-columns: 1fr; }
  .hm-stat { padding: 26px 16px 22px; }
  .hm-stat .stats-val { font-size: 44px; }
}

/* ══════════════════════════════════════════════════════════════
   Hero v7: параллакс при прокрутке, микро-анимации, производительность.
   Всё движение — transform/opacity (слои на видеокарте); под матовыми
   элементами нет постоянно меняющегося фона.
   ══════════════════════════════════════════════════════════════ */
/* фото: без бесконечного «наезда» (он заставлял каждый кадр заново
   размывать фон под карточками) — движение даёт параллакс прокрутки */
.hx-photos-zoom { animation-fill-mode: backwards; will-change: transform; }
.hx-photos-zoom .hero-photo, .hx-photos-zoom .hero-photo.is-on { transform: none; transition: opacity 1.4s ease; }
.hx-aurora i { animation: hxFadeIn 2s ease 1s both; }
.hx-head, .hx-stage { will-change: transform; }

/* огоньки на дорожках */
.hx-dots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hx-dot {
  position: absolute; left: 0; top: 0;
  width: 5px; height: 5px;
  background: #BFDBFE; border-radius: 999px !important;
  box-shadow: 0 0 6px 2px rgba(96,165,250,.85);
  offset-rotate: 0deg; offset-distance: 0%;
  opacity: 0;
  animation: hxDot var(--dur) linear var(--delay) infinite;
  will-change: offset-distance, opacity;
}
.hx-dots.is-scanning .hx-dot { width: 6px; height: 6px; background: #FFFFFF; box-shadow: 0 0 10px 3px rgba(96,165,250,.95); animation-duration: var(--dur-fast); }
@keyframes hxDot {
  0%   { offset-distance: 0%;   opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.hx-stage.is-paused .hx-dot { animation-play-state: paused; }

/* түндүк: лучи отдельным слоем */
.tdk { position: relative; }
.tdk-spin-outer, .tdk-spin { position: absolute; inset: 0; }
.tdk-spin-outer { transform: rotate(calc(var(--sr, 0) * 1deg)); }
.tdk-spin { animation: hxTdkSpin 240s linear infinite; will-change: transform; }
.tdk-spin .tdk-svg { width: 100%; height: 100%; }
.tdk-svg-main { position: relative; }
.hx-tdk-wrap .tdk-rays, .hm-cta-tdk .tdk-rays { animation: none !important; }
@keyframes hxTdkSpin { to { transform: rotate(360deg); } }

/* блик за курсором: карточки источников и строка поиска */
.hx-node::before, .hx-frame::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.hx-node:hover::before, .hx-frame:hover::after { opacity: 1; }
.hx-node > *, .hx-frame > * { position: relative; z-index: 1; }
.hx-node > .hx-tip { position: absolute; z-index: 20; }
.hx-frame { transition: transform .35s var(--hx-ease), background .3s, box-shadow .3s; }
.hx-frame.is-focused { transform: translateY(-2px); }

/* кнопка «Найти»: нажатие и иконка */
.hx-find { transition: transform .18s var(--hx-ease), filter .2s, box-shadow .2s; }
.hx-find:hover:not(:disabled) { box-shadow: 0 14px 30px -10px rgba(59,130,246,1), inset 0 1px 0 rgba(255,255,255,.3); }
.hx-find:active:not(:disabled) { transform: scale(.96); }

/* источники: герб чуть «вдыхает» при наведении, текст сдвигается к нему */
.hx-node-txt { transition: transform .35s var(--hx-ease); }
.hx-node--left:hover .hx-node-txt { transform: translateX(-3px); }
.hx-node--right:hover .hx-node-txt { transform: translateX(3px); }

/* подсказка прокрутки — «мышь» с колёсиком */
.hx .hero-scroll-hint { gap: 10px; padding: 8px 16px 8px 12px; transition: background .2s, transform .2s, opacity .1s linear; }
.hx-mouse {
  position: relative; flex: none;
  width: 16px; height: 24px;
  border: 1.6px solid rgba(255,255,255,.85); border-radius: 9px !important;
}
.hx-mouse i {
  position: absolute; left: 50%; top: 4px;
  width: 2px; height: 5px; margin-left: -1px;
  background: #FFFFFF; border-radius: 2px !important;
  animation: hxWheel 1.8s cubic-bezier(.6,0,.4,1) infinite;
}
@keyframes hxWheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(8px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }

/* нижние секции рендерятся, только когда близко к экрану */
.hm-sec { content-visibility: auto; contain-intrinsic-size: auto 900px; }

@media (prefers-reduced-motion: reduce) {
  .hx-dot, .tdk-spin, .hx-mouse i { animation: none !important; }
  .hx-dot { display: none; }
}
/* подсказка прокрутки: появление без удержания opacity (её гасит параллакс), без вечного свечения */
.hx .hero-scroll-hint { opacity: 1; animation: hero-scroll-hint-in 600ms var(--ease-out) 1800ms backwards; }

/* ══════════════════════════════════════════════════════════════
   Hero v8: вместо прозрачных блоков — белые плотные (источники,
   поиск, плитки «Платформа в цифрах»). Тёмный текст, синий акцент.
   ══════════════════════════════════════════════════════════════ */
.hx-node, .hx-node--left, .hx-node--right,
.hx-node:hover, .hx-node:focus-visible, .hx-node--right:hover, .hx-node--right:focus-visible {
  background: #FFFFFF;
  border: 0;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 1px 2px rgba(15,23,42,.08), 0 14px 30px -14px rgba(2,6,23,.55);
  transition: transform .3s var(--hx-ease), box-shadow .3s, background .3s;
}
.hx-node:hover, .hx-node:focus-visible, .hx-node--right:hover, .hx-node--right:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(15,23,42,.08), 0 20px 40px -16px rgba(2,6,23,.6), 0 0 0 3px rgba(59,130,246,.25);
}
.hx-node::before { background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(59,130,246,.10), transparent 70%); }
.hx-node-txt b, .hx-node.is-scanning .hx-node-txt b { color: #0F172A; text-shadow: none; }
.hx-node-txt small, .hx-node.is-scanning .hx-node-txt small { color: #64748B; text-shadow: none; }
.hx-emb { box-shadow: 0 0 0 1px #E2E8F0, 0 4px 10px -4px rgba(15,23,42,.25); }
.hx-node:hover .hx-emb { box-shadow: 0 0 0 2px #BFDBFE, 0 6px 14px -6px rgba(15,23,42,.3); }
.hx-node.is-armed .hx-emb { box-shadow: 0 0 0 2px #93C5FD; }
.hx-node.is-scanning, .hx-node--right.is-scanning { background: #2563EB; box-shadow: 0 0 0 4px rgba(147,197,253,.5), 0 20px 40px -14px rgba(37,99,235,.8); }
.hx-node.is-scanning .hx-node-txt b { color: #FFFFFF; }
.hx-node.is-scanning .hx-node-txt small { color: rgba(255,255,255,.85); }
.hx-node.is-scanning .hx-emb { box-shadow: 0 0 0 3px rgba(255,255,255,.6); }
.hx-node.is-done, .hx-node--right.is-done { background: #F0FDF4; box-shadow: 0 0 0 2px #86EFAC, 0 14px 30px -14px rgba(2,6,23,.5); }
.hx-node.is-done .hx-emb { box-shadow: 0 0 0 2px #4ADE80; }

/* поиск — белая строка */
.hx-frame, .hx-frame.is-focused, .hx-console.is-scanning .hx-frame, .hx-console.is-done .hx-frame {
  background: #FFFFFF;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 1px 2px rgba(15,23,42,.08), 0 24px 56px -20px rgba(2,6,23,.65);
}
.hx-frame.is-focused { box-shadow: 0 0 0 4px rgba(147,197,253,.6), 0 24px 56px -20px rgba(2,6,23,.65); }
.hx-console.is-scanning .hx-frame { box-shadow: 0 0 0 4px rgba(59,130,246,.45), 0 0 50px -6px rgba(59,130,246,.7), 0 24px 56px -20px rgba(2,6,23,.65); }
.hx-console.is-done .hx-frame { box-shadow: 0 0 0 4px rgba(74,222,128,.5), 0 24px 56px -20px rgba(2,6,23,.65); }
.hx-frame::after { background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(59,130,246,.07), transparent 70%); }
.hx-search-ico, .hx-search.is-focused .hx-search-ico { color: #2563EB; }
.hx-search .hx-field input, .hx-search .hx-field input:focus, .hx-search .hx-field input:focus-visible { color: #0F172A; caret-color: #2563EB; }
.hx-search .hx-field input::placeholder { color: #94A3B8; }

/* подсказки и прогресс — снова светлые */
.hx-suggest { background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 24px 50px -16px rgba(2,6,23,.45), 0 0 0 1px #E2E8F0; }
.hx-suggest-item { color: #94A3B8; }
.hx-suggest-item:hover, .hx-suggest-item:focus-visible { background: #F1F5FF; color: #2563EB; }
.hx-suggest-ico { color: #2563EB; background: #EFF6FF; }
.hx-suggest-name { color: #0F172A; }
.hx-suggest-meta, .hx-suggest-loading { color: #64748B; }
.hx-suggest-all { color: #2563EB; background: #F8FAFF; border-top-color: #E2E8F0; }
.hx-suggest-all:hover { background: #EFF6FF; }
.hx-suggest-count { color: #1D4ED8; background: #DBEAFE; }
.hx-mini-spin.is-dark { border-color: rgba(37,99,235,.2); border-top-color: #2563EB; }
.hx-scan { color: #334155; background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: 0 10px 30px -14px rgba(2,6,23,.5); }
.hx-scan-label b { color: #0F172A; }
.hx-scan-spin { border-color: rgba(37,99,235,.2); border-top-color: #2563EB; }
.hx-scan-count { color: #2563EB; }

/* мобильная лента гербов */
@media (max-width: 900px) {
  .hx-mq-item { color: #0F172A; background: #FFFFFF; -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: none; box-shadow: 0 6px 16px -8px rgba(2,6,23,.5); }
  .hx-mq-item img { box-shadow: 0 0 0 1px #E2E8F0; }
}

/* «Платформа в цифрах» — белые плитки, синие числа */
.hm-stat {
  background: #FFFFFF;
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: 0 1px 2px rgba(15,23,42,.08), 0 24px 50px -24px rgba(2,6,23,.6);
  transition: transform .3s var(--hx-ease, ease), box-shadow .3s;
}
.hm-stat:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(15,23,42,.08), 0 30px 60px -24px rgba(2,6,23,.7); }
.hm-stat .stats-val { color: #1D4ED8; text-shadow: none; }
.hm-stat-lbl { color: #475569; }
.hm-stats .reveal-child[style] { text-shadow: none; }
.hm-stats .hm-h2 { text-shadow: 0 2px 24px rgba(0,0,0,.35); }

/* ══════════════════════════════════════════════════════════════
   Hero v9 (по скриншоту): дымчатое тёмное стекло с тонкой светлой
   рамкой, белое название, полное название ведомства в 2 строки.
   ══════════════════════════════════════════════════════════════ */
.hx-node, .hx-node--left, .hx-node--right,
.hx-node:hover, .hx-node:focus-visible, .hx-node--right:hover, .hx-node--right:focus-visible {
  background: rgba(22,28,38,.62);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px !important;
  -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 0 18px 40px -22px rgba(0,0,0,.7);
}
.hx-node:hover, .hx-node:focus-visible, .hx-node--right:hover, .hx-node--right:focus-visible {
  background: rgba(28,36,50,.72);
  border-color: rgba(255,255,255,.28);
  box-shadow: 0 22px 44px -20px rgba(0,0,0,.75);
}
.hx-node { height: 64px; gap: 12px; }
.hx-node--left  { padding: 0 8px 0 14px; }
.hx-node--right { padding: 0 14px 0 8px; }
.hx-node::before { background: radial-gradient(180px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.08), transparent 70%); }
.hx-node-txt { gap: 2px; }
.hx-node-txt b, .hx-node.is-scanning .hx-node-txt b { font-size: 15.5px; color: #FFFFFF; }
.hx-node-txt small, .hx-node.is-scanning .hx-node-txt small {
  font-size: 12.5px; line-height: 1.3; color: rgba(226,232,240,.78);
  white-space: normal;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hx-emb { width: 46px; height: 46px; box-shadow: 0 4px 12px -4px rgba(0,0,0,.5); }
.hx-emb img { width: 36px; height: 36px; }
.hx-node:hover .hx-emb { box-shadow: 0 0 0 2px rgba(255,255,255,.35), 0 4px 12px -4px rgba(0,0,0,.5); }
.hx-node.is-armed { border-color: rgba(147,197,253,.5); }
.hx-node.is-armed .hx-emb { box-shadow: 0 4px 12px -4px rgba(0,0,0,.5); }
.hx-node.is-scanning, .hx-node--right.is-scanning { background: rgba(29,78,216,.78); border-color: rgba(147,197,253,.85); box-shadow: 0 0 0 3px rgba(96,165,250,.3), 0 18px 40px -16px rgba(37,99,235,.8); }
.hx-node.is-scanning .hx-emb { box-shadow: 0 0 0 3px rgba(255,255,255,.5); }
.hx-node.is-done, .hx-node--right.is-done { background: rgba(6,78,59,.66); border-color: rgba(110,231,183,.6); box-shadow: 0 18px 40px -22px rgba(0,0,0,.7); }
.hx-node.is-done .hx-emb { box-shadow: 0 0 0 2px #4ADE80; }

/* поиск — тот же дымчатый материал */
.hx-frame, .hx-frame.is-focused, .hx-console.is-scanning .hx-frame, .hx-console.is-done .hx-frame {
  background: rgba(22,28,38,.62);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px !important;
  -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 0 24px 56px -24px rgba(0,0,0,.75);
}
.hx-frame.is-focused { background: rgba(28,36,50,.72); border-color: rgba(147,197,253,.7); box-shadow: 0 0 0 3px rgba(96,165,250,.25), 0 24px 56px -24px rgba(0,0,0,.75); }
.hx-console.is-scanning .hx-frame { border-color: rgba(147,197,253,.9); box-shadow: 0 0 0 3px rgba(96,165,250,.35), 0 0 46px -8px rgba(59,130,246,.7); }
.hx-console.is-done .hx-frame { border-color: rgba(110,231,183,.7); }
.hx-frame::after { background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.07), transparent 70%); }
.hx-search, .hx-search.is-focused { border-radius: 12px !important; }
.hx-search-ico, .hx-search.is-focused .hx-search-ico { color: #93C5FD; }
.hx-search .hx-field input, .hx-search .hx-field input:focus, .hx-search .hx-field input:focus-visible { color: #FFFFFF; caret-color: #93C5FD; }
.hx-search .hx-field input::placeholder { color: rgba(226,232,240,.6); }
.hx-find { border-radius: 9px !important; }
.hx-scan { color: rgba(255,255,255,.88); background: rgba(22,28,38,.72); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: none; }
.hx-scan-label b { color: #FFFFFF; }
.hx-scan-spin { border-color: rgba(147,197,253,.25); border-top-color: #93C5FD; }
.hx-scan-count { color: #93C5FD; }

@media (max-width: 900px) {
  .hx-mq-item { color: #FFFFFF; background: rgba(22,28,38,.62); border: 1px solid rgba(255,255,255,.14); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: none; }
  .hx-mq-item img { box-shadow: none; }
}

/* «Платформа в цифрах» — тот же материал */
.hm-stat {
  background: rgba(22,28,38,.62);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px !important;
  -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%);
  box-shadow: 0 24px 50px -26px rgba(0,0,0,.75);
}
.hm-stat:hover { border-color: rgba(255,255,255,.28); box-shadow: 0 30px 60px -26px rgba(0,0,0,.8); }
.hm-stat .stats-val { color: #FFFFFF; }
.hm-stat-lbl { color: rgba(226,232,240,.8); }

/* ══════════════════════════════════════════════════════════════
   Сервисы v2: белые карточки с тонкой рамкой, иконка в мягком
   квадрате, без плашек; главная — тёмно-синяя с түндүк, без фото;
   «Инвестиции» — широкая карточка с двумя ссылками.
   ══════════════════════════════════════════════════════════════ */
.hm-services { background: #F5F7FB; }
.hm-svc, .hm-svc *, .hm-svc:hover, .hm-svc:hover * { text-decoration: none !important; }
.hm-svc-grid {
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.hm-svc {
  padding: 32px;
  background: #FFFFFF;
  border: 1px solid #E5EAF2;
  border-radius: 20px !important;
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.hm-svc:hover { transform: translateY(-4px); background: #FFFFFF; border-color: #C7D7F5; box-shadow: 0 26px 50px -28px rgba(30,58,138,.45); }
.hm-svc-ico {
  display: grid; place-items: center;
  width: 76px; height: 76px; margin-bottom: 28px;
  background: #EEF4FF; border-radius: 20px !important;
  transition: transform .4s var(--hx-ease, ease);
}
.hm-svc-ico img { width: 60px; height: 60px; object-fit: contain; }
.hm-svc:hover .hm-svc-ico { transform: translateY(-3px) rotate(-4deg); }
.hm-svc-title { margin: 0 0 10px; font-size: 28px; }
.hm-svc-desc { font-size: 17px; }
.hm-svc-foot { margin-top: auto; padding-top: 28px; }
.hm-arrow {
  width: 48px; height: 48px;
  color: #0F172A; background: #F1F5F9;
  border-radius: 999px !important;
}
.hm-svc:hover .hm-arrow, .hm-svc-link:hover .hm-arrow { transform: translateX(4px); color: #FFFFFF; background: #2563EB; }

/* главная карточка */
.hm-svc--lead {
  grid-row: 1 / span 2; min-height: 600px; padding: 36px;
  color: #FFFFFF; border: 0;
  background: radial-gradient(120% 80% at 100% 0%, #2B4FB3 0%, #172C66 45%, #0B1530 100%);
}
.hm-svc--lead:hover { background: radial-gradient(120% 80% at 100% 0%, #3159C4 0%, #19317073 45%, #0B1530 100%), #172C66; box-shadow: 0 30px 60px -26px rgba(23,44,102,.8); }
.hm-svc-lead-tdk { position: absolute; right: -170px; top: -150px; opacity: .18; pointer-events: none; transition: transform 1.2s var(--hx-ease, ease); }
.hm-svc--lead:hover .hm-svc-lead-tdk { transform: rotate(18deg); }
.hm-svc-lead-tdk .tdk { position: relative; left: auto; top: auto; transform: none; -webkit-mask-image: none; mask-image: none; display: block; }
.hm-svc-lead-tdk #tdkGlow stop { stop-opacity: 0 !important; }
.hm-svc-lead-tdk .tdk-bold, .hm-svc-lead-tdk .tdk-edge, .hm-svc-lead-tdk .tdk-thin, .hm-svc-lead-tdk .tdk-dots, .hm-svc-lead-tdk .tdk-ray { stroke: #FFFFFF; stroke-opacity: 1; }
.hm-svc-lead-tdk .tdk-axis { stroke-opacity: 0; }
.hm-svc-lead-tdk .tdk-ray { fill: none; }
.hm-svc-lead-tdk .tdk-svg circle[fill="#FFFFFF"] { fill: transparent; }
.hm-svc-lead-tdk .tdk-svg circle[stroke="#FFFFFF"] { stroke: transparent; }
.hm-svc-ico--light { position: relative; z-index: 1; background: rgba(255,255,255,.12); }
.hm-svc-lead-body { position: relative; z-index: 1; margin-top: auto; }
.hm-svc-num {
  display: block; margin: 0 0 18px; padding: 0;
  font-size: 16px; color: rgba(255,255,255,.75);
  background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
}
.hm-svc-num b { display: block; margin-bottom: 4px; font-size: 64px; font-weight: 800; line-height: 1; color: #FFFFFF; letter-spacing: 0; }
.hm-svc--lead .hm-svc-title { font-size: 42px; }
.hm-svc--lead .hm-svc-desc { color: rgba(255,255,255,.8); margin-bottom: 30px; }

/* широкая «Инвестиции» */
.hm-svc--wide { grid-column: 2 / span 2; flex-direction: row; align-items: center; gap: 32px; }
.hm-svc--wide:hover { transform: none; border-color: #E5EAF2; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.hm-svc-wide-l { flex: 1; min-width: 0; }
.hm-svc-links { flex: 1.1; display: flex; flex-direction: column; gap: 12px; }
.hm-svc-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 18px 18px 22px;
  color: #0F172A; background: #F5F7FB;
  border-radius: 16px !important;
  transition: background .25s, transform .3s var(--hx-ease, ease);
}
.hm-svc-link:hover { background: #EEF4FF; transform: translateX(4px); }
.hm-svc-link:focus-visible { outline: 3px solid #93C5FD; outline-offset: 2px; }
.hm-svc-link .hm-arrow { background: #FFFFFF; }
.hm-svc-link-txt { display: flex; flex-direction: column; gap: 3px; }
.hm-svc-link-txt b { font-size: 20px; font-weight: 800; }
.hm-svc-link-txt small { font-size: 15px; color: #64748B; }

@media (max-width: 1100px) {
  .hm-svc-grid { grid-template-columns: 1fr 1fr; }
  .hm-svc--lead { grid-column: 1 / -1; grid-row: auto; min-height: 460px; }
  .hm-svc--wide { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .hm-svc-grid { grid-template-columns: 1fr; }
  .hm-svc { padding: 24px; }
  .hm-svc--lead { min-height: 440px; }
  .hm-svc--lead .hm-svc-title { font-size: 34px; }
  .hm-svc-num b { font-size: 48px; }
  .hm-svc--wide { flex-direction: column; align-items: stretch; gap: 20px; }
  .hm-svc-ico { width: 64px; height: 64px; margin-bottom: 22px; }
  .hm-svc-ico img { width: 50px; height: 50px; }
}

/* ══════════════════════════════════════════════════════════════
   Hero v10: заголовок + поиск по центру экрана (без пустой половины
   на высоких мониторах), фото ровно по высоте hero (без белой полосы
   и обрезанной подписи), түндүк больше не налезает на «за секунды»;
   на мобильном — все источники сеткой вместо обрезанной ленты.
   ══════════════════════════════════════════════════════════════ */
.hero-photos { top: 0; bottom: 0; height: auto; }
.hero-photo-credit { top: auto; bottom: 14px; right: 20px; }
.hx .hero-fold { justify-content: center; padding-bottom: 72px; }
.hero-fold > .hx-head { margin-top: 32px; }
@media (max-width: 900px) { .hero-fold > .hx-head { margin-top: 12px; } }

.hx-src-grid { display: none; }
@media (max-width: 900px) {
  .hx .hero-fold { padding-bottom: 56px; }
  .hx .hero-scroll-hint { display: none; }
  .hero-photo-credit { right: 50%; bottom: 30px; transform: translateX(50%); max-width: calc(100% - 32px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; }
  .hx-mobile { gap: 20px; }
  .hx-marquee { display: none; }
  .hx-src-grid {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    width: 100%; margin: 0; padding: 0; list-style: none;
  }
  .hx-src-chip {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 4px 12px 4px 4px;
    font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; color: #FFFFFF;
    background: rgba(22,28,38,.62);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px !important;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    animation: hxSrcIn .5s var(--hx-ease, ease) calc(.5s + var(--n) * 45ms) both;
  }
  .hx-src-chip img { width: 24px; height: 24px; padding: 2px; object-fit: contain; background: #FFFFFF; border-radius: 999px !important; }
}
@keyframes hxSrcIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ─── Спокойный акцент вместо яркого градиента со свечением ───
   «Как это работает» (номера, линия, кнопка) и «Найти» в hero — сплошной глубокий синий */
:root { --hm-brand: #1E3F8F; --hm-brand-hover: #17326F; }
.hm-btn--primary { background: var(--hm-brand); box-shadow: 0 6px 16px -10px rgba(15,23,42,.55); }
.hm-btn--primary:hover { background: var(--hm-brand-hover); }
.hm-step-n { background: var(--hm-brand); box-shadow: 0 0 0 10px #FFFFFF, 0 10px 22px -14px rgba(15,23,42,.6); }
.hm-steps-line i { background: var(--hm-brand); }
.hx-find,
.hx-find:hover:not(:disabled) {
  background: var(--hm-brand); filter: none;
  box-shadow: 0 6px 16px -10px rgba(2,6,23,.7);
}
.hx-find:hover:not(:disabled) { background: var(--hm-brand-hover); }
.hx-find::after { content: none; animation: none; }

/* ══════════════════════════════════════════════════════════════
   Поиск v11: выше и аккуратнее — подпись над полем, иконка в
   плашке, крупная кнопка, стекло с бликом сверху.
   ══════════════════════════════════════════════════════════════ */
.hx-frame, .hx-frame.is-focused, .hx-console.is-scanning .hx-frame, .hx-console.is-done .hx-frame {
  background: linear-gradient(180deg, rgba(34,43,60,.80) 0%, rgba(17,23,35,.76) 100%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 20px !important;
  -webkit-backdrop-filter: blur(22px) saturate(130%); backdrop-filter: blur(22px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 70px -28px rgba(0,0,0,.85), 0 0 0 6px rgba(255,255,255,.04);
}
.hx-frame:hover { border-color: rgba(255,255,255,.28); }
.hx-frame.is-focused { border-color: rgba(147,197,253,.85); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 30px 70px -28px rgba(0,0,0,.85), 0 0 0 5px rgba(96,165,250,.22); }
.hx-console.is-scanning .hx-frame { border-color: rgba(147,197,253,.9); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 5px rgba(96,165,250,.3), 0 0 60px -8px rgba(59,130,246,.65); }
.hx-console.is-done .hx-frame { border-color: rgba(110,231,183,.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 0 5px rgba(74,222,128,.22), 0 30px 70px -28px rgba(0,0,0,.85); }

.hx-search, .hx-search.is-focused, .hx-console.is-done .hx-search {
  height: 88px; padding: 10px 10px 10px 14px; gap: 16px;
  border-radius: 20px !important;
}
.hx-search-ico, .hx-search.is-focused .hx-search-ico {
  display: grid; place-items: center; flex: none;
  width: 56px; height: 56px;
  color: #BFDBFE;
  background: rgba(59,130,246,.16);
  border: 1px solid rgba(147,197,253,.22);
  border-radius: 14px !important;
  transition: background .25s, color .25s, border-color .25s;
}
.hx-search.is-focused .hx-search-ico { color: #FFFFFF; background: #2563EB; border-color: #3B82F6; }
.hx-search-ico svg { width: 24px; height: 24px; }

.hx-field { gap: 5px; }
.hx-field-cap {
  font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(191,219,254,.75);
  transition: color .25s;
}
.hx-search.is-focused .hx-field-cap { color: #93C5FD; }
.hx-search .hx-field input, .hx-search .hx-field input:focus, .hx-search .hx-field input:focus-visible {
  height: 30px; font-size: 19px; font-weight: 500; color: #FFFFFF; caret-color: #93C5FD;
}
.hx-search .hx-field input::placeholder { font-size: 19px; font-weight: 400; color: rgba(226,232,240,.55); }

.hx-find {
  height: 68px; padding: 0 30px 0 32px; gap: 10px;
  font-size: 17px; font-weight: 700;
  background: linear-gradient(180deg, #4F8EF7 0%, #2563EB 100%);
  border-radius: 14px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 14px 30px -12px rgba(37,99,235,.95);
}
.hx-find:hover:not(:disabled) { box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 18px 36px -12px rgba(59,130,246,1); }
.hx-find svg { width: 19px; height: 19px; }

@media (max-width: 900px) {
  .hx-frame, .hx-frame.is-focused, .hx-console.is-scanning .hx-frame, .hx-console.is-done .hx-frame { border-radius: 18px !important; }
  .hx-search, .hx-search.is-focused, .hx-console.is-done .hx-search { height: 72px; padding: 8px 8px 8px 10px; gap: 12px; border-radius: 18px !important; }
  .hx-search-ico, .hx-search.is-focused .hx-search-ico { width: 44px; height: 44px; border-radius: 12px !important; }
  .hx-search-ico svg { width: 20px; height: 20px; }
  .hx-field { gap: 4px; }
  .hx-field-cap { font-size: 10.5px; letter-spacing: .05em; }
  .hx-search .hx-field input, .hx-search .hx-field input:focus, .hx-search .hx-field input:focus-visible { height: 24px; font-size: 16px; }
  .hx-search .hx-field input::placeholder { font-size: 15px; }
  .hx-find { width: 56px; height: 56px; padding: 0; justify-content: center; border-radius: 13px !important; }
}

/* Тарифы: цена в одну строку у всех карточек («от 24 000 сом / мес»
   переносила единицу и сдвигала карточку «Корпоративный» вниз) */
.hm-price .hm-price-amount { flex-wrap: nowrap; gap: 6px; white-space: nowrap; }
.hm-price-num { font-size: clamp(34px, 2.8vw, 44px); }
.hm-price-from { font-size: 16px; }
.hm-price-unit { font-size: 15px; white-space: nowrap; }
@media (max-width: 1100px) { .hm-price-num { font-size: 42px; } }

/* ─── Түндүк за «секунды»: крупнее и заметнее ─── */
.hx-accent .hx-tdk-wrap { left: 64%; top: 96%; }
.hx-accent .hx-tdk-wrap,
.hx-accent .hx-tdk-wrap .tdk { width: 400px !important; height: 400px !important; }
.hx-accent .hx-tdk-wrap .tdk { opacity: .8; }
.hx-accent .hx-tdk-wrap .tdk-svg { filter: drop-shadow(0 1px 8px rgba(0,0,0,.35)); }
.hx-accent .hx-tdk-wrap .tdk-ray { stroke-opacity: .95; stroke-width: 1.9; fill: rgba(255,255,255,.08); }
.hx-accent .hx-tdk-wrap .tdk-bold { stroke-opacity: 1; stroke-width: 2.6; }
.hx-accent .hx-tdk-wrap .tdk-edge { stroke-opacity: 1; stroke-width: 1.9; }
.hx-accent .hx-tdk-wrap .tdk-thin,
.hx-accent .hx-tdk-wrap .tdk-dots { stroke-opacity: .55; }
@media (max-width: 900px) {
  .hx-accent .hx-tdk-wrap { left: 62%; top: 80%; }
  .hx-accent .hx-tdk-wrap,
  .hx-accent .hx-tdk-wrap .tdk { width: 260px !important; height: 260px !important; }
  .hx-accent .hx-tdk-wrap .tdk { opacity: .9; }
}

/* «за секунды» — синее (после блика остаётся правая часть градиента);
   тёмная тень отделяет буквы от неба и линий түндүка */
.hx-accent .hx-w > span {
  background-image: linear-gradient(100deg, #FFFFFF 0%, #BAE6FD 30%, #FFFFFF 45%, #8FBBFB 55%, #4F8FF7 78%, #3B7DF2 100%);
}
.hx-accent { filter: none; }
.hx-accent .hx-w { filter: drop-shadow(0 2px 3px rgba(4,12,32,.55)) drop-shadow(0 4px 18px rgba(4,12,32,.45)); }

/* Росчерк под «за секунды»: рисуем через clip-path, а не пунктиром —
   dasharray + pathLength при non-scaling-stroke недосчитывается
   на Retina, и линия обрывалась, не дойдя до конца надписи */
.hx-swoosh path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
.hx-swoosh {
  clip-path: inset(-100% 100% -100% 0);
  animation: hxSwooshIn 1s var(--hx-ease, ease) 1.15s forwards;
}
@keyframes hxSwooshIn { to { clip-path: inset(-100% -2% -100% 0); } }
@media (prefers-reduced-motion: reduce) {
  .hx-swoosh { clip-path: none; animation: none !important; }
}
