@font-face {
  font-family: 'Arh400';
  src: url('fontsTel/Archivo-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Arh700';
  src: url('fontsTel/Archivo-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Int';
  src: url('fontsTel/Inter_18pt-Regular.woff') format('woff');
}

:root {
  --primary: #22ccb2;
}

/* Общие стили */
html, body, a, li, ul, h1, h2, h3, p, sub, sup, button, span, form, div, section, textarea, input {
  margin: 0;
  padding: 0;
  gap: 0;
  text-decoration: none;
  list-style: none;
}

/* Размеры шрифтов */
p, ul > li > a, ul > li, h4 {
  font-size: 18px;
}

h1 {
  font-size: 64px;
}

h2 {
  font-size: 48px;
}

h3 {
  font-size: 24px;
}



/* Основные стили страницы */
html, body {
  width: 100%;
  max-width: 100%;
  position: relative;
  background: white;

}

.container {
  width: 80%;
  margin: auto;
}

/* Шапка сайта */
.header {
  padding: 15px 0;
  border-bottom: 2px solid #ccc;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.header__wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-left: -120px; /* Двигаем влево */
}

.logo > img {
  object-fit: contain;
  height: 46px;
}

.logo > p {
  font-family: 'Arh400', sans-serif;
  font-weight: 400;
  font-size: 2em;
  color: var(--primary);
}

/* Навигация */
.header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__nav > ul {
  display: flex;
  gap: 70px;
  padding: 0;
  margin: 0;
}

.header__nav a {
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 1em;
  color: #565e6c;
  position: relative;
  transition: color 0.3s, font-weight 0.3s;
  text-decoration: none;
  padding: 10px 0;
}

.header__nav a::after {
  content: "";
  display: block;
  width: 0;
  height: 5px; /* Линия остается толще */
  background-color: #22ccb2;
  transition: width 0.3s ease-in-out, transform 0.3s ease-in-out;
  position: absolute;
  left: 50%;
  bottom: -20px; /* Линия остается ниже */
  transform: translateX(-50%);
}

.header__nav a:hover::after {
  width: 150%; /* Делаем линию длиннее слова */
}

.header__nav a:hover, .header__nav a.active {
  color: #22ccb2;
  font-weight: bold;
}

.header__nav a:hover::after, .header__nav a.active::after {
  width: 100%;
}

/* Кнопка */
.button {
  border-radius: 6px;
  border: 1px solid var(--primary);
  padding: 10px 17px;
  text-align: center;
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 1em;
  color: var(--primary);
  position: relative;
  left: 125px; /* Смещение кнопки вправо */
}







/* Баннер */
.banner {
  margin-top: 90px;
}

.banner__wrapper {
  position: relative;
  background: var(--primary);
  box-shadow: 0px 0px 1px rgba(23, 26, 31, 0.07);
  border: 1px solid #bcc1ca;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  border-radius: 16px;
  padding: 40px 80px;
  max-width: 1300px;
  margin: 0 auto;
  height: 420px; /* Уменьшите значение по вашему усмотрению */
  width: 1400px;
}

.banner__wrapper > img {
  position: absolute;
  top: -10px;
  right: 0px;
  object-fit: contain;
  height: 120px;
  z-index: 111;
}

.banner__left > img {
  object-fit: contain;
  height: 600px;
  margin-top: -30px;
  margin-bottom: -30px;
  margin-left: -170px; /* Сместить левее */
  transform: translateX(-50px); /* Сдвиг влево */
  transform: translateY(17px); /* Смещение вниз */
}

.banner__right {
  display: flex;
  flex-direction: column;
  gap: 50px;
  z-index: 999;
  margin-right: 150px;
  position: relative;
  left: 40px; /* Вернуть текст обратно */
}

.banner__right > h1 {
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  font-size: 2.5em;
  color: white;
  max-width: 550px;
  line-height: 1.4;
  margin-top: 30px; /* Опускаем заголовок ниже */
}

.banner__right > p {
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 1.1em; /* Чуть увеличила размер шрифта */
  letter-spacing: 0.5px; /* Увеличила расстояние между буквами */
  color: white;
  max-width: 500px;
  line-height: 1.6; 

}



.banner__button {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px; /* Увеличила расстояние между кнопками */
  border-radius: 6px;
  border: 1px solid var(--primary);
  padding: 12px 20px; /* Увеличила размер кнопок */
  text-align: center;
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 1.1em; /* Увеличила размер текста */
  color: var(--primary);
  position: relative;
  left: -10px; /* Смещение кнопок влево */
  margin-top: -10px; /* Поднимает кнопки чуть выше */
}

.banner__button > a {
  color: white;
  background: none;
  border: 1px solid white;
  border-radius: 4px;
}

.banner__button > a:hover {
  color: black;
  background: white;
}



.banner {
  position: relative;
}


.banner__wrapper {
  position: relative; /* Ограничиваем область */
}

.banner__shape {

  position: absolute;
  z-index: 1000; /* Убедись, что элемент выше остальных */
  display: block; /* На случай, если он скрыт */
  visibility: visible; /* Если вдруг установлен hidden */
  opacity: 1; /* Если элемент прозрачный */
  top: -593px; /* Подними выше */
  right: 327px; /* Сдвинь ближе к углу */
  width: 130px;
  height: auto;
  border-radius: 15px; /* Закругление */

}

.banner__decor {
    position: absolute;
    top: -1px;
    right: -2px;
    width: 140px;
    height: auto;
    z-index: 1000;
    border-radius: 15px; /* Закругление */
    overflow: hidden; /* Обрезаем всё, что выходит за границы */
}

.banner__decor img {
    width: 100%;
    height: 100%;
    border-radius: inherit; /* Наследуем border-radius */
    object-fit: cover; /* Обеспечиваем корректное отображение */
}



.bonus {
  margin-top: 90px;
  position: relative;
}

.bonus > .container > img:nth-child(1) {
  position: absolute;
  object-fit: contain;
  height: 97px;
  right: 0;
  top: 0;
}

.bonus > .container > img:nth-child(2) {
  position: absolute;
  object-fit: contain;
  height: 59px;
  right: 56px;
  top: 113px;
}

.bonus > .container > img:nth-child(3) {
  position: absolute;
  object-fit: contain;
  height: 86px;
  left: 39px;
  top: 33px;
}

.bonus > .container > h2 {
  padding-top: 120px;
  text-align: center;
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  font-size: 2.5em;
  color: #323842;
}

.bonus__wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 80px;
  justify-items: center;
  gap: 30px;
}

.bonus__item {
    background: rgba(248, 249, 250, 0.8);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 73px; /* Увеличила верхний и нижний отступ */
    gap: 20px;
    width: 250px;
    max-width: 250px;

}

.bonus__item > img {
  object-fit: contain;
  height: 50px;
}

.bonus__item > p:nth-child(2) {
  font-family: 'Arh400', sans-serif;
  font-weight: 400;
  text-align: center;
  font-size: 1.25em;
  color: #323842;
}

.bonus__item > p:nth-child(3) {
  font-family: 'Int', sans-serif;
  font-weight: 400;
  text-align: center;
  font-size: 0.8em;
  margin-top: 44px;
  color: #565e6c;
  line-height: 1.8; /* Увеличивает межстрочный интервал */
  letter-spacing: 0.5px; /* Добавляет небольшой отступ между буквами */

}



.income {
  width: 100%;
  position: relative;
  background: var(--primary);
  margin-top: 90px;
  border: 1px solid #bcc1ca;
}

.income > .container > img:nth-child(1) {
  position: absolute;
  object-fit: contain;
  height: 101px;
  top: 103px;
  left: 30px;
}

.income > .container > img:nth-child(2) {
  position: absolute;
  object-fit: contain;
  height: 59px;
  top: 27px;
  left: 100px;
}

.income__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 78px;
  gap: 30px;
}

.income__wrapper h2 {
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  font-size: 2.5em;
  color: #ffffff;
  margin-bottom: 10px;
  text-align: center;
  line-height: 1.5;
  white-space: pre-line; /* Перенос на новую строку */
  margin-bottom: 10px; /* Уменьшаем отступ снизу у заголовка */

}

.income__wrapper > p {
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 1.12em;
  max-width: 631px;
  text-align: center;
  color: white;
  line-height: 1.5;
  margin-top: -10px; /* Уменьшаем отступ сверху у абзаца */
}

.income__wrapper > a {
  background: white;
  color: #636ae8;
  padding: 12px 50px; /* Делаем кнопку шире */
  border-radius: 8px;
  font-size: 1em;
  font-weight: 400;
  display: inline-block;
  text-align: center;
  margin: 0 auto; /* Центрируем кнопку */
  width: fit-content; /* Чтобы кнопка не растягивалась */
  transform: translateX(-140px); /* Сдвигаем левее */
}




.test__home {
  background: #f8f9fa;
  margin-top: 90px;
}

.test__home__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 120px;
  padding-bottom: 120px;
}

.test__home__block {
  background: #ffffff;
  border: 1px solid rgba(188, 193, 202, 0.5); /* Сделала менее заметным */
  box-shadow: 0px 4px 9px 0px rgba(23, 26, 31, 0.08); /* Сделала тень мягче */
  padding: 90px 92px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 100px;
  align-items: center;
  border-radius: 10px; /* Закругление углов */
  height: 90%; /* Увеличение ширины */

}

.test__home__block > h2 {
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  font-size: 2.5em;
  color: var(--primary);
  line-height: 1.4; /* Увеличит расстояние между строками */
}

.test__home__item {
  display: flex;
  flex-direction: column;
  position: relative;
  gap: 36px;
}

.test__home__item > img {
  object-fit: contain;
  height: 83px;
  position: absolute;
  top: -40px;
  left: -50px;
  opacity: 0.6;
}

.test__home__item > p {
  color: #565e6c;
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 1.5em;
  font-style: italic;
  max-width: 491px;
  letter-spacing: 0.5px; /* Увеличивает расстояние между буквами */
  line-height: 1.8; /* Увеличивает расстояние между строками */
}

.test__home__item__content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.test__home__item__content > img {
  object-fit: contain;
  height: 24px;
}

.test__home__item__content__ava {
  display: flex;
  align-items: center;
  gap: 12px; /* Отступ между изображением и текстом */
}

.test__home__item__content__ava img {
  width: 60px; /* Размер аватарки */
  height: 60px;
  border-radius: 50%; /* Круглая аватарка */
  object-fit: cover;
}

.test__home__item__content__ava__text {
  display: flex;
  flex-direction: column;
}

.test__home__item__content__ava__text > p:nth-child(1) {
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  font-size: 1.25em;
  color: #171a1f;

}

.test__home__item__content__ava__text > p:nth-child(2) {
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 0.87em;
  color: #171a1f;
  letter-spacing: 0.5px; /* Увеличивает расстояние между буквами */
  margin-top: 10px; /* Добавляет расстояние между первой и второй строкой */
}




.sss {
  margin-top: 90px;
  background: var(--primary);
  position: relative;
  padding-bottom: 100px;
}

.sss > .container > img:nth-child(1) {
  position: absolute;
  object-fit: contain;
  height: 59px;
  bottom: 40%;
  right: 40px;
}
.sss > .container > img:nth-child(2) {
  position: absolute;
  object-fit: contain;
  height: 101px;
  bottom: 25%;
  right: 47px;
}

.sss > .container > h2 {
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  padding-top: 41px;
  max-width: 326px;
  font-size: 2.5em;
  color: white;
  line-height: 1.4; /* Регулируем высоту строк */
  margin-left: 50px;
}

.sss__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 70px;
  gap: 24px;
}

.sss__item {
  background: white;
  padding: 40px;
  display: flex;
  flex-direction: row;
  width: 90%;
  border-radius: 24px;
  align-items: center;
  gap: 180px;
  padding: 24px 40px; /* Уменьшаем вертикальные отступы */
}

.sss__item > p:nth-child(1) {
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  font-size: 1.25em;
  color: #565e6c;
}

.sss__item > p:nth-child(2) {
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  width: 50%;
  font-size: 1.25em;
  color: #565e6c;
}

.sss__item > p:nth-child(3) {
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 1em;
  color: #565e6c;
  width: 50%;
  white-space: pre-line; /* Позволяет учитывать разрывы строк */
  text-align: left;
  line-height: 1.6; /* Увеличивает расстояние между строками */
  word-break: break-word; /* Переносит слова корректно */
  max-width: 50%; /* Ограничивает ширину, чтобы перенос происходил в нужном месте */
  margin-left: -190px; /* Сдвигает текст влево */
  margin-top: -24px;
  letter-spacing: 0.5px; /* Немного увеличивает расстояние между буквами */
}








.contacts {
  margin-top: 90px;
  background: #f3f4f6;
  margin-bottom: 90px;
  position: relative;
}

.contacts > .container > img {
  position: absolute;
  object-fit: contain;
  height: 470px;
  bottom: 0px;
  right: 10%;
  z-index: 111;
}

.contacts__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.contacts__left {
  max-width: 580px; /* Уменьшаем ширину */
  margin: 80px auto; /* Центрируем */
  border-radius: 17px; /* Закругляем углы */
  background: #fff;
  border: none; /* Убираем жесткую границу */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1); /* Добавляем мягкую тень */
  margin-bottom: 100px; /* Уменьшаем нижний отступ */
  margin-top: 100px;
  width: 90%; /* Увеличиваем ширину всей формы */
  padding: 80px 40px; /* Добавляем отступы для сохранения расположения текста */
  letter-spacing: 1px; /* Можно увеличить значение для большего расстояния */
  z-index: 20;
}

.contacts__left > h2 {
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  text-align: center;
  font-size: 2.5em;
  color: var(--primary);
  margin-top: 1px;
  
}

.contacts__left > p {
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 1em;
  text-align: center;
  color: #565e6c;
  text-align: center; /* Выравниваем текст по центру */
  line-height: 1.7; /* Межстрочный интервал */
  letter-spacing: 0.5px; /* Немного увеличивает расстояние между буквами */
  margin-top: 25px;
}

.contacts__left > form {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 20px;
  margin-top: 60px; /* + значение, если нужно больше вниз */
}

.contacts__left > form > input {
  background: #f3f4f6;
  color: #bcc1ca;
  border: none;
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 1.25em;
  border-radius: 6px;
  padding: 12px 20px;
  width: 100%;

}

.contacts__left > form > button {
  border: none;
  background: var(--primary);
  color: white;
  font-size: 1em; /* Увеличиваем шрифт */
  border-radius: 5px; /* Немного закругляем */
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1em; /* Уменьшаем размер текста внутри кнопки */
  padding: 16px 43px; /* Увеличиваем саму кнопку */
  align-self: flex-start; /* Сдвигает влево */
  margin-left: 59px; /* Подстроить отступ, можно увеличить */
  margin-top: 40px !important;
}



.contacts__right {
  z-index: 999;

}

.contacts__right > img {
  object-fit: contain;
  margin-bottom: -5px;
  height: 810px;
  transform: translate(-430px, 26px); 

}


.contacts > .container > img {
  position: absolute;
  object-fit: contain;
  height: 470px;
  bottom: 0px;
  left: 46%; /* Вместо right */
  z-index: 10;
}

.contacts__decor-img {
  position: absolute;
  position: absolute;
  right: 50px; 
  top:267px; 
  width: 70px; 
  transform: translateX(680px);
}



.footer {
  background: #0a7968;
  position: relative;
  padding-top: 80px; 
  padding-bottom: 60px; 
  margin-top: 100px; 
}

.footer > .container > img:nth-child(1) {
  position: absolute;
  object-fit: contain;
  height: 40px;
  bottom: 100px;
  left: 20px;
}

.footer > .container > img:nth-child(2) {
  position: absolute;
  object-fit: contain;
  height: 36px;
  bottom: 89px;
  left: 72px;
}

.footer__wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.footer__left {
 display: flex;
  flex-direction: column;
  gap: 21px; 
  align-items: flex-start; /* Прижимаем к верху */
}

.footer__left > p {
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 0.87em;
  max-width: 427px;
  color: #dee1e6;
  margin-left: -120px;
  line-height: 1.6; /* Увеличивает расстояние между строками */
  letter-spacing: 0.5px; /* Немного увеличивает расстояние между буквами */
  margin-top: -50px; /* Поднимает текст вверх */
}

.footer__nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 46px;
}
.footer__nav > ul {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-direction: column;
}

.footer__nav > ul:nth-child(2) {
  background: rgba(86, 94, 108, 0.25);
  border-radius: 6px;
  padding: 30px 30px;
  min-width: 400px; 
  min-height: 230px; /* Увеличь, если нужно больше */
  padding: 40px 24px; /* Добавь отступ сверху и снизу */
}

.footer__nav > ul > li:nth-child(1) {
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  font-size: 1.5em;
  color: white;
}

.footer__nav > ul > li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px; /* Увеличенный отступ между иконкой и текстом */
  margin-bottom: 15px; /* Добавляет отступ между строками */
}

.footer__nav > ul > li > img {
  object-fit: contain;
  height: 22px; /* Увеличенный размер иконок */
  width: auto; /* Чтобы сохранялось соотношение сторон */
}

.footer__nav > ul > li > a {
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 1em;
  color: #dee1e6;
}

.footer__left .logo {
  margin-bottom: 10px; /* Уменьшает нижний отступ, поднимая логотип */
  transform: translateY(-37px); /* Поднимает логотип вверх */
}



.cookie_notice {
  display: none;
  position: fixed;
  z-index: 999;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 15px;
  color: #fff;
  background: var(--primary);
  padding: 10px 20px;
  border-top: 4px solid white;
}

.cookie_btn {
  display: inline-block;
  margin: 10px 6px 4px 6px;
  text-decoration: none;
  position: relative;
  font-size: 13px;
  padding: 4px 12px;
  color: black;
  font-weight: bold;
  text-transform: uppercase;
  background: white;
}

.cookie_btn:hover {
  color: black;
  opacity: 0.8;
}

.cookie_btn:after,
.cookie_btn:before {
  position: absolute;
  height: 2px;
  left: 50%;
  background: #fff;
  bottom: -6px;
  content: '';
  -webkit-transition: all 280ms ease-in-out;
  -o-transition: all 280ms ease-in-out;
  transition: all 280ms ease-in-out;
  width: 0;
}

.cookie_btn:before {
  top: -6px;
}

.cookie_btn:hover:after,
.cookie_btn:hover:before {
  width: 100%;
  left: 0;
}




.about__page {
  margin-top: 90px;
}

.about__page__wrapper {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: center;
  justify-content: center;
}

.about__page__wrapper > h1 {
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  font-size: 2.5em;
  color: var(--primary);
}

.about__page__wrapper > p {
  font-family: 'Int', sans-serif;
  font-weight: 400;
  text-align: center;
  font-size: 1em;
  color: black;
}

.test {
  margin-top: 90px;
  margin-bottom: 100px;
}

.test > .container > h2 {
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  font-size: 2.5em;
  text-align: center;
  color: var(--primary);
}

.test__wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 80px;
  justify-items: center;
  gap: 30px;
}

.test__item {
  border: 1px solid var(--primary);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  border-radius: 16px;
}

.test__item > img {
  object-fit: contain;
  height: 64px;
}

.test__item > p:nth-child(2) {
  font-family: 'Arh700', sans-serif;
  font-weight: 700;
  font-size: 1.25em;
  color: #171a1f;
}
.test__item > p:nth-child(3) {
  font-family: 'Int', sans-serif;
  font-weight: 400;
  font-size: 0.87em;
  text-align: center;
  color: #171a1f;
}



.inform {
  padding-top: 120px;
  padding-bottom: 250px;
}

.inform-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: start;
  gap: 15px;
}

.inform-title {
  font-size: 38px;
  font-weight: 700;
  font-family: 'Arh700', sans-serif;
  color: black;
}

.inform-text {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.inform-text > ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.inform-text > ul > li:nth-child(1) {
  font-size: 24px;
  font-weight: 400;
  font-family: 'Arh400', sans-serif;
  color: black;
}

.inform-text > ul > li {
  font-size: 18px;
  font-weight: 400;
  font-family: 'Arh400', sans-serif;
  color: black;
}


.success {
  padding-top: 300px;
  padding-bottom: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.success-card > h1 {
  font-size: 36px;
  font-weight: 700;
  font-family: 'Arh700', sans-serif;
  color: black;
}


@media screen and (max-width: 768px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  h4 {
    font-size: 10px;
  }

  p {
    font-size: 12px;
  }

  ul > li > a {
    font-size: 12px;
  }

  ul > li {
    font-size: 12px;
  }
}

@media screen and (max-width: 768px) {
  .footer__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    justify-content: center;
    padding: 20px 16px;
    text-align: center;
  }


  .footer__nav > ul {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-direction: column;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .footer__nav {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    display: flex;
    gap: 16px;
  }
  .footer__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 21px;
  }

  .footer__left > p {
    font-family: 'Int', sans-serif;
    font-weight: 400;
    font-size: 0.9em;
    color: #dee1e6;
    line-height: 1.6;
    letter-spacing: 0.4px;
    margin: 0;
    max-width: 90%;
  }
}

.contact-section {
  margin-left: auto; /* Центрирует или сдвигает вправо */
  margin-right: auto; /* Держит блок в пределах экрана */
  max-width: 90%; /* Чтобы не выходило за границы экрана */
  overflow: hidden; /* Убирает лишний скролл */
}

html, body {
  overflow-x: hidden;
}


@media screen and (max-width: 400px) {
  .header__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 12px;
  }

  .logo img {
    width: 100px; /* Логотип уменьшаем до удобного размера */
  }

  .header__nav ul {
    flex-direction: column;
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .header__nav li a {
    font-size: 0.9em;
  }

  .button.header-button {
    padding: 10px 20px;
    font-size: 0.8em;
    width: auto; /* Убираем фиксированную ширину */
    max-width: 150px; /* Делаем кнопку шире */
    text-align: center;
    margin: 10px auto; /* Центрируем кнопку */
    display: block; /* Делаем кнопку блочным элементом */
  }

  .header__nav a::after {
    height: 3px;
    bottom: 5px;
  }
}





@media screen and (max-width: 400px) {
  .contacts {
    padding: 20px 10px; /* Уменьшаем отступы */
    text-align: center; /* Центрируем текст */
  }

  .contacts img {
    max-width: 80%; /* Уменьшаем изображение */
    height: auto;
    margin-bottom: 15px;
  }

  .contacts__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(-20px);

  }

  .contacts__left h2 {
    font-size: 1.4em; /* Чуть меньше заголовок */
  }

  .contacts__left p {
    font-size: 0.9em; /* Делаем текст компактнее */
    max-width: 320px;
  }

  form {
    width: 100%;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Добавляем промежутки */
  }

  input {
    width: 100%;
    padding: 10px;
    font-size: 0.9em;
    border-radius: 5px;
    border: 1px solid #ccc;
  }

  .button {
    width: 50%;
    padding: 10px;
    font-size: 1em;
    margin-top: 10px; /* Чуть ниже кнопку */
    display: block;
    margin: 10px auto; /* Центрирование кнопки */
    width: 100%; /* Растяжение кнопки по ширине */
    max-width: 150px; /* Ограничение ширины, чтобы не была слишком большой */
    margin-left: 0; /* Прижимаем кнопку влево */
    left: 0px;
  }


}






@media screen and (max-width: 400px) {
  .test {
    text-align: center; /* Выравниваем контент по центру */
    padding: 20px 10px; /* Уменьшаем отступы */
  }

  .test__wrapper {
    display: flex;
    flex-direction: column; /* Элементы идут в столбик */
    align-items: center; /* Центрируем карточки */
    gap: 15px; /* Добавляем расстояние между отзывами */
  }

  .test__item {
    background: #f9f9f9; /* Светлый фон для удобства чтения */
    padding: 15px;
    border-radius: 10px; /* Закругляем края */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Добавляем небольшую тень */
    width: 100%; /* На всю ширину */
    max-width: 320px; /* Но не слишком широко */
  }

  .test__item img {
    width: 80px; /* Делаем аватарки чуть меньше */
    height: 80px;
    border-radius: 50%; /* Делаем их круглыми */
    object-fit: cover; /* Обрезка для лучшего вида */
  }

  .test__item p {
    font-size: 14px; /* Уменьшаем текст, чтобы не разъезжался */
    margin-top: 8px;
  }

  h2 {
    font-size: 18px; /* Заголовок тоже адаптируем */
  }
}




@media screen and (max-width: 400px) {
  .sss {
    text-align: center;
    padding: 15px 5px;
  }

  .sss h2 {
    margin-bottom: 10px;

     font-size: 17px; /* Уменьшили шрифт */
    text-align: center; /* Центрируем */
    transform: translateX(-30px); /* Чуть-чуть влево */
  }

  .sss__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .sss__item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center; /* Центрируем текст */
  align-items: center; /* Центрируем внутри блока */
  text-align: center; /* Текст ровно по центру */
  height: auto;
  min-height: 100px; /* Сделали блоки меньше */
  padding: 10px; /* Чуть меньше отступов */
  max-width: 250px; /* Сделали блоки уже */
}

  .sss__item p {
    word-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
    max-width: 85%; /* Ограничиваем ширину текста */
    line-height: 1.4; /* Делаем текст более компактным */
    text-align: left;
  width: 100%; /* Растягиваем текст на всю ширину */
  margin-bottom: 8px;
  font-size: 14px; /* Делаем текст читабельнее */


  }

  .sss__item p:first-child {
    font-weight: bold;
    font-size: 14px;
    color: #00aaff;
     transform: translateX(-10px); /* Двигаем число левее */


  }

  .sss__item p:nth-child(2) {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 5px;
    transform: translateY(-10px); /* Поднимает весь текст в блоке */
  }

  .sss__item p:last-child {
    transform: translateY(-80px); /* Поднимаем описание выше */
    font-size: 16px; /* Увеличиваем шрифт */
  line-height: 1.5; /* Делаем текст чуть воздушнее */
  margin-left: 1px; /* Двигаем вправо */

  white-space: normal; /* Разрешаем перенос строк */
  text-overflow: unset; /* Убираем многоточие */
  overflow: visible; /* Делаем текст полностью видимым */
  text-align: center; /* Держим текст по центру */
  max-width: 90%; /* Ограничиваем ширину, чтобы текст шел вниз */
  
  }

  .sss img {
    width: 50px;
    margin: 5px 0;
  }

 .sss__item p:nth-child(2) {
   transform: translateY(-90px); /* Поднимаем заголовок вверх */
  margin-top: 5px;
}

 
}

@media (max-width: 400px) {
  .button.button-right {
    position: relative;
    left: 140px;
    transition: left 0.3s ease;
  }
}

@media (max-width: 400px) {
  .bonus h2 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 15px;
  }

  .bonus__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .bonus__item {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    width: 100%;
    max-width: 300px;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .bonus__item img {
    width: 60px;
    margin-bottom: 8px;
  }

  .bonus__item p:first-of-type {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
  }

  .bonus__item p:last-of-type {
    font-size: 13px;
    line-height: 1.4;
  }
}



@media (max-width: 768px) {
  .banner__wrapper {
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    width: 90%; /* Уменьшил ширину для сдвига */
    margin-left: -5%; /* Сместил левее */
    height: auto;
  }

  .banner__right {
    width: 100%;
    text-align: center;
    padding: 0 10px;
    margin-right: 0;
    left: 0;
  }

  .banner__right h1 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .banner__right p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .banner__button {
    flex-direction: column;
    gap: 30px; /* Увеличила расстояние между кнопками */
     margin-left: 15px; /* Сдвигаем кнопки правее */
  }

  .banner__button a {
    width: 100%;
    text-align: center;
    padding: 12px 0; /* Сделала кнопки выше */
    font-size: 14px; /* Уменьшаем размер шрифта */
  }
}







@media screen and (max-width: 1300px) {
  .banner__left > img {
    object-fit: contain;
    height: 517px;
    margin-top: -63px;
    margin-bottom: -40px;
  }
  .bonus__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 80px;
    justify-items: center;
    gap: 30px;
  }
  .bonus > .container > h2 {
    padding-top: 120px;
    text-align: center;
    font-family: 'Arh700', sans-serif;
    font-weight: 700;
    font-size: 2em;
    color: #323842;
  }
  .banner__right > h1 {
    font-family: 'Arh700', sans-serif;
    font-weight: 700;
    font-size: 2em;
    color: white;
    max-width: 600px;
  }
  .sss > .container > h2 {
    font-family: 'Arh700', sans-serif;
    font-weight: 700;
    padding-top: 41px;
    max-width: 326px;
    font-size: 2em;
    color: white;
  }
  .contacts__left > h2 {
    font-family: 'Arh700', sans-serif;
    font-weight: 700;
    text-align: center;
    font-size: 2em;
    color: var(--primary);
  }
  .test > .container > h2 {
    font-family: 'Arh700', sans-serif;
    font-weight: 700;
    font-size: 2em;
    text-align: center;
    color: var(--primary);
  }

  .about__page__wrapper > h1 {
    font-size: 2em;
  }
  .sss > .container > img:nth-child(1) {
    position: absolute;
    object-fit: contain;
    height: 39px;
    bottom: 40%;
    right: 40px;
  }
  .sss > .container > img:nth-child(2) {
    position: absolute;
    object-fit: contain;
    height: 51px;
    bottom: 25%;
    right: 47px;
  }
  .contacts__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .contacts__right {
    display: none;
  }

  .contacts > .container > img {
    display: none;
  }
}







@media screen and (max-width: 1255px) {
  .banner__left {
    display: none;
  }
  .banner__right {
    margin-top: 60px;
    margin-bottom: 60px;
    align-items: center;
    margin-right: 0;
    justify-content: center;
  }
  .banner__right > p {
    text-align: center;
  }
  .banner__wrapper {
    padding: 30px;
  }
  .banner__right > h1 {
    text-align: center;
  }
  .test__home__block {
    background: #ffffff;
    border: 1px solid #bcc1ca;
    box-shadow: 0px 4px 9px 0px rgba(23, 26, 31, 0.11);
    padding: 80px 92px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 100px;
    align-items: center;
  }
}






@media screen and (max-width: 1055px) {
  .bonus__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 80px;
    justify-items: center;
    gap: 30px;
  }
  .test__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 80px;
    justify-items: center;
    gap: 30px;
  }
  .bonus > .container > img:nth-child(1) {
    position: absolute;
    object-fit: contain;
    height: 67px;
    right: 0;
    top: 0;
  }

  .bonus > .container > img:nth-child(2) {
    position: absolute;
    object-fit: contain;
    height: 39px;
    right: 56px;
    top: 113px;
  }

  .bonus > .container > img:nth-child(3) {
    height: 67px;
  }
  .income > .container > img:nth-child(1) {
    position: absolute;
    object-fit: contain;
    height: 51px;
    top: 103px;
    left: 30px;
  }

  .income > .container > img:nth-child(2) {
    position: absolute;
    object-fit: contain;
    height: 39px;
    top: 27px;
    left: 100px;
  }
  .sss__item {
    background: white;
    padding: 40px;
    display: flex;
    flex-direction: column;
    width: 90%;
    border-radius: 24px;
    align-items: center;
    justify-content: center;
    gap: 50px;
  }
  .sss__item > p:nth-child(2) {
    font-family: 'Arh700', sans-serif;
    font-weight: 700;
    width: 100%;
    text-align: center;
    font-size: 1.25em;
    color: #565e6c;
  }
  .sss__item > p:nth-child(3) {
    text-align: center;
  }

  .sss > .container > img {
    display: none;
  }
  .header__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    justify-content: center;
  }
  .header__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
  }
}

@media screen and (max-width: 622px) {
  .bonus__wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-top: 80px;
    justify-items: center;
    gap: 30px;
  }
  .test__wrapper {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    margin-top: 80px;
    justify-items: center;
    gap: 30px;
  }
  .bonus > .container > img:nth-child(2) {
    display: none;
  }
  .income > .container > img:nth-child(1) {
    display: none;
  }
  .test__home__item__content__ava__text > p:nth-child(1) {
    font-family: 'Arh700', sans-serif;
    font-weight: 700;
    font-size: 1em;
    color: #171a1f;
  }

  .test__home__item__content__ava__text > p:nth-child(2) {
    font-family: 'Int', sans-serif;
    font-weight: 400;
    font-size: 0.67em;
    color: #171a1f;
  }
  .test__home__item > p {
    color: #565e6c;
    font-family: 'Int', sans-serif;
    font-weight: 400;
    font-size: 1.1em;
    font-style: italic;
    max-width: 491px;
  }
  .test__home__block {
    padding: 30px 42px;
  }
  .test__home__item > img {
    object-fit: contain;
    height: 43px;
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.6;
  }
  .test__home__item__content {
    gap: 20px;
  }
  .test__home__block > h2 {
    font-family: 'Arh700', sans-serif;
    font-weight: 700;

    font-size: 1.5em;
    color: var(--primary);
  }
}



