/* ═══════════════════════════════════════════════════════════════
   home-v2.css — главная страница, стилистика каталога + ЛК
   Токены из styles.css: --blue, --teal, --bg, --surf, --line,
                          --text, --muted, --b1, --b2, --ease
   ═══════════════════════════════════════════════════════════════ */

/* ── Секция-основа ─────────────────────────────────────────────── */
.hm-sec {
  padding: 88px 0;
  position: relative;
}
.hm-sec--white  { background: #fff; }
.hm-sec--light  { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-sec--soft   { background: linear-gradient(160deg, #eef6ff 0%, #e0eeff 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-sec--dark   {
  background:
    radial-gradient(ellipse 70% 60% at 8% 20%, rgba(0,189,220,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 90% 80%, rgba(6,86,185,0.16) 0%, transparent 50%),
    linear-gradient(155deg, #041828 0%, #061e3a 40%, #040f22 100%);
  color: #fff;
}
.hm-sec--dark .hm-lead { color: rgba(195,218,255,0.7); }

/* ── Типографика секции ────────────────────────────────────────── */
.hm-sec-head { max-width: 720px; margin-bottom: 56px; }
.hm-sec-head--center { text-align: center; margin-inline: auto; }
.hm-sec-head--between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  max-width: none;
}
.hm-sec-head--between .hm-sec-head-text { max-width: 600px; }

.hm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 16px;
}
.hm-eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  flex-shrink: 0;
}
.hm-sec--dark .hm-eyebrow        { color: var(--teal); }
.hm-sec--dark .hm-eyebrow::before { background: var(--teal); }

.hm-h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--text);
}
.hm-h2 span { color: var(--blue); }
.hm-sec--dark .hm-h2 { color: #fff; }
.hm-sec--dark .hm-h2 span { color: var(--teal); }

.hm-lead {
  margin: 16px 0 0;
  font-size: 1.02rem;
  line-height: 1.74;
  color: var(--muted);
  max-width: 620px;
}
.hm-sec-head--center .hm-lead { margin-inline: auto; }

/* ── Кнопки ────────────────────────────────────────────────────── */
.hm-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, filter 0.2s, background 0.2s, border-color 0.2s;
}
.hm-btn svg { transition: transform 0.2s var(--ease); flex-shrink: 0; }
.hm-btn:hover svg { transform: translateX(3px); }

.hm-btn--blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 6px 20px rgba(6,86,185,0.3);
}
.hm-btn--blue:hover { filter: brightness(1.1); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(6,86,185,0.42); }

.hm-btn--teal {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  color: #001a22;
  box-shadow: 0 6px 24px rgba(0,189,220,0.3);
}
.hm-btn--teal:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,189,220,0.42); }

.hm-btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.hm-btn--outline:hover { background: var(--b1); transform: translateY(-2px); }

.hm-btn--ghost {
  background: rgba(255,255,255,0.07);
  color: #fff;
  border-color: rgba(255,255,255,0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hm-btn--ghost:hover { background: rgba(255,255,255,0.13); border-color: rgba(0,189,220,0.5); transform: translateY(-2px); }

/* ── "Все" ссылка ──────────────────────────────────────────────── */
.hm-all-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: gap 0.2s;
}
.hm-all-link:hover { gap: 10px; }
.hm-sec--dark .hm-all-link { color: var(--teal); }

/* ══════════════════════════════════════════════════════════════
   1. HERO
   ══════════════════════════════════════════════════════════════ */
.hm-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(180px, 14vh + 90px, 230px) 0 88px;
  background:
    radial-gradient(ellipse 60% 60% at 8% 25%, rgba(0,189,220,0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 55% at 92% 78%, rgba(6,86,185,0.2) 0%, transparent 52%),
    linear-gradient(152deg, #041828 0%, #052042 45%, #03101f 100%);
  color: #fff;
  overflow: hidden;
}

/* декоративная сетка */
.hm-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 72%, transparent 100%);
  pointer-events: none;
}

/* декоративные орбы */
.hm-hero-orb1 {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,189,220,0.1) 0%, rgba(6,86,185,0.06) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hm-hero-orb2 {
  position: absolute;
  bottom: -160px;
  left: 35%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,86,185,0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hm-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}

.hm-hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hm-hero-img-wrap {
  display: block;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 1px rgba(0, 189, 220, 0.15),
    0 28px 72px rgba(0, 0, 20, 0.55);
  transition: transform 0.45s cubic-bezier(.34, 1.2, .64, 1), box-shadow 0.45s;
}

.hm-hero-img-wrap:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 0 0 1px rgba(0, 189, 220, 0.28),
    0 36px 96px rgba(0, 0, 30, 0.65);
}

.hm-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Левая колонка */
.hm-hero-left { max-width: 680px; }

.hm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: rgba(0,189,220,0.1);
  border: 1px solid rgba(0,189,220,0.28);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7ee8f8;
  margin-bottom: 26px;
}
.hm-hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(0,189,220,0.9);
}

.hm-hero-title {
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: #fff;
}
.hm-hero-title em {
  font-style: normal;
  color: var(--teal);
}

.hm-hero-lead {
  margin: 24px 0 36px;
  font-size: 1.1rem;
  line-height: 1.72;
  color: rgba(195,218,255,0.82);
  max-width: 540px;
}

.hm-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hm-hero-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  list-style: none;
  margin: 40px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 440px;
}

.hm-hero-facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.hm-hero-facts strong {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--teal);
  line-height: 1.1;
}

.hm-hero-facts li > span:last-child {
  font-size: 0.82rem;
  color: rgba(195, 218, 255, 0.62);
  line-height: 1.4;
}

/* Правая колонка — карточки навигации */
.hm-hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}
.hm-hero-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px 18px;
  background: rgba(8,28,62,0.52);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  min-height: 128px;
}
.hm-hero-card:hover {
  border-color: rgba(0,189,220,0.45);
  background: rgba(10,36,80,0.64);
  transform: translateY(-3px);
}
.hm-hero-card--accent { border-color: rgba(6,86,185,0.4); background: rgba(6,86,185,0.14); }
.hm-hero-card-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(126,232,248,0.7);
  margin-bottom: 8px;
}
.hm-hero-card-title {
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
.hm-hero-card-arr {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(126,232,248,0.6);
}

/* ══════════════════════════════════════════════════════════════
   2. MARQUEE клиентов (стили оставлены в index inline → перенесём)
   ══════════════════════════════════════════════════════════════ */
.hm-clients {
  padding: 64px 0 72px;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hm-clients:has(+ .hm-agg-split) {
  border-bottom: none;
}

/* Сразу после hero: стык с диагональным срезом */
.op-hero.op-hero--home + .hm-clients,
.hm-hero-scroll-wrap + .hm-clients {
  margin-top: -80px;
  padding-top: clamp(100px, 12vw, 160px);
  border-top: none;
}

.hm-clients-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.hm-clients-label {
  text-align: left;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hm-clients-label p {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -.035em;
  text-transform: none;
  color: #0a1628;
  margin: 0;
  line-height: 1.05;
}

.hm-clients-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px 12px 26px;
  border: none;
  border-radius: 999px;
  background: var(--blue, #0656b9);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}

.hm-clients-cta svg {
  display: block;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-clients-cta:hover {
  filter: brightness(1.08);
  transform: scale(1.01);
}

.hm-clients-cta:hover svg {
  transform: translateX(3px);
}

.hm-clients-cta:active {
  transform: scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
  .hm-clients-cta:hover svg {
    transform: none;
  }
}

.hm-marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, #fff 6%, #fff 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #fff 6%, #fff 94%, transparent 100%);
}

.hm-marquee-track {
  display: flex;
  gap: 80px;
  animation: hmMarquee 40s linear infinite;
  animation-play-state: running !important;
  will-change: transform;
}


@keyframes hmMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.hm-marquee-logo {
  flex-shrink: 0;
  height: 120px;
  display: flex;
  align-items: center;
  filter: none;
  opacity: .92;
  transition: opacity .3s, transform .3s;
}

.hm-marquee-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

.hm-marquee-logo img {
  max-height: 110px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 720px) {
  .hm-clients-head { flex-direction: column; align-items: flex-start; }
  .hm-clients-cta { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════
   3. ПРОДУКЦИЯ — карточки как в каталоге
   ══════════════════════════════════════════════════════════════ */
.hm-prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.hm-prod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
}
.hm-prod-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 32px rgba(6,86,185,0.12);
  transform: translateY(-4px);
}

.hm-prod-card-img {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hm-prod-card-img img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  transition: transform 0.3s var(--ease);
}
.hm-prod-card:hover .hm-prod-card-img img { transform: scale(1.05); }

.hm-prod-card-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hm-prod-card-art {
  font-size: 0.71rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hm-prod-card-title {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 12px;
}
.hm-prod-card-specs {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  margin-bottom: 18px;
}
.hm-prod-card-specs li {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.hm-prod-card-specs strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
}
.hm-prod-card-specs span {
  font-size: 0.7rem;
  color: var(--muted);
  line-height: 1.3;
}
.hm-prod-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e8f5ec;
  color: #1a7a3a;
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 12px;
  align-self: flex-start;
}
.hm-prod-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 11px 12px;
  border: none;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
  box-sizing: border-box;
}
.hm-prod-card-btn-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 1px;
}
.hm-prod-card-btn-ico svg {
  display: block;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.hm-prod-card-btn:hover .hm-prod-card-btn-ico svg {
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .hm-prod-card-btn:hover .hm-prod-card-btn-ico svg {
    transform: none;
  }
}
.hm-prod-card-btn:hover { filter: brightness(1.08); transform: scale(1.01); }

.hm-prod-footer {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

/* ══════════════════════════════════════════════════════════════
   4. ОТРАСЛИ
   ══════════════════════════════════════════════════════════════ */
.hm-ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hm-ind-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 22px 22px;
  background: #fff center/cover no-repeat;
  border: 1px solid var(--line);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.hm-ind-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(4,18,40,0.08) 0%, rgba(4,18,40,0.55) 60%, rgba(4,18,40,0.82) 100%);
  z-index: 0;
}
.hm-ind-card > * { position: relative; z-index: 1; }
.hm-ind-card:hover {
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 8px 32px rgba(4,18,40,0.3);
  transform: translateY(-3px);
}
.hm-ind-card .hm-ind-card-ico {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.hm-ind-card .hm-ind-card-title { color: #fff; }
.hm-ind-card .hm-ind-card-desc  { color: rgba(255,255,255,0.82); }
.hm-ind-card .hm-ind-card-link  { color: #7ee8f8; }
.hm-ind-card-ico {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--b1);
  border-radius: 12px;
  color: var(--blue);
  flex-shrink: 0;
}
.hm-ind-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.hm-ind-card-desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.hm-ind-card-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 18px;
}

/* ══════════════════════════════════════════════════════════════
   5. КАК МЫ РАБОТАЕМ — шаги
   ══════════════════════════════════════════════════════════════ */
.hm-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}
/* Соединительная линия */
.hm-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: linear-gradient(to right, var(--blue), var(--teal));
  z-index: 0;
  border-radius: 2px;
  opacity: 0.35;
}
.hm-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.hm-step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px rgba(6,86,185,0.06);
}
.hm-step-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.3;
}
.hm-step-desc {
  font-size: 0.82rem;
  line-height: 1.62;
  color: var(--muted);
  margin: 0;
}

/* ══════════════════════════════════════════════════════════════
   6. КЕЙСЫ
   ══════════════════════════════════════════════════════════════ */
.hm-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}
.hm-case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  background-color: #0a2850;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  isolation: isolate;
}
.hm-case-card:hover { transform: scale(1.02); box-shadow: 0 16px 48px rgba(0,0,0,0.35); }
.hm-case-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,8,22,0.88) 0%, rgba(4,14,38,0.4) 55%, transparent 100%);
  z-index: 0;
}
.hm-case-card-body {
  position: relative;
  z-index: 1;
  padding: 22px 22px 20px;
}
.hm-case-card-tag {
  display: inline-flex;
  padding: 3px 10px;
  background: rgba(0,189,220,0.15);
  border: 1px solid rgba(0,189,220,0.35);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #7ee8f8;
  margin-bottom: 8px;
}
.hm-case-card-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.32;
}
.hm-case-card-meta {
  font-size: 0.78rem;
  color: rgba(195,218,255,0.6);
}

/* case цветовые заглушки (пока нет фото) */
.hm-case-card--c1 { background: linear-gradient(135deg, #0e2d55 0%, #1a4d8a 100%); }
.hm-case-card--c2 { background: linear-gradient(135deg, #083830 0%, #115040 100%); }
.hm-case-card--c3 { background: linear-gradient(135deg, #2a1442 0%, #4a1a6c 100%); }
.hm-case-card--c4 { background: linear-gradient(135deg, #1e1a08 0%, #5a4810 100%); }
.hm-case-card--c5 { background: linear-gradient(135deg, #1a0a08 0%, #6b1a10 100%); }
.hm-case-card--c6 { background: linear-gradient(135deg, #061828 0%, #0a3050 100%); }

/* ══════════════════════════════════════════════════════════════
   7. ЭКСПЕРТИЗА / НОРМАТИВКА
   ══════════════════════════════════════════════════════════════ */
.hm-norm-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--b1) 0%, #daeeff 100%);
  border: 1.5px solid var(--b2);
  border-radius: 18px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.hm-norm-banner-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 8px;
}
.hm-norm-banner-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.35;
  max-width: 520px;
}
.hm-norm-banner-desc {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
}
.hm-norm-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s, transform 0.15s;
  flex-shrink: 0;
}
.hm-norm-banner-btn:hover { filter: brightness(1.1); transform: translateY(-2px); }

.hm-arts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hm-art-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.hm-art-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 20px rgba(6,86,185,0.1);
  transform: translateY(-3px);
}
.hm-art-card-cat {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
}
.hm-art-card-title {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
  flex: 1;
}
.hm-art-card-meta {
  font-size: 0.76rem;
  color: var(--muted);
}

/* ══════════════════════════════════════════════════════════════
   8. ПАРТНЁРСКАЯ СЕТЬ — сетка статистики
   ══════════════════════════════════════════════════════════════ */
.hm-net-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.hm-net-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hm-net-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  background: #0a1628;
}
.hm-net-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  filter: invert(0.9) hue-rotate(195deg) saturate(0.5) brightness(0.85);
}
.hm-net-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: none;
}
.hm-net-stat {
  padding: 32px 28px;
  background: rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(255,255,255,0.06);
}
.hm-net-stat strong {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--teal);
  line-height: 1;
}
.hm-net-stat span {
  font-size: 0.82rem;
  color: rgba(195,218,255,0.62);
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════
   9. CTA + ФОРМА
   ══════════════════════════════════════════════════════════════ */
.hm-cta-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.hm-cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.hm-cta-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: rgba(195,218,255,0.75);
  text-decoration: none;
  transition: color 0.2s;
}
.hm-cta-contact:hover { color: #fff; }
.hm-cta-contact-ico {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

/* Форма */
.hm-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 36px 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hm-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.hm-form-field { display: flex; flex-direction: column; gap: 7px; }
.hm-form-field--full { grid-column: 1 / -1; }
.hm-form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(195,218,255,0.7);
}
.hm-form-inp {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #fff;
  transition: border-color 0.18s;
  outline: none;
}
.hm-form-inp::placeholder { color: rgba(195,218,255,0.35); }
.hm-form-inp:focus { border-color: var(--teal); background: rgba(255,255,255,0.09); }
.hm-form-inp--ta { resize: vertical; min-height: 88px; }
.hm-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
  box-shadow: 0 6px 22px rgba(6,86,185,0.35);
  transition: filter 0.18s, transform 0.18s;
}
.hm-form-submit:hover { filter: brightness(1.1); transform: translateY(-2px); }
.hm-form-note {
  margin-top: 12px;
  font-size: 0.74rem;
  color: rgba(195,218,255,0.42);
  text-align: center;
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   REVEAL on scroll
   ══════════════════════════════════════════════════════════════ */
.hm-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.hm-reveal.is-visible { opacity: 1; transform: none; }
.hm-reveal.d1 { transition-delay: 0.08s; }
.hm-reveal.d2 { transition-delay: 0.16s; }
.hm-reveal.d3 { transition-delay: 0.24s; }
.hm-reveal.d4 { transition-delay: 0.32s; }

/* ══════════════════════════════════════════════════════════════
   АДАПТИВ
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .hm-hero-inner { grid-template-columns: 1fr 380px; gap: 40px; }
  .hm-prod-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-steps { grid-template-columns: 1fr 1fr; }
  .hm-steps::before { display: none; }
}
@media (max-width: 900px) {
  .hm-sec { padding: 64px 0; }
  .hm-hero { padding: clamp(160px, 12vh + 72px, 200px) 0 60px; }
  .hm-hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hm-hero-visual { display: none; }
  .hm-hero-facts {
    max-width: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
    margin-top: 32px;
    padding-top: 24px;
  }
  .hm-ind-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-cases-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-arts-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-net-split { grid-template-columns: 1fr; gap: 40px; }
  .hm-net-map { aspect-ratio: 16 / 9; }
  .hm-cta-wrap { grid-template-columns: 1fr; gap: 40px; }
  .hm-form { padding: 28px 22px; }
}
@media (max-width: 640px) {
  .hm-sec { padding: 52px 0; }
  .hm-hero { padding: 128px 0 48px; }
  .hm-hero-facts {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .hm-prod-grid { grid-template-columns: 1fr; }
  .hm-ind-grid { grid-template-columns: 1fr; }
  .hm-steps { grid-template-columns: 1fr; }
  .hm-cases-grid { grid-template-columns: 1fr; }
  .hm-arts-grid { grid-template-columns: 1fr; }
  .hm-form-grid { grid-template-columns: 1fr; }
  .hm-net-stats { grid-template-columns: 1fr 1fr; }
  .hm-hero-title { font-size: 2.4rem; }
  .hm-sec-head--between { flex-direction: column; align-items: flex-start; }
  .hm-eco-inner { grid-template-columns: 1fr; gap: 28px; }
  .hm-eco-roles { grid-template-columns: 1fr; }
}

/* ── Hero canvas абстракция ─────────────────────────────────── */
.hm-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.3;
}

/* ── Hero левая колонка ─────────────────────────────────────── */
.hm-hero-left {
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hm-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,189,220,.9);
}

.hm-hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,189,220,1);
  box-shadow: 0 0 8px rgba(0,189,220,.8);
  animation: hm-dot-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

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

.hm-hero-title {
  margin: 0 !important;
  font-size: clamp(2.6rem, 5vw, 4.8rem) !important;
}

.hm-hero-subtitle {
  max-width: 520px;
  margin: 28px 0 0;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.62;
  font-weight: 500;
  color: rgba(220, 238, 255, .82);
}

/* ── Hero левая колонка — текст экосистемы ─────────────────── */
.hm-eco-hero-body {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
}

.hm-eco-hero-intro {
  font-size: 1.06rem;
  line-height: 1.72;
  color: rgba(220, 238, 255, .88);
  margin: 0;
  font-weight: 500;
}

.hm-eco-hero-divider {
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(0,189,220,.8) 0%, rgba(6,86,185,.4) 100%);
}

.hm-eco-hero-body-text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(185, 220, 255, .6);
  margin: 0;
}

.hm-eco-hero-body-text--final {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(220, 240, 255, .78);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
}

/* ══════════════════════════════════════════════════════════════
   КАРТОЧКА ЭКОСИСТЕМЫ ВНУТРИ HERO
   ══════════════════════════════════════════════════════════════ */
.op-hero-right--eco {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: visible !important;
}

.hm-hero-eco-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 36px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 440px;
  position: relative;
  z-index: 3;
}

.hm-hero-eco-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hm-hero-eco-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.hm-hero-eco-p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

/* ── Карточка продукта в hero ───────────────────────────────── */
.hm-hero-product-card {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 4;
  width: 260px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
  display: none !important;
  flex-direction: column;
  gap: 12px;
  animation: op-chip-float 7s ease-in-out infinite;
  animation-delay: -3.5s;
}

.hm-hero-product-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(0,189,220,.85);
}

.hm-hero-product-card-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hm-hero-product-card-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  padding: 6px;
  flex-shrink: 0;
}

.hm-hero-product-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hm-hero-product-card-art {
  font-size: 0.68rem;
  color: rgba(180,210,255,.5);
  font-weight: 500;
}

.hm-hero-product-card-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

.hm-hero-product-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}

.hm-hero-product-card-specs span {
  font-size: 0.66rem;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(200,228,255,.7);
}

.hm-hero-product-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 0;
  border-radius: 12px;
  background: var(--teal, #00bddc);
  border: none;
  color: #001a22;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  font-family: inherit;
  box-shadow: 0 6px 18px rgba(0, 189, 220, 0.32);
  transition: filter .2s, transform .2s, gap .2s;
  letter-spacing: .02em;
}

.hm-hero-product-card-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  gap: 10px;
}

/* переход между товарами */
.hm-hero-product-card .hm-hero-product-card-body {
  transition: opacity .3s ease, transform .3s ease;
}
.hm-hero-product-card.is-switching .hm-hero-product-card-body {
  opacity: 0;
  transform: translateY(6px);
}

/* точки-индикаторы */
.hm-hero-product-card-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
}
.hm-hero-product-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  padding: 0;
  transition: background .2s, transform .2s;
}
.hm-hero-product-dot.active {
  background: rgba(0,189,220,.9);
  transform: scale(1.3);
}

@media (max-width: 960px) {
  .hm-hero-product-card { display: none; }
}

/* ── Полигональная сеть экосистемы ───────────────────────── */
.hm-eco-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  opacity: 0.9;
}

/* третичные — вспомогательные ↔ вспомогательные */
.hm-eco-net-t3 line {
  stroke: #2a7fe8;
  stroke-opacity: 0.55;
  stroke-width: 1.2;
  stroke-linecap: square;
}

/* вторичные — якори ↔ вспомогательные */
.hm-eco-net-t2 line {
  stroke: #1e6dd6;
  stroke-opacity: 0.72;
  stroke-width: 1.6;
  stroke-linecap: square;
}

/* первичные — A↔B, B↔C, A↔C */
.hm-eco-net-t1 line {
  stroke: #0656b9;
  stroke-opacity: 0.9;
  stroke-width: 2.2;
  stroke-linecap: square;
}

/* заливки граней */
.hm-eco-net-fill polygon {
  fill: rgba(6, 86, 185, 0.07);
  stroke: none;
}

.hm-hero-logo-card {
  position: absolute;
  z-index: 2;
  width: 240px;
  padding: 14px 16px 10px;
  border-radius: 20px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0,0,0,.2);
  animation: op-chip-float 6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: width .35s ease, background .25s, box-shadow .25s;
}

.hm-hero-logo-card--sirius {
  top: 58%;
  right: auto;
  left: calc(24% - 240px);
  z-index: 6;
}

.hm-hero-logo-card--injsafe {
  top: -12%;
  right: 34%;
  width: 300px;
  z-index: 2;
  animation-delay: -2.5s;
}

.hm-hero-logo-card--nit {
  top: 48%;
  right: -44%;
  width: 270px;
  z-index: 3;
  animation-delay: -1.25s;
}

.hm-hero-logo-card.is-open {
  background: rgba(255,255,255,.13);
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}

.hm-hero-logo-card--sirius.is-open {
  width: 280px;
}

.hm-hero-logo-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* скрытый текстовый блок — grid-trick без обрезки */
.hm-hero-logo-card-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .45s cubic-bezier(.4,0,.2,1), opacity .35s ease;
  gap: 0;
}

.hm-hero-logo-card-body > * {
  overflow: hidden;
}

.hm-hero-logo-card-body-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.hm-hero-logo-card.is-open .hm-hero-logo-card-body {
  grid-template-rows: 1fr;
  opacity: 1;
}

.hm-hero-logo-card-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .06em;
  margin: 0;
  text-transform: uppercase;
}

.hm-hero-logo-card-sub {
  font-size: 0.73rem;
  font-weight: 600;
  color: rgba(160,210,255,.75);
  margin: 0;
  margin-bottom: 2px;
}

.hm-hero-logo-card-text {
  font-size: 0.76rem;
  line-height: 1.6;
  color: rgba(220,240,255,.7);
  margin: 0;
}

.hm-hero-logo-card-text strong {
  color: #fff;
  font-weight: 700;
}

/* кнопка «Развернуть» / «Свернуть» — как «Подробнее» в каталоге */
.hm-hero-logo-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: var(--blue, #0656b9);
  color: #fff;
  font: 500 12px/1 var(--site-control-font-family, "PT Root UI", Arial, sans-serif);
  cursor: pointer;
  box-sizing: border-box;
  transition: filter 0.15s, transform 0.15s;
  letter-spacing: 0;
}

.hm-hero-logo-card-btn:hover {
  filter: brightness(1.08);
  transform: scale(1.01);
}

.hm-hero-logo-card-btn:active {
  transform: scale(0.99);
}

.hm-hero-logo-card-btn-ico {
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  flex-shrink: 0;
}

.hm-hero-logo-card.is-open .hm-hero-logo-card-btn-ico {
  transform: rotate(180deg);
}

@media (max-width: 960px) {
  .op-hero-right--eco { justify-content: flex-start; }
  .hm-hero-eco-card { max-width: 100%; }
  .hm-hero-logo-card {
    right: 0;
    width: 190px;
  }
  .hm-hero-logo-card--sirius { top: 4%; }
  .hm-hero-logo-card--injsafe {
    top: 38%;
    width: 220px;
  }
  .hm-hero-logo-card--nit {
    top: 22%;
    width: 210px;
  }
}

/* ══════════════════════════════════════════════════════════════
   СЕКЦИЯ ЭКОСИСТЕМА
   ══════════════════════════════════════════════════════════════ */
.hm-eco-sec {
  padding: 88px 0;
  background: linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
  border-top: 1px solid #e8eef7;
  border-bottom: 1px solid #e8eef7;
}

.hm-eco-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}

.hm-eco-left {
  position: sticky;
  top: 120px;
}

.hm-eco-left .hm-h2 {
  margin-top: 10px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.hm-eco-left .hm-h2 span {
  color: var(--blue, #0656b9);
  display: block;
}

.hm-eco-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hm-eco-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted, #4a6080);
  margin: 0;
  max-width: 640px;
}

.hm-eco-roles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hm-eco-role {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e2e9f1;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(15, 32, 53, 0.04);
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.hm-eco-role:hover {
  border-color: rgba(6, 86, 185, 0.25);
  box-shadow: 0 6px 20px rgba(6, 86, 185, 0.07);
  transform: translateY(-2px);
}

.hm-eco-role-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hm-eco-role-ico--blue   { background: rgba(6, 86, 185, .10); color: #0656b9; }
.hm-eco-role-ico--teal   { background: rgba(0, 189, 220, .10); color: #007a8e; }
.hm-eco-role-ico--green  { background: rgba(0, 150, 80, .10);  color: #007040; }
.hm-eco-role-ico--purple { background: rgba(120, 80, 200, .10); color: #5a3d9e; }

.hm-eco-role div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hm-eco-role strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text, #0f2035);
  line-height: 1.2;
}

.hm-eco-role span {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted, #4a6080);
}

.hm-eco-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue, #0656b9);
  text-decoration: none;
  transition: gap .2s;
  align-self: flex-start;
}

.hm-eco-link:hover { gap: 12px; }

@media (max-width: 900px) {
  .hm-eco-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hm-eco-left { position: static; }
  .hm-eco-roles { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL-СЛАЙДЕР ПРОДУКЦИИ
   ══════════════════════════════════════════════════════════════ */
/* ══ СЕКЦИЯ ПРЕИМУЩЕСТВ ══════════════════════════════════════════ */
.hm-adv {
  position: relative;
  background: #050b18;
  padding: clamp(64px, 8vw, 110px) 0;
  overflow: hidden;
  isolation: isolate;
}

.hm-adv-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(0,189,220,.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 100%, rgba(6,86,185,.18) 0%, transparent 65%),
    #050b18;
}

.hm-adv-bg::after {
  display: none;
}

.hm-adv-wrap {
  position: relative;
  z-index: 1;
}

.hm-adv-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: clamp(34px, 4.5vw, 52px);
  max-width: 780px;
}

/* Анимация появления */
.hm-adv-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rev-delay, 0ms);
  will-change: opacity, transform;
}

.hm-adv-reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hm-adv-reveal { opacity: 1; transform: none; transition: none; }
}

.hm-adv-eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,212,245,.85);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hm-adv-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: rgba(0,212,245,.55);
}

.hm-adv-title {
  font-size: clamp(1.85rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 0;
  color: #fff;
}

.hm-adv-title em {
  font-style: normal;
  background: linear-gradient(110deg, #00d4f5 0%, #0656b9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hm-adv-lead {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(185,215,255,.6);
  margin: 0;
  max-width: 560px;
}

.hm-adv-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.hm-adv-card {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.015) 100%);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 18px;
  padding: clamp(20px, 2.1vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color .3s, transform .3s, background .3s;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hm-adv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(0,212,245,0) 0%, rgba(0,212,245,0) 60%, rgba(0,212,245,.3) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}

.hm-adv-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.12);
  background: linear-gradient(160deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%);
}

.hm-adv-card:hover::before {
  opacity: 1;
}

/* акцентная первая карточка */
.hm-adv-card--featured {
  grid-row: span 2;
  background:
    linear-gradient(160deg, rgba(0,189,220,.12) 0%, rgba(6,86,185,.08) 60%, rgba(255,255,255,.02) 100%);
  border-color: rgba(0,189,220,.22);
}

.hm-adv-card--featured .hm-adv-card-title {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.hm-adv-card--featured .hm-adv-card-text {
  font-size: .86rem;
  max-width: 380px;
}

.hm-adv-card-glow {
  position: absolute;
  bottom: -60%;
  right: -30%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0,212,245,.35) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.hm-adv-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hm-adv-card-num {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(0,212,245,.7);
  font-variant-numeric: tabular-nums;
}

.hm-adv-card-ico {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(0,189,220,.12);
  border: 1px solid rgba(0,189,220,.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00d4f5;
}

.hm-adv-card-title {
  position: relative;
  z-index: 1;
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  margin: 4px 0 0;
  letter-spacing: -.02em;
}

.hm-adv-card-text {
  position: relative;
  z-index: 1;
  font-size: .8rem;
  line-height: 1.6;
  color: rgba(200,220,255,.62);
  margin: 0;
}

.hm-adv-card-note {
  position: relative;
  z-index: 1;
  margin: 6px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.09);
  color: rgba(232,244,255,.76);
  font-size: .82rem;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .hm-adv-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .hm-adv-card--featured { grid-row: auto; grid-column: span 2; }
}

.hm-adv-footer {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  justify-content: center;
}

.hm-adv-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px 12px 26px;
  border: none;
  border-radius: 999px;
  background: var(--blue, #0656b9);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}

.hm-adv-cta svg {
  display: block;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-adv-cta:hover {
  filter: brightness(1.08);
  transform: scale(1.01);
}

.hm-adv-cta:hover svg {
  transform: translateX(3px);
}

.hm-adv-cta:active {
  transform: scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
  .hm-adv-cta:hover svg {
    transform: none;
  }
}

.hm-adv-cta--card {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: auto;
  padding: 8px 18px 8px 22px;
  font-size: 0.78rem;
}

@media (max-width: 640px) {
  .hm-adv-grid {
    grid-template-columns: 1fr;
  }
  .hm-adv-card--featured { grid-column: auto; }
}

/* ══ УЧЕБНЫЙ ЦЕНТР — промо-блок ═══════════════════════════════ */
.hm-edu {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 10vw, 130px) 0;
  background: linear-gradient(160deg, #020d1f 0%, #031428 48%, #010b1a 100%);
}

.hm-edu-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 85% 25%, rgba(6, 86, 185, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 10% 80%, rgba(0, 189, 220, 0.12) 0%, transparent 55%);
}

.hm-edu-blob {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
}

.hm-edu-blob--1 {
  width: 600px;
  height: 500px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(6, 86, 185, 0.32) 0%, transparent 70%);
}

.hm-edu-blob--2 {
  width: 420px;
  height: 380px;
  bottom: -60px;
  left: -60px;
  background: radial-gradient(circle, rgba(0, 189, 220, 0.22) 0%, transparent 70%);
}

.hm-edu-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: clamp(48px, 7vw, 104px);
  align-items: center;
}

/* ── Левая колонка ────────────────────────────────────────── */
.hm-edu-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hm-edu-title {
  margin: 0;
  font-size: clamp(2.1rem, 4.4vw, 3.75rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.048em;
  color: #fff;
  font-style: normal;
}

.hm-edu-title-accent {
  display: block;
  font-style: normal;
  background: linear-gradient(105deg, #5de0ff 0%, #00c8f0 35%, #2278e8 75%, #0444aa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hm-edu-lead {
  margin: 0;
  font-size: clamp(0.95rem, 1.25vw, 1.08rem);
  line-height: 1.74;
  color: rgba(185, 215, 255, 0.68);
  max-width: 48ch;
}

.hm-edu-intro {
  margin: 0;
  font-size: clamp(0.88rem, 1.05vw, 0.97rem);
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.01em;
}

.hm-edu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 12px 22px 12px 26px;
  border: none;
  border-radius: 999px;
  background: var(--blue, #0656b9);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}

.hm-edu-btn svg {
  display: block;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-edu-btn:hover {
  filter: brightness(1.08);
  transform: scale(1.01);
}

.hm-edu-btn:hover svg {
  transform: translateX(3px);
}

.hm-edu-btn:active {
  transform: scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
  .hm-edu-btn:hover svg {
    transform: none;
  }
}

/* ── Правая колонка — карточки ────────────────────────────── */
.hm-edu-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hm-edu-pillar {
  display: flex;
  gap: 0;
  align-items: stretch;
  position: relative;
  transition: background 0.25s;
}

.hm-edu-pillar + .hm-edu-pillar {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.hm-edu-pillar:hover .hm-edu-pillar-aside {
  background: rgba(0, 212, 245, 0.1);
}

.hm-edu-pillar:hover .hm-edu-pillar-title {
  color: #7ee8ff;
}

/* Левая часть карточки — номер + иконка */
.hm-edu-pillar-aside {
  flex-shrink: 0;
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: clamp(20px, 2.5vw, 28px) 0;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.25s;
}

.hm-edu-pillar-num {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(160deg, #00d4f5 0%, #0656b9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

.hm-edu-pillar-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 189, 220, 0.12);
  border: 1px solid rgba(0, 189, 220, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 212, 245, 0.85);
}

/* Правая часть карточки — текст */
.hm-edu-pillar-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: clamp(20px, 2.5vw, 28px) clamp(20px, 2.2vw, 28px);
}

.hm-edu-pillar-title {
  margin: 0;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.28;
  transition: color 0.25s;
}

.hm-edu-pillar-text {
  margin: 0;
  font-size: clamp(0.82rem, 0.98vw, 0.9rem);
  line-height: 1.64;
  color: rgba(175, 210, 255, 0.62);
}

/* Обёртка карточек — рамка */
.hm-edu-right {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.35), 0 1px 0 rgba(255,255,255,0.06) inset;
}

/* ── Адаптив ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hm-edu-inner {
    grid-template-columns: 1fr;
    gap: clamp(36px, 6vw, 52px);
  }

  .hm-edu-lead {
    max-width: none;
  }
}

#pageHome {
  background:
    radial-gradient(ellipse 55% 48% at 88% 12%, rgba(0, 189, 220, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 45% 42% at 8% 88%, rgba(6, 86, 185, 0.06) 0%, transparent 50%),
    #fff;
}

/* ══ HERO главной — scroll-driven слайдер (как «Наша продукция») */
.hm-hero-scroll-wrap {
  height: 300vh; /* слайд 1 = 100vh, слайд 2 = 200vh */
  position: relative;
}

.op-hero.op-hero--home {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #eef4fa;
  color: #0a1628;
  padding: 0;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 0 100%);
}

/* ── трек: два слайда рядом ──────────────────────────────────── */
.hm-hero-track {
  display: flex;
  width: 200%;
  transition: transform .72s cubic-bezier(.77, 0, .175, 1);
  will-change: transform;
}

.hm-hero-slide {
  width: 50%;
  flex-shrink: 0;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: stretch;
}

.hm-hero-slide > .wrap {
  width: 100%;
  display: flex;
  align-items: stretch;
}

/* ── Слайд 1: текст + фото ───────────────────────────────────── */
.hm-hero-slide--1 {
  background: #eef4fa;
}

.hm-hero-slide-bg {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(calc(-50% + 18px));
  width: 65%;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  -webkit-mask-image:
    linear-gradient(to right,  transparent 0%, black 18%),
    linear-gradient(to bottom, transparent 0%, black 14%),
    linear-gradient(to top,    transparent 0%, black 16%),
    linear-gradient(to left,   transparent 0%, black 12%);
  -webkit-mask-composite: destination-in;
  mask-image:
    linear-gradient(to right,  transparent 0%, black 18%),
    linear-gradient(to bottom, transparent 0%, black 14%),
    linear-gradient(to top,    transparent 0%, black 16%),
    linear-gradient(to left,   transparent 0%, black 12%);
  mask-composite: intersect;
}

.hm-hero-slide--1 .hm-hero-slide-inner {
  display: flex;
  align-items: flex-start;
  padding: clamp(210px, 23vh, 270px) 0 clamp(80px, 10vh, 140px);
  width: 100%;
}

.hm-hero-slide-text {
  flex: 0 0 auto;
  max-width: 560px;
}

/* ── Слайд 2: логотипы + сеть ───────────────────────────────── */
.hm-hero-slide--2 {
  background: #eef4fa;
}

.hm-hero-slide--2 .hm-hero-slide-inner {
  width: 100%;
  padding: clamp(80px, 10vh, 140px) 0 clamp(80px, 10vh, 140px);
  align-items: center;
}

/* сеть: полный макет 540×480 (без scale) */
.hm-hero-slide--2 .hm-hero-eco-scale {
  flex: 0 0 auto;
  width: 540px;
  height: 480px;
  overflow: visible;
}

.hm-hero-slide--2 .op-hero-right--eco {
  position: relative;
  width: 540px;
  height: 480px;
}

/* ── Точки-навигация ─────────────────────────────────────────── */
.hm-hero-slider-nav {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.hm-hero-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(6, 86, 185, .45);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .25s, border-color .25s, transform .25s;
}

.hm-hero-slider-dot.is-active {
  background: var(--blue, #0656b9);
  border-color: var(--blue, #0656b9);
  transform: scale(1.25);
}

.hm-hero-slider-dot:hover:not(.is-active) {
  border-color: var(--blue, #0656b9);
  background: rgba(6, 86, 185, .18);
}

/* убираем все декоративные слои на главном hero */
.op-hero--home .op-hero-grid,
.op-hero--home .op-hero-aurora,
.op-hero--home .hm-hero-canvas {
  display: none;
}

.op-hero--home .op-hero-title,
.op-hero--home .hm-hero-title { color: #0a1628; }

.op-hero--home .op-hero-accent {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: currentColor;
  color: var(--blue, #0656b9);
}

.op-hero--home .hm-hero-eyebrow,
.op-hero--home .hm-hero-subtitle,
.op-hero--home .hm-eco-hero-intro,
.op-hero--home .hm-eco-hero-body-text,
.op-hero--home .op-hero-lead {
  color: #36475e;
}

.op-hero--home .hm-eco-hero-divider {
  background: rgba(10,22,40,.12);
}

/* Плавающие лого-карточки — светлая «стеклянная» подложка */
.op-hero--home .hm-hero-logo-card {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(200,220,240,.55);
  box-shadow: 0 8px 32px rgba(6,86,185,.10);
  color: #0a1628;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Сириус: лого с белыми деталями — тёмная плашка, сама карточка как у остальных */
.op-hero--home .hm-hero-logo-card--sirius > img:first-of-type {
  background: linear-gradient(165deg, #152a45 0%, #0a1628 100%);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(10, 22, 40, 0.35);
  box-sizing: border-box;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.op-hero--home .hm-hero-logo-card-name { color: #0a1628; }
.op-hero--home .hm-hero-logo-card-sub  { color: #2d4a6b; }
.op-hero--home .hm-hero-logo-card-text { color: #1e3550; }
.op-hero--home .hm-hero-logo-card-text strong { color: #0a1628; }

/* ══ ЭКОСИСТЕМА — слайдер с табами ════════════════════════════════ */
.hm-eco {
  position: relative;
  background: #050b18;
  padding: clamp(64px, 8vw, 110px) 0;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
}

.hm-eco-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 55% 45% at 90% 0%, rgba(0,189,220,.14) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 5% 100%, rgba(6,86,185,.18) 0%, transparent 65%),
    #050b18;
}

.hm-eco-wrap {
  position: relative;
  z-index: 1;
}

.hm-eco-head {
  margin-bottom: clamp(24px, 3.5vw, 40px);
  max-width: 880px;
}

.hm-eco-title {
  font-size: clamp(1.85rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 0;
  color: #fff;
}

.hm-eco-title em {
  font-style: normal;
  background: linear-gradient(110deg, #00d4f5 0%, #0656b9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hm-eco-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  margin-bottom: 28px;
}

.hm-eco-tab {
  padding: 9px 22px;
  border: 0;
  background: transparent;
  color: rgba(218,235,255,.62);
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: -.01em;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s, color .2s, filter .15s, transform .15s;
}

.hm-eco-tab:hover {
  color: #fff;
}

.hm-eco-tab.is-active {
  background: var(--blue, #0656b9);
  color: #fff;
  box-shadow: none;
}

.hm-eco-tab.is-active:hover {
  filter: brightness(1.08);
}

.hm-eco-tab.is-active:active {
  transform: scale(0.99);
}

.hm-eco-pane {
  display: none;
}

.hm-eco-pane.is-active {
  display: block;
}

.hm-eco-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.hm-eco-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(232,244,255,.78);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}

.hm-eco-chip:hover {
  background: rgba(0,189,220,.14);
  border-color: rgba(0,212,245,.45);
  color: #fff;
  transform: translateY(-2px);
}

.hm-eco-slider {
  position: relative;
}

.hm-eco-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 6px;
}

.hm-eco-track::-webkit-scrollbar { display: none; }

.hm-eco-slide {
  position: relative;
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: #0a1628;
  transition: transform .3s;
}

.hm-eco-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,11,24,.15) 0%, rgba(5,11,24,.55) 55%, rgba(5,11,24,.92) 100%);
}

.hm-eco-slide:hover {
  transform: translateY(-4px);
}

.hm-eco-slide-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hm-eco-slide-title {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0;
}

.hm-eco-slide-desc {
  font-size: .82rem;
  line-height: 1.55;
  color: rgba(218,235,255,.75);
  margin: 0;
}

.hm-eco-slide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  align-self: flex-start;
  padding: 7px 16px 7px 18px;
  border-radius: 999px;
  background: var(--blue, #0656b9);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  box-sizing: border-box;
  transition: filter 0.15s, transform 0.15s;
}

.hm-eco-slide-link svg {
  display: block;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-eco-slide:hover .hm-eco-slide-link {
  filter: brightness(1.08);
  transform: scale(1.01);
}

.hm-eco-slide:hover .hm-eco-slide-link svg {
  transform: translateX(3px);
}

.hm-eco-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(7,17,31,.78);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .2s, border-color .2s, transform .2s;
  z-index: 2;
}

.hm-eco-arrow:hover {
  background: rgba(0,189,220,.22);
  border-color: rgba(0,212,245,.55);
  transform: translateY(-50%) scale(1.06);
}

.hm-eco-arrow--prev { left: -10px; }
.hm-eco-arrow--next { right: -10px; }

@media (max-width: 1100px) {
  .hm-eco-slide { flex: 0 0 calc((100% - 16px) / 2); }
}

@media (max-width: 700px) {
  .hm-eco-slide { flex: 0 0 88%; height: 280px; }
  .hm-eco-arrow { display: none; }
}

/* ══ Агрегатор + экосистема (двухколоночный блок как «О компании») ══ */
.hm-agg-split {
  position: relative;
  margin-top: 0;
  padding: clamp(56px, 7vw, 96px) 0 clamp(90px, 11vw, 150px);
  background: #fff;
  color: #0a1628;
  border-top: none;
  border-bottom: 1px solid var(--line, #daeeff);
}

.hm-agg-split-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.44fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.hm-agg-split-card {
  position: relative;
  display: block;
  padding: 34px 28px 36px;
  border-radius: 22px;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  min-height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background:
    radial-gradient(ellipse 90% 70% at 88% 42%, rgba(255, 255, 255, 0.14) 0%, transparent 55%),
    linear-gradient(145deg, #00bddc 0%, #0588c4 42%, #0656b9 100%);
  box-shadow:
    0 18px 44px rgba(6, 86, 185, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hm-agg-split-card::after {
  content: '';
  position: absolute;
  inset: -20% -30% auto auto;
  width: 72%;
  height: 120%;
  background: url('../img/map-russia-geo.png') no-repeat 60% 55% / 115% auto;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.hm-agg-split-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 24px 56px rgba(6, 86, 185, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hm-agg-split-card:focus-visible {
  outline: 3px solid rgba(0, 189, 220, 0.85);
  outline-offset: 4px;
}

.hm-agg-split-card-arrow {
  position: absolute;
  top: 22px;
  right: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hm-agg-split-card:hover .hm-agg-split-card-arrow {
  background: rgba(255, 255, 255, 0.24);
  transform: translate(2px, -2px);
}

.hm-agg-split-card-title {
  position: relative;
  z-index: 1;
  margin: 0 52px 14px 0;
  font-size: clamp(1.3rem, 1.85vw, 1.6rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hm-agg-split-card-text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.52;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34ch;
}

.hm-agg-split-main {
  padding-top: 2px;
  padding-left: clamp(72px, 14vw, 220px);
}

.hm-agg-split-lead {
  margin: 0 0 18px;
  font-size: clamp(1.2rem, 1.85vw, 1.55rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.03em;
  color: #0656b9;
  max-width: 38ch;
}

.hm-agg-split-p {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.68;
  color: #36475e;
  max-width: 62ch;
}

.hm-agg-split-p:last-child {
  margin-bottom: 0;
}

@media (max-width: 960px) {
  .hm-agg-split-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hm-agg-split-main {
    padding-left: 0;
  }

  .hm-agg-split-card {
    min-height: 0;
  }

  .hm-agg-split-card-text {
    max-width: none;
  }

  .hm-agg-split-lead {
    max-width: none;
  }
}

/* ══ СЛАЙДЕР ПРОДУКЦИИ ══════════════════════════════════════════ */
/* ── базовая секция ── */
.hm-ss {
  background: #0d1b2e;
  padding-top: 130px;
}

.hm-ss-track {
  position: relative;
  height: calc(100vh * var(--hm-ss-count, 4));
}

.hm-ss-spacer { display: none; }

.hm-ss-panel {
  position: sticky;
  top: 130px;
  height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  background: #0d1b2e;
  overflow: hidden;
  transition: opacity .2s ease;
  will-change: opacity;
}

.hm-ss--fade { opacity: 0; }

/* ── верхняя панель навигации ── */
.hm-ss-top-bar {
  border-bottom: none;
  padding: 12px 0;
  flex-shrink: 0;
}

.hm-ss-top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hm-ss-top-meta {
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.hm-ss-top-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,189,220,.8);
  white-space: nowrap;
}

.hm-ss-top-title {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  margin: 0;
  letter-spacing: -.01em;
}

/* навигация по моделям */
.hm-ss-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center;
}

.hm-ss-nav-btn {
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(218, 235, 255, 0.42);
  font-size: 0.68rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, filter 0.15s, transform 0.15s;
  white-space: nowrap;
  position: relative;
}

.hm-ss-nav-btn::after {
  display: none;
}

.hm-ss-nav-btn:hover:not(.active) {
  color: rgba(255, 255, 255, 0.85);
}

.hm-ss-nav-btn.active {
  background: var(--blue, #0656b9);
  color: #fff;
}

.hm-ss-nav-btn.active:hover {
  filter: brightness(1.08);
}

.hm-ss-nav-btn.active:active {
  transform: scale(0.99);
}

/* ── основная сетка ── */
.hm-ss-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  flex: 1;
  min-height: 0;
  width: 100%;
}

/* ── ЛЕВАЯ: большое фото ── */
.hm-ss-visual {
  display: flex;
  flex-direction: column;
  padding: 36px 40px 28px 0;
  border-right: 1px solid rgba(255,255,255,.06);
}

.hm-ss-img-frame {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hm-ss-img-frame::before {
  content: '';
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,86,185,.18) 0%, transparent 70%);
  pointer-events: none;
}

.hm-ss-img {
  max-width: 88%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.5));
  position: relative;
  z-index: 1;
}

.hm-ss-img-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.hm-ss-caption-art {
  font-size: 0.75rem;
  color: rgba(255,255,255,.3);
  font-weight: 500;
}

.hm-ss-caption-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px 8px 22px;
  border: none;
  border-radius: 999px;
  background: var(--blue, #0656b9);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  box-sizing: border-box;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s, gap 0.2s;
}

.hm-ss-caption-link svg {
  display: block;
  flex-shrink: 0;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.hm-ss-caption-link:hover {
  filter: brightness(1.08);
  transform: scale(1.01);
  gap: 10px;
}

.hm-ss-caption-link:hover svg {
  transform: translateX(3px);
}

.hm-ss-caption-link:active {
  transform: scale(0.99);
}

@media (prefers-reduced-motion: reduce) {
  .hm-ss-caption-link:hover svg {
    transform: none;
  }
}

/* ── ПРАВАЯ: текст + пункты ── */
.hm-ss-text {
  display: flex;
  flex-direction: column;
  padding: 36px 0 28px 52px;
  gap: 20px;
  overflow-y: auto;
  scrollbar-width: none;
}
.hm-ss-text::-webkit-scrollbar { display: none; }

.hm-ss-product-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  margin: 0;
  letter-spacing: -.025em;
  flex-shrink: 0;
}

/* пункты */
.hm-ss-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hm-ss-item {
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 18px 0;
  transition: background .2s;
}
.hm-ss-item:first-child { border-top: 1px solid rgba(255,255,255,.07); }

.hm-ss-item-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  user-select: none;
}

.hm-ss-item:not(.is-open) .hm-ss-item-head:hover .hm-ss-item-title {
  color: rgba(0,212,245,.85);
}

.hm-ss-item-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.hm-ss-item-lead {
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(185,215,255,.6);
  margin: 0;
}

.hm-ss-item-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  align-self: flex-start;
  max-height: 36px;
  margin-top: 10px;
  padding: 7px 16px 7px 20px;
  border: none;
  border-radius: 999px;
  background: var(--blue, #0656b9);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: filter 0.15s, transform 0.15s;
}

.hm-ss-item-toggle:hover {
  filter: brightness(1.08);
  transform: scale(1.01);
}

.hm-ss-item-toggle:active {
  transform: scale(0.99);
}

.hm-ss-item.is-open .hm-ss-item-toggle {
  filter: brightness(1.05);
}

.hm-ss-item-toggle svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hm-ss-item.is-open .hm-ss-item-toggle svg {
  transform: rotate(180deg);
}

/* раскрывающийся текст */
.hm-ss-item-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .38s cubic-bezier(.4,0,.2,1);
}
.hm-ss-item.is-open .hm-ss-item-body {
  grid-template-rows: 1fr;
}
.hm-ss-item-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hm-ss-item.is-open .hm-ss-item-inner {
  padding-top: 14px;
}
.hm-ss-item-inner p {
  font-size: 0.84rem;
  line-height: 1.72;
  color: rgba(185,215,255,.55);
  margin: 0;
}
.hm-ss-item-inner strong { color: rgba(220,238,255,.8); }

/* прогресс-бар */
.hm-ss-progress-bar {
  height: 2px;
  background: rgba(255,255,255,.07);
  flex-shrink: 0;
  display: none;
}
.hm-ss-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00bddc 0%, #0656b9 100%);
  transition: width .1s linear;
  width: 0%;
}

@media (max-width: 960px) {
  .hm-ss-track { height: auto; }
  .hm-ss-panel { position: static; height: auto; }
  .hm-ss-spacer { display: none; }
  .hm-ss-inner { grid-template-columns: 1fr; }
  .hm-ss-top-bar-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hm-ss-top-meta { flex-direction: column; gap: 4px; }
  .hm-ss-visual { padding: 24px 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
  .hm-ss-img-frame { min-height: 280px; }
  .hm-ss-text { padding: 24px 0; }
}

/* ══════════════════════════════════════════════════════════════
   SCROLL-СЛАЙДЕР ПРОДУКЦИИ — премиальный минималистичный вид
   ══════════════════════════════════════════════════════════════ */
.hm-ss {
  padding-top: 156px;
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(0,189,220,.10) 0%, transparent 58%),
    radial-gradient(ellipse 60% 50% at 92% 86%, rgba(6,86,185,.18) 0%, transparent 62%),
    linear-gradient(180deg, #07111f 0%, #0a1423 46%, #070d17 100%);
}

.hm-ss-panel {
  top: 156px;
  height: calc(100vh - 156px);
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 0%, transparent 42%),
    #07111f;
}

.hm-ss-panel::before {
  display: none;
}

.hm-ss-top-bar {
  position: relative;
  z-index: 2;
  padding: 14px 0;
  border-bottom: none;
  background: rgba(7,17,31,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hm-ss-top-meta {
  gap: 18px;
}

.hm-ss-top-eyebrow {
  color: rgba(0,212,245,.84);
  font-size: .68rem;
  letter-spacing: .16em;
}

.hm-ss-top-title {
  font-size: clamp(1.35rem, 1.9vw, 1.75rem);
  font-weight: 900;
  letter-spacing: -.04em;
  margin: 0;
  background: linear-gradient(100deg, #fff 0%, #fff 45%, #00d4f5 75%, #0656b9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hm-ss-nav {
  padding: 0;
  gap: 8px;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.hm-ss-nav-btn {
  border: 0;
  background: transparent;
  color: rgba(218, 235, 255, 0.42);
  padding: 8px 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: 999px;
}

.hm-ss-nav-btn:hover:not(.active) {
  color: rgba(255, 255, 255, 0.85);
}

.hm-ss-nav-btn.active {
  background: var(--blue, #0656b9);
  color: #fff;
}

.hm-ss-nav-btn.active:hover {
  filter: brightness(1.08);
}

.hm-ss-inner {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  grid-template-rows: 1fr;
  align-items: stretch;
  overflow: clip;
  gap: clamp(38px, 5vw, 78px);
  padding-top: clamp(20px, 3vh, 36px);
  padding-bottom: clamp(20px, 3vh, 36px);
}

.hm-ss-big-title {
  grid-column: 1 / -1;
  font-size: clamp(1.1rem, 2.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #fff;
  margin: 0;
  background: linear-gradient(135deg, #fff 30%, rgba(0,212,245,.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hm-ss-visual {
  padding: 0;
  border-right: 0;
  justify-content: space-between;
  overflow: hidden;
}

.hm-ss-img-frame {
  flex: 1;
  min-height: 0;
}

.hm-ss-img-frame {
  min-height: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  position: relative;
}

.hm-ss-img-frame::before {
  content: '';
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,189,220,.22) 0%, rgba(6,86,185,.12) 40%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
}

.hm-ss-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.04) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 40px 40px, 30px 30px;
  opacity: .4;
  pointer-events: none;
}

.hm-ss-img {
  max-width: 62%;
  max-height: 75%;
  filter:
    drop-shadow(0 30px 60px rgba(0,189,220,.25))
    drop-shadow(0 50px 80px rgba(0,0,0,.5));
}

.hm-ss-img[src*="media-a1"] {
  max-width: 76%;
  max-height: 88%;
}

.hm-ss-img-caption {
  margin-top: 18px;
  padding: 12px 2px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}

.hm-ss-caption-art {
  color: rgba(218,235,255,.42);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hm-ss-text {
  height: 100%;
  padding: 0;
  padding-top: 20px;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  max-height: none;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  box-sizing: border-box;
}
.hm-ss-text::-webkit-scrollbar {
  display: none;
}

.hm-ss-product-title {
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.06;
  letter-spacing: -.04em;
  padding-bottom: 8px;
  color: #fff;
}

.hm-ss-items {
  gap: 0;
  display: flex;
  flex-direction: column;
}

.hm-ss-item {
  padding: 14px 0;
  border-bottom-color: rgba(255,255,255,.085);
}

.hm-ss-item:first-child {
  border-top-color: rgba(255,255,255,.085);
}

.hm-ss-item-title {
  font-size: clamp(.9rem, 1.2vw, 1.08rem);
  letter-spacing: -.02em;
}

.hm-ss-item-lead {
  max-width: 560px;
  font-size: .78rem;
  line-height: 1.55;
  color: rgba(218,235,255,.68);
  margin-top: 4px;
  opacity: 1;
}

.hm-ss-item-inner p {
  color: rgba(218,235,255,.62);
  font-size: .78rem;
}

.hm-ss-item-inner strong {
  color: rgba(255,255,255,.88);
}

.hm-ss-progress-bar {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.065);
  display: none;
}

.hm-ss-progress-fill {
  background: linear-gradient(90deg, #00d4f5 0%, #0656b9 100%);
  box-shadow: 0 0 18px rgba(0,212,245,.45);
}

@media (max-width: 960px) {
  .hm-ss {
    padding-top: 120px;
  }

  .hm-ss-panel {
    top: 0;
    height: auto;
  }

  .hm-ss-inner {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .hm-ss-img-frame {
    min-height: 360px;
  }

  .hm-ss-text {
    max-height: none;
    padding: 26px;
  }
}

/* ══ ОПТИМИЗАЦИЯ: слабые устройства / slow-update ══════════════ */
@media (update: slow) {
  *:not(.hm-marquee-track),
  *:not(.hm-marquee-track)::before,
  *:not(.hm-marquee-track)::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ══ ОПТИМИЗАЦИЯ: backdrop-filter только если устройство тянет ═ */
@media (prefers-reduced-data: reduce) {
  .hm-hero-logo-card,
  .hm-edu-pillar,
  .hm-eco-net,
  [style*="backdrop-filter"] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* ══ ОПТИМИЗАЦИЯ: убрать анимации при prefers-reduced-motion ═══ */
@media (prefers-reduced-motion: reduce) {
  /* Отключаем всё, кроме непрерывного marquee — он не вызывает дискомфорта */
  *:not(.hm-marquee-track):not(.hm-marquee-logo),
  *:not(.hm-marquee-track):not(.hm-marquee-logo)::before,
  *:not(.hm-marquee-track):not(.hm-marquee-logo)::after {
    animation: none !important;
    transition: none !important;
  }

  .hm-hero-track {
    transition: none !important;
  }

  .hm-hero-logo-card {
    animation: none !important;
  }
}

/* Мобильные карточки партнёров — скрыты на десктопе */
.hm-hero-mob-cards { display: none; }

/* ══════════════════════════════════════════════════════════════
   МОБИЛЬНАЯ АДАПТАЦИЯ hero ≤ 768px
   На мобилке: один экран, без слайдов.
   Слайд 1 = заголовок + карточки партнёров (горизонтальный скролл).
   Слайд 2 скрыт. Точки скрыты. Трек заблокирован.
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Контейнер: нормальная высота, без overflow ── */
  .hm-hero-scroll-wrap {
    height: auto !important;
    overflow: visible;
    max-width: 100vw;
    position: relative;
  }

  .op-hero.op-hero--home {
    position: relative;
    height: auto;
    min-height: 100svh;
    clip-path: none;
    overflow: hidden;
    max-width: 100vw;
    isolation: isolate;
    z-index: 0;
  }

  /* Трек — 100%, трансформ заблокирован */
  .hm-hero-track {
    width: 100% !important;
    transform: none !important;
    transition: none !important;
    display: block !important;
  }

  /* Слайд 2 — скрыт на мобилке */
  .hm-hero-slide--2 {
    display: none !important;
  }

  /* Точки слайдера — скрыты на мобилке */
  .hm-hero-slider-nav {
    display: none !important;
  }

  /* Слайд 1 — полный экран */
  .hm-hero-slide--1 {
    width: 100% !important;
    height: auto;
    min-height: 100svh;
    overflow: hidden;
  }

  /* Слайд 1: фото-фон */
  .hm-hero-slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.22;
    top: 0;
    transform: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  /* Главная: слегка прозрачнее фон для контраста с карточкой */
  .op-hero--home .hm-hero-slide--1 .hm-hero-slide-bg {
    opacity: 0.12;
  }

  /* Слайд 1 — inner: колонка, заголовок + карточки */
  .hm-hero-slide--1 .hm-hero-slide-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 56px 0 80px;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Блок текста */
  .hm-hero-slide-text {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  /* Главная: заголовок + подзаголовок на светлой подложке */
  .op-hero--home .hm-hero-slide--1 .hm-hero-slide-text {
    padding: 22px 18px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.93);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow:
      0 12px 36px rgba(4, 22, 52, 0.12),
      0 1px 0 rgba(255, 255, 255, 0.95) inset;
    border: 1px solid rgba(255, 255, 255, 0.98);
  }

  .op-hero--home .hm-hero-slide--1 #hm-hero-h1,
  .op-hero--home .hm-hero-slide--1 .op-hero-title.hm-hero-title {
    font-size: clamp(2.28rem, 9.2vw, 3.05rem) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.038em !important;
    font-weight: 900 !important;
    color: #050d18 !important;
  }

  .op-hero--home .hm-hero-slide--1 .op-hero-accent {
    color: #044a9e !important;
    -webkit-text-fill-color: currentColor;
  }

  .op-hero--home .hm-hero-slide--1 .hm-hero-subtitle {
    color: #1e3046 !important;
    font-size: 1.05rem !important;
    line-height: 1.62 !important;
    font-weight: 600 !important;
    margin-top: 16px !important;
  }

  /* ── Горизонтальный скролл карточек партнёров ── */
  .hm-hero-mob-cards {
    display: flex !important;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 16px 8px;
    margin: 0 -16px;
  }
  .hm-hero-mob-cards::-webkit-scrollbar { display: none; }

  .hm-hero-mob-card {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 72vw;
    max-width: 280px;
    scroll-snap-align: start;
    background: rgba(4, 18, 48, 0.78);
    border: 1px solid rgba(6, 86, 185, 0.35);
    border-radius: 16px;
    padding: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .hm-hero-mob-card-logo {
    height: 36px;
    object-fit: contain;
    object-position: left center;
  }

  .hm-hero-mob-card-role {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(0,189,220,.9);
  }

  .hm-hero-mob-card-desc {
    font-size: 0.8rem;
    line-height: 1.55;
    color: rgba(218,235,255,.86);
    margin: 0;
  }

  /* ── Прочие адаптивные стили ── */
  .hm-hero { padding: 24px 0 52px !important; }

  .hm-hero-title {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem) !important;
    word-break: break-word;
  }
  .hm-hero-subtitle {
    max-width: 100% !important;
    font-size: 0.95rem !important;
  }
  .hm-eco-hero-body { max-width: 100%; }
  .hm-eco-hero-intro { font-size: 0.95rem; }

  /* ── Eco tabs ── */
  .hm-eco-tabs {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .hm-eco-tabs::-webkit-scrollbar { display: none; }
  .hm-eco-tab { white-space: nowrap; flex-shrink: 0; }

  /* ── Сетки на главной ── */
  .hm-ind-grid { grid-template-columns: 1fr 1fr !important; }
  .hm-net-stats { grid-template-columns: 1fr 1fr !important; }

  /* ── Product section кнопки ── */
  .hm-sec-head--between { 
    flex-direction: column !important; 
    align-items: flex-start !important;
    gap: 14px !important;
  }

  /* тяжёлые blur — снижаем радиус */
  .hm-hero-logo-card,
  .hm-edu-pillar,
  .hm-eco-sec-card {
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
  }

  /* убираем крупные filter: blur */
  .hm-edu-blob,
  .hm-eco-bg,
  .op-hero-aurora {
    display: none !important;
  }
}

/* ══ HERO главной: единый статичный экран ════════════════════════
   Текст и схема экосистемы видны одновременно. Прокрутка страницы
   больше не управляет состоянием hero. */
.hm-hero-scroll-wrap {
  height: auto !important;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.op-hero.op-hero--home {
  position: relative !important;
  top: auto !important;
  z-index: 1;
  isolation: isolate;
  height: auto !important;
  min-height: clamp(700px, 92svh, 840px);
  overflow: visible;
  clip-path: none !important;
  background: transparent;
}

.op-hero.op-hero--home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #eef4fa 0%, #eef4fa 72%, #eaf5fb 100%);
  clip-path: none;
}

.op-hero--home .hm-hero-track {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  width: 100% !important;
  min-height: clamp(700px, 92svh, 840px);
  transform: none !important;
  transition: none !important;
  will-change: auto;
}

.op-hero--home .hm-hero-slide {
  grid-area: 1 / 1;
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
}

.op-hero--home .hm-hero-slide--1 {
  z-index: 1;
  background: transparent;
}

.op-hero--home .hm-hero-slide--2 {
  z-index: 2;
  display: flex !important;
  background: transparent;
  pointer-events: none;
}

.op-hero--home .hm-hero-slide--2 > .hm-hero-slide-bg {
  display: none;
}

.op-hero--home .hm-hero-slide > .hm-hero-slide-inner {
  display: grid !important;
  grid-template-columns: minmax(340px, .82fr) minmax(560px, 1.18fr);
  align-items: center !important;
  column-gap: clamp(32px, 4vw, 72px);
  width: 100%;
  padding: clamp(166px, 19vh, 210px) 0 clamp(82px, 10vh, 116px) !important;
}

.op-hero--home .hm-hero-slide--1 .hm-hero-slide-text {
  grid-column: 1;
  align-self: center;
  max-width: 540px;
  position: relative;
  z-index: 3;
}

.op-hero--home .hm-hero-slide--1 .hm-hero-slide-bg {
  width: min(70%, 1050px);
  opacity: .44;
}

.op-hero--home .hm-hero-slide--2 .hm-hero-eco-scale {
  grid-column: 2;
  justify-self: end;
  width: min(100%, 640px);
  height: 560px;
  overflow: visible;
  pointer-events: auto;
}

.op-hero--home .hm-hero-slide--2 .op-hero-right--eco {
  width: 100%;
  height: 100%;
}

.op-hero--home .hm-hero-logo-card {
  width: 218px;
  border-radius: 8px;
  padding: 13px;
  gap: 0;
  background: rgba(235, 245, 253, .60);
  border-color: rgba(255, 255, 255, .86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .96),
    inset 0 0 0 1px rgba(99, 152, 194, .08),
    0 18px 44px rgba(44, 81, 112, .16);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.op-hero--home .hm-hero-logo-card > img:first-of-type {
  display: block;
  width: 100%;
  height: 70px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .54);
  object-fit: contain;
  box-sizing: border-box;
}

.op-hero--home .hm-hero-logo-card--sirius > img:first-of-type {
  height: 70px;
  padding: 6px 10px;
  border-radius: 6px;
  background: linear-gradient(165deg, #152a45 0%, #0a1628 100%);
  border: 1px solid rgba(10, 22, 40, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

.op-hero--home .hm-hero-logo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, .78), transparent 35%, rgba(106, 187, 222, .10));
  pointer-events: none;
}

.op-hero--home .hm-hero-logo-card > * {
  position: relative;
  z-index: 1;
}

.op-hero--home .hm-hero-logo-card.is-open {
  z-index: 20 !important;
  width: 280px;
}

.op-hero--home .hm-hero-logo-card-btn {
  height: 34px;
  min-height: 34px;
  margin-top: 9px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .9);
  background: rgba(229, 242, 251, .62);
  color: #172233;
  font: 500 12px/1 var(--site-control-font-family, "PT Root UI", Arial, sans-serif);
  letter-spacing: 0;
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    inset 0 -1px 0 rgba(33, 43, 54, .08),
    0 8px 20px rgba(26, 35, 46, .13),
    0 1px 2px rgba(26, 35, 46, .08);
  transition: background-color .2s ease, border-color .2s ease,
              box-shadow .2s ease, transform .2s ease;
}

.op-hero--home .hm-hero-logo-card-btn:hover {
  background: rgba(255, 255, 255, .72);
  border-color: #fff;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(33, 43, 54, .08),
    0 10px 24px rgba(26, 35, 46, .16),
    0 1px 2px rgba(26, 35, 46, .08);
  filter: none;
  transform: translateY(-1px);
}

.op-hero--home .hm-hero-logo-card-btn:active {
  background: rgba(238, 241, 245, .76);
  transform: translateY(0) scale(.99);
}

.op-hero--home .hm-hero-logo-card-btn:focus-visible {
  outline: 3px solid rgba(24, 33, 44, .18);
  outline-offset: 2px;
}

.op-hero--home .hm-hero-event-card {
  position: relative;
  isolation: isolate;
  width: min(100%, 390px);
  margin-top: 44px;
  overflow: hidden;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(235, 245, 253, .72), rgba(219, 239, 250, .5));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.98), inset 0 0 0 1px rgba(99,152,194,.08), 0 18px 44px rgba(44,81,112,.15);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}

.op-hero--home .hm-hero-event-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,.72), transparent 38%, rgba(76,177,215,.1));
  pointer-events: none;
}

.hm-hero-event-card__heading { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 12px; align-items: center; padding: 2px 2px 12px; }
.hm-hero-event-card__icon { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.9); border-radius: 6px; color: #075dbb; background: rgba(255,255,255,.54); box-shadow: inset 0 1px 0 #fff; }
.hm-hero-event-card__icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.hm-hero-event-card__heading small { display: block; margin-bottom: 3px; color: #47708f; font: 500 10px/1.25 var(--site-font-family, "PT Root UI", Arial, sans-serif); letter-spacing: .08em; text-transform: uppercase; }
.hm-hero-event-card__heading strong { display: block; color: #172333; font: 400 15px/1.45 var(--site-font-family, "PT Root UI", Arial, sans-serif); }

/* Keep the meeting card in the same restrained technical voice as the hero subtitle. */
.op-hero--home .hm-hero-slide--1 .hm-hero-subtitle,
.op-hero--home .hm-hero-event-card__heading strong {
  font-family: var(--site-font-family, "PT Root UI", Arial, sans-serif) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
.hm-hero-event-card__link {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,.92);
  border-radius: 999px;
  color: #172333;
  background: rgba(229,242,251,.64);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.96), inset 0 -1px 0 rgba(33,43,54,.08), 0 8px 20px rgba(26,35,46,.12);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
  backdrop-filter: blur(20px) saturate(135%);
  font: 500 12px/1 var(--site-control-font-family, "PT Root UI", Arial, sans-serif);
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.hm-hero-event-card__link svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: #075dbb; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .24s ease; }
.hm-hero-event-card__link:hover { border-color: #fff; background: rgba(255,255,255,.76); box-shadow: inset 0 1px 0 #fff, 0 10px 24px rgba(26,35,46,.15); transform: translateY(-1px); }
.hm-hero-event-card__link:hover svg { transform: translateX(3px); }
.hm-hero-event-card__link:focus-visible { outline: 3px solid rgba(7,93,187,.2); outline-offset: 3px; }

.op-hero--home .hm-hero-logo-card--injsafe {
  top: 1%;
  left: 18%;
  right: auto;
  width: 218px;
}

.op-hero--home .hm-hero-logo-card--sirius {
  top: 43%;
  left: 0;
  right: auto;
  width: 218px;
}

.op-hero--home .hm-hero-logo-card--nit {
  top: 49%;
  right: 0;
  left: auto;
  width: 218px;
}

@media (min-width: 1121px) {
  .op-hero--home .hm-hero-logo-card--injsafe {
    top: 0;
    left: calc(50% - 109px);
  }

  .op-hero--home .hm-hero-logo-card--sirius {
    top: 47%;
    left: 0;
  }

  .op-hero--home .hm-hero-logo-card--nit {
    top: 53%;
    right: 0;
  }
}

.op-hero--home .hm-hero-slider-nav,
.op-hero--home .hm-hero-mob-cards {
  display: none !important;
}

.hm-hero-scroll-wrap + .hm-clients {
  position: relative;
  z-index: 0;
}

body.page-home .site-header,
body.page-home .site-header.is-scrolled,
body.page-home .site-header.is-header-hidden {
  top: 14px !important;
  transform: none !important;
  pointer-events: auto !important;
}

@media (max-width: 1120px) {
  .op-hero--home .hm-hero-slide > .hm-hero-slide-inner {
    grid-template-columns: minmax(300px, .72fr) minmax(500px, 1.28fr);
    column-gap: 24px;
    padding-inline: 24px !important;
  }

  .op-hero--home .hm-hero-slide--2 .hm-hero-eco-scale {
    width: min(100%, 590px);
    height: 530px;
  }
}

@media (max-width: 920px) {
  .op-hero.op-hero--home {
    min-height: 0;
    clip-path: none;
  }

  .op-hero.op-hero--home::before {
    clip-path: none;
  }

  .op-hero--home .hm-hero-track {
    grid-template-rows: auto 570px;
    min-height: 0;
  }

  .op-hero--home .hm-hero-slide {
    height: auto !important;
    min-height: 0 !important;
  }

  .op-hero--home .hm-hero-slide--1 {
    grid-area: 1 / 1;
  }

  .op-hero--home .hm-hero-slide--2 {
    grid-area: 2 / 1;
  }

  .op-hero--home .hm-hero-slide > .hm-hero-slide-inner {
    display: block !important;
    padding: 48px 24px 20px !important;
  }

  .op-hero--home .hm-hero-slide--1 .hm-hero-slide-text {
    max-width: 620px;
  }

  .op-hero--home .hm-hero-event-card { margin-top: 28px; }

  .op-hero--home .hm-hero-slide--2 > .hm-hero-slide-inner {
    display: flex !important;
    justify-content: center;
    padding: 0 24px 70px !important;
  }

  .op-hero--home .hm-hero-slide--2 .hm-hero-eco-scale {
    width: min(100%, 620px);
    height: 520px;
  }

  .hm-hero-scroll-wrap + .hm-clients {
    margin-top: 0 !important;
    padding-top: 56px !important;
  }
}

@media (max-width: 640px) {
  .op-hero--home .hm-hero-track {
    grid-template-rows: auto auto;
  }

  .op-hero--home .hm-hero-slide--1 .hm-hero-slide-inner {
    padding: 34px 16px 26px !important;
  }

  .op-hero--home .hm-hero-slide--1 .hm-hero-slide-text {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .op-hero--home .hm-hero-slide--1 #hm-hero-h1 {
    font-size: clamp(2.55rem, 13vw, 3.55rem) !important;
    line-height: 1 !important;
  }

  .op-hero--home .hm-hero-slide--1 .hm-hero-subtitle {
    max-width: 34rem !important;
    margin-top: 20px !important;
    font-size: 1rem !important;
    line-height: 1.58 !important;
    font-weight: 400 !important;
  }

  .op-hero--home .hm-hero-event-card { width: 100%; margin-top: 24px; padding: 12px; }
  .hm-hero-event-card__heading { grid-template-columns: 38px minmax(0, 1fr); gap: 10px; }
  .hm-hero-event-card__icon { width: 38px; height: 38px; }
  .hm-hero-event-card__heading strong { font-size: 14px; }

  .op-hero--home .hm-hero-slide--2 > .hm-hero-slide-inner {
    display: block !important;
    padding: 12px 16px 64px !important;
  }

  .op-hero--home .hm-hero-slide--2 .hm-hero-eco-scale,
  .op-hero--home .hm-hero-slide--2 .op-hero-right--eco {
    width: 100%;
    height: auto;
  }

  .op-hero--home .hm-hero-slide--2 .op-hero-right--eco {
    display: grid;
    gap: 12px;
  }

  .op-hero--home .hm-eco-net {
    display: none;
  }

  .op-hero--home .hm-hero-logo-card,
  .op-hero--home .hm-hero-logo-card--sirius,
  .op-hero--home .hm-hero-logo-card--injsafe,
  .op-hero--home .hm-hero-logo-card--nit {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    animation: none;
  }

  .op-hero--home .hm-hero-logo-card--injsafe { order: 1; }
  .op-hero--home .hm-hero-logo-card--sirius  { order: 2; }
  .op-hero--home .hm-hero-logo-card--nit     { order: 3; }

  .op-hero--home .hm-hero-logo-card > img:first-of-type {
    width: 100%;
    max-width: 100%;
    height: 70px;
    object-fit: contain;
    object-position: left center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-hero-event-card__link,
  .hm-hero-event-card__link svg { transition: none; }
}

/* ══════════════════════════════════════════════════════════════
   МОБИЛЬНАЯ КАРУСЕЛЬ «НАША ПРОДУКЦИЯ» — только ≤ 768px
   ══════════════════════════════════════════════════════════════ */

/* На десктопе мобильный блок не виден */
.hm-ss-mob { display: none; }

/* Desktop product showcase: tabs control products, page scroll does not. */
@media (min-width: 769px) {
  .hm-ss {
    padding-top: 0;
  }

  .hm-ss-track {
    height: auto !important;
  }

  .hm-ss-panel {
    position: relative;
    top: auto;
    height: auto;
    min-height: clamp(700px, 100vh, 860px);
    overflow: visible;
  }

  .hm-ss-inner {
    min-height: clamp(620px, calc(100vh - 74px), 780px);
  }

  .hm-ss-progress-bar,
  .hm-ss-spacer {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 960px) {
  .hm-ss-panel,
  .hm-ss-inner {
    min-height: 0;
  }
}

@media (max-width: 768px) {

  /* Скрываем десктопный scroll-driven вариант */
  .hm-ss { display: none !important; }

  /* Показываем мобильный */
  .hm-ss-mob {
    display: block;
    padding: 48px 0 64px;
    background:
      radial-gradient(ellipse 80% 50% at 50% 0%, rgba(0,189,220,.08) 0%, transparent 55%),
      #07111f;
  }

  .hm-ss-mob-head {
    padding-bottom: 22px;
  }

  .hm-ss-mob-title {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 6px;
    letter-spacing: -0.035em;
  }

  .hm-ss-mob-lead {
    font-size: 0.8rem;
    color: rgba(140,190,240,.45);
    margin: 0;
  }

  /* ── Трек со снэпом ── */
  .hm-ss-mob-track {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 4px 20px 20px;
  }

  .hm-ss-mob-track::-webkit-scrollbar { display: none; }

  /* ── Карточка ── */
  .hm-ss-mob-card {
    flex: 0 0 82vw;
    max-width: 300px;
    scroll-snap-align: start;
    background: linear-gradient(150deg, #0c1d35 0%, #071425 100%);
    border: 1px solid rgba(0,189,220,.14);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    transition: border-color .2s;
  }

  .hm-ss-mob-card:active {
    border-color: rgba(0,189,220,.35);
  }

  /* ── Изображение ── */
  .hm-ss-mob-img-wrap {
    background: #040f1e;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 190px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
  }

  .hm-ss-mob-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(0,189,220,.06) 0%, transparent 70%);
    pointer-events: none;
  }

  .hm-ss-mob-img {
    max-height: 160px;
    max-width: 78%;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 12px 28px rgba(0,0,0,.55));
  }

  /* ── Тело карточки ── */
  .hm-ss-mob-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
  }

  .hm-ss-mob-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
  }

  .hm-ss-mob-art {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(0,212,245,.6);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: -4px 0 2px;
  }

  /* ── Фичи ── */
  .hm-ss-mob-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
    border-top: 1px solid rgba(255,255,255,.06);
    padding-top: 10px;
  }

  .hm-ss-mob-feat {
    font-size: 0.8rem;
    color: rgba(185,215,255,.65);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
  }

  .hm-ss-mob-feat::before {
    content: '';
    flex-shrink: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(0,189,220,.6);
    margin-top: 4px;
  }

  /* ── CTA ── */
  .hm-ss-mob-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(6,86,185,.22);
    border: 1px solid rgba(6,86,185,.28);
    color: rgba(140,195,255,.9);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: auto;
    -webkit-tap-highlight-color: transparent;
    transition: background .18s, border-color .18s;
  }

  .hm-ss-mob-cta:active {
    background: rgba(6,86,185,.42);
    border-color: rgba(6,86,185,.5);
  }

  /* ── Точки ── */
  .hm-ss-mob-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding-top: 18px;
  }

  .hm-ss-mob-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    transition: background .22s, transform .22s, width .22s;
    border-radius: 4px;
  }

  .hm-ss-mob-dot.is-active {
    background: var(--teal, #00bddc);
    transform: scale(1.1);
    width: 20px;
  }
}
