*{
  margin: 0;
  padding: 0;
  font-family: "Montserrat", sans-serif;
  box-sizing: border-box;
  border: 0;

  list-style: none;
  transition: all 0.4s;

  -webkit-tap-highlight-color: rgba(0,0,0,0); /* Убирает подсветку при тапе */
  -webkit-text-size-adjust: 100%; /* Фикс масштабирования текста */
}

html, body {
  width: 100%;
}

body {
  /* overflow-x: hidden; */
  background: #fff;
}
body::-webkit-scrollbar {
  display: none;
}

.container {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden; /* Добавляем скрытие переполнения */
}


/* Стили для первой секции (герой-секции) */

.section__1-class {
  width: 100%;
  height: 60vh;
  padding: 20px 0px;
  display: flex;
  justify-content: center;
  align-items: center; /* Изменено с stretch на center */
}

.section__1-block-line-class {
  display: flex;
  align-items: center; /* Центрируем по вертикали */
  gap: 80px;
  justify-content: center;
  width: 100%;
  max-width: 1400px;
  height: 100%;
}

.section__1-block-1-class,
.section__1-block-2-class {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Изменено с flex-start */
  align-items: flex-start;
  height: 100%;
  width: calc(50% - 40px);
}

.section__1-block-1-1-class{
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 40px;
}

.section__1-block-1-2-class{
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: flex-start;
}

.section__1-block-1-1-text-1-class{
  font-family: "Mulish", sans-serif;
  font-size: 60px;
  font-weight: 600;
  line-height: 4rem;
  margin-bottom: 20px;
}

.section__1-block-1-1-text-2-class{
  font-size: 30px;
  font-weight: 400;
  width: 80%;
}

.section__1-block-1-2-icon-wrapper-class {
  position: relative;
  display: inline-block;
  width: 29px;
  height: 29px;
  margin-right: 16px;
}

/* Базовая стилизация иконок */
.section__1-block-1-2-icon-wrapper-class img {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.2s ease;
}

/* Белая иконка скрыта по умолчанию */
.section__1-block-1-2-icon-wrapper-class .section__1-block-1-2-btn-1-icon-white-class {
    opacity: 0;
}

/* При наведении на кнопку:
   - Обычная иконка исчезает
   - Белая иконка появляется */
.section__1-block-1-2-btn-1-class:hover .section__1-block-1-2-btn-1-icon-class {
    opacity: 0;
}

.section__1-block-1-2-btn-1-class:hover .section__1-block-1-2-btn-1-icon-white-class {
    opacity: 1;
}

.section__1-block-1-2-btn-1-class{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 38px 20px 28px;
  border-radius: 14px;
  font-family: "Mulish", sans-serif;
  font-size: 22px;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0);
  border: #FFC470 3px solid;

  transition: all 0.2s;
}
.section__1-block-1-2-btn-1-class:hover{
  background-color: #FFC470;
  border: #FFC470 3px solid;
  color: #fff;
  cursor: pointer;
}

.section__1-block-1-2-btn-1-class img{
  width: 29px;
  height: 29px;
  margin-right: 16px;
}

.section__1-block-1-2-btn-2-class{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 38px;
  border-radius: 14px;
  font-family: "Mulish", sans-serif;
  font-size: 22px;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0);
  border: #FFC470 3px solid;

  transition: all 0.2s;
}

.section__1-block-1-2-btn-2-class:hover{
  background-color: #FFC470;
  border: #FFC470 3px solid;
  color: #fff;
  cursor: pointer;
}

.section__1-block-2-image-1-class{
  display: flex; /* Добавлено */
  justify-content: center; /* Центрируем по горизонтали */
  align-items: center; /* Центрируем по вертикали */
  height: 100%;
  width: 100%;
}

.section__1-block-2-img-1-class{
  width: 66%;
  height: auto;
  object-fit: cover;
}





/* Стили для второй секции (карусели) */
.section__2-class {
    margin-top: 40px;
    padding: 80px 0;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.section__2-block-line-class {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.section__2-block-carousel-class {
    display: flex;
    width: max-content;
    animation: carousel-scroll 50s linear infinite;
}

.carousel-item {
    position: relative; /* Для позиционирования иконки */
    flex: 0 0 auto;
    width: 200px;
    height: 240px;
    margin: 0 15px;
    background: white;
    border-radius: 20px;
    overflow: hidden; /* Обрезаем углы изображения */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.carousel-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-heart-icon {
    position: absolute;
    right: 15px;
    bottom: 15px;
    width: 44px;
    height: 44px;
    z-index: 10;
    transition: all 0.3s ease;
}

.section__2-block-carousel-item-class:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Анимация бесконечной прокрутки */
@keyframes carousel-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%); /* Сдвигаем на половину контента */
    }
}


/* Стили для третьей секции */

.section__3-class {
    position: relative;
    padding: 150px 0 100px;
    margin-top: -40px;
    z-index: 2; /* Поднимаем над фоном 4-й секции */
    overflow: visible;
}

/* Фоновое изображение - абсолютное позиционирование */
.section__3-bg-image {
    position: absolute;
    top: 60%;
    right: 25%; /* Позиционируем позади основного изображения */
    z-index: 1; /* Позади основного контента */
    transform: translateY(-50%); /* Центрируем и уменьшаем */
    width: 1400px; /* Фиксированный размер */
    height: 1400px;
    background-image: url('../images/image-3-block-4.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.section__3-block-line-class {
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section__3-block-1-class, 
.section__3-block-2-class {
    flex: 1;
    position: relative;
}


/* Блок с изображением */
.section__3-block-1-class {
    position: relative;
    flex: 0 0 50%;
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
}

.section__3-block-2-image-1-class {
    position: relative;
    z-index: 3;
    margin-right: -100px; /* Сдвигаем вправо */
}

.section__3-block-2-img-1-class {
    width: 64%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 3;
}

/* Декоративные лайки */
.section__3-block-2-like-decor-1-class {
    position: absolute;
    z-index: 4;
    width: 130px; /* Размер лайка */
    height: 140px;
}
.section__3-block-2-like-decor-2-class {
    position: absolute;
    z-index: 4;
    width: 90px; /* Размер лайка */
    height: 90px;
}

/* Позиционируем первый лайк (правый верхний угол) */
.section__3-block-1-class > img:first-child {
    top: -70px;
    right: 80px;
}

/* Позиционируем второй лайк (левый нижний угол) */
.section__3-block-1-class > img:last-child {
    bottom: -30px;
    left: -80px;
}

/* Текстовый блок */
.section__3-block-2-class {
    display: flex;
    justify-content: flex-end; /* Выравниваем содержимое вправо */
}

.section__3-block-2-1-class {
    max-width: 90%; /* Увеличиваем ширину текста */
    text-align: right;
    padding-left: 40px; /* Отступ от края */
}

.section__3-block-1-text-1-class {
    font-family: "Mulish", sans-serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 4rem;
    margin-bottom: 25px;
}

.section__3-block-1-text-2-class {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 35px;
}

.section__3-block-1-2-btn-1-class{
  padding: 20px 90px;
  border-radius: 14px;
  font-family: "Mulish", sans-serif;
  font-size: 24px;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0);
  border: #FF6B8B 3px solid;

  transition: all 0.2s;
}
.section__3-block-1-2-btn-1-class:hover{
  background-color: #FF6B8B;
  border: #FF6B8B 3px solid;
  color: #fff;
  cursor: pointer;
}



/* Стили для четвертой секции */


.section__4-class {
    position: relative;
    padding: 100px 0 100px; /* Уменьшаем вертикальные отступы */
    overflow: hidden;
    z-index: 1; /* Размещаем под 3-й секцией */
}

.section__4-block-line-class {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
    z-index: 2;
    margin-top: 40px;
}

.section__4-block-1-class {
    flex: 0 0 50%;
    padding-right: 80px;
    z-index: 3;
}

.section__4-block-1-text-1-class {
    font-family: "Mulish", sans-serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 4rem;
    margin-bottom: 25px;
}

.section__4-block-1-text-2-class {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 40px;
    width: 70%;
}



/* Стили для обертки иконок */
.icon-wrapper-2-class {
    position: relative;
    width: 42px;
    height: 42px;
    margin-right: 12px;
}

/* Базовая стилизация иконок */
.icon-wrapper-2-class img {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s;
}

/* Белая иконка скрыта по умолчанию */
.icon-wrapper-2-class .white {
    opacity: 0!important;
}

/* При активности элемента:
   - Цветная иконка исчезает
   - Белая иконка появляется */
.feature-item.active .colored {
    opacity: 0 !important;
}

.feature-item.active .white {
    opacity: 1!important;
}

.section__4-block-2-class {
    flex: 0 0 50%;
    position: relative;
    padding-top:5px;
    z-index: 1;
}

/* Убираем старые стили карусели */
.circle-container,
.rotating-items,
.item {
  display: none !important;
}

/* Иконки  */
.carousel-icon {
    width: 42px; /* Размер иконок */
    height: 42px;
    object-fit: contain; /* Сохранять пропорции */
}

.feature-item.active {
    transform: scale(1);
    background-color: #a18ed3;
    color: white !important;
    opacity: 1;
    box-shadow: 0 15px 30px rgba(161, 142, 211, 0.3);
    z-index: 2;
}
.feature-item.active span {
    color: white !important;
}

/* Новые стили для сетки */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 800px;
  margin-left: auto;

  transition: all 0.5s ease;
}

.feature-item {
  display: flex;
  align-items: center;
  background: rgb(255, 255, 255);
  border-radius: 40px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #000000;
  transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.4);
  border: 3px solid #A18ED3;
  padding: 20px 50px;
  height: 95px;
  opacity: 0.8;
  transform: scale(0.95);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
  z-index: 8;
}

.feature-item span {
  font-family: "Mulish", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5rem;
  text-align: center;
  margin-left: 10px;
}

/* Стили для активного состояния */
.feature-item.active {
  transform: scale(1);
  background-color: #a18ed3;
  color: white;
  opacity: 1;
  box-shadow: 0 15px 30px rgba(161, 142, 211, 0.3);
  z-index: 2;
}


.section__4-overlap-block-class {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 90px 0px 0px;
}

.section__4-block-1-2-btn-1-class{
  padding: 20px 80px;
  border-radius: 14px;
  font-family: "Mulish", sans-serif;
  font-size: 24px;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0);
  border: #FF6B8B 3px solid;

  transition: all 0.2s;
}
.section__4-block-1-2-btn-1-class:hover{
  background-color: #FF6B8B;
  border: #FF6B8B 3px solid;
  color: #fff;
  cursor: pointer;
}

/* Фоновое изображение - абсолютное позиционирование */
.section__4-bg-image {
  position: absolute;
  left: 73%;
  top: 40%;
  transform: translate(-50%, -50%);
  width: 660px;
  height: 660px;
  background: radial-gradient(circle at center, 
  rgba(161, 142, 211, 0.25) 0%, 
  rgba(161, 142, 211, 0.1) 40%, 
  rgba(161, 142, 211, 0) 70%);
  z-index: -1;
  border-radius: 50%;
  opacity: 0.5;
  filter: none;
}



/* Стили для пятой секции */

.section__5-class {
  position: relative;
  padding: 0px 0 80px;
  z-index: 2;
  overflow: hidden; /* Скрываем выходящие за границы элементы */
}

.section__5-block-line-class {
  display: flex;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}


/* Блок с пазлами (аналогично блоку с изображением в 3 секции) */
.section__5-block-1-class {
  flex: 0 0 45%;
  display: flex;
  justify-content: flex-start;
  padding-left: 20px;
  overflow: hidden; /* Добавляем ограничение переполнения */
}


.section__5-block-1-block-line-class {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 550px;
}


.puzzle-wrapper {
  position: relative;
  max-width: 100%; /* Важно: ограничиваем максимальную ширину */
  width: 100%; /* Растягиваем на всю доступную ширину */
  transform: scale(0.9);
  aspect-ratio: 1/1; /* Сохраняем пропорции */
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.puzzle-container {
  position: relative;
  width: 100%; /* Занимаем всю ширину контейнера */
  max-width: 700px; /* Максимальный размер */
  aspect-ratio: 1/1; /* Сохраняем пропорции */
  transform: rotate(10deg);
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
  overflow: visible;
}

.puzzle-piece {
  position: absolute;
  width: 50%;
  height: 50%;
  overflow: hidden; /* Для скругления углов */
  transition: all 0.3s ease;
  border-radius: 15px; /* Скругление углов */
  transform-origin: center;
}

.puzzle-piece img {
    object-fit: contain; /* Вместо cover */
    width: 100%;
    height: 100%;
}
/* Позиции элементов пазла с отступами */
.puzzle-piece:nth-child(1) {
  top: 0;
  left: 0;
  z-index: 7;
}

.puzzle-piece:nth-child(2) {
  top: 6%;
  left: 40%;
  z-index: 3;
}

.puzzle-piece:nth-child(3) {
  top: 40%;
  right: 55%;
  z-index: 5;
}

.puzzle-piece:nth-child(4) {
  top: 45%;
  left: 34%;
  z-index: 2;
}

/* Текстовый блок (аналогично 3 секции) */
.section__5-block-2-class {
  flex: 0 0 45%; /* Было 50% */
  display: flex;
  justify-content: flex-end;
}

.section__5-block-2-1-class {
  max-width: 90%;
  text-align: right;
  padding-right: 40px;
}

.section__5-block-1-text-1-class {
  font-family: "Mulish", sans-serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 4rem;
  margin-bottom: 25px;
}

.section__5-block-1-text-2-class {
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 35px;
  padding-left: 30px;
}

.section__5-block-1-2-btn-1-class {
  padding: 20px 90px;
  border-radius: 14px;
  font-family: "Mulish", sans-serif;
  font-size: 24px;
  font-weight: 500;
  background-color: rgba(255, 255, 255, 0);
  border: #FF6B8B 3px solid;
  transition: all 0.2s;
  color: #000;
}

.section__5-block-1-2-btn-1-class:hover {
  background-color: #FF6B8B;
  border: #FF6B8B 3px solid;
  color: #fff;
  cursor: pointer;
}




/* Стили для шестой секции */


.section__6-class {
    position: relative;
    padding: 150px 0 100px;
    margin-top: -40px;
    z-index: 2;
    overflow: visible; /* Вместо hidden */
}

.section__6-bg-image {
    position: absolute;
    top: 50%;
    left: 40%; /* Смещаем влево для центрирования */
    transform: translateY(-50%);
    width: 1000px;
    height: 1000px;
    background-image: url('../images/image-6-block-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    opacity: 1; /* Добавляем прозрачность как в 3-й секции */
}

.section__6-block-line-class {
    display: flex;
    align-items: center;
    max-width: 1300px; /* Точная ширина как в 3-й секции */
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Текстовый блок (слева) - точные размеры как в 3-й секции */
.section__6-block-1-class {
    flex: 0 0 50%;
    display: flex;
    justify-content: flex-start;
}

.section__6-block-2-1-class {
    max-width: 90%;
    text-align: left; /* Выравнивание по левому краю */
    padding-right: 40px; /* Аналогично 3-й секции */
}

.section__6-block-1-text-1-class {
    font-family: "Mulish", sans-serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 4rem;
    margin-bottom: 25px;
    width: 100%; /* Фиксируем ширину */
}

.section__6-block-1-text-2-class {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 35px;
    width: 80%; /* Фиксируем ширину как в 3-й секции */
}

/* Видео блок (справа) - точные размеры как в 3-й секции */
.section__6-block-2-class {
    flex: 0 0 45%;
    display: flex;
    justify-content: flex-start;
    padding-left: 150px; /* Тот же отступ, что в 3-й секции */
    position: relative;
    height: 500px; /* Фиксированная высота как у изображения */
}

.section__6-block-2-video-1-class video{
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 160%;
    height: 160%;
    border-radius: 30px;
    overflow: hidden; /* Скрываем выходящие за границы элементы */
}
.section__6-block-2-video-1-class{
  margin-top: -40px;
}

.section__6-block-2-vdo-1-class {
    width: 90%; /* Точный размер как в 3-й секции */
    height: auto;
    max-height: 100%; /* Ограничиваем высоту */
    object-fit: cover;
        -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: transparent !important;
}
/* Скрываем элементы управления */
.section__6-block-2-vdo-1-class::-webkit-media-controls {
    display: none !important;
}

/* Гарантируем заполнение контейнера */
.section__6-block-2-vdo-1-class {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
}

/* Кнопка - те же стили что в 3-й секции */
.section__6-block-1-2-button-1-class {
    text-align: left;
    margin-top: 20px;
}

.section__6-block-1-2-btn-1-class {
    padding: 20px 90px;
    border-radius: 14px;
    font-family: "Mulish", sans-serif;
    font-size: 24px;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0);
    border: #FF6B8B 3px solid;
    transition: all 0.2s;
    color: #000;
    display: inline-block; /* Для правильного позиционирования */
}

.section__6-block-1-2-btn-1-class:hover {
    background-color: #FF6B8B;
    border: #FF6B8B 3px solid;
    color: #fff;
    cursor: pointer;
}





/* Стили для седьмой секции */

.section__7-class {
    position: relative;
    padding: 160px 0 100px;
    overflow: visible;
}

.section__7-block-line-class {
    display: flex;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    gap: 50px;
}

/* Блок с кнопками (слева) */
.section__7-block-1-class {
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end; /* Выравниваем кнопки по правому краю */
    padding-right: 140px;
    gap: 30px;
}

/* Контейнер для кнопок */
.section__7-block-1-class > div {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    max-width: 440px;
}


.btn-text {
    position: static;
    text-align: center;
    width: 100%;
    pointer-events: none;
    transition: color 0.2s ease; /* Добавляем плавный переход для цвета */
}

/* Новые стили для иконок */
.btn-icon-wrapper {
    position: relative;
    z-index: 2;
    width: 24px;
    height: 24px;
    flex-shrink: 0; /* Запрещаем уменьшение */
    margin-left: 15px; /* Отступ от текста */
}

.btn-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.2s ease;
}

.btn-icon.white {
    opacity: 0;
}

/* Анимация при наведении */
.section__7-block-1-2-btn-1-class:hover .btn-icon:not(.white),
.section__7-block-1-2-btn-2-class:hover .btn-icon:not(.white) {
    opacity: 0;
}

.section__7-block-1-2-btn-1-class:hover .btn-icon.white,
.section__7-block-1-2-btn-2-class:hover .btn-icon.white {
    opacity: 1;
}

/* Общие стили кнопок с изменённым порядком элементов */
.section__7-block-1-2-btn-1-class,
.section__7-block-1-2-btn-2-class {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 20px;
    border-radius: 14px;
    font-family: "Mulish", sans-serif;
    font-size: 22px;
    font-weight: 500;
    background-color: #ffffff00;
    border: 3px solid #FFC470;
    color: #000000;
    transition: background-color 0.2s, border-color 0.2s; /* Разделяем переходы */
    width: 100%;
    position: relative;
}

/* Стили при наведении */
.section__7-block-1-2-btn-1-class:hover,
.section__7-block-1-2-btn-2-class:hover {
    background-color: #FFC470;
    color: white;
    cursor: pointer;
}

/* Текстовый блок (справа) с выравниванием по правому краю */
.section__7-block-2-class {
    flex: 0 0 45%;
    display: flex;
    justify-content: flex-start;
}

.section__7-block-2-1-class {
    max-width: 90%;
    text-align: right; /* Выравнивание текста по правому краю */
    padding-left: 40px;
}

.section__7-block-1-text-1-class {
    font-family: "Mulish", sans-serif;
    font-size: 56px;
    font-weight: 600;
    line-height: 4rem;
    margin-bottom: 25px;
}

.section__7-block-1-text-2-class {
    font-size: 26px;
    font-weight: 400;
    margin-bottom: 35px;
    padding-left: 120px;
}



/* Фикс синего цвета кнопок на iOS */
button, .btn {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  text-fill-color: inherit !important;
}

/* Явное указание цвета для всех состояний кнопок */
.section__1-block-1-2-btn-1-class,
.section__1-block-1-2-btn-2-class,
.section__3-block-1-2-btn-1-class,
.section__4-block-1-2-btn-1-class,
.section__5-block-1-2-btn-1-class,
.section__6-block-1-2-btn-1-class,
.section__7-block-1-2-btn-1-class,
.section__7-block-1-2-btn-2-class {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

.section__1-block-1-2-btn-1-class:hover,
.section__1-block-1-2-btn-2-class:hover,
.section__3-block-1-2-btn-1-class:hover,
.section__4-block-1-2-btn-1-class:hover,
.section__5-block-1-2-btn-1-class:hover,
.section__6-block-1-2-btn-1-class:hover,
.section__7-block-1-2-btn-1-class:hover,
.section__7-block-1-2-btn-2-class:hover {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}


/* МОДАЛЬНОЕ ОКНО INDEX.PHP */

/* Стили для модального окна */
.login-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 46%);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.1s ease-out, visibility 0.3s ease-out;
}

.login-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.login-modal-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    z-index: 1001;
    background: #fff;
    border-radius: 50px;
    width: 550px;
    height: 550px; /* Фиксированная высота */
    padding: 40px;
    border: 3px solid #FFC470;
    opacity: 0;
    visibility: hidden;
    transition: all 0.1s ease-out;
    overflow: hidden; /* Скрываем переполнение */
}

.login-modal-container.active {
    opacity: 1;
    visibility: visible;
    display: block;
    transform: translate(-50%, -50%);
    animation: fadeIn 0.2s ease-out;
}

.btn-close-modal {
    position: absolute;
    top: 25px;
    right: 35px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #222;
    transition: transform 0.4s;
    z-index: 10;
}

.btn-close-modal:hover {
    transform: scale(1.1);
    color: #ff00009c;
}

.login-title {
    font-size: 2.5rem;
    font-weight: 500;
    margin-top: 58px;
    margin-bottom: 32px;
    color: #222;
    text-align: center;
    font-family: 'Mulish', sans-serif;
    width: 100%;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.login-form input {
    width: 100%;
    height: 70px;
    border-radius: 50px;
    border: 2px solid #FFC470;
    padding: 0 25px;
    font-size: 1.2rem;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: border 0.2s;
}

.login-form input:focus {
    border: 2px solid #FFC470;
}

.login-btn {
    display: none;
}

.login-error {
    color: #ff4d4d;
    font-size: 1.05rem;
    margin-bottom: 10px;
    text-align: left;
    width: 100%;
}

.field-error {
    border-color: #ff4d4d !important;
}

.error-message {
    color: #ff4d4d;
    font-size: 0.95rem;
    margin-top: -8px;
    margin-bottom: 10px;
    padding-left: 10px;
    font-family: 'Montserrat', sans-serif;
    text-align: left;
    display: none;
}

.btn-next {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    background-color: #FFC470;
    transition: all 0.3s ease !important;
    opacity: 0;
    pointer-events: none;
}

.btn-next.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.fa-arrow-right{
  font-weight: 900;
  color: white;
}

.password-wrapper {
    position: relative;
    margin-bottom: 0;
}

.toggle-password {
    position: absolute;
    right: 24px;
    top: 54%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #FFC470;
    cursor: pointer;
    font-size: 1.3rem;
    width: 30px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 10;
}
.toggle-password i {
color: #FFC470;
}


.toggle-password:hover {
    opacity: 1;
}
/* Анимация для затемнения фона */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


@media (max-width: 590px) {
    .login-modal-container {
        width: 96%;
        height: auto; /* Автоматическая высота на мобильных */
        min-height: 400px; /* Минимальная высота */
        overflow-y: auto; /* Разрешаем прокрутку */
        max-height: 90vh;
        border-radius: 30px;
        padding: 20px;
    }
    .login-modal-container.keyboard-open {
    transform: translate(-50%, -60%) !important; /* Сдвигаем выше */
    }
    
    .login-title {
        font-size: 2.2rem;
        margin-bottom: 28px;
        font-weight: 700;
        margin-top: 50px;
    }
    
    .login-form input {
        height: 60px;
        font-size: 1.0rem;
        border-radius: 15px !important;
        padding: 0px 18px;
    }
    
    .btn-next {
        width: 60px;
        height: 60px;
        bottom: 20px;
        right: 20px;
        font-size: 1.7rem;
    }
}





/* Добавляем стили для активного состояния кнопок */
.section__1-block-1-2-btn-1-class:active,
.section__1-block-1-2-btn-2-class:active,
.section__3-block-1-2-btn-1-class:active,
.section__4-block-1-2-btn-1-class:active,
.section__5-block-1-2-btn-1-class:active,
.section__6-block-1-2-btn-1-class:active,
.section__7-block-1-2-btn-1-class:active,
.section__7-block-1-2-btn-2-class:active {
    color: white !important;
    -webkit-text-fill-color: white !important;
}



/* МЕДИА ЗАПРОСЫ (АДАПТАЦИЯ) */




/* Адаптация для экранов < 1660px  */
@media (max-width: 1660px){
  .header-class {
    padding: 50px 20px;
  }
}




/* Адаптация для экранов < 1440px */
@media (max-width: 1440px) {
  .container {
    padding: 0 40px;
  }
  
  /* Шапка */
  .header-class {
    padding: 40px 10px;
  }
  
  /* Секция 1 (герой) */
  .section__1-block-line-class {
    gap: 40px;
  }
  .section__1-block-1-1-text-1-class {
    font-size: 48px;
    line-height: 3.5rem;

    br {
      display: none;
    }
  }
  .section__1-block-1-1-text-2-class {
    font-size: 24px;
  }
  .section__1-block-1-2-btn-1-class{
    padding: 18px 20px;
    font-size: 20px;
  }
  .section__1-block-1-2-btn-2-class{
    padding: 18px 20px;
    font-size: 20px;
  }
  
  /* Секция 3 */
  .section__3-block-line-class {
    padding: 0 20px;
  }
  .section__3-block-1-text-1-class {
    font-size: 48px;
  }
  
  /* Секция 4 */
  .section__4-block-line-class {
    padding: 0 20px;
  }
  .section__4-block-1-text-1-class {
    font-size: 48px;
  }
  
  /* Секция 5 */
  .section__5-block-line-class {
    padding: 0 20px;
  }
  .section__5-block-1-text-1-class {
    font-size: 48px;
  }
  
  /* Секция 6 */
  .section__6-block-line-class {
    padding: 0 20px;
  }
  .section__6-block-1-text-1-class {
    font-size: 48px;
  }
  
  /* Секция 7 */
  .section__7-block-line-class {
    padding: 0 20px;
  }
  .section__7-block-1-text-1-class {
    font-size: 48px;
  }

  .section__4-block-2-class {
    margin-left: -80px;
  }
}





/* АДАПТАЦИЯ ДЛЯ 1024px */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }
  
  /* Секция 1 */
  .section__1-block-1-1-text-1-class {
    font-size: 40px;
    line-height: 2.8rem;
  }
  
  .section__1-block-1-1-text-2-class {
    font-size: 22px;
  }

  /* Секция 2 - карусель */
  .carousel-item {
    width: 180px;
    height: 220px;
  }
  
  /* Секция 3 */
  .section__4-block-1-text-1-class,
  .section__5-block-1-text-1-class,
  .section__6-block-1-text-1-class,
  .section__7-block-1-text-1-class {
    font-size: 40px;
    line-height: 3.2rem;

    br {
      display: none;
    }
  }
  .section__4-block-1-text-2-class,
  .section__5-block-1-text-2-class,
  .section__6-block-1-text-2-class,
  .section__7-block-1-text-2-class {
    font-size: 22px;
  }

  .section__3-block-1-text-1-class {
    font-size: 40px;
    line-height: 3.2rem;
    
    br {
      display: none;
    }
  }
  .section__3-block-1-text-2-class {
    font-size: 22px;
  }
  .section__3-block-1-2-btn-1-class{
    padding: 18px 20px;
    font-size: 20px;
  }

  .section__3-block-1-class{
    padding-right: 0px;
  }
  .section__3-block-2-img-1-class{
    width: 60%;
  }
  .section__3-block-1-class > img:first-child{
    right: 0px;
  }
  .section__3-block-1-class > img:last-child{
    left: -0px;
  }
  .section__3-bg-image{
    right: 14%;
    width: 1000px;
    height: 1000px;
  }
  .section__3-class{
    overflow: visible;
  }
  /* Секция 4 - сетка features-grid */
/* Фикс для сетки features-grid - уменьшаем отступы и размеры */
  .features-grid {
    gap: 20px;
    max-width: 100%;
    margin-left: 0;
  }
  
  .feature-item {
    padding: 15px 25px;
    height: 85px;
    border-radius: 30px;
  }
  
  .feature-item span {
    font-size: 18px;
  }
  .section__4-block-1-2-btn-1-class{
    padding: 18px 50px;
    font-size: 20px;
  }

   /* Секция 5 - пазлы */
   .section__5-block-2-class{
      justify-content: center;
   }

   .section__5-block-1-class{
    padding-left: 0px;
   }
  
  .puzzle-wrapper {
    transform: scale(0.7);
    margin: -30px auto;
  }
  

  .puzzle-container{
    width: 600px;
    height: 600px;
  }
  .section__5-block-1-2-btn-1-class{
    padding: 18px 50px;
    font-size: 20px;
  }

  .section__4-block-2-class {
    margin-left: -80px;
  }

  /* Секция 6 */
  .section__6-block-2-video-1-class{
    height: 100%;
    width: 100%;
  }
  .section__6-block-2-1-class{
    padding-right: 0px;
  }
  .section__6-block-1-2-btn-1-class{
    padding: 18px 50px;
    font-size: 20px;
  }
  .section__6-block-2-class{
    height: 300px;
  }
  .section__6-bg-image{
    width: 800px;
    height: 800px;
    left: 37%;
  }


  /* Секция 7 */
  .section__7-block-1-class{
    flex: 0 0 40%;
    padding-right: 0px;
  }
  .section__7-block-2-class{
    flex: 0 0 60%;
  }

  .section__7-block-1-2-btn-1-class, 
  .section__7-block-1-2-btn-2-class{
    padding: 20px 20px;
    font-size: 20px;
  }
  
  /* Футер */
  .footer-line-1 {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .footer-block-1,
  .footer-block-2,
  .footer-block-3 {
    flex: 0 0 30%;
    min-width: 250px;
  }
  .section__5-block-2-class{
    flex: 0 0 65%;
  }
  .section__6-block-2-video-1-class video {
    margin-top: 20px;
  }



}


/* Переключение сетки на 3 ряда на 870px */
@media (max-width: 870px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 15px;
  }
  
  .feature-item {
    padding: 12px 15px;
    height: 75px;
  }
  
  .feature-item span {
    font-size: 16px;
  }
    .puzzle-wrapper {
    transform: scale(0.6);
    margin: -40px auto;
  }

}


@media (max-width: 768px) {
  /* GRID ЛЕЙАУТ ДЛЯ ВСЕХ СЕКЦИЙ */
  .section__1-block-line-class,
  .section__3-block-line-class,
  .section__5-block-line-class,
  .section__6-block-line-class,
  .section__7-block-line-class {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-line-1 {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-block-1, 
  .footer-block-2, 
  .footer-block-3 {
    margin-bottom: 30px;
    width: 100%;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  /* ЛЕВОЕ ВЫРАВНИВАНИЕ ДЛЯ ВСЕХ ЭЛЕМЕНТОВ */
  .section__1-block-1-class,
  .section__1-block-1-1-class,
  .section__1-block-1-1-text-1-class,
  .section__1-block-1-1-text-2-class,
  .section__3-block-2-1-class,
  .section__4-block-1-class,
  .section__5-block-2-1-class,
  .section__6-block-2-1-class,
  .section__7-block-2-1-class,
  .features-grid,
  .feature-item {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .section__1-block-1-2-class{
    align-items: start !important;

  }
  .section__1-block-1-class{
    width:100%;
  }
  .section__1-block-2-class{
    width:100%;
  }
  .section__1-block-2-img-1-class{
    margin-top: 12px;
    width: 50%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .section__3-class{
    margin-top: 0px;
  }
  .section__3-block-2-img-1-class{
    margin-top: 12px;
    width: 50%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .section__3-block-1-class > img:first-child{
    right: 70px;
    top: 0px;
  }
  .section__3-block-1-class > img:last-child{
    left: 110px;
  }
  .section__3-bg-image{
    width: 900px;
    height: 900px;
    right: -100px;
    top: 400px;
  }
  .section__3-block-2-1-class{
    max-width: 100%;
    padding-left: 0px;
  }

  .section__3-block-1-text-1-class{
    margin-top: 20px;
  }

  .section__3-block-1-text-2-class{
    width: 100%;
  }
  .section__4-block-1-class{
    padding-right: 0px;
  }
  .section__4-block-1-text-2-class{
      width: 100%;
  }
  .section__4-class{
    padding: 0px;
  }
  .section__4-bg-image{
    left: 50%;
    top: 55%;
    width: 460px;
    height: 460px;
  }
  .section__4-block-line-class{
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0px;
  }
  .section__4-overlap-block-class{
    padding: 50px 0px 0px;
  }
  .section__4-block-2-class {
    margin-left: 0px;
  }

  .feature-item {
    justify-content: flex-start;
    text-align: left;
    padding: 12px 20px;
  }
  
  .feature-item .icon-wrapper-2-class {
    margin-right: 10px;
  }
  
  .feature-item span {
    flex-grow: 1;
    text-align: center;
    margin-left: -10px;
    font-size: 18px;
  }

  .section__6-block-2-class{
    padding-left: 0px;
    max-width: 100%;
    width: 50%;
  }
  .section__6-block-2-video-1-class{
    display: flex;
    justify-content: center;

    margin: 0 auto;
  }
  .section__6-bg-image{
    width: 800px;
    height: 800px;
    left: -4%;
    top: 52%;
    
  }

  .section__7-block-1-class{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }
  .section__7-block-1-text-1-class{
    text-align: center;
  }
  .section__7-block-1-text-2-class{
    margin-bottom: 35px;
    text-align: center;
    padding-left: 0px;
  }
  /* Фикс для сетки features-grid - 2 колонки */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .feature-item {
    padding: 12px 18px;
    height: 80px;
    justify-content: flex-start;
  }
  
  /* Уменьшаем все тексты */
  .section__1-block-1-1-text-1-class,
  .section__3-block-1-text-1-class,
  .section__4-block-1-text-1-class,
  .section__5-block-1-text-1-class,
  .section__6-block-1-text-1-class,
  .section__7-block-1-text-1-class {
    font-size: 38px;
    line-height: 2.8rem;

    br {
      display: none;
    }
  }
  
  .section__1-block-1-1-text-2-class,
  .section__3-block-1-text-2-class,
  .section__4-block-1-text-2-class,
  .section__5-block-1-text-2-class,
  .section__6-block-1-text-2-class,
  .section__7-block-1-text-2-class {
    font-size: 20px;
  }
  
  /* Уменьшаем кнопки */
  .section__1-block-1-2-btn-1-class,
  .section__1-block-1-2-btn-2-class,
  .section__3-block-1-2-btn-1-class,
  .section__4-block-1-2-btn-1-class,
  .section__5-block-1-2-btn-1-class,
  .section__6-block-1-2-btn-1-class,
  .section__7-block-1-2-btn-1-class,
  .section__7-block-1-2-btn-2-class {
    padding: 16px 28px;
    font-size: 18px;
    width: auto;
    display: inline-flex;
  }
  
  /* Центрируем только изображения */
  .section__1-block-2-image-1-class,
  .section__3-block-2-image-1-class {
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  
  /* Убираем большие отступы */
  .section__1-class,
  .section__2-class,
  .section__3-class,
  .section__4-class,
  .section__5-class,
  .section__6-class,
  .section__7-class {
    padding: 40px 0;
  }

  .container {
    padding: 0 20px;
  }

  .section__1-class{
    height: 100%;
  }
  
  .section__1-block-1-1-class {
    margin-bottom: 25px;
  }
  
  /* Фикс для пазлов */
.section__5-block-line-class {
    flex-direction: column;
    gap: 0;
    padding: 0 0px;
    padding-left: 30px;
  }

  .section__6-block-2-1-class{
    max-width: 100%;
  }
  .section__6-block-1-text-2-class{
    width: 100%;
  }
  .section__6-block-1-2-button-1-class{
    text-align: center;
  }
  .section__5-block-1-class {
    order: 1; /* Панель с пазлами внизу */
    margin-top: 0 !important;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    padding-left: 0;
}

  .section__5-block-2-class {
    order: 2; /* Текстовый блок сверху */
    justify-content: center;
    margin-top: -80px !important;
    margin-bottom: 30px;
  }

  .puzzle-wrapper {
    transform: scale(0.8);
    margin: 0 auto !important;
    transform-origin: center;
  }
  .section__5-block-1-text-2-class{
    padding-left: 0px;
  }
  .section__6-block-2-class {
    width: 100%;
    padding-left: 0;
    height: auto;
    margin-top: 0;
  }

  .section__6-block-2-video-1-class {
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  .section__6-block-2-video-1-class video {
    width: 60% !important;
    height: 60% !important;
    max-width: 100%;
    margin: 0;
    margin-top: 20px;
    border-radius: 20px;
  }

  .section__6-block-1-class{
    order: 2;
  }
    /* Фикс для текста на кнопках в iOS */
  button, .btn {
    color: inherit !important;
    -webkit-text-fill-color: initial !important;
  }
}



/* =============== АДАПТАЦИЯ ДЛЯ 500px =============== */
@media (max-width: 500px){
  .puzzle-wrapper {
    margin: 0 auto !important;
    margin-left: -255px !important;
  }
  .section__5-block-1-class {
    margin-left: -40px;
  }
}





/* =============== АДАПТАЦИЯ ДЛЯ 590px =============== */
@media (max-width: 590px) {

  body, html {
    overflow-x: hidden;
    width: 100%;
  }
  /* Переключаем сетку на 1 колонку */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .section__1-class{
    height: 100%;
  }
  .section__2-class{
    padding: 20px 0;
  }
  .puzzle-wrapper {
    transform: scale(0.8);
    margin: 20px auto 0;
    margin-left: -14px;
  }
  .section__3-bg-image{
    width: 900px;
    height: 900px;
    right: -220px;
    top: 300px;
  }
  .section__6-bg-image{
    width: 800px;
    height: 800px;
    left: -30%;
    top: 70%;
  }
  .section__1-block-2-img-1-class{
    width: 70%;
  }
  .section__3-block-2-img-1-class{
    width: 70%;
  }
  .section__3-block-1-class > img:first-child{
    width: 110px;
    height: 120px;
    right: 10px;
    top: 0px;
  }
  .section__3-block-1-class > img:last-child{
    width: 95px;
    height: 95px;
    left: 50px;
  }
    .feature-item {
      flex-direction: row !important; /* Возвращаем в строку */
      justify-content: flex-start !important; /* Выравниваем по левому краю */
      padding: 14px 15px !important;
      text-align: left !important;
  }
  
  .feature-item span {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 5px; /* Небольшие отступы по бокам */
        margin-left: 10px !important; /* Добавляем отступ между иконкой и текстом */
        width: auto !important; /* Сбрасываем ширину */
        flex-grow: 1; /* Растягиваем текст на доступное пространство */
  }
  .icon-wrapper-2-class {
        margin-right: 0 !important;
        margin-left: 10px; /* Добавляем отступ слева для иконки */
  }
  .section__6-block-2-video-1-class video{
    width: 70% !important;
    height: 70% !important;
  }
  .section__6-bg-image{
    top: 30%;
  }
  .section__6-block-1-class{
    margin-top: -160px;
  }
  .section__7-class{
    padding: 30px 0;
  }
    .section__6-block-1-class {
    margin-top: 0 !important;
  }
    .puzzle-wrapper {
    transform: scale(0.7);
    margin: 0 auto !important;
    margin-left: -25px !important;
  }
}


@media (max-width: 471px){
  .section__1-block-2-img-1-class{
    width: 70%;
  }
  .section__1-block-1-2-class{
    display: grid;
    gap: 14px;
  }
  .section__3-block-2-img-1-class{
      width: 70%;
  }
  .section__3-block-1-class > img:last-child{
    left: 10px;
  }
  .section__3-block-1-class > img:first-child{
    width: 110px;
    height: 120px;
    right: 0px;
    top: -20px;
  }
  .section__3-bg-image{
    right: -260px;
  }
  .section__4-block-1-text-2-class{
    width: 100%;
  }
  .section__6-block-2-video-1-class video{
    width: 82% !important;
    height: 82% !important;
  }
  .puzzle-wrapper{
    transform: scale(0.7);
    margin-left: -56px;
  }
  .section__6-block-1-class{
    margin-top: -115px;
  }
  .section__5-block-2-class{
    margin-top: -100px !important;
  }
  .section__6-bg-image{
      left: -15%;
  }
  .section__3-bg-image{
    right: -100px;
    top: 210px;
  }
}


/* =============== АДАПТАЦИЯ ДЛЯ 425px =============== */
@media (max-width: 425px) {

  .section__1-block-1-class,
  .section__3-block-2-1-class,
  .section__4-block-1-class,
  .section__5-block-2-1-class,
  .section__6-block-2-1-class,
  .section__7-block-2-1-class {
    width: calc(100% - 5px);
  }

  /* ЦЕНТРАЛЬНОЕ ВЫРАВНИВАНИЕ ДЛЯ ВСЕХ ЭЛЕМЕНТОВ */
  .section__1-block-1-class,
  .section__1-block-1-1-class,
  .section__1-block-1-1-text-1-class,
  .section__1-block-1-1-text-2-class,
  .section__1-block-1-2-class,
  .section__3-block-2-1-class,
  .section__4-block-1-class,
  .section__5-block-2-1-class,
  .section__6-block-2-1-class,
  .section__7-block-2-1-class,
  .features-grid,
  .feature-item,
  .section__4-overlap-block-class {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  /* GRID для всех секций */
  .section__1-block-line-class,
  .section__3-block-line-class,
  .section__4-block-line-class,
  .section__5-block-line-class,
  .section__6-block-line-class,
  .section__7-block-line-class {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .header-class {
    text-align: center;
  }
  .section__7-block-2-1-class {
    padding-left: 0px;
  }
  
  /* Уменьшаем отступы по бокам */
  .container {
    padding: 0 15px;
  }
  
  /* Убираем лишние отступы */
  .section__1-class,
  .section__2-class,
  .section__3-class,
  .section__4-class,
  .section__5-class,
  .section__6-class,
  .section__7-class {
    padding: 40px 0;
  }
  
  /* Фикс для кнопок - делаем колонку */
  .section__1-block-1-2-class {
    flex-direction: column;
    gap: 15px;
  }
  
  .section__1-block-1-2-btn-1-class,
  .section__1-block-1-2-btn-2-class {
    width: 100%;
    max-width: 280px;
    padding: 18px 30px;
  }
  
  /* Уменьшаем тексты */
  .section__1-block-1-1-text-1-class,
  .section__3-block-1-text-1-class,
  .section__4-block-1-text-1-class,
  .section__5-block-1-text-1-class,
  .section__6-block-1-text-1-class,
  .section__7-block-1-text-1-class {
    font-size: 38px;
    font-weight: 700;
    line-height: 2.5rem;
    text-align: center;

    br {
      display: none;
    }
  }
  
  .section__1-block-1-1-text-2-class,
  .section__3-block-1-text-2-class,
  .section__4-block-1-text-2-class,
  .section__5-block-1-text-2-class,
  .section__6-block-1-text-2-class,
  .section__7-block-1-text-2-class {
    font-size: 20px;
    text-align: center;
    width: 100%;
  }
  
  /* Фикс для сетки */
  .feature-item {
    padding: 20px 15px;
    height: auto;
    min-height: 70px;
    justify-content: center;
    width: 100%;
    margin-top: 5px;
  }
  
  /* Фикс для пазлов */
.section__5-block-1-class {
    margin-top: -20px;
    margin-bottom: 0;
  }

  .puzzle-wrapper {
    transform: scale(0.6);
    margin: -70px auto 0;
    margin-left: -65px !important;
  }

  .section__5-block-2-class{
    margin-top:-100px !important;
    margin-bottom: 20px;
  }

  /* Центрируем текст и кнопку */
  .section__5-block-2-1-class,
  .section__5-block-1-text-1-class,
  .section__5-block-1-text-2-class,
  .section__5-block-1-2-button-1-class {
    text-align: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Центрируем кнопки в секции 7 */
  .section__7-block-1-2-btn-1-class,
  .section__7-block-1-2-btn-2-class {
    justify-content: center;
  }

  .section__1-block-2-img-1-class{
    width: 88%;
  }
  .section__1-class{
    height: 100%;
  }

  .section__3-block-2-img-1-class{
    width: 88%;   
  } 
  .section__3-block-1-class > img:first-child{
    width: 100px;
    height: 100px;
    right: -20px;
    top: -30px;
  }
  .section__3-block-1-class > img:last-child{
    width: 80px;
    height: 80px;
    left: 10px;
  }
  .section__3-bg-image{
    width: 700px;
    height: 700px;
    right: -200px;
    top: 200px;
  }
  .section__6-block-1-2-button-1-class{
    text-align: center;
  }
  .section__6-block-2-class{
    padding-left: 0px;
    max-width: 100%;
    width: 100%;
  }

  .section__7-block-1-text-1-class{
    margin-top: 20px;
  }

  .section__6-bg-image{
    width: 800px;
    height: 800px;
    left: -44%;
    top: 30%;
  }

    .section__6-block-2-video-1-class {
    width: 100%;
    height: auto;
    margin: 0;
    display: flex;
    justify-content: center;
  }

  .section__6-block-2-video-1-class video {
    width: 80% !important;
    height: 80% !important;
    max-width: 100%;
    margin: 0;
    margin-top: 20px;
    border-radius: 20px;
  }
  .section__4-block-2-class{
    margin-top: -40px;
  }

    /* Уменьшаем кнопки */

  .section__3-block-1-2-btn-1-class,
  .section__4-block-1-2-btn-1-class,
  .section__5-block-1-2-btn-1-class,
  .section__6-block-1-2-btn-1-class {
    padding: 18px 36px;
    font-size: 18px;
    width: auto;
    display: inline-flex;
  }
  .section__7-block-1-2-btn-1-class,
  .section__7-block-1-2-btn-2-class {
    padding: 20px 30px;
    font-size: 18px;
    width: auto;
    display: inline-flex;
  }
    .section__5-block-1-class {
    margin-left: -14px;
  }
}





/* АДАПТАЦИЯ ДЛЯ 375px */
@media (max-width: 375px) {
  .container {
    padding: 0 12px;
  }
  
  /* Уменьшаем тексты */
  .section__1-block-1-1-text-1-class,
  .section__3-block-1-text-1-class,
  .section__4-block-1-text-1-class,
  .section__5-block-1-text-1-class,
  .section__6-block-1-text-1-class,
  .section__7-block-1-text-1-class {
    font-size: 36px;
    font-weight: 700;
    line-height: 2.2rem;
  }
  
  /* Уменьшаем кнопки */
  .section__1-block-1-2-btn-1-class,
  .section__1-block-1-2-btn-2-class,
  .section__3-block-1-2-btn-1-class,
  .section__4-block-1-2-btn-1-class,
  .section__5-block-1-2-btn-1-class,
  .section__6-block-1-2-btn-1-class {
    padding: 18px 32px;
    font-size: 18px;
  }

  .section__7-block-1-2-btn-1-class,
  .section__7-block-1-2-btn-2-class{
    padding: 18px 20px;
  }
  /* Фикс для сетки */
  .feature-item span {
    font-size: 18px;
  }

  .section__1-block-1-2-icon-wrapper-class{
    width: 24px;
    height: 24px;
  }
  .section__1-block-1-2-btn-1-class img{
    width: 24px;
    height: 24px;
  }
  .section__3-block-1-class > img:first-child{
    width: 80px;
    height: 80px;
    right: -20px;
    top: -20px;
  }
  .section__3-block-1-class > img:last-child{
    width: 70px;
    height: 70px;
    left: 10px;
  }
    .puzzle-wrapper {
    transform: scale(0.6);
    margin: -80px auto 0;
    margin-left: -78px;
  }
    .section__6-block-1-class {
      margin-top: -45px;
  }
      .section__5-block-1-class {
    margin-left: -30px;
  }
}




/* АДАПТАЦИЯ ДЛЯ 320px */
@media (max-width: 320px) {
  .container {
    padding: 0 8px;
  }
  
  /* Минимальные отступы */
  .section__1-class,
  .section__2-class,
  .section__3-class,
  .section__4-class,
  .section__5-class,
  .section__6-class,
  .section__7-class {
    padding: 30px 0;
  }
  
  /* Уменьшаем тексты */
  .section__1-block-1-1-text-1-class,
  .section__3-block-1-text-1-class,
  .section__4-block-1-text-1-class,
  .section__5-block-1-text-1-class,
  .section__6-block-1-text-1-class,
  .section__7-block-1-text-1-class {
    font-size: 34px;
    line-height: 2.3rem;
  }
  
  .section__1-block-1-1-text-2-class,
  .section__3-block-1-text-2-class,
  .section__4-block-1-text-2-class,
  .section__5-block-1-text-2-class,
  .section__6-block-1-text-2-class,
  .section__7-block-1-text-2-class {
    font-size: 18px;
  }
  
  /* Уменьшаем кнопки */
  .section__1-block-1-2-btn-1-class,
  .section__1-block-1-2-btn-2-class,
  .section__3-block-1-2-btn-1-class,
  .section__4-block-1-2-btn-1-class,
  .section__5-block-1-2-btn-1-class,
  .section__6-block-1-2-btn-1-class {
    padding: 14px 28px;
    font-size: 17px;
  }

  .section__7-block-1-2-btn-1-class,
  .section__7-block-1-2-btn-2-class {
    padding: 14px 12px;
    font-size: 16px;
  }
  
  /* Фикс для сетки */
  .feature-item {
    padding: 10px 12px;
    border-radius: 25px;
  }
  
  .feature-item span {
    font-size: 14px;
  }
  
  /* Финал для пазлов */
  .puzzle-wrapper {
    transform: scale(0.4);
    margin: -40px auto;
    margin-left: -89px;
  }

    .section__5-block-1-class {
    margin-left: -70px;
  }

}
/* ================== IOS FIXES ================== */
/* Фикс синего цвета текста на кнопках */
/* Фикс для Safari */
@media (hover: none) and (pointer: coarse) {
    button, .btn {
        color: inherit !important;
        -webkit-text-fill-color: inherit !important;
    }
}

/* Фикс для видео в iOS */
.section__6-block-2-vdo-1-class {
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    background: transparent !important;
    object-fit: cover;
}
/* Фикс масштабирования в мобильном Safari */
@supports (-webkit-touch-callout: none) {
    .puzzle-piece {
        transform: translateZ(0);
        will-change: transform;
    }
    
    .puzzle-piece img {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        perspective: 1000px;
    }
    
    .carousel-item,
    .feature-item {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* Фикс для кнопок в Safari */
button, .btn {
    -webkit-appearance: none;
    border-radius: 14px;
}

/* Фикс для анимаций в iOS */
@supports (-webkit-touch-callout: none) {
    .carousel-item,
    .feature-item {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    .section__1-class {
        height: auto;
        min-height: 60vh;
    }
    
    /* Фикс для видео */
    .section__6-block-2-vdo-1-class {
        -webkit-mask-image: -webkit-radial-gradient(white, black);
        background: transparent !important;
    }
}

/* Общие безопасные отступы для всех iPhone */
@supports (padding: max(0px)) {
    body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
        padding-top: env(safe-area-inset-top);
        padding-bottom: env(safe-area-inset-bottom);
    }
    
    .login-modal-container {
        padding-left: max(env(safe-area-inset-left), 20px);
        padding-right: max(env(safe-area-inset-right), 20px);
    }
}
/* Фикс для всех iPhone с вырезом */
@media only screen and (max-width: 900px) and (-webkit-min-device-pixel-ratio: 2) {
    body, html {
        width: 100%;
        height: 100%;
    }
    
    .section__1-class {
        height: auto;
        min-height: 60vh;
    }
    
    button, .btn {
        -webkit-appearance: none;
        border-radius: 14px;
        color: inherit !important;
        -webkit-text-fill-color: inherit !important;
    }
}
/* Фикс для всех iPhone с вырезом */
@supports (padding: max(0px)) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
  
  .wrapper {
    min-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }
}
/* iPhone 16 (предположительные параметры) */
@media only screen and (min-device-width: 430px) and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
    .section__1-block-1-1-text-1-class {
        font-size: 42px;
        line-height: 3.2rem;
    }
    
    .section__3-bg-image {
        width: 900px;
        height: 900px;
        right: -220px;
        top: 250px;
    }
    
    .puzzle-wrapper {
        transform: scale(0.72);
        margin-top: -30px;
    }
    
    .section__6-block-2-video-1-class video {
        width: 85% !important;
        height: 85% !important;
    }
}
/* iPhone 14/15 Pro Max */
@media only screen and (min-device-width: 430px) and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
    .section__1-block-2-img-1-class,
    .section__3-block-2-img-1-class {
        width: 75% !important;
    }
    
    .section__4-block-1-text-1-class,
    .section__5-block-1-text-1-class,
    .section__6-block-1-text-1-class,
    .section__7-block-1-text-1-class {
        font-size: 42px;
        line-height: 3.0rem;
    }
    
    .puzzle-wrapper {
        transform: scale(0.65);
    }
    
    .section__6-bg-image {
        width: 750px;
        height: 750px;
        left: -34%;
        top: 35%;
    }
}
/* iPhone 12/13 Pro/Pro Max */
@media only screen and (min-device-width: 390px) and (max-device-width: 926px) and (-webkit-min-device-pixel-ratio: 3) {
    .section__1-block-1-1-text-1-class {
        font-size: 40px;
        line-height: 2.9rem;
    }
    
    .section__3-bg-image {
        width: 850px;
        height: 850px;
        right: -190px;
        top: 220px;
    }
    
    .section__6-bg-image {
        width: 720px;
        height: 720px;
        left: -38%;
        top: 32%;
    }
    
    .features-grid {
        gap: 18px;
    }
      .section__5-class {
    padding: 20px 0;
  }
  
  .section__5-block-line-class {
    flex-direction: column;
  }
  
  .puzzle-wrapper {
    transform: scale(0.64) !important;
    margin: -50px auto 0 !important;
  }
  
  .section__5-block-2-class {
    margin-top: -60px;
    margin-bottom: 40px;
  }
}
/* iPhone 11/Xr */
@media only screen and (min-device-width: 414px) and (max-device-width: 896px) and (-webkit-min-device-pixel-ratio: 2) {
    .section__1-block-1-1-text-1-class {
        font-size: 38px;
        line-height: 2.7rem;
    }
    
    .section__3-bg-image {
        width: 800px;
        height: 800px;
        top: 300px;
    }
    
    .section__6-bg-image {
        width: 700px;
        height: 700px;
        top: 340px;
    }
    
    .puzzle-wrapper {
        transform: scale(0.75);
        margin-top: -35px;
    }
    
    .section__6-block-2-video-1-class video {
        width: 88% !important;
        height: 88% !important;
    }
}
/* iPhone 10/X/Xs */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) {
    .section__1-block-1-1-text-1-class {
        font-size: 36px;
        line-height: 2.6rem;
    }
    
    .section__3-bg-image {
        width: 750px;
        height: 750px;
        right: -170px;
        top: 180px;
    }
    
    .section__6-bg-image {
        width: 680px;
        height: 680px;
        left: -42%;
        top: 28%;
    }
    
    .puzzle-wrapper {
        transform: scale(0.58);
        margin-top: -40px;
    }
    
    .feature-item {
        padding: 16px 12px;
    }
}
/* iPhone SE (все поколения) */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (-webkit-min-device-pixel-ratio: 2) {
    .section__1-block-1-1-text-1-class {
        font-size: 36px;
        line-height: 2.5rem;
    }
    
    .section__1-block-2-img-1-class,
    .section__3-block-2-img-1-class {
        width: 100% !important;
        max-width: 280px;
    }
    
    .section__3-bg-image {
        width: 600px;
        height: 600px;
        right: -180px;
        top: 150px;
    }
    
    .section__6-bg-image {
        width: 650px;
        height: 650px;
        left: -44%;
        top: 25%;
    }
    
    .puzzle-wrapper {
        transform: scale(0.65);
        margin-top: -45px;
    }
}
/* Фиксы только для Safari (основной браузер на iOS) */
@supports (-webkit-touch-callout: none) {
  .section__5-class {
    overflow: hidden;
  }
  
  .puzzle-wrapper {
    transform: scale(0.7);
    margin: -30px auto 0 !important;
  }
  
  button, .btn {
    color: #000 !important;
    -webkit-text-fill-color: #000 !important;
  }
  
  button:hover, .btn:hover {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }
}

/* Дополнительные фиксы для iPhone с вырезом */
@supports (padding: max(0px)) {
  body {
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* iPhone с вырезом - безопасные зоны */
@supports (padding: max(0px)) {
  body {
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
  }
}