.page {
  font-family: var(--main-font);
  background-color: white;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  flex-direction: column; /* Располагаем элементы вертикально */
  min-height: 100vh;
}

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white; /* Белый фон */
  z-index: 9999; /* Убедитесь, что он поверх всего */
  display: flex;
  justify-content: center; /* Центрируем по горизонтали */
  align-items: center; /* Центрируем по вертикали */
  transition: left 1s ease-in-out, opacity 1s ease-in-out;
}

#loader img {
  max-width: 100%;
  max-height: 100%;
  display: block;
}

/* Класс для анимации выезда */
#loader-wrapper.slide-out {
  left: -100%;
  opacity: 0;
}

.header {
  position: fixed; /* Убедитесь, что позиционирование установлено */
  width: 100%;
  align-items: center; /* Центрирует элементы по вертикали */
  z-index: 100;
}

.header_scroll {
  background-color: rgb(242, 243, 244, 0.8); /* Цвет фона */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: background-color 0.4s ease;
}

.header_scroll.scrolled {
  background-color: var(--color-basic); /* Цвет фона */
}

.header_lot {
  display: grid;
  padding: 0px 20px;
  grid-template-columns: 0.7fr 1fr 1.7fr 0.5fr;
  grid-template-rows: 1fr;
  align-items: center;
  height: 75px;
  z-index: 2;
}

.header_svg {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 30px;
}

.header_svg-ikon {
  position: absolute; /* Позиционируем список относительно кнопки */
  top: 40px; /* Сдвигаем вниз на 100% от кнопки */
  right: -20px;
  border: 1px solid var(--color-wheat);
  border-radius: 5px; /* Края кнопок закругленные */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Легкая тень */
  transition: background-color 1s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.header_svg-ikon-black_style {
  background-color: var(--color-title);
}

#icon-frame {
  transition: transform 0.5s ease; /* Плавный переход для поворота */
}

.header_svg-toggle:hover #icon-frame {
  transform: rotate(-90deg); /* Поворачиваем иконку при наведении */
}

.header_svg-toggle:active #icon-frame {
  transform: rotate(-90deg); /* Поворачиваем иконку при наведении */
}

.rotated {
  transform: rotate(-90deg); /* Поворачиваем иконку */
}

#social-icons {
  display: block;
  opacity: 0; /* Начальная непрозрачность */
  transform: translateY(-10px); /* Начальное положение (сдвинут вверх) */
  transition: opacity 0.3s ease, transform 0.3s ease; /* Переходы для плавного эффекта */
}

#social-icons.visible {
  opacity: 1; /* Полная непрозрачность */
  transform: translateY(0); /* Возвращаем на место */
}

.header_svg-ikon.scrolled {
  background-color: white; /* Полупрозрачный черный фон */
  border: 1px solid var(--color-wheat); /* Если нужно, сохраняем бордер */
  border-radius: 5px;
  transition: background-color 0.3s ease; /* Плавный переход для фона */
}

.header_svg-ikon img {
  opacity: 1; /* Изначальная видимость */
  transition: opacity 0.3s ease; /* Плавное изменение прозрачности */
}

.header_svg-ikon.scrolled {
  border: 1px solid var(--color-wheat); /* Если нужно, сохраняем бордер */
  border-radius: 5px;
  transition: background-color 0.3s ease; /* Плавный переход фона */
}

.header_svg-ikon li {
  margin-bottom: 10px;
}

/* Кнопка для открытия иконок */
.header_svg-toggle {
  position: absolute;
  top: -15px;
  right: -8px;
  padding-bottom: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 3;
  display: inline-block;
  transition: transform 0.3s ease;
}

/* При наведении на кнопку можно менять ее стиль */
.header_svg-toggle:hover {
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.header_svg-ikon li a {
  display: block; /* Сделаем ссылки блоками для удобства */
  padding: 10px;
  text-align: center;
}

.header_logo {
  display: absolute;
  z-index: 1;
  max-width: 140px;
  border-radius: 10px 10px 10px 10px;
}

.header_menu-ikon {
  display: none;
  cursor: pointer; /* Указатель при наведении */
  font-size: 16px; /* Размер шрифта для кнопок */
  transition: color 0.5s ease; /* Плавный переход цвета за 0.3 секунды */
  color: var(--color-gray);
}

.header_menu-list {
  display: flex;
  justify-content: space-between;
  list-style-type: none; /* Убирает маркеры списка */
  padding: 0; /* Убирает отступы */
  margin: 0; /* Убирает маргины */
  color: var(--color-black);
}

.header_menu-list.scrolled {
  color: var(--color-gray);
}

.header_menu-item {
  margin: 0 15px; /* Отступы между элементами меню */
}

.header_menu-button {
  text-decoration: none;
  text-transform: uppercase;
  background-color: transparent; /* Фон кнопки */
  border: none; /* Убирает границы */
  cursor: pointer; /* Указатель при наведении */
  font-size: 17px; /* Размер шрифта для кнопок */
  transition: color 0.3s ease; /* Плавный переход цвета за 0.3 секунды */
  transform: scale(1);
  transition: transform 0.3s ease;
  padding: 5px;
  z-index: 3;
  opacity: 0.8; /* Цвет кнопки при наведении */
}

.header_menu-button:hover {
  opacity: 1; /* Цвет кнопки при наведении */
  transform: scale(1.1);
}

.sub_menu {
  visibility: hidden; /* Скрывает подменю по умолчанию */
  position: absolute; /* Позволяет подменю перекрывать другие элементы */
  background-color: var(--color-wheat); /* Цвет фона подменю */
  padding: 0px 40px 5px 40px; /* Убираем отступы сверху и снизу */
  margin-top: 27px;
  font-size: 14px;
  z-index: 1000; /* Убедитесь, что подменю выше других элементов */
  opacity: 0; /* Начальное состояние: полностью прозрачное */
  overflow: hidden; /* Обрезает содержимое */
  transform: translateX(-40px);
  transition: visibility 0.3s, opacity 0.3s ease, transform 0.3s, background-color 0.3s ease;
  /* Убираем background-color из transition, т.к. его изменение не анимируется здесь */
}

.sub_menu1 {
  display: grid;
  gap: 20px;
}

.header_menu-item {
  padding: 28px 0px;
}

.header_menu-item:hover .sub_menu {
  background-color: var(--color-gray);
  visibility: visible; /* Делает подменю видимым */
  height: auto; /* Устанавливает высоту подменю */
  opacity: 1; /* Делаем подменю видимым */
  transform: translateX(0px);
}

.sub_menu li {
  margin: 10px 0; /* Отступы между элементами подменю */
}

.sub_menu a {
  text-decoration: none; /* Убирает подчеркивание ссылок */
  color: var(--color-black); /* Цвет текста ссылок */
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.header.scrolled .sub_menu {
  background-color: var(--color-basic);
}

.header.scrolled .sub_menu a {
  color: var(--color-gray); /* Цвет ссылок в подменю при прокрутке */
}

.header_menu {
  transition: background-color 0.3s ease, color 0.3s ease; /* Плавный переход для фона и текста */
}

.messenger-icon {
  bottom: 10px;
  right: 0px;
  align-items: center;
  position: fixed;
  margin: 20px;
  cursor: pointer;
  z-index: 1005;
}

.icon {
  width: 65px;
  height: 65px;
  background-color: var(--color-basic); /* Цвет фона */
  border-radius: 50%; /* Круглая форма */
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../images/icons8-message-32.png.svg");
  background-size: 40px;
  background-repeat: no-repeat; /* Не повторять изображение */
  background-position: center; /* Центрировать изображение */
  transition: background-color 0.3s;
}

.messenger-icon::before,
.messenger-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100px; /* Начальный размер волны */
  height: 100px; /* Начальный размер волны */
  background: rgb(126, 149, 148, 0.4); /* Цвет волны */
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none; /* Чтобы волна не мешала взаимодействию с иконкой */
}

.messenger-icon::before {
  animation: wave-animation 4s infinite;
}

.messenger-icon::after {
  animation: wave-animation 4s infinite 0.5s; /* Задержка на 0.5 секунды */
}

@keyframes wave-animation {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 1; /* Полная видимость в начале */
  }
  50% {
    transform: translate(-50%, -50%) scale(1); /* Максимальный размер волны */
    opacity: 0.5; /* Полу-прозрачная волна */
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5); /* Исчезает */
    opacity: 0; /* Исчезает */
  }
}

.tooltip {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  bottom: 10px; /* Расстояние от иконки */
  width: 250%;
  height: 40px;
  right: 70px;
  background-color: rgba(126, 149, 148, 0.9);
  text-align: center;
  color: white;
  padding: 10px;
  border-radius: 5px;
  opacity: 0; /* Скрываем текст по умолчанию */
  transition: opacity 0.3s, transform 0.3s;
  transform: translateX(20px); /* Сдвинем текст вправо */
}

.messenger-icon:hover .tooltip {
  opacity: 1; /* Показываем текст при наведении */
  transform: translateX(0); /* Возвращаем текст на место */
}

.crest {
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px 15px 0px 0px;
  opacity: 0.5;
  z-index: 1;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Затемнение фона */
  z-index: 1000;
}

.modal {
  font-family: var(--main-font);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-height: 500px;
  max-height: 1000px;
  width: 700px; /* Ширина модального окна */
  background-color: white;
  border-radius: 3px;
  color: var(--color-black);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  padding: 50px;
}

.modal,
.modal-overlay {
  display: none; /* Меняем visibility и opacity на display */
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Видимо при открытии */
.modal.show,
.modal-overlay.show {
  display: block; /* Показываем модальное окно */
  opacity: 1;
}

.modal-content {
  text-align: center;
}

.modal-content h2 {
  color: var(--color-title);
  font-size: 48px;
  margin-bottom: 10px;
}

.modal-content p {
  color: var(--color-gray);
}

.modal-content label {
  display: block;
  margin-top: 10px;
}

.modal-content input,
.modal-content textarea {
  font-size: 16px;
  background-color: white;
  min-width: 100%;
  min-height: 58px;
  height: 100%;
  max-height: 500px;
  height: max-content;
  max-width: 100%;
  padding: 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  color: var(--color-black);
}

.textarea {
  font-size: 16px;
}

input::placeholder,
textarea::placeholder {
  color: #a9a9a9; /* Серый цвет для текста placeholder */
  opacity: 1; /* Убедитесь, что текст полностью видим */
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: transparent; /* Скрываем текст при фокусе на поле */
}

.submit-button {
  width: 100%;
  height: 56px;
  margin-top: 15px;
  padding: 10px;
  background-color: #7e9594; /* Цвет кнопки */
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  text-transform: uppercase;
  overflow-x: hidden;
}

.submit-button:hover {
  background-color: #6a7b79; /* Цвет кнопки при наведении */
}

.lots_pictures {
  position: relative; /* Позволяет оверлею позиционироваться относительно родителя */
  width: 100vw; /* 100% ширины viewport */
  height: 100vh; /* 100% высоты viewport */
  padding: 0px;
  overflow: hidden; /* Скрывает все, что выходит за пределы */
}

.Lots_title {
  background: fixed;
  background-size: cover; /* Заполнение фона */
  height: 100%;
  width: 100%;
  background-repeat: no-repeat; /* Не повторяет изображение */
  background-image: url("../images/image-main/photo_2025-03-20_18-52-25.jpg");
  background-position: top;
  z-index: 1;
}

.Lots_title-pivot {
  background: fixed;
  background-size: cover; /* Заполнение фона */
  height: 100%;
  width: 100%;
  background-repeat: no-repeat; /* Не повторяет изображение */
  background-image: url("../images/image-main/photo_2025-03-20_20-22-52.jpg");
  background-position: bottom;
  z-index: 1;
}

.Lots_title-slide {
  background: fixed;
  background-size: cover; /* Заполнение фона */
  height: 100%;
  width: 100%;
  background-repeat: no-repeat; /* Не повторяет изображение */
  background-image: url("../images/image-main/photo_2025-03-20_20-13-56.jpg");
  background-position: center;
  z-index: 1;
}

.lots_pictures-title {
  color: white;
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 2;
  text-align: center;
  width: 100vw; /* 100% ширины viewport */
  height: 100vh; /* 100% высоты viewport */
  font-size: 2vmax;
  font-weight: 100;
  position: relative; /* Позиционирование для заголовка */
  z-index: 3; /* Чтобы заголовок был выше оверлея */
}

.overlay {
  background-color: rgba(0, 0, 0, 0.4);
  position: absolute; /* Позволяет оверлею занимать всю область родителя */
  top: 0; /* Начало с верхней части */
  left: 0; /* Начало с левой части */
  right: 0; /* Занимает всю ширину */
  bottom: 0; /* Занимает всю высоту */
  z-index: 2; /* Чтобы оверлей был над фоном, но под заголовком */
  visibility: visible; /* Сделаем видимым */
  transition: opacity 0.3s ease-in, visibility 0.3s ease-in;
}

.lots {
  padding: 70px 0px;
  display: grid;
  max-inline-size: 1270px;
  margin: auto;
  grid-template-columns: 1fr;
  gap: 70px;
}

.lots_info {
  position: center;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  grid-template-rows: 1fr;
  gap: 70px;
  max-height: 420px;
  max-width: 1270px;
  width: 100vw; /* 100% ширины viewport */
  color: var(--color-black);
  padding: 0px 20px;
}

.lots_info2 {
  padding: 0px 0px 0px 20px;
  gap: 100px;
}

.lots_images {
  max-height: 420px;
  min-width: 678px;
  background-size: cover;
}

.lots_images3 {
  max-width: 678px;
}

.lots_subtext {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.lots_info-title {
  text-align: center;
  text-transform: uppercase;
  color: var(--color-interactive);
}

.lots_info-title1 {
  text-align: left;
}

.text {
  font-size: 16px;
  line-height: 2;
}

.text1 {
  text-align: right;
}

.text2 {
  text-align: justify;
}

.reference {
  display: inline-block;
  position: relative;
  max-height: 30px;
  color: var(--color-interactive);
  text-decoration: none;
  text-transform: uppercase;
  background-color: transparent; /* Фон кнопки */
  border: none; /* Убирает границы */
  cursor: pointer; /* Указатель при наведении */
  font-size: 11px; /* Размер шрифта для кнопок */
  transition: color 0.3s ease; /* Плавный переход цвета за 0.3 секунды */
  padding-bottom: 10px;
  z-index: 2;
}

.reference::after {
  content: ""; /* Создаем пустой контент для псевдоэлемента */
  position: absolute; /* Позиционируем относительно родителя */
  left: 0; /* Начальная позиция слева */
  bottom: 0; /* Позиция снизу */
  width: 100%; /* Ширина подчеркивания */
  height: 2px; /* Высота подчеркивания */
  background-color: var(--color-interactive); /* Цвет подчеркивания */
  transform: scaleX(0); /* Начальное состояние (невидимо) */
  transform-origin: center; /* Начинаем с центра */
  transition: transform 0.3s ease; /* Плавный переход */
}

.reference:hover::after {
  transform: scaleX(1); /* При наведении подчеркивание становится видимым */
}

.lots_advantages {
  color: var(--color-wheat);
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 65px;
  margin: 0px 10px;
}

.lots_advantages-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: auto;
  text-align: center;
  gap: 30px;
}

.sub_title {
  font-size: 24px;
  color: var(--color-interactive);
}

.lots_advantages-title {
  font-size: 48px;
  color: var(--color-black);
}

.lots_advantages-text {
  font-size: 21px;
  max-width: 700px;
  margin: auto;
  opacity: 0.7;
  color: var(--color-black);
}

.lots_article {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1.5fr 0.8fr;
  gap: 20px;
}

.card_overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  background: #000;
  z-index: 1;
}

.card {
  padding: 40px 40px 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.card_title {
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  text-decoration-line: none;
  text-transform: uppercase;
  z-index: 2;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  color: var(--color-interactive);
  text-align: center;
}

.card_title_right {
  text-align: right;
}

.card_title_left {
  text-align: left;
}

.card_text {
  font-family: var(--main-font);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  z-index: 2;
}

.card_type_innovation {
  background-image: url("../images/image-main/IMG_6316.jpg");
  min-height: 748px;
}

.card_type_possibilities {
  background-image: url("../images/image-main/IMG_6364 (1).jpg");
  background-position: 35% 65%;
}

.card_type_distribition {
  background-image: url("../images/image-main/IMG_6340.jpg");
  background-position: 70%;
}

.card_type_corner {
  background-image: url("../images/image-main/IMG_6367.jpg");
}

.card_type_straight {
  background-image: url("../images/image-main/IMG_6271.jpg");
}

.card_type_compound {
  background-image: url("../images/image-main/IMG_6377.jpg");
  background-position: bottom right;
}

/* === Card Switcher Section === */
.card-switcher-section {
  position: relative;
  margin: 0px auto;
  margin-bottom: 70px;
  width: 100vw;
  max-width: 1200px;
  max-height: 700px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 30px 20px rgba(0, 0, 0, 0.6);
  transform: translateX(5%);
}

.card-switcher__bg {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: background-image 0.8s ease;
  z-index: 1;
  cursor: pointer;
}

.card-efect {
  position: relative;
  border-radius: 8px;
}

.card-efect::after {
  content: "";
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0 */
  background-image: linear-gradient(
    to bottom,
    rgb(33 44 55 /0),
    rgb(33 44 55 /0.2),
    rgb(33 44 55 /0.9)
  );
  border-radius: 8px;
  opacity: 1;
  transition: opacity 300ms;
  z-index: 1;
  /*  Настройка стрелочки: положение, цвет, размер */
  display: flex; /* Важно!  Делаем элемент flex-контейнером */
  font-family: var(--main-font);
  justify-content: center; /*  Горизонтальное выравнивание по центру */
  align-items: end; /*  Вертикальное выравнивание по центру */
  color: white; /*  Цвет стрелочки */
  font-size: 3vh; /*  Размер стрелочки (можно использовать px, rem, em) */
  font-weight: bold; /*  Толщина стрелочки (по желанию) */
  pointer-events: none; /* Чтобы не мешала кликам по карточке */
  transition: background-image 2s ease; /* Плавный переход */
}

.card-switcher__bg-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  max-width: 60%;
}
.card-switcher__bg-text h2,
.card-switcher__bg-text p {
  opacity: 0;
  color: var(--color-wheat);
  margin: 0;
}

/* анимации */
.card-switcher__bg-text h2.animate {
  animation: slideInDown 0.6s forwards;
}
.card-switcher__bg-text p.animate {
  animation: fadeInUp 0.6s 0.4s forwards;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card-switcher__card {
  width: 100%;
  height: 100%;
  background-position: center;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  transition: background-image 0.6s ease;
  z-index: 2;
  margin-right: 30px;
  transition: transform 0.3s ease;
}

.card-switcher__card:hover {
  transform: translateY(-5px);
}

.card-switcher__title {
  visibility: hidden; /* мы скрыли текст мини‑карточки */
}

/* === Thumbnails container === */
.card-switcher__thumbs {
  display: flex;
  gap: 20px;
  position: absolute;
  transform: translateX(-135%);
  z-index: 2;
  right: auto;
}

.card-switcher__thumbs .thumb {
  width: 180px;
  height: 250px;
  background-position: center;
  background-size: cover;
  border-radius: 8px;
  box-shadow: 0 10px 30px 10px rgba(179, 179, 179, 0.5);
  cursor: pointer;
  transition: transform 0.3s, opacity 0.3s;
}

.card-switcher__thumbs .thumb.active {
  transform: scale(0.9);
  opacity: 1;
}

.section-footer {
  max-width: 1170px;
  display: flex;
  justify-content: space-between;
  position: relative;
  gap: 30px;
  min-height: 420px;
  padding: 30px 0px;
  margin: auto;
  margin-bottom: 5px;
}

.decorated-zone {
  position: relative;
  background-size: cover; /* Заполнение фона */
  height: 100%;
  width: 100%;
  background-repeat: no-repeat; /* Не повторяет изображение */
  background-position: center;
  background-image: url(../images/image-main/IMG_6326.jpg);
}

.footer-confidention {
  z-index: 3;
  position: relative;
  display: flex;
  text-align: justify;
  gap: 10px;
  color: var(--color-wheat);
}

.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: end;
  position: relative;
  z-index: 3;
  gap: 19px;
}

.footer-nav {
  z-index: 3;
  position: relative;
  display: flex;
  justify-content: end;
  align-items: end;
  text-align: right;
  gap: 10px;
  flex-direction: column;
  color: var(--color-wheat);
}

.footer-nav_ul {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.footer-nav_li {
  display: flex;
  gap: 12px;
}

.footer-zone {
  position: relative;
}

.footer_svg-ikon {
  position: relative;
  display: flex;
  height: 35px;
}

#tg-footer {
  margin-top: 7px;
  margin-right: 5px;
}

#wa-footer {
  margin-top: 7px;
}

#vk-footer {
  margin-top: 2px;
}

#instagram-footer {
  margin-top: 7px;
  margin-right: 5px;
}

/* COMPANY */

.lots-company {
  position: relative;
  margin: 150px auto 100px auto;
}

.lots_info-company {
  grid-template-columns: 1fr 1.5fr;
}

.lots_images-company {
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background-size: cover;
}

/*pivot*/

.lots_advantages-pivot {
  color: var(--color-wheat);
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: 0px 10px;
  position: relative;
  gap: 30px;
}

.lots_article-pivot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card_overlay-pivot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  background: #000;
  z-index: 1;
}

.card-pivot {
  padding: 40px 40px 48px 40px;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.card_title-pivot {
  letter-spacing: 3px;
  font-family: var(--main-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  text-transform: uppercase;
  z-index: 2;
  color: var(--color-interactive);
  text-align: center;
  min-height: 74px;
}

.card_text-pivot {
  font-family: var(--main-font);
  font-size: 18px;
  color: var(--color-title);
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  z-index: 2;
}

.reference-footer {
  height: 13vw;
  position: relative;
  margin: 200px 400px;
}

@media (min-width: 1500px) {
  .header_logo-m {
    width: 190px;
  }

  .header_lot {
    overflow: hidden;
    grid-template-columns: 0.7fr 1fr 1.3fr 0.5fr;
    height: 82px;
  }

  .sub_menu {
    margin-top: 26px;
  }

  .lots_pictures-title {
    font-size: 44px;
  }

  .header_svg-toggle {
    right: 8px;
  }

  .header_svg-ikon {
    padding: 5px;
    margin-right: 10px;
  }

  #telegram-icon {
    width: 45px;
  }

  #whatsapp-icon {
    width: 45px;
  }

  #vk-icon {
    width: 55px;
  }

  #instagram-icon {
    width: 45px;
  }

  #youtube-icon {
    width: 44px;
  }

  .messenger-icon {
    margin: 40px;
  }

  #social-icons.visible {
    transform: translateY(10px);
  }
}

@media (min-width: 768px) and (max-width: 1300px) {
  .header_lot {
    height: 60px;
    overflow: hidden;
    grid-template-columns: 0.7fr 0.2fr 1.5fr 0.5fr;
  }

  .header_menu-button {
    font-size: 14px; /* Размер шрифта для кнопок */
  }

  .lots_info {
    gap: 40px;
  }

  .lots_info1 {
    grid-template-columns: 1.5fr 1fr;
  }

  .lots_info2 {
    padding: 0px 20px;
    gap: 135px;
  }

  .lots_info3 {
    grid-template-columns: 1.5fr 1fr;
  }

  .lots_images {
    object-fit: cover;
    width: 100%;
    height: 100%;
  }

  .card-switcher__thumbs {
    transform: translateX(-105%);
  }

  .card_type_innovation {
    min-height: 490px;
  }

  .card_text {
    font-size: 16px;
  }

  .sub_menu {
    margin-top: 13.5px;
    font-size: 12px;
  }

  .sub_title {
    font-size: 18px;
  }

  .lots_advantages-container {
    gap: 12px;
  }

  .lots_info2 {
    padding: 0px 0px 0px 20px;
    gap: 70px;
  }

  .lots_images {
    min-width: 0;
  }

  .card {
    padding: 20px;
  }

  .lots_advantages-title {
    font-size: 2rem;
  }

  .card_title {
    font-size: 1.4rem;
  }

  .card-switcher-section {
    height: 600px;
    min-height: none;
  }

  .section-footer {
    padding: 30px;
  }

  .messenger-icon {
    margin-bottom: 10px;
  }

  /* COMPANY */
  
    .lots-company {
    position: relative;
    margin: 150px auto 300px auto;
  }

  .lots_images-company {
    width: 320px;
    height: 320px;
  }

  /*pivot*/

  .lots_advantages-pivot {
    gap: 50px;
  }

  .lots_article-pivot {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
  }

  .card-pivot {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
  }

  .card_title-pivot {
    min-height: 50px;
    font-size: 18px;
  }

  .card_text-pivot {
    font-size: 18px;
  }
  
    .reference-footer {
    height: 13vw;
    position: relative;
    margin: 100px 200px;
  }
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
  .sub_menu {
    display: flex;
    flex-direction: column;
    visibility: visible;
    opacity: 0.8;
    margin-left: 70px;
    position: relative;
    background-color: var(--color-wheat);
    padding: 0px; /* Убираем отступы сверху и снизу */
    z-index: 1000; /* Убедитесь, что подменю выше других элементов */
    margin-top: 0px;
    cursor: pointer;
  }

  .header_menu-item:hover .sub_menu {
    visibility: visible; /* Делает подменю видимым */
    height: auto; /* Устанавливает высоту подменю */
    opacity: 0.8; /* Делаем подменю видимым */
    transform: translateX(-40px);
  }

  .sub_menu1 {
    display: block;
    gap: 0;
  }

  .sub_menu li {
    margin: 0;
  }

  .sub_menu a {
    display: inline-block;
    position: relative;
    max-height: 30px;
    cursor: pointer; /* Указатель при наведении */
    font-size: 11px; /* Размер шрифта для кнопок */
    transition: color 0.3s ease, transform 0.7s; /* Плавный переход цвета за 0.3 секунды */
    z-index: 2;
    margin-bottom: 5px;
  }

  .sub_menu a::after {
    content: ""; /* Создаем пустой контент для псевдоэлемента */
    position: absolute; /* Позиционируем относительно родителя */
    left: 0; /* Начальная позиция слева */
    bottom: 0; /* Позиция снизу */
    width: 100%; /* Ширина подчеркивания */
    height: 1px; /* Высота подчеркивания */
    background-color: var(--color-interactive); /* Цвет подчеркивания */
    transform: scaleX(0); /* Начальное состояние (невидимо) */
    transform-origin: center; /* Начинаем с центра */
    transition: transform 0.3s ease; /* Плавный переход */
  }

  .sub_menu a::after {
    content: ""; /* Создаем пустой контент для псевдоэлемента */
    position: absolute; /* Позиционируем относительно родителя */
    left: 0; /* Начальная позиция слева */
    bottom: -2px; /* Позиция снизу */
    width: 100%; /* Ширина подчеркивания */
    height: 1px; /* Высота подчеркивания */
    background-color: var(--color-interactive); /* Цвет подчеркивания */
    transform: scaleX(0); /* Начальное состояние (невидимо) */
    transform-origin: center; /* Начинаем с центра */
    transition: transform 0.3s ease; /* Плавный переход */
  }

  .sub_menu a:hover::after {
    transform: scaleX(1); /* При наведении подчеркивание становится видимым */
  }

  .header.scrolled .sub_menu {
    background-color: var(--color-wheat);
    opacity: 1;
  }

  .header.scrolled .sub_menu a {
    color: var(--color-title);
  }

  .modal {
    width: auto;
    padding: 30px;
  }

  .modal-content h2 {
    color: var(--color-title);
    font-size: 1.5rem;
    margin-bottom: 10px;
  }

  .modal-content p {
    font-size: 14px;
  }

  #contact-form {
    font-size: 8px;
  }

  .submit-button {
    font-size: 14px;
  }

  .lots_pictures-title {
    font-size: 20px;
  }

  .header {
    overflow: visible; /* Обрезает все, что выходит за пределы контейнера */
  }

  .header_lot {
    height: 60px;
    overflow: hidden;
  }

  .header_menu {
    display: none; /* Скрывает меню по умолчанию */
    position: absolute; /* Позволяет меню перекрывать контент */
    top: 60px; /* Позиция меню под заголовком */
    left: 0;
    right: 0;
    /* Цвет фона меню */
    z-index: 1000; /* Убедитесь, что меню выше других элементов */
    overflow: hidden; /* Скрываем любые элементы, выходящие за пределы */
    transform: scale(0);
    opacity: 0; /* Начальное состояние: полностью прозрачное */
  }

  .header_menu.show {
    display: block;
    position: absolute;
    transition: transform 0.5s ease, opacity 0.6s ease;
    transform: scale(1); /* Увеличиваем до нормального размера */
    opacity: 1; /* Делаем меню видимым */
  }

  .header_menu.hide {
    transform: scale(0);
    opacity: 0;
    display: none; /* Скрываем элемент */
  }

  .header_menu-list {
    background-color: var(--color-wheat);
    flex-direction: column; /* Меню становится вертикальным */
    margin: 20px 90px 20px 20px;
    padding: 10px 15px;
  }

  .header_menu-item {
    margin: 0; /* Отступы между элементами меню */
    padding: 8px;
    transition: transform 0.3s ease;
  }

  .header_menu-button {
    color: var(--color-black);
    transition: color 0.3s ease;
    font-size: 14px;
  }

  .header_menu-button:hover {
    color: var(--color-basic); /* Цвет кнопки при наведении */
    transition: color 0.3s ease;
  }

  .header_menu-ikon {
    position: absolute;
    display: flex;
    background-color: transparent; /* Фон кнопки */
    border: none; /* Убирает границы */
    cursor: pointer; /* Указатель при наведении */
    font-size: 18px; /* Размер шрифта для кнопок */
    transition: color 0.5s ease; /* Плавный переход цвета за 0.3 секунды */
    top: 0px;
    padding: 0;
    opacity: 0.6;
    right: 60px;
    transition: transform 0.3s ease;
  }

  .header_menu-ikon:hover {
    transform: scale(1.1);
  }

  .header_menu-ikon:active {
    transform: scale(1); /* Уменьшение иконки на 10% при активном состоянии */
    transition: transform 0.3s ease; /* Плавный переход для уменьшения */
  }

  .header_menu-toggle {
    display: block; /* Показывает иконку гамбургера на мобильных устройствах */
    position: absolute; /* Позволяет иконке не влиять на поток документа */
    right: 20px; /* Положение иконки по правому краю */
    top: 10px; /* Положение иконки по вертикали */
    background: none; /* Убирает фон кнопки */
    border: none; /* Убирает границы кнопки */
    cursor: pointer; /* Указатель при наведении */
    font-size: 24px; /* Размер шрифта для иконки */
    z-index: 1001; /* Убедитесь, что иконка выше других элементов */
  }

  .icon {
    width: 50px;
    height: 50px;
    background-size: 25px;
  }

  .lots {
    grid-template-columns: 1fr; /* Все в одну колонну */
    grid-template-rows: 1fr;
    gap: 40px;
    padding: 0px 10px;
    margin: 20px 0;
    align-content: center;
  }

  .lots_info {
    grid-template-columns: 1fr; /* Все в одну колонну */
    max-height: none; /* Убираем ограничение по высоте */
    justify-content: center;
    gap: 20px;
    padding: 0;
    width: 97vw; /* 100% ширины viewport */
  }

  .lots_images {
    object-fit: cover;
    max-height: 300px;
    width: 100%;
  }

  .lots_images {
    min-width: 0;
  }

  .lots_images3 {
    max-width: none;
  }

  .lots_images2 {
    object-position: 0% 75%;
  }

  .lots_info1 {
    display: flex;
    flex-direction: column-reverse;
  }

  .lots_info3 {
    display: flex;
    flex-direction: column-reverse;
  }

  .text {
    font-size: 12px;
  }

  .text1 {
    text-align: justify;
  }

  .lots_advantages {
    margin: 0;
  }

  .lots_advantages-container {
    gap: 12px;
    margin: 0;
    width: 95vw;
  }

  .sub_title {
    font-size: 16px;
  }

  .lots_advantages-title {
    font-size: 28px;
  }

  .lots_advantages-text {
    font-size: 14px;
  }

  .lots_article {
    grid-template-columns: repeat(3, 0.7fr);
    width: 97vw;
  }

  .lots_article-pivot {
    width: 97vw;
    gap: 15px;
  }

  .card {
    padding: 20px;
  }

  .card_type_innovation {
    min-height: 400px;
  }

  .card_title {
    font-size: 14px;
  }

  .card_text {
    font-size: 12px;
    width: auto;
  }

  .reference {
    font-size: 9px;
  }

  .card-switcher-section {
    height: 400px;
    min-height: none;
  }

  .card-switcher__thumbs .thumb {
    width: 100px;
    height: 150px;
    margin: 0;
  }

  .card-switcher__thumbs {
    display: flex;
    gap: 20px;
    position: absolute;
    transform: translateY(-40%) translateX(-140%);
  }

  .section-footer {
    flex-direction: column;
    padding: 10px;
  }

  .footer-container {
    display: flex;
    flex-direction: column;
    padding-left: 0px;
  }

  /* COMPANY */

  .lots-company {
    padding: 60px 10px;
  }

  .lots_images-company {
    margin: 10px auto;
    width: 220px;
    height: 220px;
  }

  /*pivot*/

  .lots_advantages-pivot {
    margin: 0;
    gap: 30px;
  }

  .lots_article-pivot {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
  }

  .card-pivot {
    padding: 30px;
  }

  .card_title-pivot {
    min-height: 40px;
    font-size: 14px;
  }

  .card_text-pivot {
    font-size: 14px;
  }
  
    .reference-footer {
    height: 13vw;
    position: relative;
    margin: 120px 100px;
  }
}

@media (max-width: 540px) {
  .modal {
    width: auto;
    padding: 20px 20px 30px 20px;
    min-height: fit-content;
  }

  .modal-content input,
  .modal-content textarea {
    font-size: 12px;
    background-color: white;
    min-width: 220px;
    min-height: 40px;
    height: auto;
    max-height: 500px;
    height: max-content;
    max-width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: var(--color-black);
  }

  .crest {
    width: 40px;
  }

  .modal-content h2 {
    font-size: 1.3rem;
    margin-bottom: 5px;
  }

  .modal-content p {
    font-size: 12px;
  }

  .submit-button {
    height: 50px;
    font-size: 12px;
  }

  .sub_title {
    font-size: 9px;
  }

  .lots_advantages-container {
    gap: 12px;
  }

  .sub_menu {
    margin-left: 60px;
  }

  .sub_menu a {
    font-size: 8px; /* Размер шрифта для кнопок */
  }

  .messenger-icon {
    margin: 0px 10px;
  }

  .header_logo-m {
    width: 130px;
  }

  #menu {
    width: 37px;
  }

  #icon-frame {
    width: 25px;
  }

  .header_lot {
    padding: 0px 10px;
  }

  .header_menu-ikon {
    right: 35px;
  }

  .header_svg-toggle {
    right: -16px;
  }

  .header_svg-ikon li a {
    padding: 0px 3px;
  }

  #telegram-icon {
    margin-top: 10px;
    width: 25px;
  }

  #whatsapp-icon {
    width: 25px;
  }

  #vk-icon {
    width: 35px;
  }

  #instagram-icon {
    width: 25px;
  }

  #youtube-icon {
    width: 24px;
  }

  .header_menu-list {
    margin: 10px 60px 10px 10px;
    padding: 5px 10px;
    gap: 0;
  }

  .header_menu-button {
    font-size: 9px;
  }

  .header_menu-item {
    margin: 0;
    padding: 2.5px;
  }

  .lots_pictures-title {
    font-size: 18px;
  }

  .lots_info-title {
    font-size: 16px;
  }

  .lots {
    padding: 0px 6px;
  }

  .lots_advantages {
    gap: 30px;
  }

  .lots_advantages-container {
    gap: 15px;
  }

  .lots_advantages-title {
    font-size: 1.2rem;
  }

  .lots_article {
    gap: 5px;
  }

  .lots_article-pivot {
    gap: 5px;
    height: 180px;
  }

  .sub_title {
    font-size: 14px;
  }

  .card {
    padding: 10px;
    min-width: 90px;
  }

  .card_type_innovation {
    min-height: 310px;
  }

  .card_title {
    font-size: 9px;
  }

  .card_text {
    font-size: 8.5px;
  }

  .reference {
    font-size: 6px;
  }

  .lots_advantages-text {
    font-size: 11px;
  }

  .card-switcher__thumbs .thumb {
    width: 60px;
    height: 80px;
    margin: 0;
  }

  .card-switcher__thumbs {
    display: flex;
    gap: 10px;
    position: absolute;
    transform: translateY(-30%) translateX(-160%);
  }

  .logo {
    width: 100px;
  }

  .animate {
    font-size: 10px;
  }

  .card-switcher-section {
    width: 95vw;
    height: 300px;
  }

  #tg-footer {
    width: 30px;
    margin-top: 7px;
    margin-right: 5px;
  }

  #wa-footer {
    margin-top: 7px;
    width: 30px;
  }

  #vk-footer {
    width: 40px;
    margin-top: 2px;
  }

  #instagram-footer {
    margin-top: 7px;
    margin-right: 5px;
    width: 31px;
  }

  #youtube-footer {
    width: 44px;
  }

  .certificate {
    width: 70px;
    height: 100px;
  }

  /* COMPANY */

  .lots-company {
    padding: 60px 10px;
  }

  .lots_images-company {
    margin: 10px auto;
    width: 200px;
    height: 200px;
  }

  /*pivot*/

  .lots_advantages-pivot {
    margin: 0;
  }

  .lots_article-pivot {
    position: relative;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 15px;
    height: 100%;
  }

  .card-pivot {
    padding: 50px;
  }

  .card_title-pivot {
    min-height: 40px;
    font-size: 12px;
  }

  .card_text-pivot {
    font-size: 12px;
  }
  
    .reference-footer {
    height: 13vw;
    position: relative;
    margin: 120px 50px 190px 50px;
  }
}

@media (max-width: 420px) {
  .card-switcher__thumbs {
    display: flex;
    gap: 10px;
    position: absolute;
    transform: translateY(-30%) translateX(-160%);
  }

  .logo-footer-m {
    width: 190px;
  }

  .footer-nav_ul {
    font-size: 14px;
  }

  .footer-nav_li-m {
    width: 76px;
    height: 55px;
  }
}

/* Секция объектов */

.header_svg-icon-ob {
  background-color: #4a4a4a;
}

.lots_pictures-object {
  position: relative; /* Необходимо для абсолютного позиционирования видео */
  width: 100vw;
}

.Lots_title-object {
  position: relative; /* Абсолютно позиционируем видео, чтобы оно заполняло контейнер */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Видео под текстом */
}

.background-video {
  object-fit: cover;
  width: 100%;
  max-height: 1255px;
  position: relative;
}

.lots_pictures-pivot {
  position: relative; /* Необходимо для абсолютного позиционирования видео */
  width: 100%;
}

.Lots_title_pivot {
  position: relative; /* Абсолютно позиционируем видео, чтобы оно заполняло контейнер */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Видео под текстом */
}

.background-video-pivot {
  object-fit: cover;
  width: 100%;
  max-height: 1255px;
  position: relative;
}

.objects {
  position: relative;
  padding: 20px 20px 40px 20px;
  width: 100%;
  max-width: 1200px;
  margin: 100px auto 30px auto;
  display: flex;
  flex-direction: column;
  justify-self: flex-start;
  background: white;
  border-radius: 5px;
}

.objects_title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--color-title);
}

/* Сетка карточек */
.objects_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Карточка объекта */
.object_card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.object_card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.object_card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.object_card-title {
  font-size: 1.5rem;
  margin: 20px;
  color: #444;
}

.object_card-description {
  font-size: 1rem;
  margin: 0 20px 20px 20px;
  color: #666;
}

.object-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.object-modal__content {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  text-align: center;
  position: relative;
}

.object-modal__close {
  position: absolute;
  width: 30px;
  height: 30px;
  top: 25px;
  right: 25px;
  font-size: 24px;
  cursor: pointer;
  opacity: 0.7;
  background-color: #fff;
  border-radius: 50%;
  z-index: 100;
}

.object-modal__image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.object-modal__title {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #333;
}

.object-modal__description {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #666;
}

.object-modal__video-btn {
  background-color: var(--color-interactive);
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.object-modal__video-btn:hover {
  background-color: #333;
}

.object-modal__slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.object-modal__arrow {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  top: 47.7%;
  font-size: 2rem;
  color: #fff;
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.4);
  padding: 15px;
  border-radius: 10px;
  height: 95%;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
  z-index: 10;
  transition: background-color 0.3s ease;
}

.object-modal__arrow--left {
  left: 0px;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

.object-modal__arrow--right {
  right: 0px;
  background: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0) 100%
  );
}

.object-modal__image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  transition: opacity 0.4s ease;
  opacity: 1;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.video-modal__content {
  position: relative;
  width: 90%;
  max-width: 1000px;
}

.video-modal__close {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  z-index: 10001;
}

#modalVideo {
  width: 100%;
  height: auto;
  max-height: 80vh;
  background: black;
}

@media (min-width: 1500px) {
  .background-video {
    top: 82px;
  }

  .object-modal__content {
    max-width: 900px;
    padding: 30px;
  }

  .object-modal__image {
    max-height: 550px;
  }

  .object-modal__close {
    top: 35px;
    right: 35px;
  }
}

@media (min-width: 768px) and (max-width: 1300px) {
  .background-video {
    top: 60px;
  }
}

/* Адаптив: планшеты */
@media (max-width: 768px) {
  .objects_grid {
    gap: 20px;
  }

  .object_card-img {
    height: 180px;
  }

  .background-video {
    top: 60px;
  }
}

/* Адаптив: телефоны */
@media (max-width: 520px) {
  .objects_grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .objects_title {
    font-size: 1.5rem;
  }

  .object_card-title {
    font-size: 0.95rem;
    margin: 15px;
  }

  .object_card-description {
    font-size: 0.95rem;
    margin: 0 15px 15px 15px;
  }

  .object_card-img {
    height: 150px;
  }

  .background-video {
    top: 60px;
  }

  .object-modal__title {
    font-size: 1rem;
    margin-bottom: 3px;
  }

  .object-modal__slider {
    margin-bottom: 0px;
  }

  .object-modal__description {
    font-size: 12px;
    margin-bottom: 8px;
  }

  .object-modal__arrow--right {
    height: 87%;
  }

  .object-modal__arrow--left {
    height: 87%;
  }

  .object-modal__content {
    width: 87%;
    padding: 15px;
  }

  .object-modal__video-btn {
    font-size: 0.8rem;
  }
}
