@import url("fonts.css");

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*::-webkit-scrollbar {
  position: absolute !important;
  right: 0;
  width: 8px;
}

*::-webkit-scrollbar-track {
  border-radius: 20px;
  background: #212121;
}

*::-webkit-scrollbar-thumb {
  background-color: #ed5a00;
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
}

*::-webkit-scrollbar-thumb:active {
  background-color: #ed5b009c;
}

@media (max-width: 500px) {
  * {
    transform: none;
  }
}

:root {
  --font-family: "Deledda", sans-serif;
  --font-color: #fff;
  --background-color: #1a1a1a;
  --primary-color: #f47324;
  --base-font-size: 16px; /* Базовый размер шрифта */
}

body {
  font-family: var(--font-family);
  color: var(--font-color);
  background-color: rgba(34, 33, 34, 255);
  padding: 0;
  margin: 0 auto;
  font-size: 1rem;
  width: 100%;
  max-width: 1920px;
  overflow-x: hidden; /* Убираем горизонтальную прокрутку */
  zoom: 75%;
}

h2 {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 60px;
  text-align: center;
  border: 1px solid #ed5a00;
  border-radius: 20px;
  padding: 20px 18px;
  width: max-content;
  margin: 0 auto;
  margin-bottom: 70px;
  color: #fff;
}

/* Header */
.site-header {
  background-color: rgba(34, 33, 34, 255);
  padding: 12px;
  max-width: 1920px;
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 10;
}




.container-header {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}
@media (max-width: 768px) {
  .container-header {
    height: 60px;
  }
}
.logo {
  width: 170px;
}

.main-nav {
  flex-grow: 1;
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 4.6vw;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 30px;
  color: #fff;
}

@media (max-width: 860px) {
  .nav-link {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .logo {
    width: 100px;
  }
  .container-header {
    gap: 20px;
  }
  .site-header {
    padding: 10px !important;
    margin: 0 !important;
  }
}

@media (max-width: 550px) {
  .container-header {
    gap: 20px;
  }
}

.katalog-btn {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 30px;
  color: #fff;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active,
.nav-link:hover {
  color: var(
    --primary-color
  ) !important; /* Используйте ваш цвет, например, #ed5a00 */
}

.cta-button a {
  border-radius: 1rem;
  padding: 0.5vw 1.9vw;
  /* width: 18vw; */
  /* height: 3vw; */
  background: linear-gradient(90deg, #ed5a00 0%, #873300 100%);
  border: none;
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 30px;
  /* Используем clamp для адаптации шрифта */
  color: #fff;
}

.cta-button a img {
  display: none;
}

@media (max-width: 768px) {
  .cta-button a img {
    display: block;
    width: 36px;
  }

  .cta-button a {
    background: none;
  }

  .cta-button a span {
    display: none;
  }
}

.main {
  padding: 0 2.6vw;
}

/* Hero Section */

.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 30px;
  color: #fff;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.contact-info {
  display: flex;
  align-items: center;
  gap: 20px; /* Расстояние между контактами */
}

.contact-info p {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 25px;
  text-align: center;
  color: #fff;
}

.contact-info span {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 25px;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-align: center;
  color: #fff;
}

.hero-content h1 {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 70px;
  color: #ed5a00;
}

.hero-content p {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 40px;
  color: #fff;
}

.order-button {
  margin-top: 20px; /* Отступ сверху */
}

.order-button button {
  border-radius: 20px;
  background: rgba(237, 90, 0, 0.7);
  width: 326px;
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: #fff;
  border: none;
  padding: 10px;
}

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

/* .looping-animation {
  background-image: url("path/to/your-animation.gif");
  background-size: cover;
  animation: gif-loop 0s linear infinite;
} */


.looping-animation {
  scale: 1.1;
}

@keyframes gif-loop {
  from {
    background-position: 0;
  }
  to {
    background-position: 100%;
  }
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
  .contact-info p,
  .contact-info span {
    font-size: 20px; /* Уменьшение размера шрифта для контактов */
  }

  .hero-content h1 {
    font-size: 50px; /* Уменьшение размера шрифта заголовка */
  }

  .hero-content p {
    font-size: 40px; /* Уменьшение размера шрифта подзаголовка */
  }

  .order-button button {
    font-size: 40px; /* Уменьшение размера шрифта кнопки */
    width: 300px; /* Уменьшение ширины кнопки */
  }
}

/* Дополнительный медиа-запрос для еще меньших экранов */
@media (max-width: 480px) {
  .hero-container {
    width: 1200px;
  }

  .hero-section {
    padding: 5px;
  }
  .contact-info p,
  .contact-info span {
    font-size: 14px; /* Еще большее уменьшение размера шрифта для контактов */
  }

  .hero-content h1 {
    font-size: 30px; /* Еще большее уменьшение размера шрифта заголовка */
  }

  .hero-content p {
    font-size: 20px; /* Еще большее уменьшение размера шрифта подзаголовка */
  }

  .order-button button {
    font-size: 20px; /* Еще большее уменьшение размера шрифта кнопки */
    width: 250px; /* Еще большее уменьшение ширины кнопки */
    padding: 8px; /* Уменьшение отступов внутри кнопки */
  }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 40px;
  padding-bottom: 50px;
  gap: 30px;
}

.stat-item {
  text-align: center; /* Выравнивание текста по центру */
  flex: 1; /* Равномерное распределение пространства между элементами */
  border-radius: 22px;
  padding: 32px 24px;
  background-size: 100%;
  background-position: center;
  transition: .3s ease;
}

.stat-item:hover {
  scale: 1.05;
  box-shadow: 0 0 10px #e05a00;
}

.stat-item-header {
  font-size: 32px !important;
  margin-bottom: 20px;
}

.stat-item:nth-child(1) {
  background: linear-gradient( 90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/images/projecti.jpg");
}

.stat-item:nth-child(2) {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/images/izgotov.jpg");
}

.stat-item:nth-child(3) {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/images/control.jpg");
}

.stat-item:nth-child(4) {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/images/dilivery.jpg");
}

#certificateModal {
  overflow: hidden;
}

#certificateModal .modal-content {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  place-items: center;
}

#certificateModal .close {
  position: absolute;
  top: 50px;
  right: 50px;
}

#certificateImages {
  display: flex;
  width: fit-content;
  gap: 20px;
  justify-content: center;
}

#certificateImages img {
  max-height: 100vh;
}

@media (max-width: 768px) {
  #certificateImages img {
    max-height: 100%;
    width: 50%;
  }
}

@media (max-width: 525px) {
  #certificateImages {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #certificateImages img {
    max-height: 60vh;
    width: auto;
  }
}

.stat-number {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 70px;
  text-align: center;
  color: #fff;
}

.stat-item p {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 26px;
  text-align: center;
  color: #fff;
  line-height: 28px;
}

@media (max-width: 500px) {
  .hero-stats {
    margin-top: 20px;
    padding-bottom: 20px;
  }
  .stat-number {
    font-size: 30px;
  }

  .stat-item p {
    font-size: 20px;
  }
}

/* Categories Section */

.categories {
  background: #333;
  border-radius: 120px 120px 0 0;
  padding-bottom: 50px;
  padding-top: 100px;
}

/* карточки  */

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Три колонки на десктопе */
  gap: 20px;
  width: 90%;
  margin: 0 auto;
}

.equipment-link {
  text-decoration: none; /* Убираем подчеркивание у ссылок */
  color: inherit; /* Наследуем цвет текста */
  display: block; /* Делаем всю ссылку блочной */
  width: 100%;
  height: 100%;
  position: relative;


}





.equipment-link:last-child {
  grid-area: 6/2;
}

.equipment-card {
  position: relative;
  border-radius: 20px;
  padding: 20px;
  display: flex;

  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  transition: 0.3s ease;
  /* background: rgba(0, 0, 0, 0.1); */
  background-image: url(../assets/images/shape-1.png);
  background-repeat: no-repeat;
  background-position: right;
  background-size: cover;
  height: 100%;
  height: 500px;
  transition: .3s ease;
}


.equipment-card:hover {
  filter: drop-shadow(0 0 10px #e05a00);
}

.category-content .categories .equipment-card {
  padding-bottom: 0;
  /* height: 400px; */
  filter: grayscale(100%);
}

.category-content .categories .equipment-card:hover {
  /* filter: grayscale(0%); */
  filter: drop-shadow(0 0 10px #e05a00);

}

@media (max-width: 500px) {
  .category-content .equipment-grid {
    grid-template-columns: 1fr;
  }
  .category-content .categories .equipment-card {
    padding-bottom: 0;
    height: auto;
  }
}

.shape {
  background-image: url(../assets/images/shape-1.png);
  width: 100%; /* Растягивает блок на всю ширину родительского элемента */
  height: max-content; /* Растягивает блок на всю высоту видимой области экрана */
  background-size: cover; /* Изображение будет растягиваться, чтобы покрыть весь блок */
  background-position: center; /* Центрирует изображение фона */
  background-repeat: no-repeat; /* Избегает повторения изображения фона */
}

.equipment-title {
  margin-bottom: 10px;
  order: 1; /* Заголовок сверху */
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 40px;
  letter-spacing: -0.03em;
  color: #fff;
}

@media (max-width: 768px) {
  .category-content .equipment-title {
    font-size: 24px !important;
  }
}

@media (max-width: 500px) {
  .category-content .equipment-title {
    font-size: 16px !important;
  }
}

.equipment-image {
  /* width: 77%; */
  max-height: 200px;
  height: auto;
  order: 2; /* Изображение под заголовком */
  transition: transform 0.7s ease; /* Добавление анимации к изображению */
}

.equipment-card:hover .equipment-image {
  transform: scale(1.2); /* Увеличение изображения при наведении */
}

@media (max-width: 500px) {
  .equipment-card:hover .equipment-image {
    transform: none; /* Увеличение изображения при наведении */
  }

  .equipment-card:hover .equipment-title {
    transform: none;
  }
}

.equipment-details {
  order: 3; /* Текстовые детали */
  display: grid;
  grid-template-columns: 1fr 40px;
  align-items: center;
  width: 100%;
  gap: 50px;
  /* margin-top: auto; */
  font-family: var(--second-family);
  font-weight: 200;
  font-size: 30px;
  text-decoration-skip-ink: none;
  color: #fff;
}

.catalog-array-contain {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  position: relative;
  width: 100%;
}

@media (max-width: 899px) {
  .catalog-array-contain {
    left: 8%;
  }
}

.category-content .categories .catalog-array-contain {
  position: relative;
  top: 0;
  left: 0;
}

.category-content .categories .catalog-array-contain img {
  width: 40px;
  height: 50px;
}

.category-content .categories .equipment-card img {
  max-width: 367px;
  height: auto;
}

@media (max-width: 1000px) {
  .equipment-grid {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}


@media (max-width: 768px) {
  .equipment-grid {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  }
}

@media (max-width: 500px) {
  .equipment-grid {
    grid-template-columns: repeat(2, 1fr); /* Две колонки на мобильных */
    gap: 5px;
    width: 100%;
    padding: 0 10px;
  }

  .equipment-card {
    flex-direction: row; /* Элементы в строку */
    align-items: center;
    justify-content: flex-start;
    padding: 0px;
    text-align: left;
    height: 110px;
    background: rgba(41, 40, 40, 0.6);
  }

  .equipment-title {
    font-size: 1em;
    order: 2; /* Заголовок рядом с изображением */
    margin: 0 10px;
    flex: 1;
  }

  .equipment-image {
    width: 69px; /* Уменьшение размера изображения на мобилке */
    height: auto;
    order: 1; /* Изображение слева */
    transition: transform 0.3s ease; /* Анимация для мобильных устройств */
  }

  .equipment-details {
    display: none; /* Скрываем детали на мобильных */
  }

  .catalog-array-contain {
    order: 3; /* Иконка стрелки справа */
    margin-left: auto;
  }
}


/* industry section */

.industry {
  background: #333;
}

.industry-grid {
  display: flex;
  overflow-x: hidden;
  gap: 20px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  overflow: hidden;
}

.industry-card {
  width: 700px;
  background-color: #555;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
  background-size: cover;
  background-position: center;
}

@media (max-width: 500px) {
  .industry-grid {
    display: flex;
    overflow-x: auto;
    max-width: 100%;
    gap: 10px;
  }

  .industry-card {
    flex: 0 0 80%;
    scroll-snap-align: center;
    min-width: 80%;
    height: auto;
    transition: transform 0.3s ease-in-out;
  }

  .industry-grid::-webkit-scrollbar {
    display: none; /* Скрываем скроллбар на мобильных */
  }
}

.industry-card-1 {
  background-image: url(../assets/images/obl-p-1.png);
}

.industry-card-2 {
  background-image: url(../assets/images/obl-p-2.png);
}

.industry-card-3 {
  background-image: url(../assets/images/obl-p-3.png);
}

.industry-card-4 {
  background-image: url(../assets/images/obl-p-4.png);
}

.industry-card-5 {
  background-image: url(../assets/images/obl-p-5.png);
}

.industry-card-6 {
  background-image: url(../assets/images/obl-p-7.png);
}

.industry-card-7 {
  background-image: url(../assets/images/obl-p-7.png);
}

.industry-card p {
  font-family: var(
    --font-family,
    Arial,
    sans-serif
  ); /* Use fallback font if custom one is not available */
  font-weight: 200;
  font-size: 20px;
  text-align: center;
  color: #fff;
  margin: 10px 0 0;
}

.industry-card img {
  width: auto; /* Fix the size for consistency */
  height: auto;
  margin-bottom: 10px;
}

.industry-card:hover {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
    transform: none;
  }
}

@media (max-width: 500px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .industry-card img {
    max-width: 80px;
  }
}

/* Advantages Section */

.advantages {
  padding: 3.12vw 1.82vw;
  background: rgb(51, 51, 51);
  font-size: 30px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Четыре колонки */
  grid-template-rows: auto auto; /* Две строки */
  gap: 20px; /* Промежутки между элементами */
  margin: 0 auto;
  background-color: #333;
  border-radius: 12px;
  width: 90%;
}

.grid-item {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;

  font-family: var(--font-family);
  font-weight: 200;
  font-size: 30px;
  text-align: center;
  color: #fff;
}

.item1 {
  grid-column: 1; /* Занимает первую колонку */
  grid-row: 1 / span 2; /* Занимает две строки */
}

.item2 {
  grid-column: 2; /* Второй столбец первого ряда */
  grid-row: 1;
}

.item3 {
  grid-column: 3; /* Третий столбец первого ряда */
  grid-row: 1;
}

.item4 {
  grid-column: 4; /* Четвертый столбец первого ряда */
  grid-row: 1;
}

.item5 {
  grid-column: 2 / span 2; /* Занимает второй и третий столбцы второго ряда */
  grid-row: 2;
}

.item6 {
  grid-column: 4; /* Четвертый столбец второго ряда */
  grid-row: 2;
}

@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr 1fr; /* Две колонки */
    grid-template-rows: auto auto auto auto auto; /* Пять строк */
  }

  .grid-item {
    font-size: 16px;
  }

  .item1 {
    grid-column: 1 / span 2; /* Занимает всю ширину */
    grid-row: 1; /* Первая строка */
  }

  .item2 {
    grid-column: 1; /* Первая колонка во второй строке */
    grid-row: 2;
  }

  .item3 {
    grid-column: 2; /* Вторая колонка во второй строке */
    grid-row: 2;
  }

  .item4 {
    grid-column: 1; /* Занимает всю ширину */
    grid-row: 4; /* Третья строка */
  }

  .item5 {
    grid-column: 1 / span 2; /* Первая колонка в четвертой строке */
    grid-row: 3;
  }

  .item6 {
    grid-column: 2; /* Вторая колонка в четвертой строке */
    grid-row: 4;
  }
}

.advantage-item-1 {
  background-image: url(../assets/images/advantages-1.png);
  background-repeat: no-repeat;
  background-position: center center;
}
.advantage-item-2 {
  background-image: url(../assets/images/advantages-2.png);
  background-repeat: no-repeat;
  background-position: center center;
}
.advantage-item-3 {
  background-image: url(../assets/images/advantages-3.png);
  background-repeat: no-repeat;
  background-position: center center;
}
.advantage-item-4 {
  background-image: url(../assets/images/advantages-4.png);
  background-repeat: no-repeat;
  background-position: center center;
}
.advantage-item-5 {
  background-image: url(../assets/images/advantages-5.png);
  background-repeat: no-repeat;
  background-position: center center;
}

.advantage-item-6 {
  background-image: url(../assets/images/advantages-6.png);
  background-repeat: no-repeat;
  background-position: center center;
}

/* Partners Section */

.partners {
  background: #333;
  padding: 30px 0;
  border-bottom-right-radius: 120px;
  border-bottom-left-radius: 120px;
}

.carousel-container {
  overflow: hidden; /* Hide overflowing content */
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.carousel-track {
  display: flex; /* Align items in a row */
  align-items: center;
  gap: 20px; /* Space between carousel items */
  will-change: transform; /* Optimize performance */
  transition: transform 0.5s linear; /* Smooth transition */
}

.carousel-item {
  flex: 0 0 auto; /* Prevent shrinking and growing */
  width: 150px; /* Width of each item */
  margin: 10px; /* Margin around each item */
}

.carousel-item img {
  width: 100%; /* Responsive image */
  height: auto;
  display: block;
  border-radius: 5px; /* Optional rounded corners */
}

/* logo wrap */

.logos-wrap {
  display: flex; /* Flex-контейнер для горизонтального размещения элементов */
  transition: transform 0.5s ease; /* Анимация для плавной прокрутки */
  cursor: grab; /* Курсор в виде руки для взаимодействия */
}

.logos-wrap div {
  flex: 0 0 auto; /* Элементы не сжимаются и не растягиваются */
  width: 150px; /* Фиксированная ширина для каждого логотипа */
  margin: 10px; /* Отступы вокруг логотипов */
}

.logos-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 1vw 60px;

  background-color: #222;
  color: var(--font-color);
  font-size: clamp(
    0.8rem,
    1rem,
    1.2rem
  ); /* Используем clamp для адаптации шрифта */
}

.site-footer p {
  font-family: var(--second-family);
  font-weight: 200;
  font-size: 30px;
  color: #fff;
}

.site-footer span {
  color: #ed5a00;
}

.icon-footer-wrap {
  display: flex;
  column-gap: 30px;
}

/* mobile */

@media (min-width: 320px) and (max-width: 500px) {
  .site-header {
    padding: 20px;
    justify-content: space-between;
    margin-bottom: 30px;
  }

  .logo {
    /* margin-right: 30px; */
    width: 55px;
  }

  .logo img {
    width: 59px;
    height: 26px;
  }

  .nav-list {
    justify-content: center;
  }

  .nav-list li a {
    font-family: var(--font-family);
    font-weight: 200;
    font-size: 14px;
    color: #fff;
  }

  .cta-button a {
    font-family: var(--font-family);
    font-weight: 200;
    font-size: 14px;
    color: #fff;
  }

  .contact-info {
    font-family: var(--font-family);
    font-weight: 200;
    font-size: 14px;
    text-decoration-skip-ink: none;
    text-align: center;
    color: #fff;
    margin-bottom: 15px;
  }

  .contact-info p:not(:first-child) {
    text-decoration: underline;
  }

  h1 {
    font-weight: 200;
    font-size: 27px;
  }

  .hero-content-info {
    font-size: 27px;
    margin-bottom: 26px;
  }

  .order-button {
    border-radius: 7px;
    width: 171px;
    height: 30px;
    font-family: var(--font3);
    font-weight: 300;
    font-size: 20px;
    letter-spacing: -0.03em;
    color: #fff;
  }

  .wrap {
    display: flex;
  }

  .hero-stats {
    margin-top: 55px;
  }

  .stat-item p {
    font-family: var(--font-family);
    font-weight: 200;
    font-size: 13px;
    text-align: center;
    color: #fff;
  }

  .categories {
    padding-top: 20px;
    border-radius: 60px 60px 0 0;
  }

  h2 {
    font-family: var(--font3);
    font-weight: 300;
    font-size: 20px;
    letter-spacing: -0.03em;
    color: #fff;
    width: 200px;
    margin: 0 auto;
    border: 1px solid #ed5a00;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 20px;
  }

  h3 {
    font-family: var(--font-family);
    font-weight: 200;
    font-size: 10px;
    letter-spacing: -0.03em;
    text-align: center;
    color: #fff;
  }

  .applications {
    overflow: hidden;
  }

  .application-item {
    border-radius: 12px;
    width: 239px;
    height: 52px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    margin-right: 15px;
  }

  .application-item img {
    width: 45px;
    height: 40px;
  }

  .applications {
    padding: 20px;
    position: relative;
  }

  /* partners */

  .partners {
    border-bottom-right-radius: 44px;
    border-bottom-left-radius: 44px;
    padding-bottom: 40px;
  }

  /* footer */

  .icon-footer-wrap {
    display: none;
  }

  .site-footer {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0 auto;
    padding-top: 20px;
  }
}

/* блок контактов выплывающий  */

.contact-block {
  background-color: #444;
  padding: 15px;
  border-radius: 15px;
  width: 350px;
  margin: 20px auto;
  text-align: center;
  z-index: 2;
}

.contact-title {
  font-size: 20px;
  color: #ed5a00; /* Оранжевый цвет для заголовка */
  margin-bottom: 20px;
}

.contact-item {
  margin-bottom: 20px;
}

.phone-number {
  font-size: 18px;
  text-decoration: underline;
  cursor: pointer; /* Указатель мыши, как при наведении на ссылку */
}

.contact-name {
  font-size: 16px;
  margin-top: 5px;
}

.copy-hint {
  font-size: 14px;
  color: #aaa;
  cursor: pointer;
}


.contact-block {
  background-color: #444;
  padding: 20px;
  border-radius: 15px;
  width: 250px;
  position: absolute;
  top: -300px; /* Скрываем блок за верхней границей экрана */
  right: 40px; /* Положение справа */
  transition: top 0.5s ease, opacity 0.5s ease; /* Анимация плавного выплывания и появления */
  opacity: 0; /* Прозрачность для плавного появления */
  visibility: hidden; /* Скрытие блока, чтобы он не перекрывал контент */
}

.contact-block.visible {
  top: 85px;
  right: 55px;
  opacity: 1; /* Устанавливаем видимость */
  visibility: visible; /* Делаем блок видимым */
}

.cta-button a {
  cursor: pointer; /* Указатель мыши для кнопки */
}

.overlay {
  display: none; /* Скрыто по умолчанию */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25); /* Черный цвет с 25% прозрачностью */
  z-index: 9999; /* Высокий z-index для отображения поверх других элементов */
}

@media (max-width: 500px) {
  .contact-block {
    width: 220px;
  }
  .contact-block.visible {
    top: 30px;
    right: 0;
  }
}

.copy-hint {
  cursor: pointer;
}

.swiper-container {
  width: 100%;
  height: auto; /* Настроено на авто высоту */
  overflow: hidden;
}

.swiper-wrapper {
  width: 100%;
  height: auto; /* Высота адаптируется под контент */
}

.swiper-slide {
  padding-top: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto; /* Высота адаптируется под контент */
  overflow: visible; /* Сделайте так, чтобы контент не обрезался */
}
/* contact section */

.company {
  padding: 20px;
}

@media (max-width: 500px) {
  .company {
    padding-top: 0;
  }
}

.contacti {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 40px;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: left;
  gap: 50px;
  margin-bottom: 60px;
}

@media (max-width: 500px) {
  .contacti {
    font-size: 30px;
    text-align: center;
  }
}

.mail-company {
  font-family: var(--font-family);
  font-weight: 200;
  color: #ed5a00;
}

.mail-company p:last-child {
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.number-company {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.section-sert-map {
  background: #333;
  border-radius: 120px;
}

@media (max-width: 500px) {
  .section-sert-map {
    border-radius: 60px;
  }
}

.logo-contact {
  text-align: center;
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 70px;
  color: #fff;
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.logo-contact span {
  color: #ed5a00;
}

.about-company {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-company img {
  width: 700px;
}

@media (max-width: 500px) {
  .about-company {
    flex-wrap: wrap;
    flex-direction: column-reverse;
    gap: 40px;
    margin-bottom: 20px;
  }
}

.about-company p {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 35px;
  text-align: center;
  background: linear-gradient(90deg, #ed5a00 0%, #873300 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 800px;
}

.map-section {
  padding: 20px;
}

.map-block {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
  padding-bottom: 40px;
  border-radius: 25px;
  background-color: rgba(41, 40, 40, 0.4);
  fill: rgba(41, 40, 40, 0.4);
}

.map-block p {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 35px;
  text-align: center;
  color: #ed5a00;

  max-width: 600px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.map {
  width: 80%;
  aspect-ratio: 16/9;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .logo-contact {
    font-size: 40px;
  }

  .about-company h3 {
    font-size: 60px;
  }

  .about-company p {
    font-size: 24px;
    padding: 0 10px;
  }

  .map-block p {
    font-size: 25px;
    padding: 0 10px;
  }

  .map {
    width: 100%;
  }

  .map-block {
    width: 100%;
  }

  .map-section {
    border-radius: 60px 60px 0 0;
    padding-top: 20px;
  }
}

/* sert section */

.certificates-section {
  padding: 100px 20px 0 20px;
  color: #fff;
  text-align: center;
}

.certificates-subtitle {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 40px;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
  margin-bottom: 20px;
}

.certificates-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Две колонки */
  gap: 20px; /* Расстояние между элементами */
  margin-bottom: 30px;
  max-width: 700px;
  margin: 0 auto;
}

.certificate-item {
  padding: 10px 20px;
  border-radius: 5px;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 20px;
}

@media (max-width: 500px) {
  .certificate-item {
    justify-content: center;
  }
}

.certificate-name {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: #fff;
  background-color: rgba(41, 40, 40, 0.4);
  padding: 15px;
  border-radius: 15px;
}

.certificate-lang {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 20px;
  letter-spacing: -0.03em;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #fff;
  cursor: pointer;
}

.licenses-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 0 auto;
  margin-top: 20px;
}

.license-card {
  background-color: rgba(41, 40, 40, 0.4);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 492px;
}

.license-card img {
  max-width: 100%;
  border-radius: 5px;
  cursor: pointer; /* Изменение курсора на указатель при наведении */
}

.license-description {
  margin-top: 10px;
  font-size: 1em;
  font-family: var(--second-family);
  font-weight: 200;
  font-size: 30px;
  letter-spacing: -0.03em;
  color: #fff;
}

/* Стили для модального окна */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  margin: 15% auto;
  padding: 20px;
  width: 80%;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .certificates-list {
    gap: 15px;
    grid-template-columns: 1fr;
  }

  .certificates-title {
    font-size: 2em;
  }

  .licenses-gallery {
    grid-template-columns: 1fr;
  }

  .certificates-section {
    padding-top: 20px;
  }

  .certificates-subtitle {
    font-size: 15px;
    display: none;
  }
}

/* catalog section */

.category-head {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 120px;
  color: #ed5a00;
  text-align: center;
}

.category-head-wrap {
  padding-top: 50px;
}

@media (max-width: 500px) {
  .category-head-wrap {
    padding-top: 20px;
  }
}

.custom-dropdown {
  width: 500px; /* Ширина всей конструкции */
  margin: 0 auto;
  color: #ed5a00;
  font-family: "Arial", sans-serif;
  font-size: 20px;
  position: relative;
  cursor: pointer;
  z-index: 10;
  background-color: #333; /* Фон для всей конструкции */
  border-radius: 10px;
}

@media (max-width: 500px) {
  .custom-dropdown {
    width: 300px;
    font-size: 14px;
  }
}

.dropdown-selected {
  padding: 15px;
  background-color: #333; /* Тот же цвет, что и у выпадающего списка */
  border-radius: 10px;
  display: flex;
  justify-content: center; /* Центрируем контент внутри */
  align-items: center;
  transition: border-radius 0.3s ease; /* Плавный переход для изменения радиусов */
  position: relative; /* Относительное позиционирование для абсолютного позиционирования стрелки */
}

.dropdown-selected-text {
  flex-grow: 1; /* Расширяем текстовый блок, чтобы он занимал все доступное пространство */
  text-align: center; /* Центрируем текст */
}

.dropdown-selected::after {
  content: "▼";
  font-size: 12px;
  color: #ed5a00;
  position: absolute;
  right: 15px; /* Смещаем стрелку вправо */
}

.dropdown-items {
  display: none;
  background-color: #333; /* Цвет фона для выпадающего списка */
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%; /* Соответствует ширине родительского блока */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border-radius: 0 0 10px 10px; /* Сглаживание углов только внизу */
  overflow: hidden; /* Скрытие элементов, выходящих за пределы */
}

.dropdown-items li {
  padding: 15px;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dropdown-items li:hover {
  background-color: #444;
}

.custom-dropdown.active .dropdown-items {
  display: block; /* Показывает выпадающий список при активации */
}

.custom-dropdown.active .dropdown-selected {
  border-bottom-right-radius: 0; /* Убираем радиус правого нижнего угла */
  border-bottom-left-radius: 0; /* Убираем радиус левого нижнего угла */
}

.custom-dropdown.active .dropdown-selected::after {
  content: "▲";
}

.category-content {
  margin-top: 20px;
  padding: 20px;
  color: #fff;
  border-radius: 5px;
  display: none; /* Все скрыты по умолчанию */
  height: auto; /* Убедитесь, что высота автоматически адаптируется */
  overflow: visible; /* Содержимое не будет скрываться */
  position: relative;
}

.category-content.active {
  display: block; /* Только активный блок виден */
  height: auto;
}

.category-content h2 {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 100px;
  background: linear-gradient(90deg, #ed5a00 0%, #873300 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border: none;
  width: auto;
  margin-bottom: 20px;
}

.category-content p:nth-child(2) {
  font-size: 40px;
  text-align: center;
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .category-content h2 {
    font-size: 70px;
  }

  .category-content p:nth-child(2) {
    font-size: 20px;
    margin-bottom: 70px;
  }
}

@media (max-width: 500px) {
  .category-content h2 {
    font-size: 40px;
  }

  .category-content p:nth-child(2) {
    margin-bottom: 40px;
    font-size: 16px;
  }
}

.category-content .equipment-details {
  justify-content: flex-end;
}

.category-content .equipment-title {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 40px;
  letter-spacing: -0.03em;
  text-align: center;
}

@media (max-width: 500px) {
  .category-content .equipment-title {
    font-size: 1.3em;
  }

  .category-content .equipment-card:hover .equipment-title {
    font-size: 1.3em;
  }
}

.category-content .equipment-card:hover .equipment-title {
  font-family: var(--font-family);
  font-weight: 200;
  font-size: 40px;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
}

@media (max-width: 500px) {
  .category-content .equipment-title {
    font-size: 1.3em;
  }

  .category-content .equipment-card:hover .equipment-title {
    font-size: 1.3em;
  }
}

.category-content .categories {
  border-bottom-left-radius: 120px;
  border-bottom-right-radius: 120px;
}

@media (max-width: 500px) {
  .category-content {
    padding: 10px;
  }
  .category-content .categories {
    border-radius: 20px;
  }
}

.category-content .categories .equipment-card:hover .equipment-image {
  filter: sepia(1) saturate(4) hue-rotate(-15deg) brightness(1.2); /* Изменение цвета на оттенок, близкий к rgba(207, 81, 4, 1) */
  transform: scale(1.1); /* Немного увеличить изображение при наведении */
}

@media (max-width: 500px) {
  /* Отключение трансформаций, фильтров и анимаций при наведении */
  .equipment-card:hover,
  .industry-card:hover,
  .order-button button:hover,
  .nav-link:hover,
  .dropdown-items li:hover,
  .equipment-card:hover .equipment-image,
  .equipment-card:hover .equipment-title,
  .category-content .categories .equipment-card:hover .equipment-image {
    transform: none !important;
    filter: none !important;
    transition: none !important;
    /* color: inherit !important; */
    background-color: inherit !important;
  }



  .order-button button:hover {
    background-color: rgba(237, 90, 0, 0.7) !important;
  }

  .dropdown-items li:hover {
    background-color: #333 !important; /* Заменить на базовый фон */
  }

  .industry-card:hover {
    transform: none !important;
  }

  .equipment-card:hover {
    transform: none !important;
    transition: none !important;
  }

  .equipment-image:hover {
    transform: none !important;
  }

  .equipment-title:hover {
    transform: none !important;
  }
}

/* форма битрикса */

.container-form {
  position: fixed;
  opacity: 0;
  visibility: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  padding: 20px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  
}

.container-form__wrapper {
  max-width: 500px;
  width: 100%;
  position: relative;
}


.container-form__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: .4;
  z-index: -1;
}

.container-form.active {
  opacity: 1;
  visibility: visible;
}

.close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  cursor: pointer;
  color: #fff;
  background: none;
  border: none;
  z-index: 100;
}

.about-company__container {
  background-color: #333;
  border-radius: 120px;
  padding: 140px 20px;
  position: relative;
}

.about-company__img {
  position: absolute;
  top: -200px;
  width: 50%;
}

.about-company__container ul {
  display: flex;
  flex-direction: column;
  gap: 100px;
  width: 90%;
  margin: 0 auto;
}

.about-company__container li {
  font-size: 40px;
  display: flex;
  align-items: center;
  gap: 50px;
  font-weight: 200;
}

.about-company__container li:nth-child(even) {
  flex-direction: row-reverse;
}

.about-company__container li img {
  border-radius: 50px;
  aspect-ratio: 1/1;
  width: 600px;
  object-fit: cover;
}

.about-company__title {
  color: #ed5a00;
  border: none;
  margin: 0 100px 50px auto;
  font-size: 80px;
  font-weight: 200;

}

@media (max-width: 1200px) {
  .about-company__img {
    top: -150px;
    width: 50%;
  }



  .about-company__container li {
    font-size: 32px;
  }


  .about-company__container li img {
    width: 400px;
  }

  .about-company__title {
    color: #ed5a00;
    border: none;
    margin: 0 100px 50px auto;
    font-size: 80px;
    font-weight: 200;
  }
}

@media (max-width: 768px) {
  .about-company__img {
    top: -50px;
    width: 350px;
  }


  .about-company__container li {
    font-size: 24px;
  }


  .about-company__container li img {
    width: 400px;
    display: none;
  }

  .about-company__title {
    margin: 0 auto 50px;
    width: fit-content;
    font-size: 80px;
  }
}

@media (max-width: 768px) {
  .about-company__img {
    top: -50px;
    width: 300px;
  }

  .about-company__container ul {
    gap: 20px;
  }

  .about-company__container li {
    font-size: 16px;
  }
}

.equipment-link-link-product .equipment-details {
  grid-template-columns: 1fr;
}

.equipment-link-link-product .equipment-details img {
  margin-left: auto;
}
