/* Общие стили для всех экранов */
* {
  box-sizing: border-box;
}
body {
  margin: 0; 
  padding: 0; 
  width: 100%; 
  height: auto; 
  font-family: 'Roboto', sans-serif;
  background-color: #FEFEFE;
  color: white;
  overflow-x: hidden; 
}
@media (max-width: 768px) {
  body {
    overflow-y: scroll;
    scrollbar-width: none; /* Для Firefox */
  }

  body::-webkit-scrollbar {
    display: none; /* Для Chrome, Safari, Edge */
  }
}
/* header */

header {
  display: flex;
  justify-content:center; 
  gap: 10vh;
  align-items: center;
  flex-direction: row;
  padding: 10px 20px;
  background:#050620;
}

.logo {
  width: 300px; 
  height: auto;
}
.contact-info {
  font-size: 2rem;
  text-align: right;
}
.small-green-circle {
  width: 8px; 
  height: 8px; 
  background-color: rgb(12, 250, 12); 
  border-radius: 50%; 
  display: inline-block; 
}
.business-hours {
  font-size: 16px; 
}
.phone-number {
  font-weight: bold;
  color: inherit;
  cursor: pointer;
}

.phone-number:hover {
  color: #007bff; 
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}


.whatsapp-icon {
  margin-right: 10px;
  width:62px; 
  height: 62px;
  margin-right: 8px; 
}
.dropdown{
  display: none;
}
.hamburger-icon {
  display: inline-block;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hamburger-icon span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger-icon.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px); 
}

.hamburger-icon.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px); 
}

/* end of header  */

/* header mob */
@media (max-width: 990px) {
  header {
    gap: 0;
  }
  .whatsapp-icon {
    margin-right: 10px;
    width:52px; 
    height: 52px;
    margin-right: 8px; 
  }
 .menu-logo-head{
  padding-right: 20px;
 }


  .logo {
    width: 270px; 
  }

  .contact-info {
    font-size: 30px; 
    padding-bottom: 8px;
  }

  .business-hours {
    font-size: 20px; 
  }
}

@media (max-width: 765px) {
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .logos-box{
    margin-right: 0 !important;
  }
  .dropdown{
    display: block;
  }
  .whatsapp-btn{
    display: none;
  }
  .whatsapp-icon {
    display: none;
  }
  .menu-logo-head {
    padding-right: 5px;
  }

  .logo {
      width: 200px; 
      height: auto;
  }

  .contact-info {
    display: none;
  }

  .text-end{
    margin: 0 !important;
    font-size: 5px;
  }
  .business-hours{
    display: none;
  }
  .small-green-circle{
    display: none;
  }
}
.burger-btn{
  margin: 0 !important;
}
@media (max-width: 410px) {
  .logo{
    width: 200px;
    margin-top: 10px;
    margin-right: 0 !important;
  }
  .burger-btn{
    margin: 0 !important;
  }
}
/* /header mob */

/* hero */
.hero-image-mob {
  display: none; 
}
.hero-section {
  display: flex;
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  height: 100vh; 
  color: white;
  background-image: url('pics/background.png');
  background-size: cover;
  background-position: center;
  background-color: #F1F5FE;
}

.hero-title {
  font-size: 52px; 
  font-weight: bold; 
}

.hero-subtitle {
  color: rgb(138, 147, 205);
  font-size: 23px;
  margin-bottom: 20px; 
}

.hero-button {
  font-size: 24px;
  padding: 30px 60px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: pulse 2s infinite;
  align-self: center; 
  margin-top: auto; 
  box-shadow: 0 0 15px 5px rgba(200, 35, 51, 0.4); 
}

.hero-button:hover {
  background-color: #c82333; 
  transform: scale(1.05);
  animation: red-fade 2s infinite; 
}
.hero-image {
  /* animation: levitate 1.5s ease-in-out infinite;  */
  width: 100%; 
  height: auto; 
  max-width: 500px; 
}
.hero-content {
  display: flex;
  flex-direction: column; 
  justify-content: space-between; 
  align-items: center;
  height: 100%;
}
.block {
  margin: 20px 0;
  padding: 20px;
  background-color: #1a2a55;
  border-radius: 8px;
}
.clock-icon {
  width: 30px; 
  height: auto; 
  vertical-align: middle; 
  margin-left: -10px; 
  margin-bottom: 26px; 
}
.hero-title, .hero-subtitle {
  text-align: center; 
}
.text-end {
  display: flex; 
  text-align: center; 
  flex-direction: column;
}

/* hero mob */


/* Медиазапрос для разрешения до 890px */
@media (max-width: 1200px) {
  .hero-section{
    height: 800px;
    background-image: url('pics/back-main-full.png');
  }
  .hero-image-mob{
    display: block;
    max-width: 95%;
  }
  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 20px; 
  }

  .hero-button {
    font-size: 16px; 
    padding: 20px 40px; 
  }

  .hero-image {
    max-width: 400px; 
    display: none;
  }
}

/* Медиазапрос для разрешения до 650px */
@media (max-width: 650px) {
  .hero-section{
    height: 670px;
  }
  .hero-image-mob{
    display: block;
    max-width: 95%;
  }

  .hero-title {
    font-size: 28px; 
  }

  .hero-subtitle {
    font-size: 18px; 
    margin-bottom: 10px; 
  }

  .hero-button {
    font-size: 14px;
    padding: 10px 20px; 
  }

  .hero-image {
    order: -1; /* Меняем порядок отображения: изображение будет над текстом */
    max-width: 90%; 
    margin-bottom: 20px; 
    display: none;
}

  .clock-icon {
    width: 15px; 
  }
  .hero-content {
    grid-area: content; 
    align-items: center; 
    text-align: center; 

}
}


/*------------ Первый блок ------------ */
.h2-we-know {
  display: flex;
  padding-top: 50px;
  background-color: #F1F5FE;
  justify-content: center;
  color: #141140;
  font-size: 45px;
  font-weight: 700;
  gap: 1vh;
  text-align: center;
}

/* Цветной текст */
.highlighted-text {
  color: rgb(138, 147, 205);
}

/* Адаптивные стили */
@media (max-width: 950px) {
  .h2-we-know {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .h2-we-know {
    font-size: 35px;
    padding-top: 30px;
    flex-direction: column; /* Переключаем на вертикальное расположение */
    gap: 0.5vh;
  }
}

@media (max-width: 480px) {
  .h2-we-know {
    font-size: 4vh;
    padding-top: 20px;
  }
}

/* Основной стиль */
.bordered {
  padding: 10px;
  border-width: 2px;
  border-radius: 10px;
  border-color: grey;
  border-style: dashed;
}

.we-know-block {
  padding: 40px 15px;
  margin: 0 auto;
  background-color: #F1F5FE;
}

.first-block {
  background-color: #0a1f75;
  padding: 20px;
  max-width: 900px;
  margin: 20px auto;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.first-block h2 {
  color: #ffffff;
  font-size: 50px;
  line-height: 1.35;
  font-weight: 700;
  opacity: 0.25;
  text-align: start;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.grid-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.grid-item {
  background-color: #0a1f75;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  align-items: center;
}

.circular-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.text-content {
  padding: 10px;
  flex-grow: 1;
}

.h3-bold {
  text-align: center;
  font-weight: 600;
  font-size: 18px;
}

/* Адаптивные стили */
@media (max-width: 800px) {
  .first-block h2 {
    font-size: 28px;
    line-height: 1.2;
    opacity: 0.3;
  }

  .grid-container {
    grid-template-columns: 1fr; /* Одна колонка */
  }

  .circular-image {
    width: 80px;
    height: 80px;
  }

  .grid-item {
    padding: 10px;
  }

  .text-content h3 {
    font-size: 16px;
  }

  .text-content p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .we-know-block {
    padding: 20px 10px;
  }

  .first-block h2 {
    font-size: 24px;
  }

  .circular-image {
    width: 60px;
    height: 60px;
  }

  .grid-item {
    padding: 8px;
  }

  .text-content h3 {
    font-size: 14px;
  }

  .text-content p {
    font-size: 12px;
  }
}

/* --------------- */

.full-width-image {
  max-height: 200px;
  width: 100%;
  height: auto; 
  display: block; 
}
/* --------------- */

.st1-para{
  color: rgb(120, 130, 196);
  font-size: 28px;
  font-weight: 600;
}
.st2-para{
  padding-top: 40px;
  color: #141140;
  font-size: 28px;
  font-weight: 600;
}
.text-2paras{
  padding-top: 100px;
  text-align: center;
}
.online-plaform{
  margin: 1px;
  text-align: center;
  background-color: #FEFEFE;
}
.inside-online-platform{
  color: #141140;
  font-size: 40px;
  font-weight: 700;
  margin-left: 10px;
  margin-right: 10px;
}
.span-plaform-3 {
  color: rgb(0, 97, 152);
}
.span-plaform-2 {
  color: rgb(47, 198, 247);
}
.p-plaform{
  color: #141140;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 0;
}
@media (max-width: 480px) {
  .st1-para{
    font-size: 20px;
  }
  .st2-para{
    font-size: 20px;
  }
}

/* ------------------promo--------------- */


.promo {
  background-color: #FEFEFE;
  padding: 50px 20px; /* Добавляем отступы для всей секции */
}

.gifs-promo {
  max-width: 550px;
  border-radius: 15px;
  width: 100%; /* Делаем изображение адаптивным */
  height: auto; /* Автоматическая высота */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.gifs-promo:hover {
  transform: scale(1.05); /* Легкое увеличение карточки */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Дополнительная тень при наведении */
  background-color: rgba(13, 21, 74, 0.7); /* Увеличение непрозрачности фона */
}

.h2-promo {
  align-self: center;
  color: #06377b;
  font-size: 26px;
  font-weight: 600;
}

.discription-p {
  text-align: center;
  padding-top: 20px;
  color: #141140;
  font-size: 17px;
  font-weight: 400;
  width: 400px; /* Устанавливаем ширину блока описания */
  height: auto; /* Автоматическая высота */
}

.icons-text {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Две колонки */
  gap: 20px; /* Отступы между элементами */
  color: #0a1238;
}

.text-center-promo {
  display: flex;
  flex-direction: row; /* Горизонтальная ориентация */
  align-items: center; /* Центрирование по вертикали */
  justify-content: center; /* Центрирование по горизонтали */
  text-align: center; /* Центрирование текста */
  width: 170px; /* Установите фиксированную ширину для равномерного расположения */
}

.promo-icon-img {
  margin-right: 10px; /* Отступ между иконкой и текстом */
  width: 35px;
  height: 40px;
}

.span-promo {
  color: #06377b;
  font-size: 17px;
  font-weight: 600;
}

.second-div {
  padding-top: 40px;
  display: flex;
  align-items: center; /* Центрирование по вертикали */
  margin-right: 20px;
  margin-left: 20px;
  gap: 20vh;
}

.third-div {
  display: flex;
  justify-content: center;
  gap: 20vh;
  padding-top: 120px;
  margin-right: 20px;
  margin-left: 20px;
}
.left-side-s{
margin-left: 30px;
}
.right-side-s{
margin-right: 30px;
}

.title-block{
  display: flex;
  justify-content: center;
  padding-right: 25px;
}

.promo-discription{
  align-items: center;
  text-align: center;
}


@media (max-width: 1050px) {
  .third-div {
    flex-direction: column;
    align-items: center;
    gap: 5vh;
  }

  .crm-sale {
    order: 2; /* Перемещаем .right-side-s ниже текста */
  }
  .left-side-s{
    margin-left: 0px;
  }
  .right-side-s{
    margin-right: 0px;
  }
  .promo-discription {
    order: 1; /* Перемещаем .promo-discription выше картинки */
  }
  .second-div{
    flex-direction: column;
    align-items: center;
    gap: 5vh;
  }
}


@media (max-width: 768px) {
  .promo {
    padding: 20px 10px; /* Уменьшаем отступы */
  }

  .gifs-promo {
    max-width: 100%; /* Делаем изображения адаптивными */
  }

  .h2-promo {
    font-size: 22px; /* Уменьшаем размер шрифта */
  }

  .discription-p {
    font-size: 15px; /* Уменьшаем размер шрифта */
    width: auto; /* Убираем фиксированную ширину */
  }

  .icons-text {
    grid-template-columns: 1fr; /* Одна колонка для иконок */
  }

  .text-center-promo {
    width: auto; /* Убираем фиксированную ширину */
  }

  .second-div, .third-div {
    flex-direction: column; /* Стековое расположение */
    padding-top: 40px; /* Уменьшаем отступы */
    align-items: center; /* Центрируем элементы */
  }

  .crm-sale {
    order: 1; /* Меняем порядок элементов, чтобы изображения были сверху */
  }

  .promo-discription {
    order: 2; /* Меняем порядок, чтобы текст был под изображением */
  }
  .icons-text {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Две колонки на мобильных устройствах */
    gap: 15px; /* Отступы между элементами */
  }

  .text-center-promo {
    display: flex;
    flex-direction: column; /* Вертикальная ориентация */
    align-items: center; /* Центрирование по горизонтали */
    justify-content: center; /* Центрирование по вертикали */
    text-align: center; /* Центрирование текста */
    width: 100%; /* Занимаем всю ширину */
    height: 100px; /* Фиксированная высота для всех элементов */
  }

  .h2-promo {
    text-align: center; /* Центрируем заголовки */
  }
  .left-side-s{
    margin-left: 0px;
    }
    .right-side-s{
    margin-right: 0px;
    }
    .span-promo{
      font-size: 14px;
    }
}

/* --------------------------------------------------------- */


/*  */

.business-heading{
padding-top: 70px;
padding-right: 700px;
font-size: 35px;
font-weight: 700;
text-align: center; /* Центрируем текст */
margin-bottom: 70px;
}
.header-color{
color: rgb(138, 147, 205);
}
.business-section{
  background-color: #FEFEFE;
  background-image: url('pics/back-main.png');
  background-size: cover;
  background-repeat: no-repeat;
}
.holder-row {
  padding-bottom: 100px;
  display: flex;
  gap: 80px; /* расстояние между карточками */
  justify-content: center; /* Центрируем карточки */
}
.h3-span{
  font-size: 20px;
  font-weight: 700;
}
.card-info {
  margin-left: 20px;
  margin-right: 20px;
  border-width: 1px;
  border-radius: 10px;
  border-color: grey;
  border-style: dashed;
  background-color: rgba(13, 21, 74, 0.5); /* Прозрачный фон, 80% непрозрачности */
  padding: 30px;
  margin-bottom: 20px;
  flex: 1; /* Позволяет карточкам занимать равное пространство */
  min-width: 250px; /* Минимальная ширина для карточек */
  max-width: 300px; /* Максимальная ширина для карточек */
  text-align: center; /* Выравниваем текст по центру */
  display: flex; /* Используем flex для выравнивания содержимого */
  flex-direction: column; /* Вертикальное выравнивание */
  justify-content: space-between; /* Равномерное распределение пространства */
  height: 550px; /* Фиксированная высота для карточек */
  overflow: hidden; /* Прячем переполненный текст */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.card-info:hover {
  transform: scale(1.05); /* Легкое увеличение карточки */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Дополнительная тень при наведении */
  background-color: rgba(13, 21, 74, 0.7); /* Увеличение непрозрачности фона */
}

.chart-container {
  position: relative;
  display: inline-block;
  width: 150px; /* Ширина и высота для круга */
  height: 150px;
  margin: 0 auto; /* Центрируем круг */
}

.chart {
  width: 100%;
  height: 100%;
  border-radius: 50%; /* Делаем круг */
  background: conic-gradient(
      #BD0445 0%, /* Красная часть */
      #BD0445 calc(var(--percentage) * 1%),
      #001B85 calc(var(--percentage) * 1%), /* Синяя часть */
      #001B85 100%
  );
  position: absolute;
  top: 0;
  left: 0;

  /* Добавляем 3D-эффект */
  box-shadow: 
    inset 0 0 10px rgba(0, 0, 0, 0.3), /* Внутренняя тень */
    0 10px 20px rgba(0, 0, 0, 0.5); /* Внешняя тень */
}

.chart::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 90%;
  top: 5%;
  left: 5%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 70%);
  z-index: 1; /* Обеспечиваем, что градиент будет поверх диаграммы */
}

.chart-text {
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: rgb(255, 255, 255);
}

.card-info h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.big-grey {
  font-size: 30px;
  color: #0ae040;
  margin: 10px 0; /* Отступы для визуального разделения */
  font-weight: 600;
}
.color-change{
color:#aab2eb;
font-size: 20px;
}
.bottom-text{
  font-size: 20px;
}
.one-of-h2s{
display: flex;
}
/*  */
@media (max-width: 1200px) {
  .business-heading{
    padding-right: 0px;
  }
}
@media (max-width: 760px){
  .business-heading{
    padding-top: 120px;
  }
}
/* -------------------------------- ---------------------------------*/
.imp-head{
  text-align: center;
  background-color: #FEFEFE;
  padding-top: 30px;
}
.imp-h1{
  color: black;
  margin-bottom: 0px;
  font-size: 45px;
  font-weight: 700;

}

.bitrix-implementation {
  background: #FEFEFE;
  color: #333;
  padding: 60px 0;
}

.implementation-block {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  padding: 20px;
  transition: transform 0.3s;
}
@media (max-width: 768px) {
  .implementation-block {
    margin: 10px;
  }
}
.implementation-block:hover {
  transform: translateY(-5px);
}


.text-block {
  padding: 20px;
}

.text-block h3 {
  color: #001B85; /* Синий заголовок */
  font-size: 26px;
  margin-bottom: 15px;
  font-weight: bold;
}

.text-block p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}

.image-block {
  text-align: center;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s;
}

.img-fluid:hover {
  transform: scale(1.05);
}


/* ---------------------------------------------------- */

.business-block {
  display: flex;
  justify-content: center;
  padding: 40px;
  background-color: #f9f9ff;
}


.business-content {
  display: flex;
  align-items: flex-start;
  max-width: 1200px;
  gap: 10rem;
}

.business-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 20px;
}

.business-image img {
  width: 300px;
  margin-bottom: 20px;
}

.business-stats {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.stat {
  margin: 0 20px;
  text-align: center;
  color: #073e8a;
}

.stat h3 {
  font-size: 49px;
  font-weight: 700;
}

.stat span {
  font-size: 49px;
  font-weight: 700;
}

.stat p {
  color: #141140;
  font-size: 17px;
  font-weight: 600;
}

.business-text {
  max-width: 600px;
}

.business-text h2 {
  font-size: 3rem;
  color: #2b2b57;
  font-weight: bold;
}

.business-text h2 span {
  color: #7878d2;
}

.business-text p {

  font-size: 20px;
  color: #5a5a78;
  margin: 15px 0;
}

.business-button {
  font-size: 24px;
  padding: 25px 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: center;
  margin-top: 15px;
  box-shadow: 0 0 15px 5px rgba(200, 35, 51, 0.4);
  white-space: nowrap;
  font-weight: 700;
}

.button-description {
  font-size: 0.9rem;
  color: #9b9bac;
  margin-top: 10px;
}

.bottom-business-b24{
  display: flex;
  flex-direction: row;
  gap: 25px;
  padding-top: 30px;
}
.button-description{
  font-size: 5px;
}
/* --------- */

/* Адаптация для устройств шириной до 1050px */
@media (max-width: 1050px) {
  .business-content {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
    gap: 0px;
  }

  .business-image {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .business-image img {
    width: 70%;
    max-width: 280px;
    margin-bottom: 15px;
  }

  .business-stats {
    flex-direction: column;
    margin-top: 10px;
  }

  .stat {
    margin: 10px 0;
  }

  .stat h3 {
    font-size: 55px;
  }

  .stat span {
    font-size: 28px;
  }

  .stat p {
    font-size: 25px;
  }

  .business-text {
    text-align: center;
    max-width: 90%;
  }

  .business-text h2 {
    font-size: 2.5rem;
  }

  .business-text p {
    font-size: 18px;
  }

  .business-button {
    font-size: 24px;
    padding: 22px 25px;
    width: 90%; /* Почти на всю ширину, с небольшим отступом */
    box-shadow: 0 0 12px rgba(200, 35, 51, 0.35);
  }

  .button-description {
    font-size: 0.85rem;
    margin-top: 10px;
  }

  .bottom-business-b24 {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
  }
}


@media (max-width: 768px) {
  .business-content {
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
  
  .business-image {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .business-image img {
    width: 80%;
    max-width: 250px;
    margin-bottom: 15px;
  }

  .business-stats {
    flex-direction: column;
    margin-top: 10px;
  }

  .stat {
    margin: 10px 0;
  }

  .stat h3 {
    font-size: 45px;
  }

  .stat span {
    font-size: 24px;
  }

  .stat p {
    font-size: 20px;
  }

  .business-text {
    text-align: center;
    max-width: 100%;
  }

  .business-text h2 {
    font-size: 2rem;
  }

  .business-text p {
    font-size: 19px;
  }

  .business-button {
    font-size: 22px;
    padding: 20px 20px;
    width: 100%; /* Кнопка на всю ширину */
    box-shadow: 0 0 10px rgba(200, 35, 51, 0.3);
  }

  .button-description {
    font-size: 0.8rem;
    margin-top: 10px;
  }

  .bottom-business-b24 {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
  }
}

@media (max-width: 480px) {
  .business-text h2 {
    font-size: 1.8rem;
  }

  .business-text p {
    font-size: 14px;
  }

  .business-button {
    font-size: 14px;
    padding: 8px 15px;
  }

  .button-description {
    font-size: 0.75rem;
  }
}
/* --------- */

.transition {
  height: 100px; /* Высота переходного блока */
  background: linear-gradient(to bottom, #FEFEFE, #F9F9FF);
}



@media (max-width: 768px){
  .reverce{
    flex-direction: column-reverse;
  }
}





footer {
  text-align: center;
}
.ender p {
display: flex;
justify-content: center;
}

/* .footer {
  box-shadow: 10px 4px 50px rgba(253, 241, 241, 0.1);
  height: 100%;
  position: relative;
  padding: 40px;
  background: radial-gradient(ellipse at bottom, #0d1d31 0%, #0c0d13 100%);
  overflow: hidden;
  z-index: 1;
} */
/* -Новый- */
.footer {
  margin: auto;
  overflow: hidden;
  background: linear-gradient(315deg, rgb(42, 19, 105) 3%, rgb(25, 67, 109) 38%, rgb(10, 18, 66) 68%, rgba(255,25,25,1) 98%);
  animation: gradient 15s ease infinite;
  background-size: 400% 400%;
  background-attachment: fixed;
  position: relative;
}

@keyframes gradient {
  0% {
      background-position: 0% 0%;
  }
  50% {
      background-position: 100% 100%;
  }
  100% {
      background-position: 0% 0%;
  }
}

.wave {
  background: rgb(255 255 255 / 25%);
  border-radius: 1000% 1000% 0 0;
  position: absolute;
  width: 200%;
  height: 12em;
  animation: wave 10s -3s linear infinite;
  transform: translate3d(0, 0, 0);
  opacity: 0.8;
  bottom: 0;
  left: 0;
  z-index: 3;
}

.wave:nth-of-type(2) {
  bottom: -1.25em;
  animation: wave 18s linear reverse infinite;
  opacity: 0.8;
}

.wave:nth-of-type(3) {
  bottom: -2.5em;
  animation: wave 20s -1s reverse infinite;
  opacity: 0.9;
}

@keyframes wave {
  2% {
      transform: translateX(1);
  }

  25% {
      transform: translateX(-25%);
  }

  50% {
      transform: translateX(-50%);
  }

  75% {
      transform: translateX(-25%);
  }

  100% {
      transform: translateX(1);
  }
}

/* -- */

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-45deg);
  z-index: 0;
}

.star {
  position: absolute;
  width: 6em; /* длина хвоста звезды */
  height: 2px;
  background: linear-gradient(45deg, #394cff, transparent);
  border-radius: 50%;
  filter: drop-shadow(0 0 6px #1b8cc0);
  transform: translateX(104em);
  animation: fall 9s linear infinite, tail-fade 9s ease-out infinite;

  /* случайные позиции и задержки для звезд */
  top: calc(var(--top-offset, 50%) * 1vh);
  animation-delay: calc(var(--fall-delay, 0) * 1s);
}

.star:nth-child(1) { --top-offset: 10; --fall-delay: 0; }
.star:nth-child(1) { --top-offset: 10; --fall-delay: 1; }
.star:nth-child(2) { --top-offset: 20; --fall-delay: 2; }
.star:nth-child(3) { --top-offset: 30; --fall-delay: 3; }
.star:nth-child(3) { --top-offset: 30; --fall-delay: 4; }
.star:nth-child(4) { --top-offset: 40; --fall-delay: 6; }
.star:nth-child(5) { --top-offset: 50; --fall-delay: 8; }

.glass-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  gap: 10px;
  padding: 30px;
}

.glass-box {
  background: rgba(154, 162, 209, 0.2);
  border-radius: 15px;
  box-shadow: 0 4px 50px rgba(253, 241, 241, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(8, 7, 7, 0.3);
  padding: 30px;
  max-width: 350px;
  text-align: center;
  z-index: 10000;
  transition: transform 0.3s;
}
.glass-box:hover {
  transform: scale(1.1);
}
.glass-box h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.glass-box p {
  font-size: 1rem;
  line-height: 1.5;
  color: #f0f0f0;
}




  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
  }
  .modal-content {
    position: relative;
    background-color: #fff;
    margin: auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
  }
  .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
  }
  
  /* 111 */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    background-color: rgba(5, 9, 29, 0.9); /* Мягкий синий с прозрачностью */
    color: #fff; /* Белый текст */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    font-size: 14px;
    z-index: 10001;
}

.cookie-banner--active {
    display: flex;
}

.cookie-banner__text {
    flex: 1;
    margin-right: 20px;
}

.cookie-banner__button {
    background-color: #dc3545; /* Белый фон */
    color: #ffffff; /* Основной синий цвет */
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cookie-banner__button:hover {
    background-color: #bb2d3b; /* Основной синий цвет */
    color: #fff; /* Белый текст */
}

.cookie-banner__link {
    color: #fff; /* Белый текст */
    text-decoration: underline;
    margin-left: 15px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.cookie-banner__link:hover {
    color: #add8e6; /* Светло-голубой для акцента */
}
/* 111 */



  /* Фейды */
/* Изначальное состояние (скрыто и смещено вниз) */
/* .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
} */

/* Когда элемент в видимой области, делаем его видимым */
/* .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
} */








@keyframes fall {
  to {
    transform: translateX(-30em);
  }
}

@keyframes tail-fade {
  0%, 50% {
    width: 6em;
    opacity: 1;
  }
  70%, 80% {
    width: 0;
    opacity: 0.4;
  }
  100% {
    width: 0;
    opacity: 0;
  }
}

@keyframes red-fade {
  0% {
    box-shadow: 0 0 15px 5px rgba(200, 35, 51, 0.4); /* Начальное красное свечение */
  }
  50% {
    box-shadow: 0 0 25px 10px rgba(200, 35, 51, 0.8); /* Интенсивное свечение в середине */
  }
  100% {
    box-shadow: 0 0 15px 5px rgba(200, 35, 51, 0.4); /* Возвращение к исходному свечению */
  }
}

@keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.1); /* Увеличиваем кнопку на 10% */
  }
  100% {
      transform: scale(1);
  }
}

@keyframes levitate {
  0% {
      transform: translateY(0); /* Начальная позиция */
  }
  50% {
      transform: translateY(-10px); /* Подъем на 10px */
  }
  100% {
      transform: translateY(0); /* Возвращение в начальное положение */
  }

  
}