/* ==========================================================================
   ДИЗАЙН-СИСТЕМА: СЛУЖБА ПО КОНТРАКТУ 2026 (СИНЕ-КРАСНАЯ ПАЛИТРА)
   Тёмно-зелёный болотный сохранён, всё остальное — синий/красный
   ========================================================================== */

:root {
  /* Тёмный болотный — НЕ ТРОГАЕМ */
  --color-khaki-dark:       #2F3E2E;
  --color-army-green:       #3A5F3D;

  /* НОВАЯ ПАЛИТРА: синий + красный */
  --color-blue:             #1F56C4; /* Основной синий */
  --color-red:              #D53A3A; /* Основной красный */
  --color-blue-light:       #A7C2F0; /* Светлый синий */
  --color-blue-pale:        #B9CDF2; /* Бледно-синий */

  /* Алиасы под старые имена переменных (чтобы не менять весь код) */
  --color-olive:            var(--color-blue);
  --color-sand:             var(--color-blue-light);
  --color-khaki-light:      var(--color-blue-pale);
  --color-accent-gold:      var(--color-red);

  --color-graphite:         #1C1F1C;
  --color-white:            #FFFFFF;

  --bg-light-canvas:        #F6F8F4;
  --surface-card-light:     #FFFFFF;
  --surface-plate-light:    #FFFFFF;
  --surface-row-light:      #F4F7F2;

  --text-heading-dark:      #171B17;
  --text-body-dark:         #414C40;
  --text-muted-dark:        #6D7A6C;

  --border-light-subtle:    rgba(47, 62, 46, 0.12);
  --border-light-medium:    rgba(58, 95, 61, 0.22);
  --border-gold-accent:     rgba(213, 58, 58, 0.6);

  /* Градиенты: синий + красный */
  --gradient-cta-accent:    linear-gradient(135deg, #D53A3A 0%, #1F56C4 100%);
  --gradient-army-badge: linear-gradient(135deg, #17233D 0%, #1F56C4 100%);
  --gradient-plate-top:     linear-gradient(90deg, #1F56C4 0%, #D53A3A 100%);

  /* Свечения */
  --glow-olive-ambient:     rgba(31, 86, 196, 0.18);   /* синее свечение */
  --glow-accent-btn:        rgba(213, 58, 58, 0.35);   /* красное свечение */
  --shadow-card-elevated:   0 20px 45px -10px rgba(28, 31, 28, 0.08), 0 0 0 1px rgba(47, 62, 46, 0.07);
  --shadow-card-hover:      0 26px 55px -12px rgba(47, 62, 46, 0.18), 0 0 0 1px var(--color-army-green);

  --font-family-sans:       'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-family-mono:       'JetBrains Mono', monospace;

  --radius-tactical-sm:     4px;
  --radius-tactical-md:     10px;
  --radius-tactical-lg:     18px;
  --radius-tactical-pill:   999px;
}

/* Сброс */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-family-sans);
  background-color: var(--bg-light-canvas);
  color: var(--text-heading-dark);
  line-height: 1.5;
  overflow-x: hidden;
}

.site-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ==========================================================================
   ТОНКАЯ ПОЛОСКА НАД ШАПКОЙ (телефон / адрес / время работы)
   ========================================================================== */

.header-topbar {
  background: linear-gradient(90deg, var(--color-khaki-dark) 0%, #22345a 100%);
  border-bottom: 1px solid rgba(167, 194, 240, 0.15);
  overflow: hidden;
  max-height: 42px;
  opacity: 1;
  /* Добавлена анимация для opacity и border-color для максимальной плавности */
  transition: max-height 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}

.military-header.header-fixed-scrolled .header-topbar {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  border-bottom-color: transparent;
}

.header-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 42px;
  font-size: 0.8rem;
}

.topbar-info-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}

.topbar-info-item a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.25s ease;
}

.topbar-info-item a:hover { color: var(--color-sand); }

.topbar-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  color: var(--color-sand);
}

/* ==========================================================================
   ШАПКА + ЛОГОТИП-КАРТИНКА
   ========================================================================== */

.military-header {
  position: sticky;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(245, 247, 251, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light-subtle);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.military-header.header-fixed-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border-bottom-color: rgba(31, 86, 196, 0.18);
}

.header-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo-img {
  display: block;
  height: 54px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover .brand-logo-img { transform: scale(1.05); }

.navigation-menu { display: flex; align-items: center; gap: 6px; }

.navigation-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: var(--text-body-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-tactical-pill);
  transition: all 0.25s ease;
}

.nav-step-index {
  font-family: var(--font-family-mono);
  font-size: 0.7rem;
  color: var(--color-blue);
  opacity: 0.75;
}

.navigation-link:hover {
  color: var(--color-khaki-dark);
  background: rgba(31, 86, 196, 0.08);
}

.tactical-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-tactical-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  border: none;
}

.header-apply-btn {
  background: var(--gradient-army-badge);
  color: #FFFFFF;
  font-size: 0.875rem;
  padding: 10px 20px;
  border: 1px solid rgba(185, 205, 242, 0.35);
  box-shadow: 0 4px 15px rgba(31, 86, 196, 0.2);
}

.header-apply-btn:hover {
  transform: translateY(-2px);
  border-color: var(--color-sand);
  box-shadow: 0 8px 22px rgba(31, 86, 196, 0.3);
}

.header-apply-btn:hover .btn-arrow-icon { transform: translateX(3px); }
.btn-arrow-icon { transition: transform 0.25s ease; }
.mobile-cta-wrapper { display: none; width: 100%; }

.burger-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-light-subtle);
  border-radius: var(--radius-tactical-sm);
  cursor: pointer;
  padding: 8px;
}

.burger-menu-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--color-graphite);
  transition: all 0.3s ease;
}

.burger-menu-btn.active-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-menu-btn.active-burger span:nth-child(2) { opacity: 0; }
.burger-menu-btn.active-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO (статичный первый экран, без слайдера)
   ========================================================================== */
.hero-screen {
  position: relative;
  padding: 64px 0 84px;
  background-color: var(--bg-light-canvas);
  overflow: hidden;
  background-image:
    linear-gradient(180deg, rgba(245,247,251,0.94) 0%, rgba(245,247,251,0.88) 100%),
    url('https://static.vecteezy.com/system/resources/previews/051/259/033/non_2x/green-stylish-camouflage-military-pattern-free-photo.jpg');
  background-size: cover;
  background-position: center;
}
.hero-tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(31, 86, 196, 0.08) 1.2px, transparent 1.2px),
    linear-gradient(to right, rgba(31, 86, 196, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 86, 196, 0.03) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
  pointer-events: none;
  opacity: 0.9;
}
.hero-ambient-glow {
  position: absolute;
  top: -12%;
  right: -5%;
  width: 580px;
  height: 580px;
  background:
    radial-gradient(circle at 62% 40%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 34%),
    radial-gradient(circle at 45% 55%, rgba(31, 86, 196, 0.30) 24%, rgba(31, 86, 196, 0) 58%),
    radial-gradient(circle at 70% 28%, rgba(213, 58, 58, 0.26) 42%, rgba(213, 58, 58, 0) 72%);
  filter: blur(60px);
  pointer-events: none;
}
.hero-columns-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}
.hero-left-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  order: 1;
  min-width: 0;
}
.tactical-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 6px 14px 6px 10px;
  background: rgba(31, 86, 196, 0.08);
  border: 1px solid rgba(31, 86, 196, 0.2);
  border-radius: var(--radius-tactical-pill);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.radar-live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-blue);
  border-radius: 50%;
  position: relative;
}
.radar-live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background-color: var(--color-blue);
  opacity: 0.4;
  animation: radar-beacon 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}
@keyframes radar-beacon {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.8); opacity: 0; }
}
.tactical-code-tag {
  font-family: var(--font-family-mono);
  font-size: 0.7rem;
  padding: 2px 6px;
  background: var(--color-khaki-dark);
  color: var(--color-sand);
  border-radius: 3px;
}
.hero-main-title {
  font-size: clamp(3rem, 4.6vw, 4.1rem);
  font-weight: 800;
  line-height: 1.14;
  color: var(--text-heading-dark);
  letter-spacing: -0.03em;
}
.region-highlight-box {
  display: inline-block;
  position: relative;
  padding: 2px 12px;
  color: var(--color-blue);
  background: rgba(31, 86, 196, 0.12);
  border-radius: var(--radius-tactical-sm);
}
.bracket-tag {
  position: absolute;
  width: 6px;
  height: 6px;
  border-color: var(--color-red);
  border-style: solid;
}
.bracket-tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.bracket-br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.hero-lead-description {
  font-size: 1.05rem;
  color: var(--text-body-dark);
  line-height: 1.62;
  max-width: 600px;
}
/* Обновленный блок кнопок — теперь в одну линию (row) */
.hero-buttons-row {
  flex: 1;
  display: flex;
  flex-direction: row; /* Горизонтальное расположение */
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 22px 24px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light-subtle);
}
/* Каждая кнопка растягивается поровну через flex: 1 */
.hero-buttons-row .tactical-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  text-decoration: none;
  text-align: center;
  padding-left: 12px;
  padding-right: 12px;
}
.primary-action-btn {
  background: var(--gradient-cta-accent);
  color: #FFFFFF;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px var(--glow-accent-btn);
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.primary-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(213, 58, 58, 0.45);
}
.btn-flare-reflection {
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-25deg);
  transition: 0.6s;
}
.primary-action-btn:hover .btn-flare-reflection { left: 150%; }
.secondary-action-btn {
  background: transparent;
  color: var(--color-khaki-dark);
  border: 1.5px solid rgba(31, 86, 196, 0.25);
  padding: 15px 20px;
}
.secondary-action-btn:hover {
  background: rgba(31, 86, 196, 0.05);
  border-color: var(--color-khaki-dark);
  transform: translateY(-2px);
}
/* Правая колонка */
.hero-right-column {
  position: relative;
  background: var(--surface-card-light);
  border-radius: var(--radius-tactical-lg);
  border: 1px solid var(--border-light-subtle);
  box-shadow: var(--shadow-card-elevated);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  order: 2;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.hero-right-column:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(31, 86, 196, 0.35);
}
.card-hud-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--color-sand);
  border-style: solid;
  z-index: 10;
  pointer-events: none;
  transition: all 0.3s ease;
}
.hud-corner-tl { top: 10px; left: 10px; border-width: 2px 0 0 2px; }
.hud-corner-tr { top: 10px; right: 10px; border-width: 2px 2px 0 0; }
.hud-corner-bl { bottom: 10px; left: 10px; border-width: 0 0 2px 2px; }
.hud-corner-br { bottom: 10px; right: 10px; border-width: 0 2px 2px 0; }
.hero-right-column:hover .card-hud-corner {
  border-color: var(--color-red);
  width: 15px;
  height: 15px;
}
.office-media-box {
  position: relative;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.office-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 0;
  overflow: hidden;
}
.office-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}
.hero-right-column:hover .office-photo-img { transform: scale(1.04); }
.office-photo-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 35, 61, 0.1) 0%, rgba(23, 35, 61, 0.72) 100%);
}
.office-badge-status {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(23, 35, 61, 0.85);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-tactical-sm);
  border: 1px solid rgba(31, 86, 196, 0.5);
  font-family: var(--font-family-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-sand);
  letter-spacing: 0.05em;
}
.status-pulse-beacon {
  width: 6px;
  height: 6px;
  background-color: var(--color-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-blue);
}
/* Тёмная адресная строка */
.office-location-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--color-khaki-dark);
  color: #FFFFFF;
}
.location-geo-icon {
  flex-shrink: 0;
  color: var(--color-sand);
  display: flex;
  align-items: center;
}
.location-text-group { display: flex; flex-direction: column; }
.location-caption-label {
  font-family: var(--font-family-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--color-khaki-light);
  letter-spacing: 0.05em;
}
.location-address-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #FFFFFF;
}
/* Левая колонка — белая карточка */
.office-content-wrap {
  padding: 22px 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-light-subtle);
  border-radius: var(--radius-tactical-lg);
  box-shadow: var(--shadow-card-elevated);
  display: flex;
  flex-direction: column;
  margin-top: 20px;
}
.office-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.card-kicker-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blue);
  background: rgba(31, 86, 196, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-tactical-sm);
  border: 1px solid rgba(31, 86, 196, 0.15);
}
.kicker-glow-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-blue);
  border-radius: 50%;
}
.system-hud-id {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  color: var(--text-muted-dark);
}
.office-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-heading-dark);
  line-height: 1.35;
  margin-bottom: 16px;
}
.checklist-items-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.checklist-entry-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: var(--surface-row-light);
  border: 1px solid var(--border-light-subtle);
  border-radius: var(--radius-tactical-md);
  transition: all 0.25s ease;
  outline: none;
}
.checklist-entry-row:hover,
.checklist-entry-row:focus-visible {
  background: #FFFFFF;
  border-color: var(--color-blue);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(31, 86, 196, 0.06);
}
.entry-check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-army-badge);
  display: flex;
  align-items: center;
  justify-content: center;
}
.entry-check-icon b {
  color: var(--color-sand);
  font-size: 0.75rem;
  font-weight: 900;
}
.entry-check-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-heading-dark);
}
.official-security-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: rgba(167, 194, 240, 0.14);
  border-left: 3px solid var(--color-red);
  border-radius: 0 var(--radius-tactical-sm) var(--radius-tactical-sm) 0;
  font-size: 0.775rem;
  color: var(--text-muted-dark);
  line-height: 1.45;
}
.security-shield-icon {
  flex-shrink: 0;
  color: var(--color-khaki-dark);
  margin-top: 2px;
}
/* 4 карточки статистики */
.hero-stats-matrix {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.stat-plate-card {
  position: relative;
  background: var(--surface-plate-light);
  border: 1px solid var(--border-light-subtle);
  border-radius: var(--radius-tactical-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(31, 86, 196, 0.04);
  transition: all 0.25s ease;
  overflow: hidden;
}
.stat-plate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-plate-top);
  opacity: 0.8;
}
.stat-plate-card:hover {
  background: #FFFFFF;
  border-color: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 86, 196, 0.1);
}
.stat-number-val {
  font-family: var(--font-family-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.stat-caption-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body-dark);
  line-height: 1.3;
}
/* REVEAL */
[data-animate-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-animate-reveal].element-revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-animate-reveal="1"] { transition-delay: 0.1s; }
[data-animate-reveal="2"] { transition-delay: 0.2s; }
[data-animate-reveal="3"] { transition-delay: 0.3s; }
[data-animate-reveal="4"] { transition-delay: 0.4s; }
/* АДАПТИВ */
@media (max-width: 1024px) {
  .hero-columns-container { gap: 28px; }
}
@media (max-width: 868px) {
  .header-topbar-inner { justify-content: center; }
  .topbar-item-address { display: none; }
  .burger-menu-btn { display: flex; }
  .navigation-menu {
    position: fixed;
    top: 76px; left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    background: rgba(245, 247, 251, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 12px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border-bottom: 1px solid var(--border-light-subtle);
    overflow-y: auto;
  }
  .navigation-menu.active-menu-opened {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .navigation-link {
    font-size: 1.15rem;
    width: 100%;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(31, 86, 196, 0.06);
    border-radius: var(--radius-tactical-md);
  }
  .navigation-link:hover { background: rgba(31, 86, 196, 0.08); }
  .header-action-wrap .header-apply-btn { display: none; }
  .mobile-cta-wrapper { display: block; margin-top: 24px; }
  .mobile-apply-btn {
    display: flex !important;
    width: 100%;
    background: var(--gradient-cta-accent) !important;
    color: #FFFFFF !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    padding: 16px 24px !important;
    border-radius: var(--radius-tactical-md) !important;
    box-shadow: 0 10px 25px var(--glow-accent-btn) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    text-decoration: none !important;
    justify-content: center;
  }
  .hero-columns-container { grid-template-columns: 1fr; }
  .hero-right-column {
    order: 1;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
  .hero-left-column { order: 2; width: 100%; }
  .hero-stats-matrix { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .hero-screen { padding: 32px 0 60px; }
  .hero-main-title { font-size: 1.75rem; }
  .hero-stats-matrix { grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
  .stat-plate-card { padding: 12px 14px; }
  .stat-number-val { font-size: 1.25rem; }
  
  /* На телефонах переводим обратно в колонку */
  .hero-buttons-row { flex-direction: column; width: 100%; }
  .tactical-btn { width: 100%; }
  
  .checklist-items-stack { grid-template-columns: 1fr; }
  .office-content-wrap { padding: 18px 16px; margin-top: 14px; }
  .brand-logo-img { height: 44px; }
}










/* ==========================================================================
   СЕКЦИЯ 2: УСЛОВИЯ СЛУЖБЫ — ФОН-ТРИКОЛОР, ШАПКА СЛЕВА + ЩИТ СПРАВА,
   КАРТОЧКИ 2 В РЯД С ИЗОБРАЖЕНИЕМ СЛЕВА
   ========================================================================== */
.conditions-section {
  position: relative;
  padding: 100px 0 115px;
  /* Триколор на всю ширину и высоту секции: белый → синий → красный */
  background: linear-gradient(180deg,
    #FFFFFF 0%,
    #FFFFFF 33.34%,
    #1F56C4 33.34%,
    #1F56C4 66.67%,
    #D53A3A 66.67%,
    #D53A3A 100%);
  border-top: 1px solid var(--border-light-subtle);
  border-bottom: 1px solid var(--border-light-subtle);
  overflow: hidden;
}
/* ШАПКА СЕКЦИИ: ТЕКСТ СЛЕВА + ЩИТ СПРАВА НА ОДНОЙ ЛИНИИ */
.conditions-heading-box {
  max-width: none;
  margin: 0 0 56px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  text-align: left;
}
.conditions-heading-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 640px;
}
.conditions-heading-box .section-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(31, 86, 196, 0.1);
  border: 1px solid rgba(31, 86, 196, 0.25);
  border-radius: var(--radius-tactical-pill);
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}
.conditions-heading-box .kicker-radar-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-red);
}
.conditions-section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-heading-dark);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.conditions-section-desc {
  font-size: 1.1rem;
  color: var(--text-body-dark);
  line-height: 1.6;
}
/* Щит справа, выровнен по правому краю */
.conditions-heading-shield {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.conditions-heading-shield img {
  height: clamp(100px, 11vw, 150px);
  width: auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(31, 86, 196, 0.35));
}
/* Сетка карточек: по 2 в ряд, 3 ряда */
.conditions-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
/* КАРТОЧКА: ГОРИЗОНТАЛЬНАЯ — ФОТО СЛЕВА, КОНТЕНТ СПРАВА */
.condition-card {
  position: relative;
  background: linear-gradient(155deg, #1E3A8A 0%, #141B33 100%);
  border: 1px solid rgba(167, 194, 240, 0.25);
  border-radius: var(--radius-tactical-md);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  box-shadow: 0 14px 34px -10px rgba(20, 27, 51, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  overflow: hidden;
  outline: none;
}
.condition-card:hover,
.condition-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--color-red);
  box-shadow: 0 22px 48px -10px rgba(0, 0, 0, 0.45), 0 0 24px rgba(213, 58, 58, 0.3);
}
/* Тонкая верхняя линия акцента: красный → синий */
.condition-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red) 0%, rgba(31, 86, 196, 0.6) 100%);
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.condition-card:hover::before {
  opacity: 1;
}
/* ИЗОБРАЖЕНИЕ СЛЕВА НА ВСЮ ВЫСОТУ КАРТОЧКИ */
.condition-card-media {
  flex: 0 0 300px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.condition-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}
.condition-card:hover .condition-card-media img {
  transform: scale(1.06);
}
/* Мягкая подсветка границы фото */
.condition-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(20, 27, 51, 0.55) 100%);
  pointer-events: none;
}
/* HUD-уголки на карточке */
.condition-card .card-hud-corner {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--color-sand);
  border-style: solid;
  pointer-events: none;
  opacity: 0.6;
  transition: all 0.3s ease;
  z-index: 3;
}
.corner-top-left { top: 9px; left: 9px; border-width: 2px 0 0 2px; }
.corner-bottom-right { bottom: 9px; right: 9px; border-width: 0 2px 2px 0; }
.condition-card:hover .card-hud-corner {
  border-color: var(--color-red);
  width: 13px;
  height: 13px;
  opacity: 1;
}
/* ТЕЛО КАРТОЧКИ СПРАВА ОТ ФОТО */
.condition-card-body {
  flex: 1;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 2;
}
.condition-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.condition-index-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0; /* Не даем бейджу сжиматься */
}
.index-digit {
  font-family: var(--font-family-mono);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-red);
  background: rgba(20, 27, 51, 0.8);
  padding: 4px 10px;
  border-radius: var(--radius-tactical-sm);
  border: 1px solid rgba(213, 58, 58, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.index-line {
  width: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-sand) 0%, transparent 100%);
}
/* ПРОЗРАЧНЫЕ БУКВЫ "РФ" В ПРАВОМ ВЕРХНЕМ УГЛУ */
.card-bg-text-rf {
  position: absolute;
  top: -10px;    
  right: -5px;   
  font-size: 6rem; 
  font-weight: 900;
  color: rgba(255, 255, 255, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  font-family: sans-serif;
  z-index: 0; 
}

.card-tech-symbol {
  color: var(--color-khaki-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0; 
  position: relative; /* Добавляем позиционирование */
  z-index: 2; /* Принудительно поднимаем иконку над буквами */
}
.condition-card:hover .card-tech-symbol {
  color: var(--color-red);
  transform: scale(1.12);
}
.condition-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.35;
  margin-bottom: 10px;
}
.condition-card-text {
  font-size: 0.92rem;
  color: #D9E4FA;
  line-height: 1.6;
  margin-top: auto;
}
/* ==========================================================================
   АДАПТИВНОСТЬ СЕКЦИИ 2
   ========================================================================== */
@media (max-width: 1024px) {
  .conditions-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .conditions-heading-box {
    gap: 28px;
  }
}
@media (max-width: 640px) {
  .conditions-section {
    padding: 60px 0 70px;
  }
  /* Шапка: текст сверху, щит снизу */
  .conditions-heading-box {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 36px;
    gap: 20px;
  }
  .conditions-heading-shield {
    justify-content: flex-start;
  }
  .conditions-heading-shield img {
    height: 90px;
  }
  /* Карточка: фото сверху, контент снизу */
  .condition-card {
    flex-direction: column;
  }
  .condition-card-media {
    flex: 0 0 auto;
    height: 150px;
    width: 100%;
  }
  .condition-card-media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(20, 27, 51, 0.55) 100%);
  }
  .condition-card-body {
    padding: 22px 20px;
  }
}











/* ==========================================================================
   СЕКЦИЯ 3: ДОЛЖНОСТИ И НАПРАВЛЕНИЯ — СВЕТЛЫЙ ФОН, СИНЕ-КРАСНАЯ ПАЛИТРА
   ========================================================================== */

.directions-section {
  position: relative;
  padding: 100px 0 115px;
  background-color: var(--bg-light-canvas);
  border-top: 1px solid var(--border-light-subtle);
  border-bottom: 1px solid var(--border-light-subtle);
  overflow: hidden;
}

/* Фоновая тактическая сетка (светлая, синие точки) */
.directions-tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(31, 86, 196, 0.09) 1px, transparent 1px),
    linear-gradient(to right, rgba(31, 86, 196, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 86, 196, 0.04) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
  pointer-events: none;
}

/* Мягкое синее и красное свечение на светлом фоне */
.directions-glow-spot {
  position: absolute;
  top: 10%;
  right: -5%;
  width: 550px;
  height: 550px;
  background:
    radial-gradient(circle at 40% 40%, rgba(31, 86, 196, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 65% 65%, rgba(213, 58, 58, 0.1) 0%, transparent 55%);
  filter: blur(60px);
  pointer-events: none;
}

/* ДВУХКОЛОНОЧНЫЙ МАКЕТ */
.directions-split-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   ЛЕВАЯ КОЛОНКА
   -------------------------------------------------------------------------- */

.directions-sidebar-column {
  position: relative;
}

.directions-sticky-wrap {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
}

/* Бейдж-кикер на светлом фоне */
.directions-sidebar-column .section-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(31, 86, 196, 0.1);
  border: 1px solid rgba(31, 86, 196, 0.25);
  border-radius: var(--radius-tactical-pill);
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 20px;
  align-self: flex-start;
}

.directions-sidebar-column .kicker-radar-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-red);
}

/* Тёмный заголовок на светлом фоне */
.directions-main-title {
  font-size: clamp(2.1rem, 3.4vw, 3rem);
  font-weight: 800;
  color: var(--text-heading-dark);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

/* Текст описания */
.directions-main-desc {
  font-size: 1.125rem;
  color: var(--text-body-dark);
  line-height: 1.65;
  margin-bottom: 34px;
}

/* Плашка комплектования — светло-синяя */
.directions-status-panel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 1px solid rgba(31, 86, 196, 0.2);
  border-radius: var(--radius-tactical-md);
  box-shadow: 0 10px 28px rgba(31, 86, 196, 0.1);
}

.status-panel-icon {
  flex-shrink: 0;
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-panel-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.status-panel-code {
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.06em;
}

.status-panel-note {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-heading-dark);
}

/* --------------------------------------------------------------------------
   ИЗОБРАЖЕНИЕ ПОД ПАНЕЛЬЮ КОМПЛЕКТОВАНИЯ (заменяет дрон)
   -------------------------------------------------------------------------- */

.directions-passport-image {
  margin-top: 28px;
  display: flex;
  justify-content: flex-start;
}

.directions-passport-image img {
  width: min(100%, 280px);
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(31, 86, 196, 0.25));
}

/* --------------------------------------------------------------------------
   ПРАВАЯ КОЛОНКА: СВЕТЛЫЕ КАРТОЧКИ СПЕЦИАЛЬНОСТЕЙ
   -------------------------------------------------------------------------- */

.directions-cards-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* СВЕТЛАЯ КАРТОЧКА НА СВЕТЛОМ ФОНЕ */
.direction-card-light {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(31, 86, 196, 0.15);
  border-radius: var(--radius-tactical-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 35px -8px rgba(31, 86, 196, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  overflow: hidden;
  outline: none;
}

.direction-card-light:hover,
.direction-card-light:focus-visible {
  transform: translateY(-5px);
  border-color: var(--color-red);
  box-shadow: 0 22px 50px -10px rgba(31, 86, 196, 0.22), 0 0 26px rgba(213, 58, 58, 0.18);
}

/* Верхняя полоса-градиент: синий → красный */
.direction-card-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-red) 100%);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.direction-card-light:hover::before {
  opacity: 1;
}

/* HUD-уголки на карточке */
.direction-card-light .card-hud-corner {
  position: absolute;
  width: 9px;
  height: 9px;
  border-color: var(--color-blue-light);
  border-style: solid;
  pointer-events: none;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.corner-top-left { top: 9px; left: 9px; border-width: 2px 0 0 2px; }
.corner-bottom-right { bottom: 9px; right: 9px; border-width: 0 2px 2px 0; }

.direction-card-light:hover .card-hud-corner {
  border-color: var(--color-red);
  width: 13px;
  height: 13px;
  opacity: 1;
}

/* Шапка карточки */
.direction-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

/* Иконка: синий → красный градиент */
.direction-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-tactical-sm);
  background: linear-gradient(135deg, #1F56C4 0%, #D53A3A 100%);
  border: 1px solid rgba(31, 86, 196, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(31, 86, 196, 0.3);
  transition: all 0.3s ease;
}

.direction-card-light:hover .direction-icon-box {
  transform: scale(1.08) rotate(-2deg);
  box-shadow: 0 6px 16px rgba(213, 58, 58, 0.35);
}

.direction-index-tag {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-blue);
  background: rgba(31, 86, 196, 0.08);
  padding: 3px 8px;
  border-radius: var(--radius-tactical-sm);
  letter-spacing: 0.05em;
}

/* Тёмный четкий текст внутри карточек */
.direction-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-heading-dark);
  line-height: 1.3;
  margin-bottom: 10px;
}

.direction-card-desc {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body-dark);
  line-height: 1.55;
  margin-top: auto;
}

/* ==========================================================================
   АДАПТИВНОСТЬ СЕКЦИИ 3
   ========================================================================== */

@media (max-width: 1024px) {
  .directions-split-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .directions-sticky-wrap {
    position: static;
  }

  .directions-sidebar-column {
    max-width: 700px;
  }
}

@media (max-width: 640px) {
  .directions-section {
    padding: 60px 0 70px;
  }

  .directions-cards-matrix {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .direction-card-light {
    padding: 24px 20px;
  }

  .directions-passport-image img {
    width: min(100%, 260px);
  }
}















/* ==========================================================================
   СЕКЦИЯ 4: ВЫПЛАТЫ
   ========================================================================== */

.payments-section {
  position: relative;
  padding: 100px 0 115px;
  /* Белая часть увеличена — карточка снизу естественно "начинается на белом" */
  background: linear-gradient(180deg,
    #FFFFFF 0%,
    #FFFFFF 42%,
    #1F56C4 42%,
    #1F56C4 71%,
    #D53A3A 71%,
    #D53A3A 100%);
  border-top: 1px solid var(--border-light-subtle);
  border-bottom: 1px solid var(--border-light-subtle);
  overflow: hidden;
}

/* ШАПКА СЕКЦИИ — СЛЕВА БЕЙДЖ+ЗАГОЛОВОК, СПРАВА ТЕКСТ НАД КНОПКОЙ */
.payments-heading-box {
  max-width: none;
  margin: 0 0 56px 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.payments-heading-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 500px;
  text-align: left;
}

.payments-heading-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  max-width: 640px;
  flex-shrink: 0;
  padding-top: 4px;
}

.payments-heading-box .section-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(31, 86, 196, 0.1);
  border: 1px solid rgba(31, 86, 196, 0.25);
  border-radius: var(--radius-tactical-pill);
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}

.payments-heading-box .kicker-radar-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-red);
}

.payments-section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-heading-dark);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  text-align: left;
  width: 100%;
}

.payments-section-desc {
  font-size: 1.05rem;
  color: var(--text-body-dark);
  line-height: 1.6;
  text-align: right;
  margin: 0;
}

.payments-heading-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-end;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-family-sans);
  font-weight: 800;
  font-size: 0.95rem;
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: var(--radius-tactical-md);
  background: var(--gradient-cta-accent);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 25px var(--glow-accent-btn);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.payments-heading-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(213, 58, 58, 0.45);
  color: #FFFFFF;
}

.payments-heading-cta svg {
  flex-shrink: 0;
}

.payments-bento-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: stretch;   
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   ЛЕВАЯ КАРТОЧКА
   -------------------------------------------------------------------------- */
.payment-featured-card {
  position: relative;
  background: linear-gradient(155deg, #1E3A8A 0%, #141B33 100%);
  border: 1px solid rgba(167, 194, 240, 0.25);
  border-radius: var(--radius-tactical-lg);
  padding: 20px 36px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 20px 45px -10px rgba(20, 27, 51, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.payment-featured-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-red);
  box-shadow: 0 28px 55px -12px rgba(0, 0, 0, 0.45), 0 0 26px rgba(213, 58, 58, 0.3);
}

.payment-featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red) 0%, rgba(31, 86, 196, 0.6) 100%);
  z-index: 2;
}

.payment-card-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.payment-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-blue-light);
  background: rgba(20, 27, 51, 0.8);
  padding: 5px 12px;
  border-radius: var(--radius-tactical-sm);
  border: 1px solid rgba(213, 58, 58, 0.4);
}

.badge-dot-gold {
  width: 6px;
  height: 6px;
  background-color: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-red);
}

.payment-hud-code {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  color: var(--color-blue-pale);
  letter-spacing: 0.05em;
}

.payment-featured-title {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 10px;
}

.payment-featured-stat {
  font-family: var(--font-family-mono);
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.payment-featured-stat span {
  color: var(--color-red);
}

.payment-featured-text {
  font-size: 1.02rem;
  color: #D9E4FA;
  line-height: 1.65;
  margin-bottom: 0;
}

.region-tag-inline {
  color: var(--color-red);
  font-weight: 700;
}

/* Квадратное изображение, края плавно тают в фон карточки — НЕ ТРОГАТЬ */
.payment-card-visual {
  position: relative;
  width: 100%;
  flex: 1;              
  min-height: 0;
  margin-top: 24px;
  overflow: hidden;
}

.payment-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;

  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in, xor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;

  mask-image:
    linear-gradient(to right, transparent 0%, #000 14%, #000 86%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}

/* --------------------------------------------------------------------------
   ПРАВАЯ КОЛОНКА (СПИСОК СТРОК ВЫПЛАТ)
   -------------------------------------------------------------------------- */

.payment-telemetry-list {
  display: grid;
  grid-template-rows: repeat(7, auto);
  gap: 12px;
  align-content: start; 
}

.payment-row-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(31, 86, 196, 0.15);
  border-radius: var(--radius-tactical-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 4px 16px rgba(31, 86, 196, 0.06);
  transition: all 0.25s ease;
  outline: none;
}

.payment-row-card:hover,
.payment-row-card:focus-visible {
  border-color: var(--color-red);
  transform: translateX(4px);
  box-shadow: 0 10px 26px rgba(213, 58, 58, 0.14);
  background: #FAFBFF;
}

.payment-row-info {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.payment-row-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-tactical-sm);
  background: linear-gradient(135deg, #1F56C4 0%, #D53A3A 100%);
  border: 1px solid rgba(31, 86, 196, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(31, 86, 196, 0.25);
  transition: all 0.25s ease;
}

.payment-row-card:hover .payment-row-icon {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 6px 16px rgba(213, 58, 58, 0.35);
}

.payment-row-label {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-heading-dark);
  line-height: 1.35;
}

.payment-value-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-tactical-pill);
  font-family: var(--font-family-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-blue);
  background: rgba(31, 86, 196, 0.08);
  border: 1px solid rgba(31, 86, 196, 0.22);
  white-space: nowrap;
  flex-shrink: 0;
}

.payment-value-badge.value-approved {
  color: var(--color-red);
  background: rgba(213, 58, 58, 0.08);
  border-color: rgba(213, 58, 58, 0.25);
}

.status-check-mark {
  font-weight: 900;
}

/* ==========================================================================
   АДАПТИВНОСТЬ
   ========================================================================== */

@media (max-width: 992px) {
  .payments-bento-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .payment-featured-card {
    padding: 32px 26px;
  }
}

@media (max-width: 640px) {
  .payments-section {
    padding: 60px 0 70px;
  }

  .payments-heading-box {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 36px;
    gap: 20px;
  }

  .payments-heading-right {
    align-items: flex-start;
    max-width: 100%;
    padding-top: 0;
  }

  .payments-section-desc {
    text-align: left;
  }

  .payments-heading-cta {
    align-self: flex-start;
  }

  .payment-row-card {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .payment-value-badge {
    align-self: flex-start;
  }
}










/* ==========================================================================
   СЕКЦИЯ 5: ЭТАПЫ ПОСТУПЛЕНИЯ (СВЕТЛЫЙ ФОН + КАРТОЧКИ С ФОТО + СТРЕЛКИ)
   ========================================================================== */

.steps-section {
  position: relative;
  padding: 105px 0 125px;
  background-color: var(--bg-light-canvas);
  border-top: 1px solid var(--border-light-subtle);
  border-bottom: 1px solid var(--border-light-subtle);
  overflow: hidden;
}

/* Фоновая тактическая сетка (светлая, синие точки — как в "Должности") */
.steps-tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(31, 86, 196, 0.09) 1px, transparent 1px),
    linear-gradient(to right, rgba(31, 86, 196, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 86, 196, 0.04) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
  pointer-events: none;
}

/* Мягкое синее и красное свечение — как в "Должности" */
.steps-glow-ambient {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 500px;
  background:
    radial-gradient(circle at 40% 40%, rgba(31, 86, 196, 0.14) 0%, transparent 60%),
    radial-gradient(circle at 65% 65%, rgba(213, 58, 58, 0.1) 0%, transparent 55%);
  filter: blur(70px);
  pointer-events: none;
}

/* ШАПКА СЕКЦИИ: БЕЙДЖ+ЗАГОЛОВОК+ПОДЗАГОЛОВОК СЛЕВА, КАРТИНКА СПРАВА НА ОДНОЙ ЛИНИИ */
.steps-heading-box {
  max-width: none;
  margin: 0 0 56px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.steps-heading-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
  text-align: left;
}

.steps-heading-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.steps-heading-right img {
  height: clamp(140px, 13vw, 210px);
  width: auto;
  display: block;
  filter: drop-shadow(0 12px 24px rgba(31, 86, 196, 0.25));
}

.steps-heading-box .section-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(31, 86, 196, 0.1);
  border: 1px solid rgba(31, 86, 196, 0.25);
  border-radius: var(--radius-tactical-pill);
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
  box-shadow: none;
}

.steps-heading-box .kicker-radar-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-red);
}

.steps-section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-heading-dark);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-align: left;
  width: 100%;
}

.steps-section-desc {
  font-size: 1.05rem;
  color: var(--text-body-dark);
  line-height: 1.6;
  text-align: left;
  margin: 0;
}

/* ==========================================================================
   ЦЕПОЧКА ШАГОВ ROADMAP (КАРТОЧКИ С ФОТО СВЕРХУ)
   ========================================================================== */

.steps-roadmap-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.step-card-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* КАРТОЧКА ЭТАПА: ФОТО СВЕРХУ + КОНТЕНТ СНИЗУ */
.step-tactical-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(31, 86, 196, 0.15);
  border-radius: var(--radius-tactical-md);
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 14px 35px -8px rgba(31, 86, 196, 0.12);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
  overflow: hidden;
  outline: none;
}

.step-tactical-card:hover,
.step-tactical-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--color-red);
  box-shadow: 0 22px 50px -10px rgba(31, 86, 196, 0.22), 0 0 26px rgba(213, 58, 58, 0.18);
}

/* Тонкая градиентная полоска сверху: синий → красный, поверх фото */
.step-tactical-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-red) 100%);
  opacity: 0.9;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.step-tactical-card:hover::before {
  opacity: 1;
}

/* Финальный шаг (04 Оформление) */
.step-final-highlight {
  border: 1.5px solid rgba(213, 58, 58, 0.35);
  box-shadow: 0 16px 38px -8px rgba(213, 58, 58, 0.16);
}

.step-final-highlight:hover {
  border-color: var(--color-red);
  box-shadow: 0 24px 52px -10px rgba(213, 58, 58, 0.3);
}

/* HUD-уголки карточки */
.step-tactical-card .card-hud-corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: var(--color-blue-light);
  border-style: solid;
  pointer-events: none;
  opacity: 0.8;
  transition: all 0.3s ease;
  z-index: 4;
}

.corner-top-left { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.corner-bottom-right { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }

.step-tactical-card:hover .card-hud-corner {
  border-color: var(--color-red);
  width: 12px;
  height: 12px;
  opacity: 1;
}

/* ФОТО-БЛОК СВЕРХУ КАРТОЧКИ */
.step-card-media {
  position: relative;
  width: 100%;
  height: 268px;
  overflow: hidden;
  flex-shrink: 0;
}

.step-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.step-tactical-card:hover .step-card-media img {
  transform: scale(1.06);
}

.step-card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 20, 0) 45%, rgba(20, 24, 20, 0.55) 100%);
  pointer-events: none;
}

/* Бейдж номера и названия этапа — теперь ПОВЕРХ ФОТО */
.step-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: rgba(20, 24, 20, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(31, 86, 196, 0.4);
  border-radius: var(--radius-tactical-sm);
}

.badge-final {
  background: rgba(20, 24, 20, 0.82);
  border-color: rgba(213, 58, 58, 0.5);
}

.step-live-beacon {
  width: 6px;
  height: 6px;
  background-color: var(--color-blue);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-blue);
}

.beacon-gold {
  background-color: var(--color-red);
  box-shadow: 0 0 8px var(--color-red);
}

.step-phase-text {
  font-family: var(--font-family-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
}

.badge-final .step-phase-text {
  color: #FFFFFF;
}

/* КОНТЕНТ ПОД ФОТО */
.step-card-body {
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.step-card-heading {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-heading-dark);
  line-height: 1.3;
  margin-bottom: 10px;
}

.step-card-info {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body-dark);
  line-height: 1.55;
  margin-top: auto;
}

/* ==========================================================================
   3 АНИМИРОВАННЫЕ ВЫГНУТЫЕ ШТРИХПУНКТИРНЫЕ СТРЕЛКИ (ЧУТЬ КРУПНЕЕ)
   ========================================================================== */

.step-curved-arrow {
  position: absolute;
  top: -28px;
  right: -38px;
  width: 78px;
  height: 46px;
  z-index: 4;
  pointer-events: none;
}

.step-curved-arrow svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Фоновая направляющая линия */
.arrow-base-track {
  stroke: rgba(31, 86, 196, 0.22);
  stroke-width: 2;
}

/* Бегущая штрихпунктирная волна (дорога) */
.arrow-flowing-dash {
  stroke: var(--color-red);
  stroke-width: 2.2;
  stroke-dasharray: 6, 6;
  animation: roadFlowAnimation 1.2s linear infinite;
  filter: drop-shadow(0 0 4px rgba(213, 58, 58, 0.5));
}

@keyframes roadFlowAnimation {
  from {
    stroke-dashoffset: 24;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.arrow-step-2 {
  top: auto;
  bottom: -28px;
}

/* ==========================================================================
   АДАПТИВНОСТЬ СЕКЦИИ 5
   ========================================================================== */

@media (max-width: 1100px) {
  .steps-roadmap-chain {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .step-curved-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .steps-heading-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .steps-heading-right {
    align-self: flex-start;
  }

  .steps-section-desc {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .steps-section {
    padding: 60px 0 75px;
  }

  .steps-heading-box {
    margin-bottom: 36px;
  }

  .steps-roadmap-chain {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card-media {
    height: 190px;
  }

  .step-card-body {
    padding: 20px 18px 22px;
  }
}









/* ==========================================================================
   СЕКЦИЯ 6:СИМВОЛЫ СЛУЖБЫ
   ========================================================================== */
.patriot-section {
  position: relative;
  padding: 100px 0 115px;
  background: linear-gradient(180deg,
    #FFFFFF 0%,
    #FFFFFF 42%,
    #1F56C4 42%,
    #1F56C4 71%,
    #D53A3A 71%,
    #D53A3A 100%);
  border-top: 1px solid var(--border-light-subtle);
  border-bottom: 1px solid var(--border-light-subtle);
  overflow: hidden;
}

/* Лёгкая тактическая сетка поверх триколора */
.patriot-tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
  pointer-events: none;
  z-index: 1;
}

/* Мягкое свечение в зоне синего/красного полотна */
.patriot-glow-aura {
  position: absolute;
  bottom: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 480px;
  background:
    radial-gradient(circle at 30% 50%, rgba(167, 194, 240, 0.22) 0%, transparent 55%),
    radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.14) 0%, transparent 55%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 1;
}

/* ШАПКА СЕКЦИИ: слева бейдж+заголовок, справа текст */
.patriot-heading-box {
  position: relative;
  z-index: 2;
  margin: 0 0 60px 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.patriot-heading-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 520px;
  text-align: left;
}

.patriot-heading-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-width: 560px;
  flex-shrink: 0;
  padding-top: 4px;
}

.patriot-heading-box .patriot-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(31, 86, 196, 0.1);
  border: 1px solid rgba(31, 86, 196, 0.25);
  border-radius: var(--radius-tactical-pill);
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}

.patriot-heading-box .kicker-radar-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-red);
}

.patriot-section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-heading-dark);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  text-align: left;
  width: 100%;
}

.patriot-section-desc {
  font-size: 1.05rem;
  color: var(--text-body-dark);
  line-height: 1.6;
  text-align: right;
  margin: 0;
}

/* Моноширинная метка-«печать» архива справа */
.patriot-archive-stamp {
  font-family: var(--font-family-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-blue);
  border: 1.5px solid rgba(31, 86, 196, 0.35);
  border-radius: var(--radius-tactical-sm);
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   ГАЛЕРЕЯ: ТРИ «ХОЛСТА» С СВЯЗКАМИ-СТРЕЛКАМИ
   ========================================================================== */

.patriot-gallery-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.patriot-frame-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
}

/* «ХОЛСТ»: рамка + фото + оверлей + подпись */
.patriot-frame {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-tactical-lg);
  padding: 14px;
  box-shadow:
    0 28px 60px -14px rgba(15, 23, 60, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.35) inset;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  overflow: visible;
}

/* Внутренняя «галерея»-мат для фото */
.patriot-frame-canvas {
  position: relative;
  border-radius: calc(var(--radius-tactical-lg) - 8px);
  overflow: hidden;
  aspect-ratio: 3 / 3.6;
  background: #141B33;
}

.patriot-frame-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Виньетка + градиент для кинематографичности */
.patriot-frame-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 52%, rgba(10, 14, 30, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 14, 30, 0.05) 0%, rgba(10, 14, 30, 0.82) 88%);
  pointer-events: none;
}

/* Бегущий световой блик по фото при наведении */
.patriot-frame-sheen {
  position: absolute;
  top: -20%;
  left: -80%;
  width: 55%;
  height: 140%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.28) 50%, transparent 100%);
  transform: skewX(-22deg);
  pointer-events: none;
  transition: left 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.patriot-frame:hover .patriot-frame-sheen {
  left: 130%;
}

/* HUD-уголки на мате фото */
.patriot-frame-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--color-sand);
  border-style: solid;
  z-index: 5;
  pointer-events: none;
  opacity: 0.85;
  transition: all 0.35s ease;
}
.patriot-corner-tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.patriot-corner-tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.patriot-corner-bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.patriot-corner-br { bottom: 12px; right: 12px; border-width: 0 2px 2px 0; }

.patriot-frame:hover .patriot-frame-corner {
  border-color: var(--color-red);
  width: 18px;
  height: 18px;
}

/* Текстовый блок на фото, внизу */
.patriot-frame-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Кикер-строка над заголовком: синяя плашка с точкой */
.patriot-caption-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--font-family-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-blue-light);
  background: rgba(10, 14, 30, 0.72);
  border: 1px solid rgba(167, 194, 240, 0.4);
  border-radius: var(--radius-tactical-pill);
  padding: 4px 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.patriot-caption-kicker::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-red);
}

.patriot-caption-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Тонкая градиентная линия под заголовком */
.patriot-caption-rule {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-blue-light) 0%, var(--color-red) 100%);
}

.patriot-caption-sub {
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(233, 240, 255, 0.95);
  line-height: 1.55;
}

/* Связки-стрелки между холстами (уникальные классы — конфликтов нет) */
.patriot-link-arrow {
  position: absolute;
  top: 50%;
  right: -52px;
  width: 76px;
  height: 44px;
  transform: translateY(-50%);
  z-index: 6;
  pointer-events: none;
}

.patriot-link-arrow svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.patriot-arrow-base-track {
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2;
  fill: none;
}

.patriot-arrow-flowing-dash {
  stroke: var(--color-sand);
  stroke-width: 2.2;
  stroke-dasharray: 6, 6;
  fill: none;
  animation: patriotRoadFlow 1.2s linear infinite;
  filter: drop-shadow(0 0 4px rgba(167, 194, 240, 0.6));
}

@keyframes patriotRoadFlow {
  from { stroke-dashoffset: 24; }
  to   { stroke-dashoffset: 0; }
}

/* HOVER: лёгкий подъём рамки */
.patriot-frame:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 1);
  box-shadow:
    0 36px 70px -14px rgba(10, 15, 40, 0.65),
    0 0 30px rgba(167, 194, 240, 0.25);
}

.patriot-frame:hover .patriot-frame-photo {
  transform: scale(1.08);
}

/* ==========================================================================
   REVEAL-АНИМАЦИЯ СЕКЦИИ (автономная, атрибут data-patriot-reveal)
   ========================================================================== */

[data-patriot-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-patriot-reveal].patriot-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-patriot-reveal="1"] { transition-delay: 0.12s; }
[data-patriot-reveal="2"] { transition-delay: 0.24s; }
[data-patriot-reveal="3"] { transition-delay: 0.36s; }

/* ==========================================================================
   АДАПТИВНОСТЬ СЕКЦИИ
   ========================================================================== */

@media (max-width: 1024px) {
  .patriot-gallery-row {
    grid-template-columns: 1fr;
    gap: 44px;
    max-width: 520px;
    margin: 0 auto;
  }

  .patriot-link-arrow {
    display: none;
  }

  .patriot-frame-canvas {
    aspect-ratio: 3 / 3.2;
  }
}

@media (max-width: 768px) {
  .patriot-heading-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 44px;
  }

  .patriot-heading-right {
    align-items: flex-start;
    max-width: 100%;
    padding-top: 0;
  }

  .patriot-section-desc {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .patriot-section {
    padding: 60px 0 75px;
  }

  .patriot-frame {
    padding: 10px;
  }

  .patriot-frame-canvas {
    aspect-ratio: 3 / 3.4;
  }

  .patriot-caption-title {
    font-size: 1.2rem;
  }

  .patriot-frame-caption {
    padding: 18px 18px 16px;
  }
}












/* ==========================================================================
   СЕКЦИЯ 7: ПУНКТ ОТБОРА И КАРТА (СВЕТЛЫЙ ФОН + BENTO МАКЕТ)
   ========================================================================== */

.contacts-section {
  position: relative;
  padding: 100px 0 115px;
  background-color: var(--bg-light-canvas);
  border-top: 1px solid var(--border-light-subtle);
  border-bottom: 1px solid var(--border-light-subtle);
  overflow: hidden;
}

/* Фоновая микро-сетка */
.contacts-tech-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(31, 86, 196, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 86, 196, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ШАПКА СЕКЦИИ: БЕЙДЖ+ЗАГОЛОВОК СЛЕВА, ПОДЗАГОЛОВОК+КНОПКА СПРАВА */
.contacts-heading-box {
  max-width: none;
  margin: 0 0 56px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.contacts-heading-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
  text-align: left;
}

.contacts-heading-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  max-width: 380px;
  flex-shrink: 0;
}

.contacts-heading-box .section-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(31, 86, 196, 0.1);
  border: 1px solid rgba(31, 86, 196, 0.25);
  border-radius: var(--radius-tactical-pill);
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}

.contacts-heading-box .kicker-radar-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-red);
}

.contacts-section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-heading-dark);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  text-align: left;
  width: 100%;
}

.contacts-section-desc {
  font-size: 1.05rem;
  color: var(--text-body-dark);
  line-height: 1.6;
  text-align: right;
  margin: 0;
}

/* Кнопка справа, под подзаголовком — тот же фирменный градиент */
.contacts-heading-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-end;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-family-sans);
  font-weight: 800;
  font-size: 0.95rem;
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: var(--radius-tactical-md);
  background: var(--gradient-cta-accent);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 25px var(--glow-accent-btn);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.contacts-heading-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(213, 58, 58, 0.45);
  color: #FFFFFF;
}

.contacts-heading-cta svg {
  flex-shrink: 0;
}

/* ДВУХКОЛОНОЧНЫЙ BENTO МАКЕТ */
.contacts-bento-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   ЛЕВАЯ КАРТОЧКА С КОНТАКТАМИ (ТЁМНО-СИНИЙ ГРАДИЕНТ)
   -------------------------------------------------------------------------- */

.contacts-info-card {
  position: relative;
  background: linear-gradient(155deg, #1E3A8A 0%, #141B33 100%);
  border: 1px solid rgba(167, 194, 240, 0.25);
  border-radius: var(--radius-tactical-lg);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 45px -10px rgba(20, 27, 51, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.contacts-info-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-red);
  box-shadow: 0 28px 55px -12px rgba(0, 0, 0, 0.45), 0 0 26px rgba(213, 58, 58, 0.3);
}

.contacts-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red) 0%, rgba(31, 86, 196, 0.6) 100%);
}

.contacts-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.contacts-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 27, 51, 0.8);
  border: 1px solid rgba(213, 58, 58, 0.4);
  padding: 5px 12px;
  border-radius: var(--radius-tactical-pill);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-blue-light);
}

.eyebrow-radar-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-blue);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-blue);
}

.contacts-hud-tag {
  font-family: var(--font-family-mono);
  font-size: 0.72rem;
  color: var(--color-blue-pale);
  letter-spacing: 0.05em;
}

.contacts-card-title {
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 30px;
}

/* Список контактных строк */
.contacts-data-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-data-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(20, 27, 51, 0.55);
  border: 1px solid rgba(167, 194, 240, 0.18);
  border-radius: var(--radius-tactical-md);
  transition: all 0.25s ease;
}

.contact-data-row:hover {
  background: rgba(30, 58, 138, 0.55);
  border-color: var(--color-red);
  transform: translateX(4px);
}

.contact-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-tactical-sm);
  background: linear-gradient(135deg, #1F56C4 0%, #D53A3A 100%);
  border: 1px solid rgba(31, 86, 196, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(31, 86, 196, 0.25);
}

.contact-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-data-label {
  font-family: var(--font-family-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--color-blue-pale);
  letter-spacing: 0.05em;
}

.contact-data-value {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   ПРАВАЯ КОЛОНКА: ЯНДЕКС КАРТА С HUD-ОБРАМЛЕНИЕМ
   -------------------------------------------------------------------------- */

.contacts-map-wrapper {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(31, 86, 196, 0.15);
  border-radius: var(--radius-tactical-lg);
  box-shadow: 0 20px 45px -10px rgba(31, 86, 196, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 420px;
}

/* Оверлей-индикатор карты */
.map-hud-overlay-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 5;
  background: rgba(20, 27, 51, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(213, 58, 58, 0.35);
  border-radius: var(--radius-tactical-md);
  padding: 10px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.map-pulse-beacon {
  width: 8px;
  height: 8px;
  background-color: var(--color-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-blue);
  margin-top: 5px;
  flex-shrink: 0;
}

.map-tag-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.map-tag-text-wrap strong {
  font-size: 0.85rem;
  color: #FFFFFF;
  font-weight: 800;
}

.map-tag-text-wrap span {
  font-size: 0.75rem;
  color: var(--color-blue-light);
  line-height: 1.35;
}

/* Контейнер фрейма карты */
.map-iframe-container {
  width: 100%;
  height: 100%;
  min-height: 420px;
  position: relative;
}

.map-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: contrast(1.02);
}

/* ==========================================================================
   АДАПТИВНОСТЬ СЕКЦИИ 7
   ========================================================================== */

@media (max-width: 992px) {
  .contacts-bento-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contacts-map-wrapper {
    min-height: 380px;
  }
}

@media (max-width: 768px) {
  .contacts-heading-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .contacts-heading-right {
    align-items: flex-start;
    max-width: 100%;
  }

  .contacts-section-desc {
    text-align: left;
  }

  .contacts-heading-cta {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .contacts-section {
    padding: 60px 0 75px;
  }

  .contacts-heading-box {
    margin-bottom: 36px;
  }

  .contacts-info-card {
    padding: 26px 20px;
  }

  .contacts-card-title {
    font-size: 1.3rem;
  }

  .contact-data-row {
    padding: 12px 14px;
    gap: 12px;
  }

  .map-hud-overlay-tag {
    top: 10px;
    left: 10px;
    right: 10px;
    padding: 8px 12px;
  }
}
/* Контейнер вместо карты — под изображение */
.map-iframe-container {
  width: 100%;
  height: 100%;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}

.map-iframe-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

/* Лёгкий тёмный градиент снизу, чтобы картинка смотрелась в стиле секции */
/* .map-iframe-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 27, 51, 0.05) 0%, rgba(20, 27, 51, 0.35) 100%);
  pointer-events: none;
} */

.contacts-map-wrapper:hover .map-iframe-container img {
  transform: scale(1.04);
}




#contacts-map {
  width: 100%;
  height: 100%;
  min-height: 580px;
}

.map-iframe-container {
  width: 100%;
  height: 100%;
  min-height: 580px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  #contacts-map,
  .map-iframe-container {
    min-height: 400px;
  }
}











/* ==========================================================================
   СЕКЦИЯ 8: ФОРМА ЗАЯВКИ (ТРИКОЛОР + 40/60% + СВЕТЛАЯ КАРТОЧКА ФОРМЫ)
   ========================================================================== */

.application-section {
  position: relative;
  padding: 100px 0 115px;
  background: linear-gradient(180deg,
    #FFFFFF 0%,
    #FFFFFF 42%,
    #1F56C4 42%,
    #1F56C4 71%,
    #D53A3A 71%,
    #D53A3A 100%);
  border-top: 1px solid var(--border-light-subtle);
  border-bottom: 1px solid var(--border-light-subtle);
  overflow: hidden;
}

/* Фоновая тактическая сетка */
.application-tech-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
  pointer-events: none;
  z-index: 1;
}

/* ШАПКА СЕКЦИИ: СЛЕВА ТЕКСТ, СПРАВА КАРТИНКА */
.application-heading-box {
  position: relative;
  z-index: 2;
  margin: 0 0 56px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.application-heading-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 640px;
  text-align: left;
}

.application-heading-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.application-heading-right img {
  height: clamp(140px, 13vw, 210px);
  width: auto;
  display: block;
  filter: drop-shadow(0 14px 28px rgba(31, 86, 196, 0.35));
}

.application-heading-box .section-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(31, 86, 196, 0.1);
  border: 1px solid rgba(31, 86, 196, 0.25);
  border-radius: var(--radius-tactical-pill);
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}

.application-heading-box .kicker-radar-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-red);
}

.application-section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-heading-dark);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  width: 100%;
}

.application-section-desc {
  font-size: 1.05rem;
  color: var(--text-body-dark);
  line-height: 1.6;
  margin: 0;
}

/* ДВУХКОЛОНОЧНАЯ СЕТКА 40% НА 60% */
.application-split-grid {
  display: grid;
  grid-template-columns: 4fr 6fr; /* Строгие 40% и 60% */
  gap: 32px;
  align-items: stretch; /* ОДИНАКОВАЯ ВЫСОТА КОЛОНОК */
  position: relative;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   ЛЕВАЯ КОЛОНКА: ИНФОРМАТИВНЫЙ БЛОК (ЗАМЕНА КОНТАКТОВ)
   -------------------------------------------------------------------------- */
.app-info-card {
  position: relative;
  background: linear-gradient(155deg, #1E3A8A 0%, #141B33 100%);
  border: 1px solid rgba(167, 194, 240, 0.25);
  border-radius: var(--radius-tactical-lg);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 45px -10px rgba(20, 27, 51, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  height: 100%;
}

.app-info-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 24px;
}

.app-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.app-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(20, 27, 51, 0.55);
  border: 1px solid rgba(167, 194, 240, 0.18);
  border-radius: var(--radius-tactical-md);
  transition: all 0.25s ease;
}

.app-info-item:hover {
  background: rgba(30, 58, 138, 0.55);
  border-color: var(--color-red);
  transform: translateX(4px);
}

.app-info-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-tactical-sm);
  background: linear-gradient(135deg, #1F56C4 0%, #D53A3A 100%);
  border: 1px solid rgba(31, 86, 196, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-family-mono);
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(31, 86, 196, 0.25);
}

.app-info-texts {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-info-texts strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.app-info-texts span {
  font-size: 0.85rem;
  color: var(--color-blue-pale);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   ПРАВАЯ КОЛОНКА (60% ШИРИНЫ — СВЕТЛАЯ КАРТОЧКА ФОРМЫ)
   -------------------------------------------------------------------------- */

.application-form-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-tactical-lg);
  padding: 42px 38px;
  box-shadow: 0 25px 55px -12px rgba(15, 23, 60, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.form-header-box {
  margin-bottom: 24px;
}

.form-card-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-heading-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.form-card-note {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body-dark);
  line-height: 1.5;
}

.tactical-form-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
  justify-content: space-between;
}

.form-row-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field-label {
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.form-input-wrapper {
  position: relative;
  width: 100%;
}

/* Инпуты (Обновлены под синюю тему) */
.form-tactical-input {
  width: 100%;
  padding: 13px 16px;
  background: #F9FAFB;
  border: 1px solid rgba(31, 86, 196, 0.16);
  border-radius: var(--radius-tactical-md);
  color: var(--text-heading-dark);
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  font-weight: 600;
  outline: none;
  transition: all 0.25s ease;
}

.form-tactical-input::placeholder {
  color: #9AA6B8;
  font-weight: 400;
}

.form-tactical-input:focus {
  border-color: var(--color-red);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(213, 58, 58, 0.15);
}

/* Кастомный селект */
.custom-select-container {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  padding: 13px 16px;
  background: #F9FAFB;
  border: 1px solid rgba(31, 86, 196, 0.16);
  border-radius: var(--radius-tactical-md);
  color: var(--text-heading-dark);
  font-family: var(--font-family-sans);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  text-align: left;
  transition: all 0.25s ease;
}

.custom-select-trigger:focus,
.custom-select-container.is-open .custom-select-trigger {
  border-color: var(--color-red);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(213, 58, 58, 0.15);
}

.select-chevron-arrow {
  color: var(--color-blue);
  display: flex;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-select-container.is-open .select-chevron-arrow {
  transform: rotate(180deg);
  color: var(--color-red);
}

.custom-options-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid rgba(31, 86, 196, 0.15);
  border-radius: var(--radius-tactical-md);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  list-style: none;
  padding: 6px;
  margin: 0;
  z-index: 100;
  display: none;
  flex-direction: column;
  gap: 2px;
  animation: dropdownSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.custom-select-container.is-open .custom-options-dropdown {
  display: flex;
}

@keyframes dropdownSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.custom-option-item {
  padding: 10px 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-heading-dark);
  border-radius: var(--radius-tactical-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-option-item:hover,
.custom-option-item.highlighted {
  background: rgba(31, 86, 196, 0.08);
  color: var(--color-blue);
}

.custom-option-item.selected {
  background: linear-gradient(135deg, #1F56C4 0%, #D53A3A 100%);
  color: #FFFFFF;
  font-weight: 700;
}

/* Чекбокс согласия */
.form-consent-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin: 2px 0;
  user-select: none;
}

.form-consent-checkbox {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form-consent-custom-box {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-tactical-sm);
  background: #F9FAFB;
  border: 1.5px solid rgba(31, 86, 196, 0.25);
  flex-shrink: 0;
  margin-top: 1px;
  position: relative;
  transition: all 0.25s ease;
}

.form-consent-checkbox:checked + .form-consent-custom-box {
  background: var(--color-blue);
  border-color: var(--color-blue);
}

.form-consent-checkbox:checked + .form-consent-custom-box::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 900;
}

.form-consent-text {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-body-dark);
  line-height: 1.45;
}

/* Кнопка отправки */
.form-submit-btn {
  width: 100%;
  background: var(--gradient-cta-accent);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 800;
  padding: 16px 28px;
  border-radius: var(--radius-tactical-md);
  box-shadow: 0 10px 25px var(--glow-accent-btn);
  border: 1px solid rgba(255, 255, 255, 0.6);
  position: relative;
  overflow: hidden;
  margin-top: 6px;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(213, 58, 58, 0.45);
}

/* ==========================================================================
   АДАПТИВНОСТЬ СЕКЦИИ 8
   ========================================================================== */

@media (max-width: 1024px) {
  .application-split-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .application-heading-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  
  .application-heading-right {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .application-section {
    padding: 60px 0 75px;
  }
  
  .application-heading-box {
    margin-bottom: 36px;
  }

  .application-form-card,
  .app-info-card {
    padding: 26px 20px;
  }

  .form-row-dual {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}










/* ==========================================================================
   СЕКЦИЯ 9: FAQ (СВЕТЛЫЙ ФОН + СИНЕ-КРАСНАЯ ПАЛИТРА ВКЛАДОК)
   ========================================================================== */

.faq-section {
  position: relative;
  padding: 100px 0 115px;
  background-color: var(--bg-light-canvas);
  border-top: 1px solid var(--border-light-subtle);
  border-bottom: 1px solid var(--border-light-subtle);
  overflow: hidden;
}

/* Фоновая тактическая сетка (синяя) */
.faq-tech-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(31, 86, 196, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31, 86, 196, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

/* ШАПКА СЕКЦИИ: ЗАГОЛОВОК СЛЕВА, ТЕКСТ И КНОПКА СПРАВА */
.faq-heading-box {
  max-width: none;
  margin: 0 0 56px 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.faq-heading-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
  text-align: left;
}

.faq-heading-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  max-width: 480px;
  flex-shrink: 0;
}

.faq-heading-left .section-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(31, 86, 196, 0.1);
  border: 1px solid rgba(31, 86, 196, 0.25);
  border-radius: var(--radius-tactical-pill);
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-blue);
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}

.faq-heading-left .kicker-radar-indicator {
  width: 7px;
  height: 7px;
  background-color: var(--color-red);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-red);
}

.faq-section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--text-heading-dark);
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 0;
  text-align: left;
  width: 100%;
}

.faq-section-desc {
  font-size: 1.05rem;
  color: var(--text-body-dark);
  line-height: 1.6;
  text-align: right;
  margin: 0;
}

/* Кнопка в шапке справа */
.faq-heading-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-end;
  text-decoration: none;
  white-space: nowrap;
  font-family: var(--font-family-sans);
  font-weight: 800;
  font-size: 0.95rem;
  color: #FFFFFF;
  padding: 14px 28px;
  border-radius: var(--radius-tactical-md);
  background: var(--gradient-cta-accent);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 25px var(--glow-accent-btn);
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.faq-heading-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(213, 58, 58, 0.45);
  color: #FFFFFF;
}

/* СТЕК ВКЛАДОК */
.faq-accordion-stack {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}

/* КАРТОЧКА-ВКЛАДКА (ТЕМНО-СИНЯЯ ПАЛИТРА) */
.faq-accordion-item {
  position: relative;
  background: linear-gradient(155deg, #1E3A8A 0%, #141B33 100%);
  border: 1px solid rgba(167, 194, 240, 0.25);
  border-radius: var(--radius-tactical-md);
  box-shadow: 0 10px 28px -6px rgba(20, 27, 51, 0.25);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-item:hover {
  border-color: var(--color-red);
  box-shadow: 0 16px 36px -8px rgba(31, 86, 196, 0.35), 0 0 20px rgba(213, 58, 58, 0.2);
}

.faq-accordion-item[open] {
  border-color: var(--color-red);
  background: linear-gradient(155deg, #2344A3 0%, #18203D 100%);
  box-shadow: 0 20px 42px -10px rgba(20, 27, 51, 0.55), 0 0 24px rgba(213, 58, 58, 0.25);
}

/* Тонкая красно-синяя полоска сверху при открытии */
.faq-accordion-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-red) 0%, rgba(31, 86, 196, 0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-accordion-item[open]::before,
.faq-accordion-item:hover::before {
  opacity: 1;
}

/* ШАПКА ВОПРОСА */
.faq-accordion-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  outline: none;
}

.faq-accordion-summary::-webkit-details-marker {
  display: none;
}

.faq-question-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
  transition: color 0.25s ease;
}

/* ИНТЕРАКТИВНЫЙ ЗНАЧОК +/- */
.faq-toggle-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-tactical-sm);
  background: rgba(20, 27, 51, 0.85);
  border: 1px solid rgba(167, 194, 240, 0.3);
  color: var(--color-blue-light);
  font-family: var(--font-family-mono);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-item:hover .faq-toggle-icon {
  border-color: var(--color-red);
  color: var(--color-red);
  transform: scale(1.06);
}

.faq-accordion-item[open] .faq-toggle-icon {
  background: linear-gradient(135deg, #1F56C4 0%, #D53A3A 100%);
  border-color: transparent;
  color: #FFFFFF;
  transform: rotate(45deg);
}

/* ТЕКСТ ОТВЕТА */
.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-accordion-item[open] .faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.faq-answer-content {
  overflow: hidden;
  padding: 0 28px 24px 28px;
  font-size: 1.025rem;
  color: #D9E4FA;
  line-height: 1.65;
  border-top: 1px solid rgba(167, 194, 240, 0.15);
  margin-top: -4px;
  padding-top: 16px;
}

/* ==========================================================================
   АДАПТИВНОСТЬ СЕКЦИИ 9
   ========================================================================== */

@media (max-width: 768px) {
  .faq-heading-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .faq-heading-right {
    align-items: flex-start;
    max-width: 100%;
  }

  .faq-section-desc {
    text-align: left;
  }

  .faq-heading-cta {
    align-self: flex-start;
  }
}

@media (max-width: 640px) {
  .faq-section {
    padding: 60px 0 75px;
  }

  .faq-heading-box {
    margin-bottom: 36px;
  }

  .faq-accordion-summary {
    padding: 18px 20px;
    gap: 14px;
  }

  .faq-question-text {
    font-size: 1.025rem;
  }

  .faq-answer-content {
    padding: 14px 20px 20px 20px;
    font-size: 0.94rem;
  }
}






/* ==========================================================================
   ФУТЕР
   ========================================================================== */

.military-footer {
  position: relative;
  background:
    linear-gradient(180deg, rgba(23, 35, 61, 0.97) 0%, rgba(18, 28, 49, 0.99) 100%),
    url('https://static.vecteezy.com/system/resources/previews/051/259/033/non_2x/green-stylish-camouflage-military-pattern-free-photo.jpg');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  overflow: hidden;
}

.military-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(167, 194, 240, 0.06) 1.2px, transparent 1.2px),
    linear-gradient(to right, rgba(167, 194, 240, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(167, 194, 240, 0.03) 1px, transparent 1px);
  background-size: 32px 32px, 64px 64px, 64px 64px;
  pointer-events: none;
}

.footer-main-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr;
  gap: 48px;
  padding: 56px 0 44px;
}

/* Колонка 1: логотип + заголовок + подзаголовок */
.footer-brand-plate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(167, 194, 240, 0.35);
  border-radius: var(--radius-tactical-md);
  padding: 10px 18px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease;
}

.footer-brand-plate:hover {
  transform: translateY(-2px);
  border-color: var(--color-sand);
}

.footer-brand-plate img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.footer-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #FFFFFF;
  margin: 0 0 12px;
}

.footer-brand-subtitle {
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  max-width: 340px;
  margin: 0 0 22px;
}

.footer-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-family-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-sand);
  border: 1px solid rgba(167, 194, 240, 0.3);
  background: rgba(31, 86, 196, 0.18);
  padding: 6px 12px;
  border-radius: var(--radius-tactical-pill);
}

.footer-status-chip .status-pulse-beacon {
  background-color: var(--color-sand);
  box-shadow: 0 0 8px var(--color-sand);
}

/* Колонки 2 и 3 */
.footer-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-family-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-sand);
  margin: 6px 0 20px;
}

.footer-col-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(167, 194, 240, 0.4), transparent);
}

.footer-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-link-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.footer-link-list a::before {
  content: '▸';
  font-size: 0.7rem;
  color: var(--color-blue);
  transition: all 0.25s ease;
}

.footer-link-list a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-link-list a:hover::before { color: var(--color-red); }

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  line-height: 1.5;
}

.footer-contact-line a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
}

.footer-contact-line a:hover { color: var(--color-sand); }

.footer-contact-line .topbar-icon { color: var(--color-blue); margin-top: 2px; }

/* Нижняя служебная строка */
.footer-bottom-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(167, 194, 240, 0.15);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-bar a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom-bar a:hover { color: var(--color-sand); }

.footer-sys-id { font-family: var(--font-family-mono); letter-spacing: 0.06em; }

.footer-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--color-sand) !important;
}

.footer-to-top:hover .to-top-arrow { transform: translateY(-3px); }

.to-top-arrow { transition: transform 0.25s ease; }

/* Адаптив футера */
@media (max-width: 1024px) {
  .footer-main-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-brand-subtitle { max-width: 480px; }
}

@media (max-width: 640px) {
  .footer-main-grid { grid-template-columns: 1fr; gap: 32px; padding: 44px 0 36px; }
  .footer-bottom-bar { flex-direction: column; text-align: center; gap: 10px; }
}





/* Бесплатные консультационные услуги */
.footer-consultation-block {
  position: relative;
  z-index: 2;
  margin: 0 0 24px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(167, 194, 240, 0.22);
  border-left: 3px solid var(--color-red);
  border-radius: var(--radius-tactical-md);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.footer-consultation-label {
  margin-bottom: 6px;
  font-family: var(--font-family-mono);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-sand);
}

.footer-consultation-title {
  max-width: 900px;
  margin-bottom: 16px;
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.footer-consultation-provider {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.775rem;
  line-height: 1.55;
}

.footer-consultation-provider-label {
  margin-right: 6px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-consultation-provider strong {
  color: #FFFFFF;
  font-weight: 800;
}

.footer-consultation-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  line-height: 1.5;
}


