body {
  margin: 0;
  font-family: "Ubuntu", sans-serif;
  background: rgba(241, 243, 245, 1);
}

.footer-phones a {
  color: inherit;
  text-decoration: none;
}

.footer-phones a:hover {
color: #007bff;
}


.footer-column a:hover {
color: #007bff;
}


/* Дополнительный стиль для кнопки закрытия внутри модального окна "Спасибо" */
.modal__btn--close {
    /* Если хотите, чтобы она выглядела как обычная кнопка, а не как кнопка отправки */
    background: #ccc;
    color: #333;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.2s;
}

.container__documents {
    max-width: 1200px;
    margin: 0 auto;
}

.documents__title {
    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    font-size: 42px;
    leading-trim: NONE;
    line-height: 105%;
    letter-spacing: -3%;
    color: rgba(0, 16, 46, 1);
    margin: 40px 0 32px 0;
}


.title__description p{
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
    color: rgba(0, 16, 46, 1);
    opacity: 0.8;
    margin: 0;
}

.line {
    width: 100%;
    border-bottom: 1px solid #3232321A;
    margin-top: 10px;
}

.modal__btn--close:hover {
    background: #bbb;
}

.modal__overlay {
        border-radius: 24px;
        background: rgba(26, 66, 143, 1);
}

/* Стилизация тела модалки "Спасибо" */
.modal__body {
    padding: 20px 30px;
    text-align: center;
}

.modal__body p {
    line-height: 1.5;
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
}

.modal__header {
    text-align: center;
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
        color: rgba(255, 255, 255, 1);

    padding-top: 20px;
}

/* --- Стили модального окна --- */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px; /* Отступ чтобы на мобильных не прилипало к краям */
    box-sizing: border-box;
}

/* Состояние "Открыто" */
.modal.is-open {
    opacity: 1;
    visibility: visible;
}

/* Затемнение фона */
.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 16, 46, 0.7); /* Твой темно-синий цвет, но прозрачный */
    backdrop-filter: blur(4px); /* Размытие фона для красоты */
}

/* Контейнер самой формы */
.modal__container {
    position: relative;
    z-index: 10;
    /* Используем тот же синий фон, что в .callback-block__form-container */
    background: rgba(26, 66, 143, 1); 
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px; /* Оптимальная ширина */
    padding: 40px;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.is-open .modal__container {
    transform: translateY(0);
}

/* Кнопка закрытия (крестик) */
.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.modal__close:hover {
    color: #fff;
}

/* Типографика (как в .callback-block) */
.modal__title {
    font-family: Onest;
    font-weight: 600;
    font-size: 32px;
    margin: 0 0 10px 0;
    line-height: 1.1;
    text-align: center;
}

.modal__subtitle {
    font-family: Onest;
    font-weight: 400;
    font-size: 16px;
    opacity: 0.8;
    margin: 0 0 25px 0;
    text-align: center;
}

/* Поля ввода (копируем стили .callback-block__form input) */
.modal__form input,
.modal__form textarea {
    width: 100%;
    padding: 14px 20px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-family: Onest;
    font-size: 16px;
    outline: none;
    box-sizing: border-box;
    transition: background 0.2s;
}

.modal__form input::placeholder,
.modal__form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.modal__form input:focus,
.modal__form textarea:focus {
    background: rgba(255, 255, 255, 0.2);
}

.modal__form textarea {
    resize: none;
    min-height: 100px;
    border-radius: 20px; /* Чуть меньше радиус для textarea */
}

/* Кнопка (копируем стили .hero__btn) */
.modal__btn {
    width: 100%;
    margin-top: 10px;
    border: none;
    border-radius: 60px;
    padding: 18px 30px;
    background: linear-gradient(180deg, #52cc73 28.37%, #169037 100%);
    box-shadow: 0px 5px 8px 0px rgba(46, 46, 65, 0.2);
    font-family: Onest;
    font-weight: 500;
    font-size: 17px;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: opacity 0.2s;
}

.modal__btn:hover {
    opacity: 0.9;
}

/* Политика внизу */
.modal__policy {
    font-family: Onest;
    font-size: 12px;
    opacity: 0.4;
    text-align: center;
    margin-top: 15px;
    line-height: 1.3;
}

.modal__policy a {
    color: white;
    text-decoration: underline;
}

/* Адаптив для мобилок */
@media (max-width: 576px) {
    .modal__container {
        padding: 30px 20px;
    }
    .modal__title {
        font-size: 26px;
    }
}

.header {
  background: rgba(255, 255, 255, 1);
  border-bottom: 1px solid #dce7f3;
      position: sticky;
    top: 0;
    z-index: 1000;
}

.header__subtitle,
.burger-btn,
.header__mobile-menu {
  display: none;
}

.hero__btn:hover {
  background: #45a049;
}

.container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  padding-bottom: 15px;
}

.header__left {
  flex-grow: 1;
  /* Это заставит `.header__logo-wrapper` внутри получить много свободного места, 
     и тогда `justify-content: space-between` сработает. */
}

.header__logo {
  margin-top: 12px;
}

.header__contact {
  padding-top: 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.header__logo span {
  font-size: 28px;
  font-weight: bold;
  color: #0056b3;
}

.header__logo small {
  display: block;
  font-size: 12px;
  color: #555;
}

.header__nav a {
  margin: 0 15px;
  color: rgba(0, 16, 46, 1);
  text-decoration: none;
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
}

.header__logo-wrapper {
  /* Чтобы лого и подзаголовок были в одну линию на десктопе */
  display: flex;
  align-items: center;
}

.header__nav a:hover {
  color: #0056b3;
}

.contact__time {
  font-size: 12px;
  color: #7a7a7a;
}

.contact__phone {
  padding-right: 20px;
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-decoration: none;
  color: rgba(0, 16, 46, 1);
}

.contact__phone:hover {
  text-decoration: underline;
}

/* HERO */

.hero {
  background-image: url(/assets/img/main_bg.png);
  height: 500px;
}

.hero__content {
  max-width: 574px;
}

.hero__label {
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 15px;
  leading-trim: NONE;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 1);
  width: 166;
  height: 29;
  opacity: 1;
  border-radius: 30px;
  padding-top: 6px;
  padding-right: 16px;
  padding-bottom: 6px;
  padding-left: 16px;
  background: rgba(88, 152, 246, 0.4);
}

.hero__title {
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 56px;
  leading-trim: NONE;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  color: rgba(255, 255, 255, 1);
  margin-top: 9px;
  margin-bottom: 16px;
}

.hero__text {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: 0%;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 48px;
}

.hero__btn {
  opacity: 1;
  border-radius: 60px;
  padding-top: 16.5px;
  padding-right: 40px;
  padding-bottom: 19.5px;
  padding-left: 40px;
  border-width: 2px;
  background: linear-gradient(180deg, #52cc73 28.37%, #169037 100%);
  border: none;
  box-shadow: 0px 5px 8px 0px rgba(46, 46, 65, 0.2);
  font-family: Onest;
  font-weight: 500;
  font-style: Medium;
  font-size: 17px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: 0%;
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

.hero__btn img {
  margin-left: 10px;
  vertical-align: middle;
}

.container__image {
  margin-top: 10px;
}

/* 1. ВНЕШНИЙ БЛОК: Задает цвет фона на ВСЮ ширину и вертикальные отступы */
.stats-block {
  /* Фоновый цвет, указанный в запросе */
  background: rgba(25, 41, 98, 1);

  /* Отступы сверху/снизу для высоты блока */
  padding: 40px 0;

  /* Общие стили для всего контента внутри */
  color: #fff;
  font-family: Arial, sans-serif;
}

/* 2. ВНУТРЕННИЙ БЛОК: Ограничивает ширину, центрирует и распределяет элементы */
.stats-bg {
  /* Ограничиваем максимальную ширину контента */
  max-width: 1200px;

  /* Центрируем контейнер по горизонтали */
  margin: 0 auto;

  /* Активируем Flexbox */
  display: flex;

  /* Распределяем элементы равномерно по всей ширине 1200px */

  /* Центрируем элементы по вертикали (хотя здесь это не критично) */
  align-items: center;
  gap: 16px;
}

/* 3. Элементы статистики (без изменений) */
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 284px;
}

.stat-icon {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 10px;
  width: 40px;
  height: 40px;
}

.stat-icon img {
     width: 40px;
  height: 40px; 
}

.stat-number {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 40px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 5px;
}

.stat-label {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: 0%;
  text-align: center;
  opacity: 0.6;
}

/* Services */

/* Внешний блок: задает светло-серый фон на всю ширину и отступы */
.services {
  background-color: #f7f7f7; /* Очень светлый, почти белый серый фон */
  padding: 80px 0; /* Отступы сверху и снизу */
  font-family: Arial, sans-serif;
}

.services_container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.services__cards-row {
  display: flex;
  justify-content: space-between; /* Распределяем карточки равномерно */
  gap: 20px; /* Расстояние между карточками */
  margin-bottom: 30px; /* Отступ перед блоком с PDF */
}

/* Контейнер: ограничивает ширину контента и центрирует его */
.container {
  max-width: 1200px; /* Используем ту же ширину, что и в предыдущем блоке */
  margin: 0 auto;
  padding: 0 15px; /* Небольшие горизонтальные отступы для мобильных устройств */
}

/* Заголовок */
.services__title {
  font-size: 36px;
  font-weight: bold;
  color: #002244; /* Темно-синий/почти черный цвет */
  text-align: center;
  margin-bottom: 40px; /* Отступ между заголовком и сеткой карточек */
}

/* Контейнер для карточек (Grid или Flexbox, Flexbox проще для 4 элементов) */
.services__grid {
  display: flex;
  justify-content: space-between; /* Распределяем карточки равномерно */
  gap: 20px; /* Расстояние между карточками */
  margin-bottom: 30px; /* Отступ перед блоком с PDF */
}

/* Стиль отдельной карточки */
.service-card {
  background-color: #ffffff;

  /* Добавляем тени, как на фото: очень мягкая тень */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  border-radius: 4px; /* Мягкие скругления */
  text-align: center;
  padding: 0px 29px; /* Внутренние отступы */
  padding-bottom: 65px;
  flex-grow: 1; /* Позволяет карточкам занимать равную долю пространства */
  transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
  /* Белая рамка вокруг контента, которую видно на фото (за счет padding и тени) */
  border: 1px solid transparent; /* Убеждаемся, что нет видимой границы */
  border-radius: 16px;
}

/* Эффект при наведении (по желанию, для интерактивности) */
.service-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Тень становится чуть сильнее */
  transform: translateY(-2px); /* Небольшой подъем */
}

/* Изображение внутри карточки */
.service-card__img {
  max-width: 80%; /* Изображения должны быть меньше ширины карточки */
  height: auto;
  margin: 10px auto 20px; /* Центрируем и добавляем отступ снизу */
  display: block;
}

/* Название оборудования */
.service-card__name {
  font-family: Onest;
  font-weight: 500;
  font-style: Medium;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: rgba(0, 16, 46, 1);
  margin: 0;
  margin-top: 25px;
}

/* Стиль для контейнера PDF-ссылки */
.services__pdf-link {
  background-color: #ffffff;

  /* Тень, как и у карточек, но на всю ширину контейнера */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  border-radius: 4px;
  padding: 20px 30px;
  font-family: Onest;
  font-weight: 500;
  font-style: Medium;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  vertical-align: middle;
  color: rgba(0, 16, 46, 1);
  border-radius: 16px;

  /* Flexbox для центрирования иконки и текста */
  display: flex;
  align-items: center;
  justify-content: center; /* Центрирует иконку и текст по центру */

  cursor: pointer; /* Указывает, что это кликабельный элемент */
  transition: background-color 0.2s;
  text-decoration: none; /* Убираем подчеркивание, если это <a> тег */
  color: #002244;
  transition: transform 0.2s, box-shadow 0.2s;
}

.services__pdf-link:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Тень становится чуть сильнее */
  transform: translateY(-2px); /* Небольшой подъем */
}

/* Стиль для текста внутри ссылки */
.services__pdf-link p {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  margin-left: 10px; /* Отступ от иконки */
}

/* Иконка PDF - если вы используете Font Awesome (рекомендуется) */
/* Если вы используете изображение или эмодзи, просто стилизуйте его соответствующим образом */
.services__pdf-link::before {
  width: 20px;
  height: 25px;
  display: block;
  margin-right: 10px;
}

/* city banner */

/* Блок */
.siti-banner {
}

/* Контейнер-оболочка (если он отличается от стандартного) */
.container-full {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.siti-banner__logo {
  margin-top: 40px;
}

/* Элементы блока */
.siti-banner__image-container {
  /* ... */
}

.siti-banner__image {
  /* ... */
}

.siti-banner__content {
  max-width: 650px;
}

.siti-banner__title {
  font-family: Onest;
  font-weight: 500;
  font-style: Medium;
  font-size: 42px;
  leading-trim: NONE;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  margin-top: 24px;
  margin-bottom: 12px;
}

.siti-banner__description {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: 0%;
  color: rgba(0, 16, 46, 1);
  opacity: 0.8;
  margin: 0;
}

.siti-banner__description:last-of-type {
  margin-top: 16px;
}

.main_page_buttons_container {
  margin-top: 57px;
}

.siti-banner__button {
  opacity: 1;
  border-radius: 60px;
  border-width: 2px;
  padding-top: 17px;
  padding-right: 40px;
  padding-bottom: 20px;
  padding-left: 40px;
  gap: 10px;
  background: linear-gradient(180deg, #5898f6 28.37%, #295da9 100%);
  border: none;
  font-family: Onest;
  font-weight: 500;
  font-style: Medium;
  font-size: 17px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: 0%;
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

.siti-banner__button:hover {
    /* 1. Инвертируем цвета (белый фон -> черный фон) */
background: rgba(26, 66, 143, 1);
}

.main_page_buttons_container .siti-banner__button:last-child {
  border: 2px solid rgba(30, 46, 76, 0.1);
  background: #fff;
  color: rgba(0, 16, 46, 1);
  margin-left: 12px;
}

.main_page_buttons_container .siti-banner__button:last-child:hover {
    /* 1. Инвертируем цвета (белый фон -> черный фон) */
    background: #e7e7e7;
    /* 2. Если вы хотите, чтобы рамка оставалась белой при наведении: */
    border: 1px solid #fff; 
    
    /* 3. Можно добавить эффект тени */
}

/* Общий контейнер */
.callback-block {
  display: flex; /* Делаем из контейнера Flex-контейнер для колонок */
  max-width: 1320px; /* Ограничиваем общую ширину блока */
  margin: 40px auto; /* Центрируем блок на странице */
  margin-top: 60px;
  margin-bottom: 80px;
  border-radius: 24px; /* Скругление углов всего блока */
  overflow: hidden; /* Обрезает содержимое, чтобы скругление было видно */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Легкая тень для объема */
}

/* Левая колонка: Форма и текст */
.callback-block__form-container {
  flex: 1; /* Занимает половину доступного места */
  background: rgba(26, 66, 143, 1); /* Темно-синий фон */
  padding: 40px;
  padding-left: 68px;
  color: white; /* Белый текст */
  min-width: 450px; /* Задаем минимальную ширину для формы */
}

/* Правая колонка: Изображение */
.callback-block__image-container {
  flex: 1; /* Занимает вторую половину */
  max-height: 540px; /* Добавляем изображение как фон */
  background-image: url("call-back.png"); /* Ваше имя файла */
  background-size: cover; /* Изображение масштабируется, чтобы закрыть всю область */
  background-position: center; /* Центрируем изображение */
  background-repeat: no-repeat;
}

/* Заголовок */
.callback-block__title {
  font-family: Onest;
  font-weight: 600;
  font-style: SemiBold;
  font-size: 38px;
  leading-trim: NONE;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  margin: 0 0 12px 0;
}

/* Подзаголовок */
.callback-block__subtitle {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 18px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: 0%;
  margin: 0 0 16px 0;
  opacity: 0.8; /* Чуть менее яркий, чем заголовок */
}

/* Общий стиль для всех полей */
.form-group {
  margin-bottom: 8px;
}

.callback-block__form input,
.callback-block__form textarea {
  width: 100%;
  padding: 12px 14px; /* Увеличиваем высоту полей */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 180%;
  letter-spacing: 0%;
  box-sizing: border-box; /* Важно, чтобы padding не увеличивал ширину */
  outline: none; /* Убираем стандартный синий/черный outline при фокусе */
  transition: background-color 0.2s;
}

/* Плейсхолдеры (для белого цвета) */
.callback-block__form input::placeholder,
.callback-block__form textarea::placeholder {
  color: rgba(255, 255, 255, 1);
  opacity: 0.4;
}

/* Стилизация textarea */
.callback-block__form textarea {
  resize: none; /* Запрещаем пользователю изменять размер */
  min-height: 120px; /* Задаем фиксированную высоту */
}

/* Стиль при фокусе */
.callback-block__form input:focus,
.callback-block__form textarea:focus {
  background-color: rgba(255, 255, 255, 0.25); /* Делаем фон немного светлее */
}

@media (max-width: 576px) {
  .stats-bg {
    flex-wrap: wrap;
    width: auto;
    padding: 0 24px;
    justify-content: space-around;
  }

  .stat-item {
    flex-basis: 40%;
/*     margin-bottom: 20px; */    
    width: auto;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 15px;
    align-items: center;
  }
  .stat-item .stat-icon {
    grid-row: 1 / 3;
  }

  .stat-item .stat-number,
  .stat-item .stat-label {
    text-align: left;
  }

  .stat-item .stat-number {
    margin-bottom: 0;
  }

  .advantages-block {
    padding: 40px 15px;
  }
  .stats-block {
    padding-top: 12px;
    padding-bottom: 16px;
  }

  .hero__content .hero__btn {
    padding-right: 18px;
    padding-left: 18px;
  }

  .services__cards-row {
    flex-direction: column;
  }

  .services {
    padding-top: 32px;
  }
  .services__title {
    margin-top: 0px;
    margin-bottom: 20px;
  }

  .service-card {
    padding-left: 0;
    padding-bottom: 0;
    display: flex;
    border-radius: 16px;
  }

  .services__cards-row {
    gap: 4px;
    margin-bottom: 4px;
  }

  .service-card__img {
    max-width: 96px;
    margin: 0;
  }
  .service-card__name {
    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
    vertical-align: middle;
  }
  .services__pdf-link {
    padding: 0;
    margin: 0;
    border-radius: 16px;
    display: flex;
    justify-content: left;
    padding-left: 20px;
  }
  .pdf-icon {
    max-width: 96px;
    max-height: 70px;
    padding-right: 30px;
  }

  .services__pdf-link span {
    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
    vertical-align: middle;
  }

  .container-full {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .siti-banner__image {
    width: 100%;
  }

  .siti-banner__content {
    padding-left: 16px;
    padding-right: 16px;
  }
  .siti-banner__logo {
    margin-top: 0;
  }
  .siti-banner__title {
    font-family: Onest;
    font-weight: 500;
    font-style: Medium;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
  }

  .siti-banner__description {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
  }
  .main_page_buttons_container {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    gap: 8px;
  }

  .siti-banner__button img {
    vertical-align: middle;
    padding-left: 10px;
  }
  .siti-banner__button {
    text-align: center;
  }

  .callback-block__image-container {
    display: none;
  }
  .callback-block__form-container {
    padding-top: 24px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .callback-block {
    margin: 0 !important;
  }

  .callback-block__form-container {
    width: 100% !important;
    min-width: auto !important;
    margin-top: 40px;
  }
  .callback-block__title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 24px;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
    width: 100%;
  }
  .callback-block__subtitle {
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
  }
  .form-group {
    max-width: 100%;
  }
/*   .callback-block__form {
  margin-right: 30px;
} */
  .callback-block__form-container {
    width: 100%;
  }
}

/* Кнопка */
.callback-block__button {
  width: 100%;
  margin-top: 16px; /* Отступ сверху */
  padding: 18px;
  border: none;
  border-radius: 60px;
  background: linear-gradient(180deg, #52cc73 28.37%, #169037 100%);
  box-shadow: 0px 5px 8px 0px rgba(46, 46, 65, 0.2);

  color: white;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

.callback-block__button:hover {
  opacity: 0.9;
}

/* Общий блок и фон */
.advantages-block {
  border-top: 1px solid rgba(0, 16, 46, 0.1);
  background-color: #f8f8f8; /* Светло-серый фон */
  padding: 40px 20px;
  padding-bottom: 84px;
}

/* Заголовок */
.advantages-block__header {
  text-align: center;
  margin-bottom: 48px;
}

.advantages-block__title {
  font-family: Onest;
  font-weight: 500;
  font-style: Medium;
  font-size: 42px;
  leading-trim: NONE;
  line-height: 105%;
  letter-spacing: -3%;
  text-align: center;
  color: rgba(0, 16, 46, 1);
  margin: 0;
}

/* ------------------------------------------- */
/* --- Сетка: 4 элемента вверху, 3 внизу --- */
/* ------------------------------------------- */

.advantages-block__grid {
  max-width: 1200px; /* Ширина, достаточная для 4 элементов */
  margin: 0 auto;

  /* Используем Grid с 8 колонками для точного позиционирования и центрирования нижнего ряда */
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 28px 28px; /* Отступы между строками и колонками */
  text-align: center;
}

/* Отдельный элемент преимущества */
.advantage-item {
  padding-top: 16px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Иконка */
.advantage-item__icon {
  font-size: 40px;
  color: #17376f; /* Темно-синий цвет иконок */
  margin-bottom: 20px;
}

/* Текст описания */
.advantage-item__text {
  font-family: Onest;
  font-weight: 500;
  font-style: Medium;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 110.00000000000001%;
  letter-spacing: -3%;
  text-align: center;
  opacity: 0.8;
  color: rgba(0, 16, 46, 1);
  margin: 0;
  max-width: 270px; /* Ограничиваем ширину текста */
}

.faq-section {
  background: #ffffff;
}

/* ------------------------------------------- */
/* --- Позиционирование элементов (4 сверху) --- */
/* ------------------------------------------- */

/* Элемент 1 (Первый в ряду 4-х): Начинается в 1-й колонке, занимает 2 колонки */
.advantages-block__grid .advantage-item:nth-child(1) {
  grid-column: 1 / span 2;
}

/* Элемент 2: Начинается в 3-й колонке, занимает 2 колонки */
.advantages-block__grid .advantage-item:nth-child(2) {
  grid-column: 3 / span 2;
}

/* Элемент 3: Начинается в 5-й колонке, занимает 2 колонки */
.advantages-block__grid .advantage-item:nth-child(3) {
  grid-column: 5 / span 2;
}

/* Элемент 4 (Последний в ряду 4-х): Начинается в 7-й колонке, занимает 2 колонки */
.advantages-block__grid .advantage-item:nth-child(4) {
  grid-column: 7 / span 2;
}

/* ------------------------------------------- */
/* --- Позиционирование элементов (3 снизу, центрированные) --- */
/* ------------------------------------------- */

/* Элемент 5 (Первый в ряду 3-х): Начинается во 2-й колонке, занимает 2 колонки */
.advantages-block__grid .advantage-item:nth-child(5) {
  grid-column: 2 / span 2;
}

/* Элемент 6: Начинается в 4-й колонке, занимает 2 колонки */
.advantages-block__grid .advantage-item:nth-child(6) {
  grid-column: 4 / span 2;
}

/* Элемент 7 (Последний в ряду 3-х): Начинается в 6-й колонке, занимает 2 колонки */
.advantages-block__grid .advantage-item:nth-child(7) {
  grid-column: 6 / span 2;
}

/* ------------------------------------------- */
/* --- Адаптивность для планшетов и мобильных --- */
/* ------------------------------------------- */
.sponsors__block {
  background: rgba(255, 255, 255, 1);
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.sponsors__block img {
  padding: 10px 0;
}

.sponsors__block {
  background: rgba(255, 255, 255, 1);
  max-width: 1600px;
  margin: 0 auto;
  /* Базовые стили для десктопа: Flex и равномерное распределение */
  display: flex;
  flex-direction: row;
  justify-content: space-between;

  /* Сбрасываем ограничения по высоте для мобильного скроллинга */
  align-items: center;
}

.sponsors__block img {
  padding: 10px 0;
  /* На десктопе убираем сжатие логотипов */
  flex-shrink: 0;
}

.footer-bottom-razrab {
  display: flex;
  flex-direction: row;
}

/* === СТИЛИ СЛАЙДЕРА ДЛЯ МОБИЛЬНЫХ ЭКРАНОВ (например, до 768px) === */
@media (max-width: 768px) {
  .sponsors__block {
    /* Отключаем justify-content: space-between, чтобы логотипы шли друг за другом */
    justify-content: flex-start;

    /* Включаем горизонтальную прокрутку */
    overflow-x: auto;

    /* Запрещаем перенос элементов на следующую строку */
    white-space: nowrap;

    /* Добавляем небольшой внутренний отступ, чтобы края не прилипали к экрану */
    padding: 0 15px;

    /* Скрываем стандартный скроллбар (опционально, для более чистого дизайна) */
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
    gap: 10px;
  }

  /* Убираем скроллбар в Chrome/Safari/Opera */
  .sponsors__block::-webkit-scrollbar {
    display: none;
  }

  .sponsors__block img {
    /* Устанавливаем фиксированную ширину для каждого логотипа, чтобы они не были слишком мелкими и были видны края */
    width: 135px;

    /* Обеспечиваем отступ между логотипами */
    margin-right: 20px;

    /* Логотипы не должны сжиматься, чтобы сохранить оригинальный размер */
    flex-shrink: 0;
  }
}

/* footer */

.footer {
  background: rgba(0, 16, 46, 1);
  padding: 20px 0 0px;
  font-family: "Golos Text";
  color: #333;
}

.footer-adress {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: 0%;
  color: rgba(255, 255, 255, 1);
  opacity: 0.4;
}

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

.footer-left {
  flex: 1;
  min-width: 350px;
}

.footer-adress p {
  padding: 0;
  margin: 0;
}

.footer-logo {
  width: 220px;
  margin-bottom: 16px;
}

.footer-info {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 140%;
  font-family: Golos Text;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 160%;
  letter-spacing: -3%;
  color: #ffffff;
}

.footer-center {
  display: flex;
  flex: 2;
  min-width: 400px;
  gap: 89px;
}

.footer-column h4 {
  ffont-family: Onest;
  font-weight: 500;
  font-style: Medium;
  font-size: 24px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: -3%;
  margin-top: 4px;
  color: rgba(255, 255, 255, 1);
  opacity: 0.2;
}

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

.footer-column li {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  leading-trim: NONE;
  line-height: 120%;
  letter-spacing: 0%;
  color: rgba(255, 255, 255, 1);
  margin-bottom: 16px;
}

.footer-column a {
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
}

.footer-right {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-phones {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  line-height: 140%;
  text-align: end;
}

.footer-phones li {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  color: rgba(255, 255, 255, 1);
  padding-bottom: 16px;
}

.footer-phones li img {
  padding-right: 4px;
  vertical-align: middle;
}

.working__hour {
  margin-bottom: 0px;
  text-align: end;
  color: #4c4a4a;
}

.footer-policy {
  font-size: 14px;
  color: #0b53ee;
  text-decoration: underline;
  padding-top: 71px;
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.footer-policy a {
  font-family: Onest;
  font-weight: 400;
  font-style: Regular;
  font-size: 14px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: right;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-offset: 0%;
  text-decoration-thickness: 0%;
  text-decoration-skip-ink: auto;
  color: rgba(255, 255, 255, 1);
  opacity: 0.3;
}

.footer_socials {
  display: flex;
  flex-direction: row;
  justify-content: end;
  gap: 15px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #999;
  text-align: start;
  background-color: #0000001a;
  padding-top: 16px;
  padding-bottom: 17px;
  font-family: Golos Text;
  font-weight: 400;
  font-style: Regular;
  font-size: 12px;
  leading-trim: NONE;
  line-height: 140%;
  letter-spacing: 0%;
  color: #4c4a4a;
}

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

.footer-bottom-wrapper p {
  margin-top: 0px;
  margin-bottom: 0px;
  align-items: center;
  display: flex;
}

.mobile-cta-button {
  display: none;
}
.footer___logo .footer_socials {
  display: none;
}

@media (max-width: 768px) {
  .footer-logo {
    max-width: 160px;
  }
  /* --- Общие контейнеры --- */
  .footer {
    padding: 40px 0 0; /* Уменьшаем отступ на мобилке */
  }

  .footer-wrapper,
  .footer-bottom-wrapper {
    width: 100%; /* Убираем фикс-ширину 1520px */
    flex-direction: column; /* Ставим колонки друг под друга */
    gap: 30px; /* Добавляем отступ между блоками */
    padding: 0 20px; /* Добавляем боковые отступы */
    box-sizing: border-box; /* Чтобы padding не ломал ширину */
  }

  /* --- Скрываем навигацию (как на фото) --- */
  .footer-center {
    display: none;
  }

  /* --- Левая колонка (Лого, Инфо) --- */
  .footer-left {
    min-width: 100%; /* Занимаем всю ширину */
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 13px;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
  }

  .footer-info {
    gap: 16px;
    display: flex;
    flex-direction: column;
  }

  .footer-adress {
    margin-top: 0;
    margin-bottom: 0;
  }

  /* --- Правая колонка (Телефоны, Соцсети, Политика) --- */
  .footer-right {
    min-width: 100%; /* Занимаем всю ширину */
    align-items: start; /* Все элементы по центру */
    gap: 25px;
  }

  .working__hour,
  .footer-phones,
  .footer-policy a {
    text-align: center; /* Выравниваем текст по центру */
  }

  .footer-phones li {
    font-size: 22px; /* Чуть уменьшим телефоны для мобилок */
    justify-content: start;
    display: flex;
  }

  .footer-right .footer_socials {
    display: none;
  }

  .footer_socials {
    justify-content: center;
    gap: 5px;
    align-items: center;
    margin-bottom: 20px;
  }

  .footer_socials img {
    max-width: 32px;
    height: 32px;
  }

  .footer___logo {
    display: flex;
    justify-content: space-between;
  }

  .footer-policy {
    padding-top: 15px; /* Уменьшаем отступ */
    align-items: start;
    display: flex;
    flex-direction: column;
  }

  .footer-info li img {
    font-size: 22px;
    padding-right: 5px;
  }

  /* --- Нижняя строка (Копирайт) --- */
  .footer-bottom {
    margin-top: 30px;
  }

  .footer-bottom-wrapper {
    align-items: center; /* Копирайт и разработка по центру */
    gap: 20px;
    display: flex;
    flex-direction: row;
  }

  .footer-bottom-wrapper p {
    text-align: center;
    justify-content: center;
  }

  .footer-bottom-razrab p {
    display: none !important;
  }
}

/* Планшеты (992px): 2 колонки, сбрасываем сложное позиционирование */
@media (max-width: 992px) {
  .advantages-block__grid {
    /* Меняем на простую сетку 2xN */
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }

  /* Сбрасываем все `grid-column`, чтобы элементы шли подряд по 2 */
  .advantages-block__grid .advantage-item {
    grid-column: auto / auto !important;
  }
}

/* Мобильные устройства (576px): 1 колонка */
@media (max-width: 576px) {
  .advantages-block {
    padding: 40px 15px;
  }

  .advantages-block__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .advantages-block__title {
    font-size: 28px;
  }

  .hero .container {
    flex-direction: column;
    align-items: start;
    padding-left: 16px;
  }
  .container__image img {
    max-width: 270px;
    padding-top: 18px;
  }
  .hero {
    max-height: 700px;
  }

  .hero__title {
    font-family: Onest;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 28px;
    leading-trim: NONE;
    line-height: 110.00000000000001%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
    max-width: 328px;
  }
  .hero__text {
    max-width: 328px;
    font-family: Onest;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    leading-trim: NONE;
    line-height: 140%;
    letter-spacing: 0%;
    color: rgba(255, 255, 255, 1);
  }

  .hero .hero__content {
    padding-top: 25px;
  }
  
  .hero__btn {
      font-family: Onest;
font-weight: 500;
font-style: Medium;
font-size: 14px;
leading-trim: NONE;
line-height: 130%;
letter-spacing: 0%;

  }
}

/* Медиа-запрос для адаптивности (на небольших экранах колонки встанут друг под друга) */
@media (max-width: 900px) {
  .callback-block {
    flex-direction: column;
    margin: 20px;
  }

  .callback-block__form-container,
  .callback-block__image-container {
    min-width: unset;
    width: 100%;
  }
  
  .callback-block__form-container {
      box-sizing: border-box;
      border-radius: 16px;
  }

  .callback-block__image-container {
    order: -1; /* Ставим изображение сверху, если форма снизу */
    min-height: 250px;
  }
}

/* HEADER */
@media (max-width: 575px) {
  body {
    overflow-x: clip !important; /* Более надежный способ, чем hidden */
  }

  /* 2. Блокируем скролл, когда меню активно, используя position: fixed */
  body.menu-open {
    /* Это ключевой момент. Position fixed блокирует все скроллы 
         и гарантирует, что body занимает только 100% видимого окна. */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Запрет и вертикального, и горизонтального скролла */
  }
  /* Переопределяем контейнер для мобильного вида */
  .container {
    width: auto;
    max-width: 100%;
    display: flex;
    align-items: center;
    padding: 15px 20px; /* Мобильные отступы по краям */
    padding-bottom: 15px;
  }

  /* Скрываем десктопные элементы */
  .header__nav,
  .header__contact {
    display: none;
  }

  /* Показываем Бургер-кнопку */
  .burger-btn {
    display: block;
    border: none;
    padding-top: 10px;
    background-color: white;
  }

  /* Настройка логотипа и подзаголовка */
  .header__logo-wrapper {
    align-items: flex-start;
    line-height: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .header__logo {
    margin-top: 0;
  }

  /* Показываем и стилизуем подзаголовок, как на скриншоте */
  .header__subtitle {
    display: block;
    font-size: 10px;
    color: #555;
    margin-top: 5px; /* Небольшой отступ от лого */
  }

  /* --- Стили Мобильного Меню --- */
  /* --- НОВЫЙ КОНТЕЙНЕР-ОБЕРТКА --- */
  /*
   Этот контейнер ГАРАНТИРОВАННО скрывает все, что 
   выходит за его пределы по оси X.
*/
  .menu-outer-wrapper {
    /* Эти стили раньше были у .header__mobile-menu */
    position: absolute;
    top: 100%; /* Начинается под шапкой */
    left: 0;
    width: 100%;
    min-height: 100vh;
    z-index: 1000;

    /* Ключевая строка: скрывает дочерний элемент, 
     который сдвинут за пределы 100% ширины */
  }

  /* --- САМОЕ МЕНЮ (теперь отвечает только за внутреннее содержимое и анимацию) --- */
  .header__mobile-menu {
    /* Удаляем position/top/left/width/z-index, т.к. они переехали в обертку */

    display: flex;
    flex-direction: column;
    background-color: #f5faff;

    /* Скрыто за пределами экрана */
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;

    /* Убедимся, что меню занимает 100% ширины обертки */
    width: auto;
    max-width: 100%;
    min-height: 100%;
    padding: 20px;
  }

  /* Эффект открытия */
  .header__mobile-menu.active {
    transform: translateX(0);
  }

  /* Добавьте это, чтобы блокировать вертикальный скролл (ось Y) */
  .menu-open {
    overflow: hidden;
  }

  /* Ссылки в меню */
  .header__mobile-menu a {
    padding: 18px 0;
    color: #212836;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid #dce7f3;
  }
  .header__mobile-menu a:last-of-type {
    border-bottom: none;
  }

  /* Контакты в мобильном меню */
  .mobile-contact {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #dce7f3;
    text-align: left; /* Контакты слева */
  }

  .mobile-contact .contact__phone {
    font-size: 20px;
    font-weight: 500;
    color: #323232;
    margin-bottom: 5px;
    align-items: end;
    text-decoration: underline;
  }
  .mobile-contact .contact__time {
    font-size: 14px;
    color: #7a7a7a;
  }

  /* Эффект крестика для бургера */
  .burger-btn.active .burger-icon {
    background-color: transparent;
  }

  .burger-btn.active .burger-icon::before {
    transform: rotate(45deg);
    top: 0;
  }

  .burger-btn.active .burger-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  .advantage-item {
    display: flex !important;
    flex-direction: row !important;
    max-height: 60px;
  }

  .advantage-item__icon {
    margin-bottom: 0;
    padding-right: 16px;
  }
  .advantage-item__icon img {
    max-width: 40px;
    max-height: 40px;
  }
  .advantage-item__text {
    text-align: left;
    max-width: unset;
  }
  .advantages-block__header {
    margin-bottom: 12px;
  }
}
