/* ==========================================================================
   MAIN STYLESHEET
   Header & Hero Section (Medical Landing Page)
   ========================================================================== */

/* 1. Сброс и базовые настройки */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-canvas);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

section {
  scroll-margin-top: 80px;
}

/* Декоративная фоновая сетка и подсветка */
.ambient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1000px;
  background:
    radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(15, 82, 186, 0.09) 0%, transparent 50%),
    radial-gradient(circle at 50% 60%, rgba(16, 185, 129, 0.05) 0%, transparent 60%);
  z-index: -2;
  pointer-events: none;
}

.mesh-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1000px;
  background-image:
    radial-gradient(rgba(15, 82, 186, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* 2. Типографика */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  /* +2px (18px) */
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* 3. Кнопки и интерактивные элементы */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  position: relative;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--text-inverse);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(15, 82, 186, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--med-primary);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--med-primary);
  background: var(--med-primary-light);
  color: var(--med-primary-dark);
  transform: translateY(-2px);
}

/* 4. ШАПКА САЙТА (ЛИПКАЯ, УМЕНЬШАЕТСЯ ПО ВЫСОТЕ ПРИ СКРОЛЛЕ) */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 12px rgba(15, 82, 186, 0.04);
  z-index: 1000;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Компактное состояние шапки при скролле вниз */
.header.scrolled {
  height: 72px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(15, 82, 186, 0.08);
}

.header .container.header-container {
  max-width: 100%;
  padding: 0 clamp(16px, 2.5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: clamp(12px, 1.5vw, 28px);
}

/* Логотип: в 2 раза крупнее на десктопе */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 96px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}

.header.scrolled .logo-img {
  height: 52px;
}

.logo:hover .logo-img {
  transform: scale(1.02);
}

/* Навигационное меню (на всю доступную ширину) */
.nav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 clamp(8px, 1.8vw, 32px);
  min-width: 0;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  width: 100%;
  margin: 0;
  padding: 0;
  gap: clamp(6px, 1.1vw, 24px);
}

.nav-item {
  position: relative;
  flex: 0 0 auto;
  text-align: center;
}

/* Шрифт в меню: в 1.5 раза крупнее */
.nav-link {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.25vw, 1.35rem);
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 10px 3px;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: 0.15px;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #1E60D5, #38BDF8);
  border-radius: 3px;
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--med-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Правая часть шапки: Кнопка Book a call, Язык в стиле СиноДжет */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Фирменная кнопка "Заказать звонок" */
.btn-book-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  background: linear-gradient(135deg, #1E60D5 0%, #0284C7 100%);
  color: #FFFFFF;
  border-radius: 40px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(30, 96, 213, 0.25);
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-book-call:hover {
  background: linear-gradient(135deg, #1650B5 0%, #0369A1 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 96, 213, 0.38);
  color: #FFFFFF;
}

/* Переключатель языка с глобусом в виде аккуратной пилюли */
.header-lang-switch {
  display: flex;
  align-items: center;
}

.lang-switch-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 6px 12px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #1E60D5;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switch-btn:hover {
  color: #1E60D5;
  border-color: #1E60D5;
  background: #F0F7FF;
  box-shadow: 0 2px 8px rgba(30, 96, 213, 0.12);
}

.lang-globe-icon {
  stroke: #1E60D5;
}

.mob-address-text {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.4;
}

/* Мобильный бургер */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

/* ==========================================================================
   МОБИЛЬНЫЙ DRAWER (ВЫЕЗЖАЮЩАЯ ШТОРКА МЕНЮ)
   ========================================================================== */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  z-index: 9990;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
  transition: visibility 0.3s ease;
}

.mobile-drawer.active {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.active .mobile-drawer-backdrop {
  opacity: 1;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: #FFFFFF;
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  /* Header and Footer stay locked, body scrolls if needed */
}

.mobile-drawer.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  border-bottom: 1px solid #F1F5F9;
  background: #FFFFFF;
}

.drawer-logo {
  display: flex;
  align-items: center;
}

.drawer-logo-img {
  height: 60px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.drawer-close-btn {
  background: #F1F5F9;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-close-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.mobile-drawer-body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  min-height: 0;
  /* Ensures proper scroll inside flexbox */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.mob-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mob-accordion-group {
  border-radius: 10px;
  background: #F8FAFC;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}

.mob-accordion-btn {
  width: 100%;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: #0F172A;
  cursor: pointer;
  text-align: left;
}

.mob-accordion-chevron {
  transition: transform 0.3s ease;
  color: #1E60D5;
}

.mob-accordion-group.active .mob-accordion-chevron {
  transform: rotate(180deg);
}

.mob-sub-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #FFFFFF;
  border-top: 1px solid #F1F5F9;
}

.mob-accordion-group.active .mob-sub-menu {
  max-height: 240px;
}

.mob-sub-link {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: #475569;
  font-weight: 500;
  border-bottom: 1px solid #F8FAFC;
  transition: all 0.2s ease;
}

.mob-sub-link:hover {
  color: #1E60D5;
  background: #F0F7FF;
  padding-left: 20px;
}

.mob-nav-item {
  display: flex;
  align-items: center;
  padding: 9px 14px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  border-radius: 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mob-nav-item:hover,
.mob-nav-item:active {
  background: #F0F7FF;
  color: #1E60D5;
  border-color: rgba(30, 96, 213, 0.35);
}

.mobile-drawer-footer {
  flex-shrink: 0;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #E2E8F0;
}

.mob-phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
}

.mob-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: #64748B;
}

.mob-cta-btn {
  width: 100%;
  margin-top: 4px;
  justify-content: center;
  padding: 10px 14px;
  font-size: 0.90rem;
  font-weight: 700;
  border-radius: 10px;
}

/* 5. ПОЛНОЭКРАННОЕ HERO ВИДЕО (FULL-WIDTH ROBOT VIDEO) */
.hero-video-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #0B1120;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.video-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: auto;
  max-height: calc(100vh - var(--header-height));
  min-height: 400px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.84) contrast(1.06);
}

.video-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(180deg,
      rgba(11, 17, 32, 0.45) 0%,
      rgba(11, 17, 32, 0.25) 40%,
      rgba(11, 17, 32, 0.35) 75%,
      rgba(11, 17, 32, 0.65) 100%);
  z-index: 2;
}

/* Фирменная надпись в указанной зоне */
.hero-text-overlay {
  position: absolute;
  top: 30%;
  left: 48%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 5;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 620px;
  padding: 0 16px;
}

.hero-overlay-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 800;
  font-style: italic;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  line-height: 1.05;
  margin-bottom: 14px;
  text-shadow:
    0 2px 12px rgba(0, 0, 0, 0.5),
    0 0 35px rgba(56, 189, 248, 0.4);
}

.hero-overlay-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.55vw, 1.25rem);
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  line-height: 1.4;
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(15, 23, 42, 0.7);
  max-width: 580px;
}

/* ==========================================================================
   СЕКЦИЯ: О НАС (ТЕМНЫЙ ПРЕМИАЛЬНЫЙ СТИЛЬ С БЕЛЫМ ШРИФТОМ)
   ========================================================================== */
.section-about-statement {
  padding: 95px 0 80px;
  background: linear-gradient(180deg, #070E1A 0%, #0F1D36 50%, #0A1324 100%);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

.section-about-statement::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 850px;
  height: 420px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(30, 96, 213, 0.12) 45%, transparent 75%);
  pointer-events: none;
  z-index: 1;
}

.about-statement-card {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  background: rgba(15, 29, 54, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(56, 189, 248, 0.32);
  border-radius: 28px;
  padding: 48px 46px 44px;
  box-shadow:
    0 25px 60px -12px rgba(0, 0, 0, 0.5),
    0 0 35px rgba(56, 189, 248, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.about-badge-wrap {
  margin-bottom: 24px;
}

.about-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 7px 22px;
  border-radius: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
}

.about-statement-title {
  font-family: var(--font-heading);
  font-size: clamp(1.28rem, 2vw, 1.78rem);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.6;
  letter-spacing: -0.2px;
  max-width: 940px;
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 12px;
}

.stat-num-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  background: linear-gradient(135deg, #38BDF8 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  filter: drop-shadow(0 0 12px rgba(56, 189, 248, 0.35));
}

.stat-plus {
  font-size: 1.1rem;
  font-weight: 700;
  color: #38BDF8;
}

.stat-label {
  font-size: 0.90rem;
  color: #CBD5E1;
  font-weight: 500;
  line-height: 1.48;
  max-width: 250px;
}

/* ==========================================================================
   СЕКЦИЯ: ГЕОГРАФИЯ И МАСШТАБ (OPERATIONAL FOOTPRINT) — ТЕМНЫЙ ГРАДИЕНТ
   ========================================================================== */
.section-geography {
  padding: 110px 0 100px;
  background: linear-gradient(180deg, #070E1A 0%, #0D1B34 50%, #060B14 100%);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

/* Анимированные светящиеся сферы сложного градиента для географии */
.section-geography::before {
  content: '';
  position: absolute;
  top: -15%;
  left: -10%;
  width: 65vw;
  height: 65vw;
  background: radial-gradient(circle, rgba(30, 96, 213, 0.32) 0%, rgba(2, 132, 199, 0.14) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
  animation: geoAuroraPulse1 12s ease-in-out infinite alternate;
}

.section-geography::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.28) 0%, rgba(16, 185, 129, 0.10) 45%, transparent 70%);
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
  z-index: 1;
  animation: geoAuroraPulse2 15s ease-in-out infinite alternate;
}

@keyframes geoAuroraPulse1 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }

  50% {
    transform: translate(60px, 40px) scale(1.15);
    opacity: 1;
  }

  100% {
    transform: translate(-30px, 30px) scale(0.92);
    opacity: 0.75;
  }
}

@keyframes geoAuroraPulse2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.65;
  }

  50% {
    transform: translate(-50px, -35px) scale(1.18);
    opacity: 0.95;
  }

  100% {
    transform: translate(30px, -20px) scale(0.88);
    opacity: 0.65;
  }
}

.geography-header-center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.geo-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 7px 22px;
  border-radius: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.22);
  margin-bottom: 16px;
}

.geo-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.geo-lead-text {
  font-size: 1.28rem;
  color: #CBD5E1;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto;
}

/* Контейнер темной интерактивной карты с неоновым свечением */
.map-showcase-container {
  position: relative;
  background: rgba(15, 29, 54, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 36px;
  padding: 44px 28px 36px;
  margin-bottom: 56px;
  box-shadow:
    0 30px 70px -10px rgba(0, 0, 0, 0.6),
    0 0 45px rgba(56, 189, 248, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(56, 189, 248, 0.38);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2;
}

.interactive-map-wrapper {
  width: 100%;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 50%, rgba(14, 30, 60, 0.9) 0%, rgba(6, 14, 30, 0.96) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  padding: 16px;
}

.map-vector-img {
  width: 100%;
  height: auto;
  max-height: 740px;
  display: block;
  filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.2));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.interactive-map-wrapper:hover .map-vector-img {
  transform: scale(1.008);
}

.map-card-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 65%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, rgba(30, 96, 213, 0.12) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}


/* Сетка показателей масштаба (Operational Stats) в темной теме */
.geo-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.geo-stat-card {
  background: rgba(15, 29, 54, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 26px;
  padding: 32px 28px;
  border: 1.5px solid rgba(56, 189, 248, 0.28);
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.5),
    0 0 25px rgba(56, 189, 248, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.geo-stat-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.65);
  background: rgba(20, 38, 70, 0.85);
  box-shadow:
    0 30px 65px -12px rgba(0, 0, 0, 0.65),
    0 0 35px rgba(56, 189, 248, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.geo-stat-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.geo-stat-card:hover .geo-stat-icon-box {
  background: linear-gradient(135deg, #1E60D5 0%, #0284C7 100%);
  border-color: #38BDF8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.geo-stat-card:hover .geo-stat-icon-box svg {
  stroke: #FFFFFF;
}

.geo-stat-value {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #38BDF8 0%, #60A5FA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 8px;
}

.geo-stat-unit {
  font-size: 1.15rem;
  font-weight: 700;
  color: #BAE6FD;
  -webkit-text-fill-color: #BAE6FD;
}

.geo-stat-title {
  font-size: 1.12rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0;
  line-height: 1.35;
}

@media (max-width: 900px) {
  .geo-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .map-showcase-container {
    padding: 24px 16px 20px;
    border-radius: 24px;
  }
}

/* ==========================================================================
   СЕКЦИЯ: НАША КОМАНДА (OUR TEAM) — СВЕТЛАЯ
   ========================================================================== */
.section-team {
  padding: 100px 0 95px;
  background: #F8FAFC;
  position: relative;
  overflow: hidden;
}

.section-team::before,
.section-team::after {
  display: none;
}

.team-header-center {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.team-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  color: #1E60D5;
  background: rgba(30, 96, 213, 0.08);
  border: 1px solid rgba(30, 96, 213, 0.22);
  padding: 7px 24px;
  border-radius: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.team-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.team-lead-text {
  font-size: 1.28rem;
  color: #64748B;
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto;
}

/* Сетка карточек команды в светлой теме */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.team-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 28px;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 10px 30px rgba(15, 82, 186, 0.05),
    0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: #38BDF8;
  box-shadow:
    0 25px 50px -10px rgba(15, 82, 186, 0.16),
    0 0 25px rgba(56, 189, 248, 0.18);
}

.team-card-inner {
  padding: 42px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  position: relative;
  z-index: 2;
}

/* Круглая рамка фото */
.team-photo-wrap {
  position: relative;
  width: 152px;
  height: 152px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #1E60D5 0%, #38BDF8 100%);
  box-shadow:
    0 10px 25px rgba(30, 96, 213, 0.25),
    0 4px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-card:hover .team-photo-wrap {
  box-shadow:
    0 0 30px rgba(56, 189, 248, 0.5),
    0 12px 28px rgba(30, 96, 213, 0.35);
}

.team-photo-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #F1F5F9;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo-img {
  transform: scale(1.06);
}

.team-exp-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1E60D5 0%, #0284C7 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(30, 96, 213, 0.35);
  border: 2px solid #FFFFFF;
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.team-role {
  font-size: 0.90rem;
  font-weight: 700;
  color: #1E60D5;
  margin-bottom: 16px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.35;
}

.team-bio {
  font-size: 1.02rem;
  color: #64748B;
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.team-companies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
  width: 100%;
}

.company-logo-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  min-width: 104px;
  padding: 6px 16px;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 2px 8px rgba(15, 82, 186, 0.04);
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.team-card:hover .company-logo-badge {
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 4px 12px rgba(15, 82, 186, 0.08);
}

.company-logo-badge:hover,
.company-logo-badge:focus-visible,
.company-logo-badge.active {
  transform: translateY(-2px);
  border-color: #1E60D5 !important;
  box-shadow: 0 6px 16px rgba(30, 96, 213, 0.22) !important;
  z-index: 50;
}

.company-logo-img {
  max-height: 30px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: contrast(1.05);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.company-logo-img[src*="trb-chemedica"] {
  max-height: 36px;
  max-width: 124px;
}

.company-logo-badge:hover .company-logo-img,
.company-logo-badge.active .company-logo-img {
  transform: scale(1.06);
}

/* МИНИ-ПОПАПЫ (TOOLTIP POPOVERS) ДЛЯ ЛОГОТИПОВ */
.company-mini-popover {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.96);
  width: 275px;
  max-width: min(290px, 86vw);
  background: rgba(11, 20, 38, 0.97);
  backdrop-filter: blur(16px);
  border: 1.5px solid rgba(56, 189, 248, 0.38);
  border-radius: 16px;
  padding: 14px 16px;
  text-align: left;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.75),
    0 0 25px rgba(56, 189, 248, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s ease;
  z-index: 100;
}

.company-logo-badge:hover .company-mini-popover,
.company-logo-badge:focus-within .company-mini-popover,
.company-logo-badge.active .company-mini-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Стрелочка попапа */
.popover-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(11, 20, 38, 0.97);
}

.popover-arrow::before {
  content: '';
  position: absolute;
  top: -9px;
  left: -9px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid rgba(56, 189, 248, 0.38);
  z-index: -1;
}

.popover-badge-pill {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 20px;
  padding: 2px 9px;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.popover-title {
  margin: 0 0 5px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.popover-desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.48;
  color: #CBD5E1;
}

/* Корректировка позиционирования у крайних логотипов */
.team-companies>.company-logo-badge:first-child:nth-last-child(4) .company-mini-popover,
.team-companies>.company-logo-badge:first-child:nth-last-child(3) .company-mini-popover {
  left: 35%;
}

.team-companies>.company-logo-badge:first-child:nth-last-child(4) .popover-arrow,
.team-companies>.company-logo-badge:first-child:nth-last-child(3) .popover-arrow {
  left: 35%;
}

.team-companies>.company-logo-badge:last-child:nth-child(4) .company-mini-popover,
.team-companies>.company-logo-badge:last-child:nth-child(3) .company-mini-popover {
  left: 65%;
}

.team-companies>.company-logo-badge:last-child:nth-child(4) .popover-arrow,
.team-companies>.company-logo-badge:last-child:nth-child(3) .popover-arrow {
  left: 65%;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 460px;
    margin: 0 auto;
  }

  .team-role {
    min-height: auto;
  }
}

/* ==========================================================================
   СЕКЦИЯ: ПРИОРИТЕТНЫЕ НАПРАВЛЕНИЯ (PRIORITY AREAS) — ТЕМНЫЙ ГРАДИЕНТ
   ========================================================================== */
.section-priorities {
  padding: 110px 0 100px;
  background: linear-gradient(180deg, #070E1A 0%, #0D1E38 50%, #050A14 100%);
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}

/* Анимированные светящиеся сферы */
.section-priorities::before {
  content: '';
  position: absolute;
  top: 15%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(30, 96, 213, 0.08) 50%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 1;
  animation: priorityAurora1 14s ease-in-out infinite alternate;
}

.section-priorities::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: -10%;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 96, 213, 0.2) 0%, rgba(2, 132, 199, 0.08) 50%, transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 1;
  animation: priorityAurora2 16s ease-in-out infinite alternate;
}

@keyframes priorityAurora1 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }

  50% {
    transform: translate(-40px, 50px) scale(1.15);
    opacity: 1;
  }

  100% {
    transform: translate(30px, -40px) scale(0.9);
    opacity: 0.6;
  }
}

@keyframes priorityAurora2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }

  50% {
    transform: translate(50px, -30px) scale(1.2);
    opacity: 0.95;
  }

  100% {
    transform: translate(-30px, 40px) scale(0.85);
    opacity: 0.55;
  }
}

.priorities-header-center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.priorities-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 7px 24px;
  border-radius: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.priorities-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.priorities-lead-text {
  font-size: 1.28rem;
  color: #94A3B8;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto;
}

/* Сетка карточек направлений */
.priorities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 52px;
  position: relative;
  z-index: 2;
}

.priority-card {
  position: relative;
  border-radius: 28px;
  background: rgba(15, 29, 54, 0.72);
  backdrop-filter: blur(20px);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.priority-card:hover {
  transform: translateY(-10px);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.5), 0 0 35px rgba(56, 189, 248, 0.22);
}

.priority-card-glow {
  position: absolute;
  top: -30%;
  right: -30%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 0.6;
}

.priority-card:hover .priority-card-glow {
  opacity: 1;
  transform: scale(1.2);
}

.priority-card-inner {
  padding: 38px 32px 34px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
}

.priority-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.priority-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(30, 96, 213, 0.25);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(30, 96, 213, 0.25);
  transition: all 0.35s ease;
}

.priority-card:hover .priority-icon-wrapper {
  background: #1E60D5;
  border-color: #38BDF8;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5);
  transform: scale(1.05);
}

.priority-category-tag {
  font-size: 0.76rem;
  font-weight: 700;
  color: #BAE6FD;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.priority-title {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 14px;
}

.priority-desc {
  font-size: 1.06rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 24px;
}

.priority-feature-list {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.priority-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.91rem;
  color: #E2E8F0;
  line-height: 1.45;
}

.feature-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* CTA Баннер внизу секции приоритетов */
.priorities-cta-banner {
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(15, 29, 54, 0.95) 0%, rgba(30, 96, 213, 0.25) 50%, rgba(15, 29, 54, 0.95) 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  border-radius: 30px;
  padding: 38px 46px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(56, 189, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-badge-glow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.priorities-cta-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.25;
}

.priorities-cta-desc {
  font-size: 1.08rem;
  color: #94A3B8;
  line-height: 1.55;
  max-width: 680px;
  margin: 0;
}

.btn-primary,
.btn-cta-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, #1E60D5 0%, #0284C7 50%, #38BDF8 100%);
  color: #FFFFFF;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 10px 25px -5px rgba(30, 96, 213, 0.5),
    0 0 25px rgba(56, 189, 248, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary:hover,
.btn-cta-glow:hover {
  background: linear-gradient(135deg, #1650B5 0%, #0369A1 50%, #0284C7 100%);
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 15px 35px -5px rgba(30, 96, 213, 0.6),
    0 0 35px rgba(56, 189, 248, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-primary svg,
.btn-cta-glow svg {
  transition: transform 0.3s ease;
  stroke: #FFFFFF;
}

.btn-primary:hover svg,
.btn-cta-glow:hover svg {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .priorities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .priorities-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 24px;
  }

  .priorities-cta-action {
    width: 100%;
  }

  .priorities-cta-action .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   СЕКЦИЯ: ПРОДУКТОВЫЙ ПОРТФЕЛЬ (PRODUCT PORTFOLIO) — СВЕТЛАЯ ИНТЕРАКТИВНАЯ
   ========================================================================== */
.section-products {
  padding: 105px 0 100px;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F1F5F9 100%);
  position: relative;
  overflow: hidden;
}

.products-header-center {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.products-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  color: #1E60D5;
  background: rgba(30, 96, 213, 0.08);
  border: 1px solid rgba(30, 96, 213, 0.22);
  padding: 7px 24px;
  border-radius: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.products-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.products-lead-text {
  font-size: 1.28rem;
  color: #64748B;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto;
}

/* Сетка карточек продуктов */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.product-card {
  background: #FFFFFF;
  border-radius: 26px;
  border: 1.5px solid rgba(226, 232, 240, 0.95);
  box-shadow:
    0 15px 35px -5px rgba(15, 82, 186, 0.06),
    0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: #38BDF8;
  box-shadow:
    0 25px 55px -10px rgba(30, 96, 213, 0.18),
    0 0 25px rgba(56, 189, 248, 0.15);
}

/* Верхняя полоса бейджей */
.product-badge-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 22px 0;
  z-index: 2;
  gap: 8px;
}

.mfg-badge {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #1E60D5;
  background: rgba(30, 96, 213, 0.08);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(30, 96, 213, 0.18);
  white-space: nowrap;
}

/* Кнопка открытия регистрационного удостоверения */
.reg-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #A7F3D0;
  white-space: nowrap;
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.12);
}

.reg-doc-btn svg {
  color: #10B981;
  transition: transform 0.25s ease, color 0.25s ease;
}

.reg-doc-btn:hover {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #FFFFFF;
  border-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.reg-doc-btn:hover svg {
  color: #FFFFFF;
  transform: scale(1.15);
}

.reg-doc-btn:active {
  transform: translateY(0);
}

.reg-status-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid #A7F3D0;
  white-space: nowrap;
}

/* Контейнер изображения продукта (на весь размер, без анимации) */
.product-image-container {
  height: 260px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px 18px;
  margin: 10px 0 0;
  background: #FFFFFF;
  overflow: hidden;
}

.product-image-glow {
  display: none;
}

.product-img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
  transform: scale(1.04);
}

/* Тело карточки */
.product-content {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-meta-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin-bottom: 12px;
  min-height: 26px;
  align-items: center;
}

.product-type-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284C7;
  background: #E0F2FE;
  padding: 4px 8px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.product-structure-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background: #F1F5F9;
  padding: 4px 8px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
  line-height: 1.3;
  min-height: 56px;
  display: block;
}

.product-brand-mfg {
  color: #0F172A;
  font-size: 1.35rem;
  font-weight: 800;
  display: inline;
}

.product-subtitle {
  font-size: 1.01rem;
  color: #64748B;
  line-height: 1.48;
  margin-bottom: 18px;
  min-height: 124px;
  display: flex;
  align-items: flex-start;
}

/* Спецификации продукта (Строго одинаковый размер и выравнивание) */
.product-specs-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 110px;
  box-sizing: border-box;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  line-height: 1.3;
}

.spec-label {
  color: #64748B;
  font-weight: 500;
  white-space: nowrap;
}

.spec-value {
  color: #0F172A;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

/* Дозировки */
.product-dosages-section {
  margin-bottom: 22px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.dosages-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dosages-grid {
  display: flex;
  gap: 8px;
}

.dosage-chip {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  flex: 1;
  min-height: 52px;
}

.dosage-chip .chip-vol {
  font-size: 0.73rem;
  color: #64748B;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.2;
}

.dosage-chip .chip-mg {
  font-family: var(--font-heading);
  font-size: 0.90rem;
  color: #1E60D5;
  font-weight: 800;
  white-space: nowrap;
  line-height: 1.2;
  margin-top: 2px;
}

.dosage-chip:hover {
  border-color: #38BDF8;
  background: #F0F9FF;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.15);
}

/* Единая фирменная кнопка запроса спецификации для всех карточек */
.product-footer-action {
  margin-top: auto;
}

.btn-product-order {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #1E60D5 0%, #0284C7 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(30, 96, 213, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.btn-product-order svg {
  transition: transform 0.25s ease;
  stroke: #FFFFFF;
}

.btn-product-order:hover {
  background: linear-gradient(135deg, #1650B5 0%, #0369A1 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(30, 96, 213, 0.38);
  transform: translateY(-2px);
}

.btn-product-order:hover svg {
  transform: translateX(4px);
}

.btn-product-order:hover svg {
  transform: translateX(4px);
}

/* Информационная плашка внизу секции */
.products-bottom-info {
  margin-top: 52px;
  background: #F0F7FF;
  border: 1.5px solid rgba(30, 96, 213, 0.2);
  border-radius: 22px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 6px 25px rgba(30, 96, 213, 0.06);
}

.bottom-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(30, 96, 213, 0.1);
  border: 1px solid rgba(30, 96, 213, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bottom-info-text {
  font-size: 0.94rem;
  color: #334155;
  line-height: 1.6;
}

.bottom-info-text strong {
  color: #1E60D5;
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-title {
    min-height: auto;
    margin-bottom: 6px;
  }

  .product-subtitle {
    min-height: auto;
    margin-bottom: 14px;
  }

  .products-bottom-info {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 20px;
    gap: 14px;
  }
}

/* 6. СЕКЦИЯ: ЧЕМ МЫ ЗАНИМАЕМСЯ (ЭКОСИСТЕМА ПО ОБРАЗЦУ) */
.section-what-we-do {
  padding: 90px 0 90px;
  position: relative;
  background-color: #FFFFFF;
}

.what-we-do-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

/* Левый заголовок как на образце */
.what-we-do-header {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
}

.ref-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  color: #1E60D5;
  background: rgba(30, 96, 213, 0.08);
  border: 1px solid rgba(30, 96, 213, 0.22);
  padding: 7px 22px;
  border-radius: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(30, 96, 213, 0.06);
}

.ref-main-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.ref-lead-text {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Область диаграммы */
.ecosystem-container {
  position: relative;
  flex: 1;
  max-width: 960px;
  height: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* SVG холст со связями */
.ecosystem-svg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Пунктирное кольцо вокруг центра */
.hub-orbit-dash {
  fill: none;
  stroke: rgba(56, 189, 248, 0.45);
  stroke-width: 1.6;
  stroke-dasharray: 4 4;
  transform-origin: 480px 340px;
}

/* Радиальные стрелки от хаба к блокам (без увеличения при наведении) */
.hub-radial-line {
  stroke: #1E60D5;
  stroke-width: 2.2;
  transition: stroke 0.25s ease;
}

.hub-radial-line.active {
  stroke: #0284C7;
  stroke-width: 2.2;
}

/* Внешние соединительные стрелки между блоками по кругу (без увеличения при наведении) */
.outer-inter-arrow,
.bottom-inter-line {
  stroke: #1E60D5;
  stroke-width: 2.2;
  fill: none;
  transition: stroke 0.25s ease;
}

.outer-inter-arrow.active,
.bottom-inter-line.active {
  stroke: #0284C7;
  stroke-width: 2.2;
}

/* ЦЕНТРАЛЬНЫЙ ХАБ СИНОДЖЕТ */
.hub-center-ref {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.5px solid #00B4D8;
  box-shadow:
    0 6px 24px rgba(15, 82, 186, 0.09),
    inset 0 0 18px rgba(56, 189, 248, 0.09);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
}

.hub-center-ref:hover {
  transform: translate(-50%, -50%) scale(1.04);
  box-shadow: 0 10px 30px rgba(30, 96, 213, 0.2);
  border-color: #1E60D5;
}

.hub-ref-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hub-ref-icon-svg {
  width: 96px;
  height: 76px;
  margin-bottom: 3px;
}

.hub-ref-title {
  font-family: var(--font-heading);
  font-size: 1.42rem;
  font-weight: 800;
  color: #0F3E99;
  letter-spacing: 2px;
}

/* КАРТОЧКИ 5 НАПРАВЛЕНИЙ (РАЗМЕР И ПРОПОРЦИИ) */
.ref-node-card {
  position: absolute;
  background: #FFFFFF;
  border: 1.8px solid #38BDF8;
  border-radius: 18px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  box-shadow: 0 6px 20px rgba(15, 82, 186, 0.07);
  cursor: pointer;
  z-index: 4;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 252px;
  height: 120px;
  box-sizing: border-box;
  user-select: none;
  transform: translate(-50%, -50%);
}

/* Симметричные и сбалансированные радиальные позиции блоков с одинаковыми отступами */
.ref-node-card.node-top {
  top: 96px;
  left: 50%;
}

.ref-node-card.node-right {
  top: 340px;
  left: 800px;
}

.ref-node-card.node-bottom-right {
  top: 576px;
  left: 685px;
}

.ref-node-card.node-bottom-left {
  top: 576px;
  left: 275px;
}

.ref-node-card.node-left {
  top: 340px;
  left: 160px;
}

/* Иконка и контент внутри карточки */
.ref-node-icon-wrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ref-icon-svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ref-node-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-width: 0;
  text-align: left;
}

.ref-node-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.24;
  white-space: normal;
  word-break: normal;
  margin: 0;
  transition: var(--transition-fast);
}

/* Состояния Hover и Active */
.ref-node-card:hover {
  transform: translate(-50%, -50%) scale(1.05);
  border-color: #1E60D5;
  box-shadow: 0 10px 24px -4px rgba(30, 96, 213, 0.2);
  z-index: 10;
}

.ref-node-card.active {
  border-color: #1E60D5;
  background: #FFFFFF;
  box-shadow:
    0 12px 30px -4px rgba(30, 96, 213, 0.22),
    0 0 0 3px rgba(56, 189, 248, 0.35);
  transform: translate(-50%, -50%) scale(1.05);
  z-index: 10;
}

.ref-node-card.active .ref-node-title {
  color: #1E60D5;
}

/* ==========================================================================
   ЕДИНЫЙ ЦЕНТРАЛЬНЫЙ ПОПАП В ЦЕНТРЕ СХЕМЫ
   ========================================================================== */
.central-hover-popover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 390px;
  max-width: 90%;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid #00B4D8;
  border-radius: 22px;
  padding: 22px 26px;
  box-shadow:
    0 16px 45px rgba(15, 82, 186, 0.22),
    0 0 0 6px rgba(56, 189, 248, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 25;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  cursor: default;
}

.central-hover-popover.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.central-pop-badge {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #1E60D5;
  background: rgba(30, 96, 213, 0.08);
  padding: 4px 12px;
  border-radius: 12px;
  display: inline-block;
  margin-bottom: 8px;
}

.central-pop-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
  margin-bottom: 4px;
}

.central-pop-sub {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--med-primary);
  display: block;
  margin-bottom: 10px;
}

.central-pop-desc {
  font-size: 1.02rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 14px;
}

.central-pop-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.pop-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0284C7;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 3px 8px;
  border-radius: 10px;
}

/* 7. АДАПТИВНОСТЬ (RESPONSIVE DESIGN) */
@media (max-width: 1080px) {
  .what-we-do-layout {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .what-we-do-header {
    flex: auto;
    text-align: center;
    align-items: center;
    max-width: 600px;
  }

  .nav-menu {
    gap: 20px;
  }
}

/* ==========================================================================
   МОБИЛЬНАЯ ИНТЕРАКТИВНАЯ ОРБИТА И КАРТОЧКА (ДЛЯ ТЕЛЕФОНОВ И ПЛАНШЕТОВ)
   ========================================================================== */
.ecosystem-mobile-view {
  display: none;
}

@media (max-width: 1200px) {
  :root {
    --header-height: 88px;
  }

  .logo-img {
    height: 78px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .header.scrolled {
    height: 76px;
  }

  .header.scrolled .logo-img {
    height: 68px;
    max-width: 230px;
  }

  .nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header .btn-book-call {
    display: none;
  }

  .hero-video {
    min-height: 340px;
  }

  .section-about-statement {
    padding: 60px 0 45px;
  }

  .about-statement-card {
    padding: 34px 18px 28px;
    border-radius: 20px;
  }

  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 24px;
  }

  .about-stat-item {
    padding: 4px 0;
  }

  .what-we-do-layout {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
  }

  .what-we-do-header {
    flex: 0 0 auto;
    text-align: center;
    align-items: center;
  }

  /* Скрываем громоздкую десктопную диаграмму */
  .ecosystem-container {
    display: none;
  }

  /* Показываем изящный мобильный интерактивный радар */
  .ecosystem-mobile-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
  }

  /* 1. Интерактивный мини-радар со спутниками */
  .mobile-radar-orbit {
    position: relative;
    width: 290px;
    height: 290px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  .mobile-radar-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .mobile-orbit-circle {
    stroke: #38BDF8;
    stroke-width: 1.8;
    stroke-dasharray: 4 4;
    animation: orbit-spin 60s linear infinite;
    transform-origin: 150px 150px;
    opacity: 0.7;
  }

  .mobile-radar-ray {
    stroke: #1E60D5;
    stroke-width: 1.8;
    opacity: 0.35;
    transition: all 0.3s ease;
  }

  .mobile-radar-ray.active {
    stroke: #00B4D8;
    stroke-width: 2.8;
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.9));
  }

  /* Центральный хаб СиноДжет */
  .mobile-hub-center {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2.5px solid #00B4D8;
    box-shadow:
      0 4px 20px rgba(15, 82, 186, 0.12),
      0 0 0 6px rgba(56, 189, 248, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    box-sizing: border-box;
    z-index: 2;
  }

  .mob-hub-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    flex-shrink: 0;
  }

  .mobile-hub-name {
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 800;
    color: #0F3E99;
    letter-spacing: 0.8px;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
  }

  /* 5 интерактивных кнопок-спутников */
  .mobile-satellite {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 4;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(15, 82, 186, 0.08);
    transform: translate(-50%, -50%);
    padding: 0;
  }

  .mobile-satellite svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
  }

  /* Радиальные позиции спутников */
  .mobile-satellite.sat-top {
    top: 15%;
    left: 50%;
  }

  .mobile-satellite.sat-top-right {
    top: 39%;
    left: 83%;
  }

  .mobile-satellite.sat-bottom-right {
    top: 78%;
    left: 71%;
  }

  .mobile-satellite.sat-bottom-left {
    top: 78%;
    left: 29%;
  }

  .mobile-satellite.sat-top-left {
    top: 39%;
    left: 17%;
  }

  /* Активное состояние кнопки-спутника */
  .mobile-satellite.active {
    background: linear-gradient(135deg, #1E60D5, #00B4D8);
    border-color: #38BDF8;
    color: #FFFFFF;
    transform: translate(-50%, -50%) scale(1.18);
    box-shadow:
      0 6px 20px rgba(30, 96, 213, 0.35),
      0 0 0 5px rgba(56, 189, 248, 0.2);
  }

  .mobile-satellite.active svg {
    transform: scale(1.1);
  }

  /* 2. Активная интерактивная слайд-карточка */
  .mobile-showcase-card {
    width: 100%;
    background: #FFFFFF;
    border: 1.8px solid #E2E8F0;
    border-radius: 20px;
    padding: 22px 20px;
    box-shadow: 0 10px 30px rgba(15, 82, 186, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.35s ease;
  }

  .mobile-card-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--med-primary);
    background: rgba(30, 96, 213, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
  }

  .mobile-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
  }

  .mobile-card-icon-box {
    width: 64px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mob-card-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .mobile-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #0F172A;
    line-height: 1.2;
  }

  .mobile-card-sub {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--med-primary);
    display: block;
    margin-top: 2px;
  }

  .mobile-card-text {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 16px;
    min-height: 48px;
  }

  .mobile-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }

  .mob-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #0284C7;
    background: #F0F9FF;
    border: 1px solid #BAE6FD;
    padding: 4px 10px;
    border-radius: 12px;
  }

  /* Навигация слайдера */
  .mobile-card-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #F1F5F9;
  }

  .mob-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    color: #1E60D5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mob-nav-btn:hover,
  .mob-nav-btn:active {
    background: #1E60D5;
    color: #FFFFFF;
    border-color: #1E60D5;
    transform: scale(1.06);
  }

  .mob-dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mob-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #CBD5E1;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mob-dot.active {
    width: 24px;
    border-radius: 10px;
    background: #1E60D5;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 88px;
  }

  .logo-img {
    height: 76px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
  }

  .header.scrolled {
    height: 76px;
  }

  .header.scrolled .logo-img {
    height: 68px;
    max-width: 220px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-normal);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-toggle {
    display: block;
  }

  .ref-main-title {
    font-size: 1.8rem;
  }
}

/* ==========================================================================
   СЕКЦИЯ: КОНТАКТЫ И ФУТЕР (CONTACTS & FOOTER) — ТЕМНЫЙ ГРАДИЕНТ
   ========================================================================== */
.section-contacts-footer {
  position: relative;
  background: radial-gradient(120% 120% at 50% 0%, #0B1938 0%, #060D1E 45%, #03060F 100%);
  color: #F8FAFC;
  padding: 100px 0 40px;
  overflow: hidden;
  border-top: 1px solid rgba(56, 189, 248, 0.2);
}

.contacts-mesh-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(30, 96, 213, 0.12) 1px, transparent 1px),
    radial-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px);
  background-size: 40px 40px, 20px 20px;
  background-position: 0 0, 20px 20px;
  opacity: 0.6;
  pointer-events: none;
}

.contacts-glow-sphere {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.4;
  animation: aurora-drift 14s ease-in-out infinite alternate;
}

.contacts-sphere-left {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(30, 96, 213, 0.35) 0%, transparent 70%);
  top: -50px;
  left: -100px;
}

.contacts-sphere-right {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  bottom: 50px;
  right: -120px;
}

.contacts-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 2;
}

.contacts-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 7px 22px;
  border-radius: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

.contacts-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.5px;
  line-height: 1.15;
  text-transform: uppercase;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.contacts-lead {
  font-size: 1.28rem;
  color: #94A3B8;
  line-height: 1.65;
}

/* Сетка контактов: Слева карточки, справа карта */
.contacts-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  position: relative;
  z-index: 2;
  margin-bottom: 80px;
}

.contacts-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Карточки персон */
.contact-person-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.contact-person-card:hover {
  transform: translateX(6px);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 15px 35px rgba(30, 96, 213, 0.25), 0 0 20px rgba(56, 189, 248, 0.2);
}

.person-avatar-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30, 96, 213, 0.35) 0%, rgba(56, 189, 248, 0.2) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.person-details {
  flex-grow: 1;
}

.person-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.person-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.person-role-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 10px;
  border-radius: 20px;
}

.person-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.person-phone-link svg {
  stroke: #38BDF8;
  transition: transform 0.25s ease;
}

.person-phone-link:hover {
  color: #38BDF8;
}

.contact-person-card:hover .person-phone-link {
  color: #38BDF8;
}

.person-phone-link:hover svg {
  transform: scale(1.15);
}

/* Карточка адреса */
.contact-location-card {
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  gap: 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.location-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(30, 96, 213, 0.35) 0%, rgba(56, 189, 248, 0.2) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-details {
  flex-grow: 1;
}

.location-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.location-address {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.45;
  margin-bottom: 12px;
}

.location-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.84rem;
  color: #94A3B8;
}

.location-metro {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #E2E8F0;
}

.metro-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  box-shadow: 0 0 8px #EF4444;
}

.location-hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #38BDF8;
}

/* Реквизиты компании (ОГРН и ИНН) */
.location-requisites {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed rgba(56, 189, 248, 0.2);
}

.requisite-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #E2E8F0;
  letter-spacing: 0.3px;
  font-family: var(--font-heading);
  transition: all 0.25s ease;
}

.requisite-badge:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38BDF8;
  color: #FFFFFF;
}

/* Быстрые действия */
.contacts-quick-actions {
  display: flex;
  margin-top: 4px;
}

.contacts-quick-actions .btn-contact-action {
  width: 100%;
}

.btn-contact-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 50px;
  background: rgba(30, 96, 213, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-contact-action:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38BDF8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(56, 189, 248, 0.2);
}

.btn-contact-action.btn-email-primary {
  background: linear-gradient(135deg, rgba(30, 96, 213, 0.35) 0%, rgba(2, 132, 199, 0.25) 50%, rgba(56, 189, 248, 0.2) 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 25px rgba(30, 96, 213, 0.25);
}

.btn-contact-action.btn-email-primary:hover {
  background: linear-gradient(135deg, #1E60D5 0%, #0284C7 50%, #38BDF8 100%);
  border-color: #38BDF8;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(30, 96, 213, 0.45);
}

.btn-contact-action.btn-call-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.5);
}

/* Правая колонка: Карта */
.contacts-map-col {
  height: 100%;
  min-height: 480px;
}

.map-card-wrapper {
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 25px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(30, 96, 213, 0.2);
}

.map-card-header {
  background: rgba(10, 18, 38, 0.95);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #94A3B8;
}

.map-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  font-weight: 700;
}

.map-pulse-point {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 10px #38BDF8;
  animation: moscow-beacon-ring 2s infinite ease-out;
}

.map-header-coords {
  font-family: monospace;
  color: #38BDF8;
  font-size: 0.78rem;
}

.contacts-yandex-map {
  width: 100%;
  flex-grow: 1;
  min-height: 420px;
  background: #0B1736;
}

/* Нижняя полоса футера (Footer Bottom Bar) */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.98rem;
  color: #64748B;
  max-width: 240px;
  line-height: 1.4;
}

.footer-nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav-links a {
  color: #94A3B8;
  font-size: 0.90rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-nav-links a:hover {
  color: #38BDF8;
}

.footer-legal-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 10px;
}

.footer-medical-disclaimer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #94A3B8;
  letter-spacing: 0.2px;
}

.footer-medical-disclaimer .disclaimer-icon {
  flex-shrink: 0;
  color: #38BDF8;
}

.footer-copyright-text {
  font-size: 0.86rem;
  color: #64748B;
}

@media (max-width: 960px) {
  .contacts-grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contacts-map-col {
    min-height: 380px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-legal-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .contacts-quick-actions {
    grid-template-columns: 1fr;
  }

  .person-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   ПРЕМИАЛЬНЫЙ СЕГМЕНТИРОВАННЫЙ ПЕРЕКЛЮЧАТЕЛЬ ЯЗЫКА (RU / EN)
   ========================================================================== */
.lang-pill-switch {
  display: inline-flex;
  align-items: center;
  position: relative;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  border-radius: 30px;
  padding: 3px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  user-select: none;
}

.lang-btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 20px;
  border: none;
  background: transparent;
  color: #94A3B8;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.lang-flag-svg {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  display: block;
  flex-shrink: 0;
}

.lang-btn.active {
  color: #FFFFFF;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.lang-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(50% - 3px);
  height: calc(100% - 6px);
  background: linear-gradient(135deg, #1E60D5 0%, #0284C7 100%);
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(30, 96, 213, 0.4), 0 0 8px rgba(56, 189, 248, 0.3);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.lang-pill-switch[data-active="en"] .lang-slider {
  transform: translateX(100%);
}

.mob-lang-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.15);
  margin-bottom: 12px;
}

.mob-lang-label {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 600;
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО ФОРМЫ ОБРАТНОЙ СВЯЗИ (MODAL POPUP)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.modal-dialog {
  background: radial-gradient(120% 120% at 50% 0%, #0D1D42 0%, #081126 50%, #050B18 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  border-radius: 28px;
  padding: 40px 38px 36px;
  max-width: 540px;
  width: 100%;
  position: relative;
  box-shadow:
    0 25px 60px -10px rgba(0, 0, 0, 0.8),
    0 0 45px rgba(30, 96, 213, 0.3);
  transform: translateY(25px) scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: #FFFFFF;
}

.modal-backdrop.active .modal-dialog {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #EF4444;
  color: #FFFFFF;
  transform: rotate(90deg);
}

.modal-header-content {
  margin-bottom: 24px;
  text-align: left;
}

.modal-badge-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.90rem;
  color: #94A3B8;
  line-height: 1.5;
}

/* Форма */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-label {
  font-size: 0.80rem;
  font-weight: 700;
  color: #CBD5E1;
}

.required-star {
  color: #EF4444;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  stroke: #64748B;
  pointer-events: none;
  transition: stroke 0.25s ease;
}

.form-input {
  width: 100%;
  padding: 13px 16px 13px 44px;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(226, 232, 240, 0.18);
  border-radius: 14px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.form-input::placeholder {
  color: #64748B;
}

.form-input:focus {
  border-color: #38BDF8;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.input-wrapper:focus-within .input-icon {
  stroke: #38BDF8;
}

/* Кастомный чекбокс 152-ФЗ */
.form-consent-box {
  margin: 4px 0 8px;
  text-align: left;
}

.custom-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.consent-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.custom-checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all 0.25s ease;
}

.custom-checkbox-box svg {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.consent-checkbox:checked+.custom-checkbox-box {
  background: linear-gradient(135deg, #1E60D5 0%, #0284C7 100%);
  border-color: #38BDF8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.consent-checkbox:checked+.custom-checkbox-box svg {
  opacity: 1;
  transform: scale(1);
}

.consent-text {
  font-size: 0.78rem;
  color: #94A3B8;
  line-height: 1.45;
}

.policy-link-inline {
  color: #38BDF8;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.policy-link-inline:hover {
  color: #FFFFFF;
}

/* Кнопка отправки формы */
.form-submit-row {
  margin-top: 4px;
}

.btn-modal-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border-radius: 50px;
  border: none;
  background: linear-gradient(135deg, #1E60D5 0%, #0284C7 50%, #38BDF8 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(30, 96, 213, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-modal-submit:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(56, 189, 248, 0.6);
}

.btn-modal-submit:not(:disabled):hover .btn-icon {
  transform: translateX(4px);
}

.btn-modal-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #334155;
  box-shadow: none;
  color: #94A3B8;
  filter: grayscale(0.5);
}

.btn-icon {
  transition: transform 0.25s ease;
}

/* Сообщение о статусе отправки */
.form-status-message {
  font-size: 0.86rem;
  font-weight: 600;
  min-height: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.form-status-message.error {
  color: #EF4444;
}

.form-status-message.success {
  color: #10B981;
}

@media (max-width: 600px) {
  .modal-dialog {
    padding: 30px 20px 24px;
    border-radius: 22px;
  }
}

/* ==========================================================================
   ЛАЙТБОКС ПРОСМОТРА РЕГИСТРАЦИОННЫХ УДОСТОВЕРЕНИЙ (DOC VIEWER)
   ========================================================================== */
.doc-modal-backdrop {
  z-index: 100000;
  padding: 16px;
  align-items: center;
  justify-content: center;
}

.doc-viewer-card {
  position: relative;
  width: 95vw;
  max-width: 1040px;
  height: 92vh;
  max-height: 940px;
  background: #0B1426;
  border-radius: 24px;
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.8), 0 0 45px rgba(30, 96, 213, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: docModalIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes docModalIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(12px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Шапка просмотрщика документов */
.doc-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
}

.doc-viewer-header-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.doc-header-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.doc-header-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: #10B981;
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  letter-spacing: 0.02em;
}

.doc-page-counter {
  font-size: 0.78rem;
  color: #94A3B8;
  font-weight: 600;
}

.doc-viewer-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-viewer-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.doc-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-doc-download {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38BDF8;
}

.btn-doc-download:hover {
  background: #38BDF8;
  color: #0B132B;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.4);
}

.btn-doc-tab {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  padding: 8px 12px;
}

.btn-doc-tab:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.doc-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.doc-close-btn:hover {
  background: #EF4444;
  border-color: #EF4444;
  color: #FFFFFF;
  transform: rotate(90deg);
}

/* Панель вкладок для многокомпонентных РУ */
.doc-viewer-tabs-bar {
  display: none;
  background: #080F1E;
  padding: 8px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.doc-tabs-list {
  display: inline-flex;
  gap: 8px;
}

.doc-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94A3B8;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.doc-tab-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.doc-tab-btn.active {
  background: linear-gradient(135deg, #1E60D5 0%, #0284C7 100%);
  border-color: #38BDF8;
  color: #FFFFFF;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(30, 96, 213, 0.35);
}

/* Тело документа */
.doc-viewer-body {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  background: #050B14;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-loader-spinner {
  position: absolute;
  inset: 0;
  background: #050B14;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: #94A3B8;
  font-size: 0.92rem;
  z-index: 5;
  transition: opacity 0.3s ease;
}

.doc-loader-spinner.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner-circle {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(56, 189, 248, 0.2);
  border-top-color: #38BDF8;
  border-radius: 50%;
  animation: docSpin 0.8s linear infinite;
}

@keyframes docSpin {
  to {
    transform: rotate(360deg);
  }
}

.doc-canvas-container {
  width: 100%;
  height: 100%;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.4) transparent;
}

.doc-active-image {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.doc-canvas-container.zoomed {
  align-items: flex-start;
  justify-content: center;
}

.doc-canvas-container.zoomed .doc-active-image {
  max-width: none;
  max-height: none;
  width: 960px;
}

/* Пагинация страниц */
.doc-pagination-controls {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  padding: 6px 14px;
  border-radius: 30px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 8;
}

.doc-page-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.doc-page-btn:hover:not(:disabled) {
  color: #38BDF8;
}

.doc-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.doc-page-indicator {
  font-size: 0.82rem;
  font-weight: 800;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.15);
  padding: 2px 10px;
  border-radius: 12px;
}

/* Нижняя панель */
.doc-viewer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #94A3B8;
  z-index: 10;
}

.doc-footer-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-zoom-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-zoom-toggle:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38BDF8;
  color: #38BDF8;
}

@media (max-width: 768px) {
  .doc-viewer-card {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border: none;
  }

  .doc-viewer-header {
    padding: 12px 16px;
  }

  .doc-viewer-title {
    font-size: 1rem;
  }

  .btn-doc-text {
    display: none;
  }

  .doc-canvas-container {
    padding: 12px;
  }

  .doc-viewer-footer {
    padding: 10px 16px;
  }

  .doc-footer-status span {
    display: none;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER (152-ФЗ РФ)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 980px;
  margin: 0 auto;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.94);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 20px;
  padding: 16px 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpCookie {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-grow: 1;
}

.cookie-icon-wrapper {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-banner-text {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #CBD5E1;
  margin: 0;
}

.cookie-banner-text strong {
  color: #FFFFFF;
}

.cookie-policy-link {
  color: #38BDF8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.cookie-policy-link:hover {
  color: #7DD3FC;
}

.cookie-banner-actions {
  flex-shrink: 0;
}

.btn-cookie-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: linear-gradient(135deg, #1E60D5 0%, #0284C7 100%);
  color: #FFFFFF;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.90rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(30, 96, 213, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-cookie-accept:hover {
  background: linear-gradient(135deg, #1650B5 0%, #0369A1 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(30, 96, 213, 0.5);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 14px 16px;
  }

  .cookie-banner-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .btn-cookie-accept {
    width: 100%;
  }
}