@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

.header {
  position: relative;
  font-family: 'Montserrat', sans-serif;
  z-index: 10;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 16px;
  flex-wrap: nowrap;
}

.logo img {
  width: 312px;
  height: 56.4px;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  justify-content: space-evenly;
}

.nav-menu li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  padding: 10px;
}

.nav-menu li:hover::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 47px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px; /* Скругление выделения */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.burger-menu img {
  width: 48px;
  height: 48px;
}

.contact-info {
  display: flex;
  align-items: center;
  margin-right: 7px;
}

.phone-number {
  color: #fff;
  font-size: 17px;
  margin-left: 8px;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  top: -2px;
  display: flex;
  align-items: center;
}

.phone-number .phone-icon {
  margin-right: 5px;
  width: 25px;
  height: 25px;
  transition: all 0.3s ease;
}

.phone-number:hover .phone-icon {
  filter: brightness(0) saturate(100%) invert(40%) sepia(80%) saturate(700%) hue-rotate(-10deg) brightness(105%) contrast(92%);
}

.phone-number:hover {
  color:  rgba(255, 13, 30, 0.7);
}

.social-icons-container {
  height: 48px;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  padding: 0 5px;
  position: relative;
  z-index: 10;
}

.social-icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px; /* Начальный gap для больших экранов */
}

.social-icons a {
  transition: background-color 0.3s ease;
  padding: 5px;
  border-radius: 50%;
}

.social-icons a img {
  width: 24px;
  height: 24px;
}

.social-icons a[href*="vk.com"]:hover img {
  filter: brightness(0) saturate(100%) invert(25%) sepia(100%) saturate(5000%) hue-rotate(240deg) brightness(100%) contrast(100%);
}

.social-icons a[href*="t.me"]:hover img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(100%) saturate(2000%) hue-rotate(190deg) brightness(90%) contrast(100%);
}

.social-icons a[href*="wa.me"]:hover img {
  filter: brightness(0) saturate(100%) invert(51%) sepia(75%) saturate(800%) hue-rotate(85deg) brightness(100%) contrast(92%);
}

.divider-container {
  display: flex;
  justify-content: center;
  margin: 0 16px;
}

.divider {
  width: calc(100% - 32px);
  height: 3px;
  background-color: rgba(255, 255, 255, 0.33);
  position: absolute;
  top: 92px;
}

/* Медиа-запросы */
@media (max-width: 1200px) {
  .nav-menu a {
    font-size: 16px;
  }

  .logo img {
    width: calc(312px * 0.8);
    height: calc(56.4px * 0.8);
  }

  .social-icons-container {
    height: calc(48px * 0.8);
    padding: 0 8px;
  }

  .social-icons {
    gap: 5px; /* Уменьшение gap для экранов шириной до 1200px */
  }

  .social-icons a img {
    width: 20px;
    height: 20px;
  }

  .phone-number {
    font-size: 14.45px;
  }

  .divider {
    top: 75px;
    width: calc(100% - 32px);
  }
}

@media (max-width: 992px) {
  .nav-menu a {
    font-size: 12px;
  }

  .logo img {
    width: calc(312px * 0.6);
    height: calc(56.4px * 0.6);
  }

  .social-icons-container {
    height: calc(48px * 0.6);
    padding: 0 6px;
  }

  .social-icons {
    gap: 3px; /* Уменьшение gap для экранов шириной до 992px */
  }

  .social-icons a img {
    width: 18px;
    height: 18px;
  }

  .phone-number {
    font-size: 12.75px;
  }

  .divider {
    top: 75px;
    width: calc(100% - 32px);
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: block;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: rgba(23, 26, 26, 0.9);
    padding: 20px;
    z-index: 10000;
  }

  .nav-menu ul {
    flex-direction: column;
  }

  .nav-menu li {
    margin: 15px 0; /* Увеличенный отступ между пунктами меню */
  }

  .burger-menu {
    display: block;
    padding: 0;
  }

  .contact-info {
    display: none;
  }

  .social-icons-container {
    display: none;
  }

  .logo {
    flex: 1;
    text-align: left;
  }

  .logo img {
    width: calc(312px * 0.6);
    height: calc(56.4px * 0.6);
  }

  .nav-menu a {
    font-size: 16px;
  }

  .divider {
    top: 75px; /* Поднято, чтобы избежать перекрытия */
    width: calc(100% - 32px);
  }

  .burger-menu {
    margin-left: 7px; /* Задает отступ для иконки меню */
  }
}

@media (max-width: 576px) {
  .nav-menu a {
    font-size: 16px;
  }

  .logo img {
    width: calc(312px * 0.6);
    height: calc(56.4px * 0.6);
  }

  .social-icons-container {
    height: calc(48px * 0.4);
    padding: 0 4px;
  }

  .social-icons {
    gap: 3px; /* Минимальный gap для экранов шириной до 576px */
  }

  .social-icons a img {
    width: 16px;
    height: 16px;
  }

  .phone-number {
    font-size: 10.2px;
  }

  .divider {
    top: 68px; /* Корректируем отступ */
    width: calc(100% - 32px);
  }

  .burger-menu {
    margin-left: 7px; /* Задает отступ для иконки меню */
  }
}

/* header.css */
.menu-item.activelink.mask-next::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 47px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px; /* Скругление выделения */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* без этого чудного кода линк не включается */
.menu-item.activelink.active2::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 47px;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 5%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Основные стили для контейнера слайдера */
.slider-container {
    width: 100%;
    height: 550px; /* Высота слайдера */
    position: relative;
    background: transparent;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    z-index: 2;
    overflow: hidden;
    border-radius: 10px; /* Скругление углов контейнера */
}

/* Стили для содержимого слайда */
.slide-content {
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    bottom: 0;
    z-index: 3;
    border-radius: 10px; /* Скругление углов изображения */
    overflow: hidden;
    background-color: #2886bd;;
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0.7) 70%, rgba(0, 0, 0, 0) 100%);
}

/* Стили для изображения внутри слайда */
.slide-content img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 4;
    opacity: 0.5; /* Прозрачность изображения */
}

/* Стили для контента */
.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    padding: 50px 0;
    position: relative;
    z-index: 5;
    background: transparent;
    font-family: 'Montserrat', sans-serif;
}

.content h3 {
    font-size: 40px;
    margin: 0 auto 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Изменено для создания черного контура */
    max-width: 80%;
    word-wrap: break-word;
    line-height: 1.2;
    text-align: center;
    z-index: 3;
}
/* Стили для контейнера описания */
.description-container {
    width: 80%;
    max-width: 768px;
    background-color: rgba(32, 35, 40, 0.6);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 10px 20px;
    z-index: 3;
}

.description-container p {
    font-size: 18px;
    color: white;
    text-align: center;
    z-index: 3;
}

/* Стили для кнопки */
.details-container {
    width: 300px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    z-index: 4;
}

.details-link {
    width: 80%;
    max-width: 200px;
    padding: 10px;
    background-color: rgba(255, 13, 30, 0.5);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.details-link:hover {
    background-color: #e5091c;
    transform: scale(1.05);
}

/* Стили для контейнера управления */
.controls-container {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 353.6px;
    height: 62.56px;
    background-color: rgba(32, 35, 40, 0.8);
    border-radius: 5px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 13, 30, 0.2);
    padding: 0 9.5px;
    transition: width 0.3s ease, height 0.3s ease;
}

.slide-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    font-family: 'Montserrat', sans-serif;
    color: white;
    margin-left: 9.5px;
}

.current-slide {
    font-size: 1.67em;
    margin-right: 0.18em;
}

.total-slides {
    font-size: 1.39em;
    margin-left: 0.18em;
}

.progress-bar {
    width: 180px;
    height: 5px;
    background-color: rgba(32, 35, 40, 0.8);
    position: relative;
    margin: 0 9.5px;
}

.progress-bar .filled {
    height: 100%;
    background-color: rgba(255, 13, 30, 0.5);
}

/* Стили для стрелок управления */
.custom-swiper-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-right: 9.5px;
}

.arrow-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 49.6px;
    height: 21.6px;
    background-color: transparent;
}

.custom-swiper-button-prev,
.custom-swiper-button-next {
    width: 21.6px;
    height: 21.6px;
    background-color: transparent;
    cursor: pointer;
}

.custom-swiper-button-prev {
    margin-right: 10px;
}

.custom-swiper-button-prev img,
.custom-swiper-button-next img {
    width: 100%;
    height: 100%;
}

.rotate-180 {
    transform: rotate(180deg);
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1200px) {
    .content h3 {
        font-size: 32px;
    }

    .description-container {
        width: 614px;
        height: 62px;
    }

    .description-container p {
        font-size: 11.2px;
    }

    .details-container {
        width: 128px;
        height: 25.6px;
    }

    .details-link {
        font-size: 12.8px;
    }

    .controls-container {
        width: 282.88px;
        height: 50.048px;
    }
}

@media (max-width: 992px) {
    .content h3 {
        font-size: 24px;
    }

    .description-container {
        width: 460.8px;
        height: 46.8px;
    }

    .description-container p {
        font-size: 10px;
    }

    .details-container {
        width: 96px;
        height: 19.2px;
    }

    .details-link {
        font-size: 10px;
    }

    .controls-container {
        width: 212.16px;
        height: 37.536px;
    }
}

@media (max-width: 768px) {
    .content h3 {
        font-size: 20px;
    }

    .description-container {
        width: 384px;
        height: 39px;
    }

    .description-container p {
        font-size: 10px;
    }

    .details-container {
        width: 80px;
        height: 16px;
    }

    .details-link {
        font-size: 10px;
    }

    .controls-container {
        width: 176.8px;
        height: 31.28px;
    }
}

@media (max-width: 576px) {
    .content h3 {
        font-size: 16px;
    }

    .description-container {
        width: 307.2px;
        height: 40px;
    }

    .details-link {
        font-size: 8px;
        text-align: center;
    }

    .description-container p {
        font-size: 10px;
    }

    .details-container {
        width: 64px;
        height: 12.8px;
    }

    .controls-container {
        width: 141.44px;
        height: 25.024px;
    }
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(101, 94, 94, 0.928); /* Темный фон с прозрачностью */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: rgba(58, 54, 54, 0.889); /* Полупрозрачный черный фон */
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
    color: white; /* Белый цвет текста */
    box-shadow: 0 0 20px rgba(79, 77, 77, 0.737);
    text-align: center;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.contact-form input,
.contact-form textarea {
    width: calc(100% - 20px); /* Учитываем отступы */
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #555; /* Более темная рамка */
    font-size: 16px;
    background-color: rgba(27, 26, 26, 0.962); /* Полупрозрачный черный фон для полей ввода */
    color: white;
    box-sizing: border-box; /* Учитываем padding в ширине */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #aaa; /* Светло-серый для плейсхолдера */
}

.contact-form button {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    background-color: #FF0D1E; /* Красный фон для кнопки */
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #cc0b18; /* Более темный красный при наведении */
}

.status-message {
    margin-top: 10px;
    font-size: 16px;
    color: #FF0D1E; /* Красный цвет для статуса */
}

/* Основные стили для инфоблока */
.info-block {
  width: 100%;
  background-color: #171A1A;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0; /* Уменьшенный отступ сверху и снизу */
  box-sizing: border-box;
  position: relative;
  height: 100%;
  z-index: 10;
}

.info-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #171A1A;
  z-index: -1;
}

.info-block-container {
  width: 100%;
  max-width: 1280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  position: relative;
  box-sizing: border-box;
  z-index: 10;
}

.info-block-container .left-column,
.info-block-container .right-column {
  flex: 1;
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-block-container .left-column {
  padding: 0 10px;
  text-align: left;
}

.info-block-container .left-column h2 {
  font-family: 'Montserrat Black', sans-serif;
  font-size: 18px;
  color: #6F7A8B;
  margin-left: 0;
  margin-bottom: 5px;
  text-transform: uppercase;
}

/* Стили для списка с маркерами */
.info-block-container .info-list {
  list-style: none; /* Убираем стандартные маркеры списка */
  padding-left: 0; /* Убираем отступ для списка */
}

.info-block-container .info-list li {
  font-family: 'Montserrat', sans-serif;
  font-size: 16.1px;
  color: #ffffff;
  margin: 10px 0; /* Вертикальный отступ между элементами списка */
  line-height: 24px;
  display: flex;
  align-items: center;
}

.info-block-container .info-list li img {
  width: auto;
  height: auto;
  max-width: 20px;
  max-height: 20px;
  margin-right: 10px; /* Отступ 6px между маркером и текстом */
  content: url('/icons/universal_mark.svg'); /* Используем кастомный маркер */
}

/* Правый блок контактов */
.info-block-container .right-column {
  align-items: flex-end;
  background-color: #171A1A;
  border-radius: 8px;
  position: relative;
  padding: 20px 80px 20px 20px;
}

.info-block-container .contact-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 400px;
  margin-top: 10px;
  flex-direction: column;
}

.contact-link {
  color: #fff;
  font-size: 22px;
  margin: 7px 0;
  white-space: nowrap;
  text-decoration: none;
  text-align: left;
  display: flex;
  align-items: center;
}

.contact-link:hover {
  color: #ff0d1e;
  text-decoration: none;
}

.contact-link img {
  margin-right: 10px;
  width: 25px;
  height: 25px;
}

/* Кнопка расчёта */
.calculate-button {
  margin-top: 16px;
  overflow: hidden;
  width: 333px;
  height: 44px;
  background-color: rgba(255, 13, 30, 0.5);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Montserrat ExtraBold', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  align-self: flex-end;
  position: relative;
}

.calculate-button:hover {
  background-color: rgba(255, 13, 30, 0.7);
}

.calculate-button:before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 30px;
  height: 100%;
  background-color: #fff;
  animation: shiny-btn1 3s ease-in-out infinite;
}

@keyframes shiny-btn1 {
  0% { transform: scale(0) rotate(45deg); opacity: 0; }
  80% { transform: scale(0) rotate(45deg); opacity: 0.5; }
  81% { transform: scale(4) rotate(45deg); opacity: 1; }
  100% { transform: scale(50) rotate(45deg); opacity: 0; }
}

/* Адаптивные стили */
@media (max-width: 1200px) {
  .info-block-container {
    padding: 15px;
  }
}

@media (max-width: 992px) {
  .info-block-container {
    padding: 10px;
  }

  .info-block-container .right-column {
    padding: 20px 60px 20px 20px;
  }

  .info-block-container .left-column h2 {
    font-size: 16px;
  }

  .calculate-button {
    width: 345px;
    height: 46px;
  }
}

@media (max-width: 768px) {
  .info-block-container {
    flex-direction: column;
    align-items: center;
    padding: 15px;
    height: auto;
  }

  .info-block-container .left-column,
  .info-block-container .right-column {
    width: 100%;
    padding: 0;
    align-items: center;
  }

  .info-block-container .right-column {
    align-items: center;
  }

  .info-block-container .info-list {
    margin-right: 20px;
  }

  .info-block-container .contact-info {
    text-align: center;
    margin-top: 20px;
    flex-direction: row;
    justify-content: space-between;
  }

  .contact-link {
    font-size: 14px;
  }

  .calculate-button {
    width: 253px;
    height: 34.5px;
    padding: 7px;
    font-size: 9.8px;
    margin-top: 30px;
    align-self: center;
  }

  .info-block-container .left-column {
    order: 2;
  }

  .info-block-container .contact-info {
    order: 0;
  }

  .info-block-container .calculate-button {
    order: 1;
  }

  .info-block-container .info-list {
    flex-direction: column;
    order: 3;
  }
}

@media (max-width: 576px) {
  .info-block-container .contact-link {
    font-size: 14px;
  }

  .info-block-container .info-list li {
    font-size: 14px;
  }

  .calculate-button {
    width: 230px;
    height: 33.35px;
    padding: 8px;
    font-size: 9.8px;
    margin-top: 30px;
    align-self: center;
  }

  .calculate-button:before {
    top: -120px;
    width: 20px;
  }
}

/* Стили для HTML и BODY */
html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Основные стили для секции контактов */
.contact-section {
  width: 100%;
  background-color: rgba(32, 35, 40, 0.7); /* Полупрозрачный фон */
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 10px; /* Опускаем блок "Наши Контакты" на 10 пикселей вниз */
  padding-bottom: 60px; /* Добавляем отступ снизу */
}

/* Стили для заголовка секции контактов */
.contact-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: bold;
  color: white;
  margin-bottom: 1.25rem;
}

/* Стили для обертки адреса */
.contact-address-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Стили для иконки маркера на карте */
.contact-marker {
  width: 20.4px; /* Увеличено на 20% от 17px */
  height: 24.48px; /* Увеличено на 20% в высоту от 20.4px */
  margin-right: 15px; /* Отодвинуто на 10 пикселей дальше от текста */
}

/* Стили для текста адреса и телефона */
.contact-address, .contact-phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px; /* Размер шрифта 24px */
  color: white;
  margin-bottom: 1.25rem;
}

/* Дополнительные стили для телефона */
.contact-phone {
  font-size: 1.75rem;
  font-weight: normal;
  margin-bottom: 3.125rem;
  margin-top: -10px; /* Поднимаем телефон на 10 пикселей вверх */
}

/* Основные стили для контейнера карты */
.map-container {
  width: 80%;
  height: 60vh;
  margin: 0 auto;
  position: relative;
  top: 20px; /* Поднимаем окно с картой на 10 пикселей вверх */
  border-radius: 10px; /* Скругление углов карты */
  overflow: hidden; /* Скрываем содержимое, выходящее за границы */
}

/* Адаптивные стили для экрана шириной от 768px */
@media (min-width: 768px) {
  .map-container {
    width: 700px;
    height: 450px;
    top: 10px; /* Поднимаем окно с картой на 10 пикселей вверх */
  }
}

/* Адаптивные стили для экрана шириной от 1024px */
@media (min-width: 1024px) {
  .map-container {
    width: 930px;
    height: 593px;
    position: absolute;
    top: 237px; /* Поднимаем окно с картой на 10 пикселей вверх */
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Адаптивные стили для экрана шириной до 576px */
@media (max-width: 576px) {
  .contact-section {
    padding-bottom: 60px; /* Добавляем больше отступа снизу для контактов на маленьких экранах */
  }
}

.modal-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5); /* Полупрозрачный черный фон */
  display: flex;
  justify-content: center;
  align-items: flex-end; /* Модальное окно внизу */
  z-index: 10000; /* Убедитесь, что значение выше, чем у всех других элементов */
}

.modal-content {
  background: rgba(0, 0, 0, 0.6); /* Черный фон с небольшой прозрачностью */
  border-radius: 10px;
  padding: 20px;
  width: 100%;
  max-width: 500px;
  margin: 20px;
  text-align: center;
  color: #fff; /* Белый текст */
  z-index: 10001; /* Убедитесь, что значение выше, чем у оверлея */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.modal-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 10px;
}

.close-button {
  background: transparent;
  border: none;
  color: #FF0D1E; /* Красный цвет кнопки закрытия */
  font-size: 24px;
  cursor: pointer;
}

.modal-body {
  margin-top: 10px;
  font-size: 14px; /* Уменьшенный размер шрифта */
  font-weight: 300; /* Тонкий шрифт */
  color: #fff; /* Белый текст */
}

.policy-link {
  color: #FF0D1E; /* Красный цвет ссылки */
  cursor: pointer;
  text-decoration: underline;
}

.modal-footer {
  margin-top: 20px;
}

.accept-button {
  background-color: #FF0D1E; /* Красный цвет кнопки */
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.accept-button:hover {
  background-color: #e50914; /* Темно-красный цвет при наведении */
}

.our-project-container {
  width: 100%;
  background-color: #171A1A;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

.main-container {
  max-width: 100%;
  margin: 0 auto;
}

.upper-section {
  min-height: 500px;
  background-color: rgba(2, 2, 2, 0.6);
  width: 100%;
  z-index: 2;
  position: relative;
  padding-bottom: 60px;
}

.horizontal-blocks {
  display: flex;
  justify-content: center;
  margin-top: 50px;
  width: 100%;
  z-index: 3;
}

.horizontal-block {
  width: 500px;
  height: 150px;
  background-color: rgba(32, 35, 40, 0.1);
  margin: 10px 20px 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  text-align: right;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  color: #fff;
  line-height: 1.7;
  padding: 4px 20px;
}

.horizontal-block2 {
  width: 500px;
  height: 150px;
  background-color: rgba(32, 35, 40, 0.1);
  margin: 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  color: #fff;
  line-height: 1.7;
}

.horizontal-block .sub-block-text,
.horizontal-block2 .sub-block-text {
  font-family: 'Montserrat Bold', sans-serif;
  font-size: 28px;
  text-align: left;
  line-height: 1.19;
}

.block-title {
  font-family: 'Montserrat Bold', sans-serif;
  font-size: 18px;
  color: #FF0D1E;
  text-align: left;
  align-self: flex-start;
  margin-bottom: -17px;
}

.lower-section {
  height: 300px;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-blocks {
  position: absolute;
  top: 265px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

.project-block {
  width: 360px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  background-color: #fff;
  transition: box-shadow 0.3s, border 0.3s;
  position: relative;
  border-radius: 10px;
  z-index: 10;
}

.project-block:hover .marker {
  content: url('/icons/3pointcolor.svg');
}

.project-block:hover {
  box-shadow: 0 3px 6px rgba(255, 0, 0, 0.5);
  border: 2px solid red;
}

.project-image {
  width: 360px;
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.project-image1 {
  background-image: url('/vanavara.jpg');
}

.project-image2 {
  background-image: url('/anchit.jpg');
}

.project-image3 {
  background-image: url('/urengoy.jpg');
}

.image-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #202328;
  opacity: 0.3;
  z-index: 1;
}

.project-description {
  width: 280px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 10px;
  text-align: left;
}

.description-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.description-adress {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.address {
  font-family: 'Montserrat Bold', sans-serif;
  font-size: 15px;
  margin-left: 10px;
  transition: color 0.3s, text-decoration 0.3s;
}

.marker {
  width: 40px;
  height: 40px;
}

.description-title {
  font-family: 'Montserrat Bold', sans-serif;
  font-size: 20px;
  margin-left: 10px;
}

.description-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s, text-decoration 0.3s;
}

.description-title a:hover {
  color: red;
  text-decoration: underline;
}

.calculate-button.small {
  display: inline-block;
  width: 222px;
  height: 44px;
  background-color: rgba(255, 13, 30, 0.5);
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Montserrat ExtraBold', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  line-height: 44px;
  transition: background-color 0.3s ease;
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  text-decoration: none;
  z-index: 3;
}

.calculate-button.small:hover {
  background-color: rgba(255, 13, 30, 0.7);
}

.calculate-button.small:before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -120px;
  left: 0;
  width: 20px;
  height: 100%;
  background-color: #fff;
  animation: shiny-btn1 3s ease-in-out infinite;
}

.calculate-button.small:hover:before {
  opacity: 0.7;
}

.calculate-button.small:active:before {
  box-shadow: 4px 4px 6px 0 rgba(255, 255, 255, 0.3),
              -4px -4px 6px 0 rgba(116, 125, 136, 0.2),
              inset -4px -4px 6px 0 rgba(255, 255, 255, 0.2),
              inset 4px 4px 6px 0 rgba(0, 0, 0, 0.2);
}

@keyframes shiny-btn1 {
  0% { transform: scale(0) rotate(45deg); opacity: 0; }
  80% { transform: scale(0) rotate(45deg); opacity: 0.5; }
  81% { transform: scale(4) rotate(45deg); opacity: 1; }
  100% { transform: scale(50) rotate(45deg); opacity: 0; }
}

/* Адаптации для экранов меньшего размера */
@media (max-width: 1024px) {
  .upper-section {
    padding-bottom: 120px;
  }

  .project-blocks {
    position: relative;
    top: 0;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .project-block {
    transform: scale(0.9);
  }

  .calculate-button.small {
    width: 180px;
    height: 36px;
    line-height: 36px;
  }

  .upper-section .horizontal-blocks {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .horizontal-block, .horizontal-block2, .sub-block-text {
    font-size: 14px;
  }

  .project-blocks {
    flex-direction: column;
    align-items: center;
  }

  .upper-section, .lower-section {
    height: auto;
  }

  .calculate-button.small {
    width: 160px;
    height: 32px;
    line-height: 32px;
  }

  .upper-section .horizontal-blocks {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
  .horizontal-block, .horizontal-block2, .sub-block-text {
    font-size: 12px;
  }

  .project-blocks {
    flex-direction: column;
    align-items: center;
  }

  .project-block {
    transform: scale(0.9);
  }

  .calculate-button.small {
    width: 140px;
    height: 28px;
    line-height: 28px;
  }

  .upper-section .horizontal-blocks {
    font-size: 16px;
  }
}

/* Новые адаптации для экранов меньше 760px */
@media (max-width: 760px) {
  .horizontal-blocks {
    flex-direction: column;
    align-items: center;
    font-size: 12px;
  }

  .horizontal-block, .horizontal-block2 {
    width: 90%;
    height: auto;
    margin: 10px 0;
    text-align: center;
    padding: 10px;
  }

  .sub-block-text {
    font-size: 14px;
  }

  .block-title {
    font-size: 16px;
    text-align: center;
    align-self: center;
  }

  .upper-section .horizontal-blocks {
    margin-top: 20px;
  }
}

@media (max-width: 1024px) {
  .horizontal-block, .horizontal-block2, .sub-block-text {
    font-size: calc(18px + (14 - 18) * ((100vw - 320px) / (1024 - 320)));
  }

  .block-title {
    font-size: calc(18px + (16 - 18) * ((100vw - 320px) / (1024 - 320)));
  }

  .address {
    font-size: calc(15px + (12 - 15) * ((100vw - 320px) / (1024 - 320)));
  }

  .description-title {
    font-size: calc(20px + (16 - 20) * ((100vw - 320px) / (1024 - 320)));
  }

  .calculate-button.small {
    width: calc(222px + (160 - 222) * ((100vw - 320px) / (1024 - 320)));
    height: calc(44px + (32 - 44) * ((100vw - 320px) / (1024 - 320)));
    line-height: calc(44px + (32 - 44) * ((100vw - 320px) / (1024 - 320)));
    font-size: calc(14px + (12 - 14) * ((100vw - 320px) / (1024 - 320)));
  }
}


/* Черно-белая маска на слайдыи */
.project-image {
  width: 360px;
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  filter: grayscale(100%); /* Добавляем черно-белый фильтр */
  transition: filter 0.3s ease, transform 0.3s ease; /* Плавный переход для фильтра и других эффектов */
}

.image-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #202328;
  opacity: 0.3;
  z-index: 1;
  transition: opacity 0.3s ease; /* Плавный переход для маски */
}

.project-block:hover .project-image {
  filter: none; /* Убираем черно-белый фильтр при наведении */
 
}

.project-block:hover .image-mask {
  opacity: 0; /* Убираем маску при наведении */
}


/* Основные стили */
.about-us {
  display: flex;
  flex-direction: row;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 2;
  padding: 20px;
  box-sizing: border-box;
  position: relative;
}

.left-section {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 20px;
  padding-top: 20px;
  position: relative;
  margin-right: 25px;
}

.group-container {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
  transform-origin: top left;
}

.photo-container {
  position: relative;
  display: inline-block;
  border-radius: 10px;
}

.photo-mask {
  width: 100%;
  height: 100%;
  background-color: rgba(228, 41, 41, 0.4);
  position: absolute;
  top: -20px;
  left: -20px;
  border-radius: 10px;
  z-index: 1;
}

.text-mask {
  width: 240px;
  height: 95px;
  background-color: rgba(32, 35, 40, 0.9);
  position: absolute;
  bottom: -30px;
  right: -20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  z-index: 3;
  transition: transform 0.3s ease, font-size 0.3s ease;
  transform-origin: top left;
}

.left-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
}

.large-number {
  font-size: 52px;
  font-weight: bold;
}

.right-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
}

.market-text {
  font-size: 20px;
  text-align: left;
  margin-top: 0;
}

.about-us-photo {
  width: 100%;
  height: auto;
  opacity: 1;
  position: relative;
  border-radius: 10px;
  z-index: 2;
}

.right-section {
  width: calc(60% - 25px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-right: 20px;
  padding-left: 20px;
  position: relative;
}

.right-subsections {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.subsection-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 26px;
  color: #FF0D1E;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: left;
}

.subsection-text {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6; /* Межстрочный интервал для текста */
  text-align: justify; /* Выравнивание текста по ширине */
}

.subsection-text.large {
  font-size: 29px;
  margin-top: 0;
  margin-bottom: 5px;
}

.subsection-text.small {
  font-size: 19px;
  margin-bottom: 10px;
  line-height: 1.6; /* Устанавливаем межстрочный интервал такой же, как у другого текста */
  text-align: justify; /* Выравнивание по ширине */
}

.dotterdivider {
  width: 55px;
  height: 20px;
  background: url('/icons/dotteddivider.svg') no-repeat;
  background-size: contain;
  margin: 10px 0;
}

.divider-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px; /* Шрифт теперь такой же, как у других текстов */
  color: #FF0D1E;
  margin: 20px 0;
  text-align: justify; /* Выравнивание по ширине */
  line-height: 1.6; /* Межстрочный интервал */
  border-top: 1px solid #FF0D1E;
  padding-top: 10px;
  margin-bottom: 10px; /* Отступ 10px до следующего заголовка */
}

.bottom-subsections {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.row-subsection {
  margin-bottom: 20px;
}

.project-title {
  display: flex;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 21px;
  margin-bottom: 10px;
}

.project-icon {
  margin-right: 10px;
}

.project-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 19px;
  margin-top: 5px;
  line-height: 1.6; /* Межстрочный интервал */
  text-align: justify; /* Выравнивание по ширине */
}

/* Адаптивные стили */
@media (max-width: 1200px) {
  .about-us {
    flex-direction: row;
  }
  .group-container {
    transform: scale(0.9);
  }
  .text-mask {
    font-size: 0.9em;
  }
  .right-section {
    width: calc(100% - 25px);
    padding-right: 0;
  }
  .about-us-photo {
    width: 80%;
    height: auto;
  }
  .photo-mask {
    width: calc(80% + 10px);
    height: calc(80% + 10px);
  }
  .subsection-text.large {
    font-size: 24px;
  }
  .subsection-text.small {
    font-size: 16px;
  }
}

@media (max-width: 992px) {
  .about-us {
    flex-direction: row;
    align-items: center;
  }
  .group-container {
    transform: scale(0.8);
  }
  .text-mask {
    font-size: 0.8em;
  }
  .right-section {
    width: calc(100% - 25px);
    padding-right: 0;
  }
  .about-us-photo {
    width: 70%;
    height: auto;
  }
  .photo-mask {
    width: calc(70% + 10px);
    height: calc(70% + 10px);
  }
  .subsection-text.large {
    font-size: 20px;
  }
  .subsection-text.small {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .about-us {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }
  .left-section {
    width: 100%;
    margin-right: 0;
    order: 1;
  }
  .group-container {
    transform: scale(0.7);
  }
  .text-mask {
    font-size: 0.7em;
  }
  .right-section {
    width: 100%;
    padding: 0 20px;
    margin-top: 20px;
    order: 2;
    z-index: 3;
  }
  .right-subsections {
    flex-direction: column;
  }
  .bottom-subsections {
    flex-direction: column;
    align-items: center;
  }
  .bottom-left-subsection, .bottom-right-subsection {
    width: 90%;
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .about-us {
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
  }
  .left-section {
    width: 100%;
    margin-right: 0;
    order: 1;
  }
  .group-container {
    transform: scale(0.6);
  }
  .text-mask {
    font-size: 0.6em;
  }
  .right-section {
    width: 100%;
    padding: 0 10px;
    margin-top: 20px;
    order: 2;
    z-index: 3;
  }
  .right-subsections {
    flex-direction: column;
    align-items: center;
  }
  .subsection-title {
    font-size: 18px;
  }
  .subsection-text.large {
    font-size: 18px;
  }
  .subsection-text.small {
    font-size: 14px;
  }
  .bottom-subsections {
    flex-direction: column;
    align-items: center;
  }
  .bottom-left-subsection, .bottom-right-subsection {
    width: 90%;
    margin-bottom: 20px;
  }
  .project-title {
    font-size: 18px;
    justify-content: center;
    text-align: center;
  }
  .project-text {
    font-size: 14px;
    text-align: center;
  }
  .project-link {
    font-size: 14px;
    text-align: center;
  }
}

/* Высота секций для предотвращения наложения */
.contact-section {
  min-height: 100vh;
  padding-bottom: 60px;
}

.about-us {
  min-height: 100vh;
}


/* Стили для списка с галочками в проекте */
.project-sublist {
  list-style: none; /* Убираем стандартные маркеры */
  padding-left: 0;
}

.project-sublist .project-text {
  position: relative;
  padding-left: 30px; /* Отступ для галочки */
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
}

.project-sublist .project-text::before {
  content: '✔'; /* Добавляем галочку */
  position: absolute;
  left: 0;
  color: #ff0d1e; /* Красная галочка */
  font-size: 18px;
  line-height: 24px;
  margin-right: 6px; /* Отступ между галочкой и текстом */
}

.ourCustomers {
    width: 100%;
    padding: 1px 0;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.ourCustomers::before {
    content: "";
    background: url('/ourCustomer-back.svg') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    animation: pulse 10s infinite;
}

.ourCustomers::after {
    content: "";
    background: rgba(32, 35, 40, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    animation: maskPulse 10s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.8;
    }
}

@keyframes maskPulse {
    0% {
        opacity: 0.7;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0.7;
    }
}

@keyframes textColorPulse {
    0% {
        color: rgb(246, 197, 201);
    }
    50% {
        color: white;
    }
    100% {
        color: rgb(246, 197, 201);
    }
}

.customers-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    animation: textColorPulse 10s infinite;
    margin: 0;
    padding-top: 30px;
    margin-bottom: 15px;
}

.customer-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.customer-section {
    width: 270px;
    padding: 30px 10px; /* Отступы сверху и снизу */
    background: rgba(255, 255, 255, 0);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.customer-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 7px; /* Отступ между иконкой и текстом */
    border-radius: 5px;
}

.customer-text {
    font-size: 20px;
    animation: textColorPulse 10s infinite;
}

@media (max-width: 768px) {
    .customers-title {
        font-size: 24px;
    }
    .customer-section {
        width: 45%;
        padding: 20px 10px;
    }
    .customer-text {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .customers-title {
        font-size: 20px;
    }
    .customer-section {
        width: 100%;
        padding: 20px 10px;
    }
    .customer-text {
        font-size: 13px;
    }
}

.main-container {
  position: relative;
  padding-top: 0px; /* Отступ сверху, чтобы избежать наложения с шапкой */
  z-index: 1;
}

.fixed-schema {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(/_next/static/media/shema.fd904d0f.svg) no-repeat center center;
  background-size: cover;
  z-index: 0;
  opacity: 1;
  animation: pulse 10s infinite;
}

.content-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
}

@keyframes pulse {
  0% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.8;
  }
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .content-wrapper {
    padding: 0 1px;
  }
}

footer {
  background-color: #171A1A;
  padding: 20px;
  color: #fff;
  position: relative;
  z-index: 1;
  height: auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0 30px;
  margin-bottom: 20px;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 13px;
}

.footer-logo {
  width: 320px;
  height: 40px;
  margin-bottom: 10px;
  margin-top: -4px;
}

.footer-company-details {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-company-details a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-company-details a:hover {
  color: #FF0D1E;
  text-decoration: underline;
}

.footer-sections {
  display: flex;
  align-items: flex-start;
  gap: 140px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 250px;
}

.footer-section-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.red-line {
  width: 30px;
  height: 3px;
  background-color: #FF0D1E;
  position: absolute;
  top: 36px;
  margin-bottom: 10px;
}

.footer-company-info,
.footer-info,
.footer-socials {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin-top: 14px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-company-info a,
.footer-info a,
.footer-socials a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-company-info a:hover,
.footer-info a:hover,
.footer-socials a:hover {
  color: #FF0D1E;
  text-decoration: underline;
}

.footer-social-icons {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.footer-social-icon-container {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid rgba(255, 13, 30, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  position: relative;
}

.footer-social-icon-container:hover {
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.footer-social-icons img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1); /* Белый цвет иконок по умолчанию */
  transition: filter 0.3s ease;
}

/* Изменение цвета иконок при наведении */
.footer-social-icon-container:hover img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(100%) saturate(2000%) hue-rotate(190deg) brightness(90%) contrast(100%);
}

/* Специфичные цвета для ВКонтакте */
.footer-social-icon-container:hover a[href*="vk.com"] img {
  filter: brightness(0) saturate(100%) invert(25%) sepia(100%) saturate(5000%) hue-rotate(240deg) brightness(100%) contrast(100%);
}

/* Специфичные цвета для Telegram */
.footer-social-icon-container:hover a[href*="t.me"] img {
  filter: brightness(0) saturate(100%) invert(64%) sepia(100%) saturate(2000%) hue-rotate(190deg) brightness(90%) contrast(100%);
}


.footer-social-icon-container:hover a[href*="wa.me"] img {
  filter: brightness(0) saturate(100%) invert(51%) sepia(75%) saturate(800%) hue-rotate(85deg) brightness(100%) contrast(92%);
}


.footer-bottom {
  text-align: center;
  padding-top: 10px;
  margin-top: 20px;
}

.footer-bottom a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer-bottom a:hover {
  color: #FF0D1E;
  text-decoration: underline;
}

/* Кнопка для скролла наверх */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.scroll-to-top:hover {
  transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo-section {
    margin-bottom: 20px;
  }

  .footer-sections {
    gap: 40px;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    width: calc(320px * 0.5);
    height: calc(40px * 0.5);
  }

  .footer-company-details {
    font-size: 15px;
    text-align: center;
  }

  .footer-section-title {
    font-size: 18px;
    text-align: center;
  }

  .footer-company-info,
  .footer-info,
  .footer-socials {
    font-size: 15px;
    text-align: center;
  }

  .footer-logo-section .red-line,
  .footer-section .red-line {
    position: static;
    margin: 10px auto;
  }

  .footer-social-icons {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .footer-logo {
    width: calc(320px * 0.4);
    height: calc(40px * 0.4);
  }

  .footer-company-details {
    font-size: 12px;
  }

  .footer-section-title {
    font-size: 15px;
  }

  .footer-company-info,
  .footer-info,
  .footer-socials {
    font-size: 12px;
  }
}

.footer-item.footerselect-next {
  color: #FF0D1E;
  text-decoration: underline;
}

