/* === Подключение Montserrat Light === */
@font-face {
  font-family: 'Montserrat Light';
  src: url('fonts/Montserrat-Light.woff2') format('woff2'),
       url('fonts/Montserrat-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Druk Cyr';
  src: url('/fonts/DrukCyr-Regular.woff2') format('woff2'),
       url('/fonts/DrukCyr-Regular.woff') format('woff'),
       url('/fonts/DrukCyr-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Druk Cyr';
  src: url('/fonts/DrukCyr-Bold.woff2') format('woff2'),
       url('/fonts/DrukCyr-Bold.woff') format('woff'),
       url('/fonts/DrukCyr-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}



body {
  margin: 0;
  background-color: black;
  font-family: 'Montserrat', sans-serif;
}

/* === Видео фон === */
.bg {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

@media (max-width: 768px) {
  section.bg {
    height: 80vh !important; /* делаем секцию в половину экрана */
    overflow: hidden; /* чтобы ничего не вылезало */
  }

  .bg video {
    object-position: 5% center;
    height: 100%; /* подгоняем под секцию */
  }
}





/* === Верхнє меню === */
header {
    position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
  margin: 20px;
  border: 2px solid rgba(0, 255, 0, 0.6);
  border-radius: 35px;
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.6), inset 0 0 15px rgba(0, 255, 0, 0.6);
  position: relative;
  backdrop-filter: blur(8px);
}

.logo img {
  width: 55px;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.logo:hover img {
  transform: scale(1.1);
}
.nav-links {
  display: flex;
  gap: 40px;
  transition: 0.4s ease;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: rgba(0, 255, 0, 0.6);
  text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

/* === Правая секция (кнопка + бургер) === */
.right-section {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* === Кнопка === */
.contact-btn {
  background-color: #398800;
  color: #ffffff;
  font-weight: 700;
  padding: 10px 28px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px #00ff66;
}

.contact-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00ff66;
}

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

/* === Адаптив === */
@media (max-width: 768px) {
  header {
    padding: 15px 25px;
  }

 .nav-links {
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  border-radius: 0 0 16px 16px;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  opacity: 0;
  transform: translateY(-20px);
  pointer-events: none;
  transition: 0.4s ease;
}

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

  .nav-links a {
    font-size: 18px;
    padding: 10px 0;
  }

  .contact-btn {
    font-size: 14px;
    padding: 8px 20px;
  }

}

/* === Мягкое свечение меню === */
@keyframes glow {
  0% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 10px rgba(0, 255, 0, 0.3); }
  50% { box-shadow: 0 0 40px rgba(0, 255, 0, 0.6), inset 0 0 25px rgba(0, 255, 0, 0.4); }
  100% { box-shadow: 0 0 20px rgba(0, 255, 0, 0.3), inset 0 0 10px rgba(0, 255, 0, 0.3); }
}

header {
  animation: glow 4s infinite ease-in-out;
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 100px 0px;
}

.hero h1 {
  font-family: 'Druk Cyr', sans-serif;
  font-size: clamp(62px, 14vw,  130px);
  font-weight: 800;
  letter-spacing: 2px; /* уменьшил с 3px, чтобы не ломало перенос */
  line-height: 1.1;
  text-align: center;
  word-break: break-word;       /* перенос слова */
  overflow-wrap: break-word;    /* перенос при необходимости */
  max-width: 100%;              /* чтобы не выходил за экран */
  box-sizing: border-box;
}

.hero p {
  margin-top: 0;
  font-size: 20px;
  font-weight: 400;
  color: #ccc;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

@media (max-width: 410px) {
  .hero h1 {
    font-size: clamp(30px, 12vw, 65px);
    letter-spacing: 1px;   /* уменьшаем для маленьких экранов */
    line-height: 1.2;
  }

  .hero p {
    font-size: clamp(14px, 4vw, 16px);
    margin-top: 8px;
  }
}

/* === Стрелка вниз вместо бургера === */
.arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

.arrow span {
  position: relative;
  width: 14px;
  height: 14px;
  border-left: 3px solid #00ff66;
  border-bottom: 3px solid #00ff66;
  transform: rotate(-45deg);
  transition: 0.3s;
  box-shadow: 0 0 10px #00ff66;
}

.arrow:hover span {
  transform: rotate(-45deg) translateY(4px);
}

/* Эффект мягкого свечения */
@keyframes arrowGlow {
  0%, 100% {
    box-shadow: 0 0 10px #00ff66;
  }
  50% {
    box-shadow: 0 0 25px #00ff66;
  }
}

/* Адаптивность */
@media (max-width: 800px) {
  .arrow {
    width: 28px;
    height: 28px;
  }

  .arrow span {
    width: 12px;
    height: 12px;
    border-width: 2px;
  }
}

/* === @media (max-width: 900px) {
  .hero {
    padding: 80px 10px;
  }

  .hero h1 {
    font-size: clamp(50px, 10vw, 80px);
  }

  .hero p {
    font-size: 20px;
  }
}

/* === Адаптив под телефоны === */
@media (max-width: 500px) {
  .hero {
    padding: 60px 10px;
  }

  .hero h1 {
    padding-top: 90px;
    font-size: clamp(32px, 13vw, 60px); /* ← адаптивный размер */
    line-height: 1.1;
    text-align: center;
    word-wrap: break-word;
    max-width: 100%;
  }

  .hero p {
    font-size: clamp(14px, 4vw, 18px);
    margin-top: 8px;
    padding-bottom: 100px;
    text-align: center;
  }
}




/* === Анимация появления текста снизу вверх === */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Применяем анимацию к заголовку и подзаголовку */
.hero h1 {
  animation: fadeUp 1s ease-out forwards;
}

.hero p {
  animation: fadeUp 1s ease-out forwards;
}





/* === Этап 1: Появление прямоугольника меню (без смещения) === */
@keyframes headerReveal {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  60% {
    opacity: 1;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}



/* === Этап 2: Плавное появление содержимого меню === */
@keyframes contentFadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Логотип появляется первым */
.logo {
  opacity: 0;
  animation: contentFadeUp 0.6s ease-out forwards;
  animation-delay: 1s;
}

/* Навигация — вторая */
.nav-links {
  opacity: 0;
  animation: contentFadeUp 0.6s ease-out forwards;
  animation-delay: 1.2s;
}

/* Правая секция (кнопка и бургер) — последняя */
.right-section {
  opacity: 0;
  animation: contentFadeUp 0.6s ease-out forwards;
  animation-delay: 1.4s;
}







.scroll-bars {
  position: relative;
  overflow: visible; /* вместо hidden */
  width: 100%;
  color: #ffffff;
  padding: 10px 0 0; /* сверху 10px, снизу 0px */
}

.scroll-bars div {
  display: flex;
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 52px;
  letter-spacing: 3px;
  text-transform: uppercase;
  filter: blur(0.5px);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.9),
               0 0 30px rgba(255, 255, 255, 0.6),
               0 0 45px rgba(255, 255, 255, 0.3);
  line-height: 0.75; /* добавь немного, чтобы текст не обрезался */
}

/* === Левая полоса === */
.scroll-left span {
  animation: scrollLeft 25s linear infinite;
}

/* === Правая полоса === */
.scroll-right span {
  animation: scrollRight 25s linear infinite;
}

/* === Анимации бесшовные === */
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(0); }
}

@media (max-width: 900px) {
  .scroll-bars div {
    font-size: 38px;
    line-height: 1.3;
  }
}

@media (max-width: 500px) {
  .scroll-bars div {
    font-size: 28px;
    line-height: 1.4;
  }
}

@media (max-width: 768px) {
  .scroll-bars {
    padding: 0;
    margin-top: -15px;
    margin-bottom: -25px; /* прижимаем максимально к следующему блоку */
  }
}
@media (max-width: 768px) {
  .next-section { /* замени на класс следующего блока */
    margin-top: 0 !important;
    padding-top: 0 !important;
  }
}

@media (max-width: 500px) {
  .scroll-bars {
    padding: 0 !important;
    margin: -25px 0 -70px 0 !important; /* прижимает сверху и снизу */
    line-height: 1 !important;
  }

  .scroll-bars div {
    font-size: 24px !important;
    line-height: 1 !important;
  }
}





/* === Контейнер для плавающих иконок === */
.floating-icons {
  position: relative;
  width: 100%;
  pointer-events: none;
  z-index: 5;
}

/* === Левая иконка (рядом с заголовком) === */
.icon-left {
  position: absolute;
  left: 10%;
  top: 10vh; /* ближе к верхней части экрана */
  width: 170px;
  height: auto;
  animation: floatY 6s ease-in-out infinite, glowIcon 4s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.7));
}

/* === Правая иконка (чуть ниже и правее) === */
.icon-right {
  position: absolute;
  right: 10%;
  top: 18vh; /* немного ниже */
  width: 150px;
  height: auto;
  animation: floatY 7s ease-in-out infinite reverse, glowIcon 4s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.7));
}

/* === Анимация плавного парения === */
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-25px); }
}

/* === Анимация мягкого свечения === */
@keyframes glowIcon {
  0%, 100% { filter: drop-shadow(0 0 18px rgba(0, 255, 0, 0.6)); }
  50% { filter: drop-shadow(0 0 35px rgba(0, 255, 0, 0.6)); }
}


/* === Адаптив под планшеты === */
@media (max-width: 960px) {
  .icon-left {
    left: 12%;
    top: 22vh;
    width: 130px;
  }

  .icon-right {
    right: 12%;
    top: 25vh;
    width: 130px;
  }
}


/* === Адаптив под планшеты === */
@media (max-width: 900px) {
  .icon-left {
    left: 12%;
    top: 13vh;
    width: 130px;
  }

  .icon-right {
    right: 12%;
    top: 20vh;
    width: 130px;
  }
}

/* === На телефоне скрываем === */
@media (max-width: 700px) {
  .floating-icons {
    display: none;
  }
}

/* === Вторая левая иконка (ниже первой) === */
.icon-left2 {
  position: absolute;
  left: 8%;
  top: 30vh; /* ниже первой */
  width: 140px;
  height: auto;
  animation: floatY 8s ease-in-out infinite, glowIcon 4s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.7));
  opacity: 0.9;
}

/* === Адаптив под планшеты === */
@media (max-width: 960px) {
  .icon-left2 {
    left: 10%;
    top: 35vh;
    width: 120px;
  }
}

/* === Адаптив под телефоны === */
@media (max-width: 500px) {
  .icon-left2 {
    display: none;
  }
}









.line {
  border: none;          /* убираем стандартную границу */
  height: 1px;           /* толщина линии */
  background-color: rgba(0, 255, 0, 0.6); /* белый цвет */
  margin: 20px 0;        /* отступ сверху и снизу */
  width: 100%;           /* на всю ширину контейнера */
}






.trust-section {
  background-image: url("imgs/code.png");
  background-position: center center; /* центрируем фон */
  background-size: cover;             /* растягиваем без искажений */
  background-repeat: no-repeat;       /* убираем повтор */
  color: #fff;
  font-family: 'Druk Cyr', sans-serif;
  padding: 0px 6%;
  text-align: center;
}

.trust-section h1 {
  font-size: 70px;
  font-weight: 900;
  margin-bottom: 40px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.content {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  flex-wrap: wrap;
}

/* === Блоки === */
.block {
  flex: 1 1 300px;
  border: 2px solid rgba(0, 255, 0, 0.6);
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.6);
  padding: 0 30px 30px;
  border-radius: 12px;
  min-height: 400px; /* 🔥 было 520px */
  text-align: left;
  transition: all 0.4s ease;
  transform: scale(1);
}

.block:hover {
  transform: scale(1.03);
  box-shadow: 0 0 50px rgba(0, 255, 136, 0.8);
}

.block h2 {
  font-family: 'Druk Cyr', sans-serif;
  font-size: 45px;
  margin-bottom: 25px;
  color: #ffffff;
  letter-spacing: 1px;
}

.block p {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  font-size: 16px;
  color: #ffffff;
  margin-bottom: 30px;
}

/* === Центральний блок із картинкою === */
.center-block {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.8), rgba(0,0,0,0.95));
  border-radius: 12px;
  padding: 25px;
  min-height: 520px;
  transition: all 0.4s ease;
  transform: scale(1);
  background-size: cover;
  background-position: center;
}

.center-block:hover {
  transform: scale(1.05);
}

.center-block img {
  width: 340px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* === Кнопка === */
.trust-btn {
  display: inline-block;
  background: #398800;
  box-shadow: 0 0 10px #00ff66;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 14px 34px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.trust-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00ff66;
}

/* === Адаптація для планшетів === */
@media (max-width: 900px) {
  .trust-section {
    padding: 50px 4%;
  }

  .trust-section h1 {
    font-size: 40px;
    margin-bottom: 30px;
  }

  .content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .block, .center-block {
    width: 100%;
    max-width: 500px;
    transform: none;
  }

  .block h2 {
    font-size: 28px;
  }

  .block p {
    font-size: 15px;
  }

  .center-block img {
    width: 240px;
  }

  .trust-btn {
    width: 100%;
    text-align: center;
  }
}
/* Адаптация для телефонов */
@media (max-width: 480px) {
  .trust-section {
    padding: 0 5% 30px; /* 🔥 полностью убрали верхний отступ */
    margin-top: 0;      /* 🔥 чтобы секция шла прямо от верха экрана */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .trust-section h1 {
    font-size: 38px;
    margin: 0 0 20px 0; /* 🔧 без верхнего отступа вообще */
    text-align: center;
  }


  .content {
    flex-direction: column;
    align-items: center; /* центрируем блоки */
    gap: 20px;
    width: 100%;
  }

  .block, .center-block {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    transform: none;
    box-sizing: border-box;
    border-radius: 12px;
    padding: 15px;
    text-align: center; /* текст по центру */
  }

  .block h2 {
    font-size: 26px; /* увеличенный заголовок для читаемости */
    margin-bottom: 15px;
  }

  .block p {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Убираем картинку в центре на телефоне */
  .center-block img {
    display: none;
  }

  .center-block {
    min-height: auto;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0.95));
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
  }

  .trust-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
  }
}






.infrastructure {
  background-image: url("imgs/bgs1.png");
  color: white;
  text-align: center;
  padding: 60px 20px;
}

.infrastructure h1 {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 60px;
  text-transform: uppercase;
  animation: fadeInDown 1.2s ease-in-out;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  position: relative;

  border-radius: 12px;
  padding: 40px 30px 30px;
  background: rgba(0, 0, 0, 0.35);
  box-shadow: 0 0 15px rgba(0, 255, 100, 0.15);
  transition: all 0.4s ease;
  overflow: hidden;
  opacity: 0;
  animation: fadeInUp 1.2s ease forwards;
}

.card:nth-child(1) { animation-delay: 0.3s; }
.card:nth-child(2) { animation-delay: 0.5s; }
.card:nth-child(3) { animation-delay: 0.7s; }
.card:nth-child(4) { animation-delay: 0.9s; }

/* затемнение */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  z-index: 0;
}

/* 🟢 логотипы всегда белые */
.card-logo {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
  opacity: 0.9;
  filter: brightness(0) invert(1);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.card h2,
.card p {
  position: relative;
  z-index: 1;
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #fff;
  letter-spacing: 1px;
}

.card p {
  font-weight: 400;
  color: #ddd;
  line-height: 1.5;
}

/* 🌟 Анимация при наведении */
.card:hover {
  box-shadow: 0 0 35px rgba(0, 255, 0, 0.6);
  transform: translateY(-8px) scale(1.02);
}

.card:hover .card-logo {
  transform: scale(1.15) rotate(6deg);
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(0, 255, 0, 0.6));
}

/* === Анимации появления === */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* === Адаптация под телефон === */
@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr; gap: 25px; }
  .infrastructure h1 { font-size: 1.8rem; }
  .card { padding: 25px; }
  .card h2 { font-size: 1rem; }
  .card p { font-size: 0.9rem; }
  .card-logo { width: 35px; height: 35px; }
}















.partners-section {
  position: relative;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  padding: 40px 5%;
  overflow: hidden;
}

.partners-section h1 {
  font-size: 100px;
}
/* 🎥 ВИДЕО-ФОН */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* затемнение поверх видео */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.partners-section > *:not(.bg-video):not(.overlay) {
  position: relative;
  z-index: 3;
}

/* === ЗАГОЛОВОК === */
/* === ЗАГОЛОВОК === */
.partners-section h1 {
  font-family: 'Druk Cyr', sans-serif;
  font-size: 3rem; /* 🔥 было 1.4rem — увеличено */
  line-height: 1.3;
  font-weight: 900;
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* === 📱 АДАПТАЦИЯ === */
@media (max-width: 768px) {
  .partners-section h1 {
    font-size: 2rem; /* 🔥 было 1.1rem — теперь тоже крупнее на телефоне */
    line-height: 1.25;
  }
}

/* === ЛОГОТИПЫ === */
.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.logos img {
  height: 30px;
  filter: brightness(1);
  transition: filter 0.3s ease;
}

.logos img:hover {
  filter: brightness(1.5);
}

/* === КОНТЕНТ === */
.content {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 25px;
  flex-wrap: wrap;
}

.image-box, .text-box {
  border: 2px solid #00ff66;
  box-shadow: 0 0 15px #00ff66;
  border-radius: 6px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.75);
}

/* 📐 Ширина блоков */
.image-box {
  flex: 1;
  max-width: 300px;
}

.text-box {
  flex: 2;
  max-width: 600px;
  text-align: left;
}

/* === КАРТИНКА === */
.image-box img {
  width: 100%;
  border-radius: 6px;
}

/* === ТЕКСТ === */
.text-box h2 {
  font-family: 'Druk Cyr', sans-serif;
  font-size: 2rem;
  margin-bottom: 10px;
}

.text-box p {
  color: #ccc;
  font-size: 0.9rem;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* === 📱 АДАПТАЦИЯ === */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
  }

  .image-box, .text-box {
    max-width: 100%;
  }

  .text-box {
    text-align: left;
  }

  .partners-section h1 {
    font-size: 1.5rem;
  }

  .logos img {
    height: 25px;
  }

  .text-box h2 {
    font-size: 1.6rem;
  }

  .text-box p {
    font-size: 0.85rem;
  }
}

.logos img {
  height: 40px; /* 🔥 увеличено с 30px до 55px */
  filter: brightness(1);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logos img:hover {
  filter: brightness(1.5);
  transform: scale(1.08); /* ✨ легкое увеличение при наведении */
}

/* 📱 адаптация под телефон */
@media (max-width: 768px) {
  .logos img {
    height: 40px; /* немного меньше для мобильных */
  }
}




.analytics-section {
  position: relative;
  background-color: #000; /* на случай, если видео не загрузилось */
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  padding: 0px 6%;
  text-align: center;
  overflow: hidden;
}

/* Фоновое видео */
.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
  pointer-events: none;
  filter: brightness(0.4);
}

.analytics-section h1 {
  font-family: 'Druk Cyr', sans-serif;
  font-size: 72px;
  margin-bottom: 50px;
  color: #ffffff;
  letter-spacing: 1px;
  position: relative;
  z-index: 1;
}

/* Контент */
.analytics-section .content {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

/* Текстовый блок */
.text-block {
  flex: 1 1 420px;
}

.neon-box {
  border: 2px solid #00ff66;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  background-color: rgba(0,0,0,0.5);
}

.neon-box h2 {
  font-family: 'Druk Cyr', sans-serif;
  font-size: 48px;
  margin: 20px 0 20px;
  color: #ffffff;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  width: 100%;
}

.services-list li {
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.6;
  color: #ffffff;
}

.services-list li strong {
  color: #ffffff;
}

/* Фото справа */
.video-block {
  flex: 1 1 400px;
  position: relative;
  z-index: 1;
  margin-top: -40px; /* поднимаем фото чуть вверх */
}

.video-block img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
}

/* Адаптация */
@media (max-width: 900px) {
  .analytics-section h1 {
    font-size: 48px;
  }

  .neon-box h2 {
    font-size: 36px;
  }

  .services-list li {
    font-size: 16px;
  }

  .video-block img {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .analytics-section h1 {
    font-size: 32px;
  }

  .neon-box h2 {
    font-size: 28px;
  }

  .services-list li {
    font-size: 14px;
  }

  .analytics-section .content {
    flex-direction: column-reverse; /* фото под текстом на мобильных */
    align-items: center;
  }

  .video-block img {
    width: 100%;
    max-width: 300px;
    margin-top: 0;
    margin-bottom: 20px;
  }
}
.analytics-section .content {
  display: flex;
  justify-content: space-between; /* текст слева, фото справа */
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

/* Фото справа */
.video-block {
  flex: 0 0 40%;      /* фиксированная ширина фото */
  margin-top: -40px;   /* поднимаем фото */
}

.video-block img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  object-position: top center;
}

/* Адаптация */
@media (max-width: 900px) {
  .video-block {
    flex: 0 0 50%;
    margin-top: -20px;
  }

  .video-block img {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .analytics-section .content {
    flex-direction: column-reverse; /* фото под текстом */
    align-items: center;
  }

  .video-block {
    margin-top: 0;
  }

  .video-block img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
  }
}


/* Начальное состояние - скрыто и смещено вниз */
.text-block, .video-block {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* Класс активного появления */
.text-block.visible, .video-block.visible {
  opacity: 1;
  transform: translateY(0);
}





/* Начальное состояние для анимации */
.image-box, .text-box, .logos img {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

/* Когда блок становится видимым */
.image-box.visible, .text-box.visible, .logos img.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Для логотипов можно добавить небольшую задержку через nth-child */
.logos img:nth-child(1) { transition-delay: 0.1s; }
.logos img:nth-child(2) { transition-delay: 0.2s; }
.logos img:nth-child(3) { transition-delay: 0.3s; }
.logos img:nth-child(4) { transition-delay: 0.4s; }
.logos img:nth-child(5) { transition-delay: 0.5s; }
.logos img:nth-child(6) { transition-delay: 0.6s; }







.neo-contact-section {
  background: url('imgs/code.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* выравнивание сверху */
  color: #fff;
  font-size: 100px;
  font-family: 'Druk Cyr', sans-serif;
}

.neo-section-title {
  font-size: clamp(28px, 6vw, 50px); /* минимум 28px, максимум 50px, подстраивается под экран */
  text-align: center;
  color: #fff;
  font-family: 'Druk Cyr', sans-serif;
  margin-bottom: 30px;
  font-size: 100px;
}

.neo-form-card {
  background: url('imgs/code.png') center/cover no-repeat;
  border-radius: 20px;
  box-shadow: 0 0 35px rgba(0, 255, 0, 0.6);
  border: 2px solid rgba(0, 255, 0, 0.6);
  width: 380px;
}

.quick-contact-section {
  font-family: 'Druk Cyr', sans-serif;
  background: url('imgs/code.png') center/cover no-repeat;
  color: #fff;
  font-family: 'Montserrat Light', sans-serif;
  padding: 0px 20px;
}

.quick-contact-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.quick-contact-image img {
  width: 320px;
  border-radius: 16px;
  object-fit: cover;
  filter: drop-shadow(0 0 25px rgba(0, 255, 0, 0.6));
}

.quick-contact-form-card {
  background: #000000;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 255, 0, 0.6);
  border: 2px solid rgba(0, 255, 0, 0.6);
  width: 400px;
  max-width: 100%;
  box-sizing: border-box; /* добавлено */
}

.quick-contact-heading {
  font-family: 'Druk Cyr', sans-serif;
  font-size: clamp(24px, 5vw, 40px);
  margin-bottom: 25px;
  text-align: center;
  color: #fff;
}

#quickContactForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
  box-sizing: border-box; /* добавлено */
}

#quickContactForm input,
#quickContactForm textarea,
#quickContactForm button {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: none;
  outline: none;
  font-size: 16px;
  background: #fff;
  color: #000;
  box-sizing: border-box; /* добавлено */
}

#quickContactForm button {
  font-weight: 600;
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  cursor: pointer;
  transition: 0.3s;
  text-transform: uppercase;
}

#quickContactForm button:hover {
  color: rgba(0, 255, 0, 0.6);
  border-color: rgba(0, 255, 0, 0.6);
  box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
}

.line {
  border: none;
  height: 1px;
  background-color: rgba(0, 255, 0, 0.6);
  margin: 20px 0;
  width: 100%;
}

/* Подготовка к анимации только для блоков */
.neo-contact-section,
.quick-contact-image,
.quick-contact-form-card,
.neo-section-title,
.quick-contact-heading {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Класс для запуска анимации */
.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

/* === Адаптация под планшет === */
@media (max-width: 1024px) {
  .quick-contact-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .quick-contact-image img {
    width: 300px;
  }

  .quick-contact-form-card {
    width: 100%;
  }
}

/* === Адаптация под мобильные === */
@media (max-width: 450px) {
  .quick-contact-heading {
    font-size: 36px;
  }

  .neo-section-title {
    font-size: 42px;
  }

  .quick-contact-image {
    display: none;
  }

  .quick-contact-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .quick-contact-form-card {
    width: 95%;
    padding: 25px;
    box-sizing: border-box; /* добавлено */
  }

  #quickContactForm input,
  #quickContactForm textarea {
    font-size: 16px;
    padding: 14px 16px;
  }

  #quickContactForm button {
    font-size: 16px;
    padding: 14px 20px;
  }
}



/* FOOTER STYLES */
.site-footer {
  background-color: #000000;
  color: #fff;
  padding: 50px 20px;
  font-family: 'Montserrat', sans-serif;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #00ff66;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 250px;
  margin: 20px;
}

.footer-logo {
  width: 80px;
  margin-bottom: 15px;
}

.footer-center ul {
  list-style: none;
  padding: 0;
}

.footer-center li {
  margin-bottom: 10px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
}

.social-icons img {
  width: 24px;
  transition: transform 0.3s;
}

.social-icons img:hover {
  transform: scale(1.2);
}

/* Адаптивность */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-left,
  .footer-center,
  .footer-right {
    margin: 10px 0;
    text-align: center;
  }
}



#language-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* если не нужно — скажи, уберу */
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.language-modal {
  text-align: center;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.language-modal .title {
  font-size: 50px;     /* БОЛЬШЕ */
  font-weight: 600;
  margin-bottom: 32px;
}

.language-modal button {
  display: block;
  width: 100%;
  margin: 14px 0;

  font-size: 26px;     /* БОЛЬШЕ */
  font-weight: 500;

  background: none;    /* ❌ фон */
  border: none;        /* ❌ рамки */
  padding: 0;

  color: #ffffff;
  cursor: pointer;
}

.language-modal button:hover {
  text-decoration: underline;
}

.language-modal button:active {
  opacity: 0.7;
}
