:root {
  --bg: #FFFFFF;
  --panel: rgba(255, 255, 255, 0.88);
  --panel-solid: #F7F9FC;
  --accent: #4275B2;
  --accent2: #5FA8FF;
  --text: #0f4fa8;
  --text_menu: #fff;
  --muted: #6D7786;
  --muted2: #fff;
  --line: rgba(30, 99, 181, 0.12);
  --shadow: 0 16px 45px rgba(20, 60, 120, 0.12);
  --radius: 20px;
  --max: 1600px;
  --text-gradient: linear-gradient(180deg, #0F4FA8 0%, #3D8CF2 100%);
  --hero-overlay: linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.65) 35%, rgba(255,255,255,0) 75%);
  --button-gradient: linear-gradient(135deg, #1E63B5 0%, #3A8EF0 100%);
  --card-gradient: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(245,248,252,.96) 100%);
}

* {
  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(30, 99, 181, 0.04), transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(30, 99, 181, 0.03), transparent 40%);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.header {
position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  /* Плавный градиент сверху вниз для защиты меню от светлого неба */
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
  border-bottom: none;
  transition: all 0.3s ease;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

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

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

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 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; }
}

section {
  padding: 120px 0;
  position: relative;
  background: transparent;
}

.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(30, 99, 181, 0.3);
  box-shadow: var(--shadow);
}

.services-grid, .why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

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

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 1001;
  transition: width 0.1s ease;
}

.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.04;
  z-index: 999;
}

.header {
  background: rgba(255, 255, 255, 0.0);
  backdrop-filter: blur(0px);
  border-bottom: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

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

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

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

.menu a {
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  gap: 8px;
  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: var(--button-gradient);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.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 var(--line);
  background: var(--button-gradient);
  color: #fff;
  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(30, 99, 181, 0.25);
}

.cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 99, 181, 0.35);
  border-color: rgba(30, 99, 181, 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 {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 0 80px;
  background: url('../images/bckground1.jpg') no-repeat center center / cover;
}

.hero-overlay-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Градиент от темного слева-сверху к полупрозрачному справа-снизу */
  background: linear-gradient(135deg, rgba(11, 14, 20, 0.85) 0%, rgba(11, 14, 20, 0.4) 50%, rgba(11, 14, 20, 0.1) 100%);
}

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

.hero-title .genesis-text {
  display: block;
  background: var(--accent2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 30px rgba(30, 99, 181, 0.3));
  text-shadow: 0 7px 14px rgba(0, 0, 0, 0.25);
}

.hero-title .avia-text {
  display: block;
  font-weight: 300;
  font-size: clamp(16px, 3vw, 28px);
  letter-spacing: 0.4em;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.hero-lead {
  max-width: 700px;
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.stat-value {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.stat-value::after {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent2);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent2);
  box-shadow: 0 0 12px rgba(0, 243, 255, 0.8);
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

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

.section {
  padding: 100px 0;
  position: relative;
  background: #fff;
}

.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 var(--line);
  background: rgba(30, 99, 181, 0.06);
  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;
  color: var(--text);
}

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

.service-card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--card-gradient);
  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(30, 99, 181, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--button-gradient);
  display: grid;
  place-items: center;
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(30, 99, 181, 0.25);
  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;
  color: var(--text);
}

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

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease-out;
}

.service-badge:hover {
  box-shadow: 0 8px 30px rgba(30, 99, 181, 0.15);
  border: 1px solid rgba(30, 99, 181, 0.3);
  background: rgba(30, 99, 181, 0.06);
}

.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(30, 99, 181, 0.08), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s ease-out;
}

.service-badge:hover::before {
  transform: translateX(100%);
}

.service-badge i {
  color: var(--accent);
  font-size: 16px;
  z-index: 1;
  transition: color 0.3s ease-out;
}

.service-badge span {
  z-index: 1;
  transition: color 0.3s ease-out;
}

.why-us {
  position: relative;
  /*background: radial-gradient(circle at 10% 10%, rgba(30, 99, 181, 0.04), transparent 40%);*/
  background: radial-gradient(circle at 10% 10%, rgb(255 255 255), #ffffff 100%);
}

.why-grid {
  gap: 30px;
  margin-top: 50px;
}

.why-card {
  position: relative;
  padding: 2px;
  border-radius: var(--radius);
  background: var(--button-gradient);
  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(--card-gradient);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

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

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

.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(30, 99, 181, 0.04);
  pointer-events: none;
  transition: all 0.3s ease;
}

.why-card:hover .why-number {
  color: rgba(30, 99, 181, 0.08);
  transform: scale(1.1);
}

.section-gallery {
  padding: 0;
  overflow: hidden;
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 350px 350px;
  gap: 0;
  width: 100%;
}

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

.gallery-item.large {
  grid-row: span 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(30, 99, 181, 0.6) 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;
}

.faq-section {
  background: var(--bg);
  padding: 100px 0;
}

.faq-grid {
  max-width: 800px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  border-bottom-color: var(--accent);
  box-shadow: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: all 0.3s ease;
  gap: 20px;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-question i {
  font-size: 18px;
  color: var(--accent);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-question {
  color: var(--accent);
}

.faq-item.active {
  border-bottom-color: var(--accent);
  border-bottom-width: 2px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 0 24px 0;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--line);
  background: var(--panel-solid);
}

.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(30, 99, 181, 0.06);
  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: #fff;
  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 var(--line);
  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;
}

.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;
}

.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(--muted2);
  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);
  }
}

.header.scrolled {
  /* Тот самый синий градиент, который вы хотели */
  background: linear-gradient(to bottom, rgba(6,57,153,0.8) 0%, rgba(6,57,153,0.32) 100%) !important;
  
  /* Размытие заднего фона, чтобы текст под шапкой не мешал чтению меню */
  backdrop-filter: blur(12px) !important; 
  -webkit-backdrop-filter: blur(12px) !important;
  
  /* Убираем лишние границы, добавляем легкую тень для объема */
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
  
  transition: all 0.4s ease !important;
}

@media (max-width: 1024px) {
  .menu {
    display: none;
  }
  .hero-title {
    text-align: center;
  }
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@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;
  }
  .menu {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero-stats {
    flex-direction: column;
    align-items: stretch;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .career-cta {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--button-gradient);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(30, 99, 181, 0.25);
}
  
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    text-align: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 400px 250px 250px;
  }
  .gallery-item.large {
    grid-row: span 1;
  }
  .faq-question {
    font-size: 14px;
    padding: 16px 0;
  }
  .faq-answer p {
    font-size: 14px;
  }
  .faq-item.active .faq-answer {
    padding: 0 0 18px 0;
  }
  .hero-stats-container {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }




}

@media (max-width: 480px) {
  .hero-title {
    font-size: 40px;
  }
  .section-title {
    font-size: 28px;
  }
}
.wrap {
  width: min(var(--max), 100vw);
  margin: 0 auto;
}

/* ===== ОВЕРЛЕЙ ===== */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: block !important;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ===== БУРГЕР В КРЕСТИК ===== */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== МОБИЛЬНОЕ МЕНЮ ===== */
@media (max-width: 1024px) {
  .menu2 {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    padding: 80px 30px 40px;
    gap: 16px;
    transition: right 0.35s ease;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    overflow-y: auto;
    align-items: flex-start;
    z-index: 1000;
  }

  .menu2.open {
    right: 0;
  }

  .menu2 a {
    font-size: 16px;
    padding: 12px 0;
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: #0f4fa8;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .menu2 a:last-child {
    border-bottom: none;
  }

  .menu2 a i {
    width: 24px;
    text-align: center;
    color: #1E63B5;
  }

  .menu2 a:hover {
    color: #1E63B5;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .cta-pill {
    display: none;
  }
}

/* Кнопка переключения языка */
.lang-btn {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  margin-right: 15px;
}

.lang-btn:hover {
  background: var(--button-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(30, 99, 181, 0.2);
}

/* Адаптация для мобилок */
@media (max-width: 1024px) {
  .lang-btn {
    margin-right: 60px; /* Чтобы не наезжало на бургер */
    padding: 6px 10px;
  }
}

.clients-section {
   padding: 100px 0;
  background-color: #ffffff; /* Белый фон как на макете */
  font-family: 'Inter', sans-serif;
}

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

.clients-title {
  font-size: 32px;
  font-weight: 700;
  color: #173b75; /* Темно-синий цвет заголовка */
  margin-bottom: 20px;
}

.clients-desc {
  max-width: 700px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: #7b8593; /* Серо-голубой оттенок текста */
}

/* Сетка 5 колонок */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 30px; /* Отступы между логотипами */
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
}

/* Контейнер для каждого логотипа */
.client-logo {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.client-logo:hover {
  transform: scale(1.05); /* Легкое увеличение при наведении (по желанию) */
}

/* Настройки самих изображений */
.client-logo img {
  max-width: 130px;
  max-height: 100%;
  object-fit: contain;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .clients-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
