:root {
  --bg: #07080a;
  --panel: rgba(15, 17, 21, 0.7); /* Сделали панели полупрозрачными */
  --text: #f3f5f7;
  --muted: #b7bcc3;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #bf9c57;
  --accent2: #e5c17e;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --radius: 20px;
  --max: 1200px;
}

/* 1. Глобальные настройки и единый фон */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  /* Фиксированный сложный градиент для создания глубины */
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(191, 156, 87, 0.12), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(191, 156, 87, 0.08), transparent 40%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

canvas#space-canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1; /* Звезды всегда на самом заднем плане */
  pointer-events: none;
}

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

/* 2. Навигация и хедер */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  backdrop-filter: blur(15px);
  background: rgba(7, 8, 10, 0.8);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  opacity: 0.8;
}

.menu a:hover {
  color: var(--accent);
  opacity: 1;
}

/* 3. Градиентный текст */
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #fff 50%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

/* 4. Секции (убираем наложение) */
section {
  padding: 120px 0;
  position: relative;
  background: transparent; /* Секции «дышат» */
}

/* 5. Карточки с эффектом стекла */
.service-card, .why-card-inner {
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(191, 156, 87, 0.4);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

/* 6. Адаптивная сетка */
.services-grid, .why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

/* 7. Герой-секция */


.hero-title {
  font-size: clamp(48px, 8vw, 90px);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 24px;
}

/* 8. Адаптивность под мобильные устройства */
@media (max-width: 1024px) {
  .menu {
    display: none; /* Для мобильного меню нужно доработать скрипт вызова */
  }
  
  .hero-title {
    text-align: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }

  .services-grid, .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .brand b {
    display: none; /* Скрываем длинный текст в лого на мобилках */
  }
}

/* Индикатор прогресса сверху */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 1001;
  transition: width 0.1s ease;
}

/* Улучшение отображения карты */
#cities {
  background: radial-gradient(circle at center, rgba(191, 156, 87, 0.05) 0%, transparent 70%);
}

.map-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.2);
}
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  /* Фиксированный фоновый градиент, который не движется при скролле */
  background: 
    radial-gradient(circle at 70% 20%, rgba(191, 156, 87, 0.08), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.03), transparent 50%),
    var(--bg);
  background-attachment: fixed; 
  color: var(--text);
  overflow-x: hidden;
}

/* Убираем резкие границы между секциями */
section {
  position: relative;
  padding: 100px 0;
  background: transparent; /* Секции должны быть прозрачными */
}

/* Добавляем мягкое свечение между блоками (опционально) */
section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

html {
  scroll-behavior: smooth;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.08;
  z-index: 999;
}

.progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  z-index: 1000;
  box-shadow: 0 0 18px rgba(255, 212, 0, 0.35);
  transition: width 0.1s ease;
}

#scrollToTop {
    position: relative !important;
    z-index: 9999 !important; /* Выводит логотип на самый передний план */
    cursor: pointer !important;
}

.wrap {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

/* ===== MODERN HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(7, 8, 10, 0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  animation: slideDown 0.6s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #ffb800);
  display: grid;
  place-items: center;
  font-size: 20px;
  color: #000;
  box-shadow: 0 8px 24px rgba(255, 212, 0, 0.3);
  animation: float 3s ease-in-out infinite;
  position: relative !important;
  z-index: 10000 !important;
  pointer-events: auto !important; /* Гарантирует, что клики разрешены */
}

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

.brand-text b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.menu a {
  color: rgba(243, 245, 247, 0.85);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.menu a i {
  font-size: 14px;
  color: var(--accent);
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.menu a:hover {
  color: var(--text);
}

.menu a:hover::after {
  transform: scaleX(1);
}

.cta-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 212, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.15), rgba(255, 212, 0, 0.05));
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 212, 0, 0.15);
}

.cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 212, 0, 0.25);
  border-color: rgba(255, 212, 0, 0.5);
}

.cta-pill .icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  display: grid;
  place-items: center;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(255, 212, 0, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ===== HERO WITH SPACE ===== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 140px 0 80px;
  background: url("../images/bckground1.webp");
  background-repeat: no-repeat;
  background-size:cover;
  background-position: center;
}

#spaceCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(7, 8, 10, 0.6) 100%);
  background: url("i.jpg");
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(255, 212, 0, 0);
  }
}

.hero-badge i {
  font-size: 16px;
  animation: spin 10s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-title {
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.9;
  margin: 0 0 120px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.gradient-text {
  background: linear-gradient(135deg, #bf9c57 0%, #ffffff 50%, #bf9c57 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  animation: shine 5s linear infinite;
}

@keyframes shine {
  to { background-position: 200% center; }
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.outline-text {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.6);
  text-stroke: 2px rgba(255, 255, 255, 0.6);
  filter: drop-shadow(0 0 40px rgba(255, 212, 0, 0.3));
}

.hero-lead {
  max-width: 700px;
  margin: 0 auto 32px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(243, 245, 247, 0.8);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 212, 0, 0.3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 212, 0, 0.05));
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--accent);
}

.stat-info b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat-info span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255, 212, 0, 0.2), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ffb800);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(255, 212, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(255, 212, 0, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 212, 0, 0.3);
  transform: translateY(-3px);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  margin: 0 auto 10px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 8px;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

.scroll-indicator span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===== SECTIONS ===== */
.section {
  padding: 100px 0;
  position: relative;
}


.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(400px 300px at var(--x, 50%) var(--y, 50%), rgba(255, 212, 0, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 212, 0, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #ffb800);
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #000;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(255, 212, 0, 0.3);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: rotateY(360deg) scale(1.1);
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.service-card p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
} 

.service-badge {
  display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 20px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.12);
            background: rgba(0, 0, 0, 0.3);
            font-size: 14px;
            color: rgba(243, 245, 247, 0.9);
            cursor: pointer;
            user-select: none;
            position: relative;
            overflow: hidden;
            
            /* Анимации как в примере */
            backdrop-filter: blur(10px);
            background: linear-gradient(to top right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            
            /* Анимации при наведении */
            transition: all 0.3s ease-out;
        }
        
        /* Эффект при наведении */
        .service-badge:hover {
            box-shadow: 0 8px 30px rgba(255, 184, 0, 0.3);
            border: 1px solid rgba(243, 245, 247, 0.4);
            background: linear-gradient(to top right, rgba(243, 245, 247, 0.1), rgba(0, 0, 0, 0.3));
        }
        
        /* Эффект при нажатии */
        .service-badge:active {
            transform: scale(0.95);
            transition: all 0.1s ease-out;
        }
        
        /* Анимированная полоска (как в примере) */
        .service-badge::before {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                90deg,
                transparent,
                rgba(243, 245, 247, 0.2),
                transparent
            );
            transform: translateX(-100%);
            transition: transform 0.7s ease-out;
        }
        
        .service-badge:hover::before {
            transform: translateX(100%);
        }
        
        /* Иконка */
        .service-badge i {
            color: #ffb800;
            font-size: 16px;
            z-index: 1;
            transition: color 0.3s ease-out;
        }
        
        .service-badge:hover i {
            color: #ffb800;
        }
        
        /* Текст */
        .service-badge span {
            z-index: 1;
            transition: color 0.3s ease-out;
        }
        
        .service-badge:hover span {
            color: rgba(255, 255, 255, 1);
        }
        

/* ===== CITIES ===== */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.city-card {
  position: relative;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: pointer;
}

.city-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 212, 0, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.city-card:hover::before {
  opacity: 1;
}

.city-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 212, 0, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.city-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 212, 0, 0.05));
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--accent);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.city-card:hover .city-icon {
  transform: scale(1.15) rotate(5deg);
}

.city-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

.city-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 0, 0.3), transparent 70%);
  animation: cityPulse 3s ease-in-out infinite;
  opacity: 0;
}

.city-card:hover .city-pulse {
  opacity: 1;
}

@keyframes cityPulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.5;
  }
}

/* ===== CAREER ROADMAP ===== */
.career-roadmap {
  position: relative;
  max-width: 900px;
  margin: 60px auto;
  padding: 40px 0;
}

.roadmap-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  transform: translateX(-50%);
  opacity: 0.3;
}

.roadmap-step {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpStep 0.8s ease forwards;
}

.roadmap-step:nth-child(1) {
  animation-delay: 0.1s;
}
.roadmap-step:nth-child(2) {
  animation-delay: 0.2s;
}
.roadmap-step:nth-child(3) {
  animation-delay: 0.3s;
}
.roadmap-step:nth-child(4) {
  animation-delay: 0.4s;
}
.roadmap-step:nth-child(5) {
  animation-delay: 0.5s;
}

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

.roadmap-step[data-step="1"] .step-content,
.roadmap-step[data-step="3"] .step-content,
.roadmap-step[data-step="5"] .step-content {
  grid-column: 1;
  text-align: right;
}

.roadmap-step[data-step="2"] .step-content,
.roadmap-step[data-step="4"] .step-content {
  grid-column: 3;
  text-align: left;
}

.step-number {
  grid-column: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ffb800);
  color: #000;
  font-size: 20px;
  font-weight: 900;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 8px rgba(255, 212, 0, 0.1), 0 8px 24px rgba(255, 212, 0, 0.3);
  position: relative;
  z-index: 2;
  animation: pulse 2s ease-in-out infinite;
}

.step-content {
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.step-content:hover {
  transform: scale(1.03);
  border-color: rgba(255, 212, 0, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 212, 0, 0.05));
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 16px;
}

.roadmap-step[data-step="1"] .step-icon,
.roadmap-step[data-step="3"] .step-icon,
.roadmap-step[data-step="5"] .step-icon {
  margin-left: auto;
}

.step-content h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.step-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.career-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 212, 0, 0.3);
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.1), rgba(255, 212, 0, 0.03));
  backdrop-filter: blur(10px);
  margin-top: 60px;
}

.career-cta-content h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
}

.career-cta-content p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-form-wrapper {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.form-group label i {
  color: var(--accent);
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 212, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.form-note i {
  color: var(--accent);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateX(4px);
  border-color: rgba(255, 212, 0, 0.3);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 212, 0, 0.05));
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--accent);
  margin-bottom: 12px;
}

.info-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.2), rgba(255, 212, 0, 0.05));
  display: grid;
  place-items: center;
  font-size: 18px;
  color: var(--accent);
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-4px) rotate(5deg);
  background: linear-gradient(135deg, var(--accent), #ffb800);
  color: #000;
  box-shadow: 0 8px 24px rgba(255, 212, 0, 0.3);
}

/* ===== MODERN FOOTER ===== */
.footer {
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 320px;
}

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

.footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-links h4 {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-links a {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  font-size: 16px;
  color: var(--accent);
  transition: all 0.3s ease;
  margin: 0;
  padding: 0;
}

.footer-social a:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-3px);
  padding: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-badges span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.footer-badges i {
  color: var(--accent);
  font-size: 14px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .roadmap-step {
    grid-template-columns: auto 1fr;
    gap: 24px;
  }

  .roadmap-step[data-step] .step-content {
    grid-column: 2 !important;
    text-align: left !important;
  }

  .step-number {
    grid-column: 1;
  }

  .roadmap-line {
    left: 32px;
  }

  .step-icon {
    margin-left: 0 !important;
  }

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

@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-stats {
    flex-direction: column;
    align-items: stretch;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .cities-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .career-cta {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 40px;
  }

  .section-title {
    font-size: 28px;
  }

  .cities-grid {
    grid-template-columns: 1fr;
  }
}
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px; /* Установи нужную ширину контейнера */
  height: auto;
}

.main-logo {
  max-width: 100%;  /* Картинка не выйдет за пределы контейнера */
  height: auto;     /* Сохранит пропорции */
  display: block;
  object-fit: contain; /* Если задашь фиксированную высоту, картинка не растянется */
}



























/* Gallery Styles */
.section-gallery {
  padding: 0; /* Убираем отступы секции, чтобы было на всю ширину */
  overflow: hidden;
  background: var(--dark-bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Левая часть в 2 раза шире правой */
  grid-template-rows: 350px 350px; /* Фиксированная высота рядов */
  gap: 0; /* Стыковка в упор */
  width: 100%;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item.large {
  grid-row: span 2; /* Большая картинка занимает 2 ряда по высоте */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Картинка заполняет всё пространство без искажения */
  display: block;
  transition: transform 0.6s ease;
}

/* Эффект при наведении */
.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr; /* На телефонах всё в одну колонку */
    grid-template-rows: 400px 250px 250px;
  }
  .gallery-item.large {
    grid-row: span 1;
  }
}



















/* Why Hero Section Styles */
.section-why-hero {
  position: relative;
  padding: 120px 0;
  color: #fff;
  overflow: hidden;
  text-align: center; /* Центрируем весь текст в секции */
}

.why-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  z-index: 1;
  filter: grayscale(30%); /* Немного приглушим цвета фона */
}

.why-overlay {
  position: absolute;
  inset: 0;
  /* Градиентное затемнение в стиле сайта (темно-синий в черный) */
  background: linear-gradient(to bottom, rgba(10, 12, 24, 0.85), rgba(0, 0, 0, 0.95));
  z-index: 2;
}

.content-layer {
  position: relative;
  z-index: 3;
}

/* Заголовок секции */
.section-why-hero .section-title {
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: #fff;
}

/* Сетка из 3 элементов */
.why-hero-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 70px;
}

.why-hero-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

/* Иконки с фирменным свечением */
.icon-glow {
  font-size: 3.5rem;
  margin-bottom: 25px;
  /* Градиентный цвет для иконки */
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Эффект свечения */
  filter: drop-shadow(0 0 15px rgba(0, 198, 255, 0.4));
}

.why-hero-item h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.why-hero-item p {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  max-width: 320px; /* Ограничиваем ширину текста для читаемости, как на примере */
  margin: 0 auto;
}

/* Контейнер для кнопки */
.cta-container {
  margin-top: 40px;
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* Адаптивность для мобильных */
@media (max-width: 900px) {
  .why-hero-grid {
    grid-template-columns: 1fr; /* На планшетах и телефонах в одну колонку */
    gap: 50px;
  }

  .section-why-hero .section-title {
    font-size: 2rem;
  }
}





































.map-section {
  padding: 80px 0;
  background: transparent; /* Убираем фон секции */
}

.map-container {
  position: relative;
  width: 100%;
  /* Убрали фон, границы и тени, чтобы была только картинка */
  overflow: visible; 
}

.map-base-img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.8); /* Можно подрегулировать яркость самой картинки */
  mix-blend-mode: lighten; /* Если фон картинки черный, она станет прозрачной на темном фоне */
}

.map-overlay-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 2;
}

/* Тонкий бегущий пунктир */
.map-link-line {
  fill: none;
  stroke-width: 0.12; /* Сделали уже */
  stroke-dasharray: 0.5, 0.5; /* Короткие точки */
  animation: dashRun 10s linear infinite;
  pointer-events: none;
}

.map-link-line.status-possible { stroke: #2ecc71; opacity: 0.8; }
.map-link-line.status-impossible { stroke: #e74c3c; opacity: 0.4; }

@keyframes dashRun {
  from { stroke-dashoffset: 20; }
  to { stroke-dashoffset: 0; }
}

/* Точки городов */
.city-node { cursor: pointer; }
.city-dot { fill: #fff; transition: all 0.3s; }
.city-node:hover .city-dot { fill: var(--accent); r: 0.7; }

/* Тултип */
.map-tooltip {
  position: absolute;
  padding: 6px 12px;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(5px);
  border-left: 2px solid var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.2s ease-out;
  z-index: 20;
  white-space: nowrap;
}
.map-tooltip.active {
  opacity: 1;
  transform: translateY(0);
}







/* ===== WHY US SECTION ===== */
.why-us {
  position: relative;
  background: radial-gradient(circle at 10% 10%, rgba(191, 156, 87, 0.05), transparent 40%);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  position: relative;
  padding: 2px; /* Для эффекта градиентной рамки */
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.why-card-inner {
  height: 100%;
  padding: 40px 30px;
  border-radius: calc(var(--radius) - 2px);
  background: var(--panel);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.why-card:hover .why-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--accent);
  color: #000;
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(191, 156, 87, 0.1);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 24px;
  transition: all 0.3s ease;
  border: 1px solid rgba(191, 156, 87, 0.3);
}

.why-card h3 {
  font-size: 20px;
  margin: 0 0 15px;
  color: var(--text);
  font-weight: 700;
}

.why-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.why-number {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 80px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  transition: all 0.3s ease;
}

.why-card:hover .why-number {
  color: rgba(191, 156, 87, 0.07);
  transform: scale(1.1);
}

/* Исправление градиентного текста */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), #fff, var(--accent2));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--accent); /* Запасной вариант */
  display: block;
}

/* ===== АДАПТИВНОСТЬ (Media Queries) ===== */

/* Планшеты и смартфоны */
@media (max-width: 1024px) {
  .menu {
    display: none; /* Скрываем обычное меню */
  }

  .hamburger {
    display: flex; /* Показываем гамбургер */
  }

  .cta-pill {
    display: none; /* Скрываем CTA-кнопку вместе с меню */
  }

  /* Hamburger поверх меню */
  .hamburger {
    position: relative;
    z-index: 101;
  }

  /* Стиль для активного мобильного меню */
  .menu.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    padding: 100px 20px;
    z-index: 100;
    gap: 20px;
  }

  .hero-title {
    font-size: clamp(40px, 10vw, 60px);
  }
}

/* Смартфоны */
@media (max-width: 768px) {
  .hero {
    padding: 100px 0 40px;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }

  .stat-card {
    width: 100%;
    max-width: 300px;
  }

  .services-grid {
    grid-template-columns: 1fr; /* Одна колонка на мобильных */
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section-title {
    font-size: 28px;
  }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
  .brand-text b {
    font-size: 13px;
  }

  .logo-icon {
    width: 40px;
    height: 40px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 20px;
  }
}




/* Основной контейнер заголовка */
.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Или center, если хотите по центру */
  gap: 5px;
}

/* Стилизация GENESIS */
.genesis-animate {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(50px, 10vw, 100px);
  letter-spacing: -0.02em;
  line-height: 0.9;
  
  /* Золотой градиент с переливом */
  background: linear-gradient(
    90deg, 
    #bf9c57 0%, 
    #f3e2bc 25%, 
    #bf9c57 50%, 
    #f3e2bc 75%, 
    #bf9c57 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* Анимации */
  animation: 
    glow-pulse 4s ease-in-out infinite alternate,
    shine-gold 6s linear infinite,
    entrance-blur 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Стилизация AVIA GROUP (Сохраняем ваш стиль) */
.avia-style {
  font-family: 'Inter', sans-serif;
  font-weight: 300; /* Тонкое начертание */
  font-size: clamp(20px, 4vw, 42px);
  letter-spacing: 0.55em; /* Широкий межбуквенный интервал */
  color: var(--text);
  opacity: 0; /* Для анимации появления */
  text-transform: uppercase;
  margin-left: 5px;
  
  animation: entrance-simple 1s ease-out 0.6s forwards;
}

/* --- АНИМАЦИИ --- */

/* Плавный перелив золота */
@keyframes shine-gold {
  to { background-position: 200% center; }
}

/* Мягкое свечение букв */
@keyframes glow-pulse {
  from { filter: drop-shadow(0 0 5px rgba(191, 156, 87, 0.2)); }
  to { filter: drop-shadow(0 0 20px rgba(191, 156, 87, 0.5)); }
}

/* Эффектное появление GENESIS (из блюра) */
@keyframes entrance-blur {
  0% {
    opacity: 0;
    transform: translateX(-50px);
    filter: blur(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
  }
}

/* Простое проявление AVIA GROUP с задержкой */
@keyframes entrance-simple {
  0% {
    opacity: 0;
    letter-spacing: 1em; /* Буквы "съезжаются" */
  }
  100% {
    opacity: 0.8;
    letter-spacing: 0.55em;
  }
}

/* Адаптив для центрирования на мобилках */
@media (max-width: 768px) {
  .hero-title {
    align-items: center;
    text-align: center;
  }
  .avia-style {
    letter-spacing: 0.3em;
    margin-left: 0;
  }
}


/* Общие настройки для Hero */
.hero-content {
  max-width: 900px;
  padding-top: 60px;
}

/* ЗАГОЛОВОК: Эффект литого золота с глубоким свечением */
.genesis-text {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(60px, 12vw, 120px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: #fff;
  background: linear-gradient(180deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(191, 156, 87, 0.2));
  margin-bottom: 5px;
}

.avia-text {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: clamp(24px, 4.5vw, 48px);
  letter-spacing: 0.6em; /* Фирменный широкий стиль */
  color: var(--text);
  text-transform: uppercase;
  opacity: 0.9;
  margin-left: 8px;
}

/* ЛИД-ТЕКСТ: Строгий стиль с акцентом */
.hero-lead {
  margin: 40px 0;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  color: var(--muted);
  max-width: 650px;
  position: relative;
  padding-left: 30px;
}

.hero-lead::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

.hero-lead span {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-top: 10px;
}

/* СТАТИСТИКА: Минимализм вместо громоздких карточек */
.hero-stats-container {
  display: flex;
  gap: 60px;
  margin-top: 60px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.stat-item {
  position: relative;
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  font-family: 'Inter', sans-serif;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Маленькая светящаяся точка рядом с цифрой */
.stat-value::after {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 500;
}

/* АНИМАЦИИ: Плавное проявление без "прыжков" */
.genesis-text, .avia-text, .hero-lead, .stat-item {
  animation: smoothAppear 1.5s ease-out forwards;
}

.avia-text { animation-delay: 0.3s; }
.hero-lead { animation-delay: 0.6s; }
.stat-item:nth-child(1) { animation-delay: 0.9s; }
.stat-item:nth-child(2) { animation-delay: 1.1s; }
.stat-item:nth-child(3) { animation-delay: 1.3s; }

@keyframes smoothAppear {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Адаптив */
@media (max-width: 768px) {
  .hero-stats-container {
    flex-direction: column;
    gap: 30px;
  }
  .avia-text {
    letter-spacing: 0.3em;
  }
}





