@charset "UTF-8";
:root {
  --color-orange: #ff7400;
  --color-gray: #82858a;
  --color-black: #000000;
  --color-white: #ffffff;
}

/**
  Нормализация блочной модели
 */
*,
::before,
::after {
  box-sizing: border-box;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
  padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure, fieldset):where([class]) {
  margin: 0;
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  padding: 0;
  border: none;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
  list-style: none;
}

:where(address[class]) {
  font-style: normal;
}

/**
  Обнуляем вертикальные внешние отступы параграфа,
  объявляем локальную переменную для внешнего отступа вниз,
  чтобы избежать взаимодействие с более сложным селектором
 */
p {
  --paragraphMarginBottom: 24px;
  margin-block: 0;
}

/**
  Внешний отступ вниз для параграфа без атрибута class,
  который расположен не последним среди своих соседних элементов
 */
p:where(:not([class]):not(:last-child)) {
  margin-bottom: var(--paragraphMarginBottom);
}

/**
  Упрощаем работу с изображениями и видео
 */
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
  font: inherit;
}

html {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  height: 100%;
  /**
    Убираем скачок интерфейса по горизонтали
    при появлении / исчезновении скроллбара
   */
  scrollbar-gutter: stable;
  /**
    Плавный скролл
   */
  scroll-behavior: smooth;
}

body {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  min-height: 100%;
  /**
    Унифицированный интерлиньяж
   */
  line-height: 1.5;
}

/**
  Нормализация высоты элемента ссылки при его инспектировании в DevTools
 */
a:where([class]) {
  display: inline-flex;
}

a {
  text-decoration: none;
  color: inherit;
}

/**
  Курсор-рука при наведении на элемент
 */
button,
label {
  cursor: pointer;
}

/**
  Убирает серую подсветку при тапе на мобильных устройствах (iOS/Android)
 */
button {
  -webkit-tap-highlight-color: transparent;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут fill со значением 'none' или начинается с 'url')
 */
:where([fill]:not([fill='none'], [fill^='url'])) {
  fill: currentColor;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут stroke со значением 'none')
 */
:where([stroke]:not([stroke='none'], [stroke^='url'])) {
  stroke: currentColor;
}

/**
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
  transition-property: fill, stroke;
}

/**
  Приведение рамок таблиц в классический 'collapse' вид
 */
:where(table) {
  border-collapse: collapse;
  border-color: currentColor;
}

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.burger-button {
  width: 48px;
  aspect-ratio: 1;
  padding: 0;
  background-color: transparent;
  border: none;
  position: relative;
}

.burger-button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  color: var(--color-gray);
  content: '';
  width: 50%;
  height: 2px;
  background-color: var(--color-gray);
  border-radius: 5px;
  box-shadow:
    0 -8px,
    0 8px;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 180px;
  height: 280px;
  margin: 0 0 0 auto;
  padding: 14px 20px;
  border: none;
  background-image: linear-gradient(var(--color-black), rgba(0, 0, 0, 0.6));
  border-radius: 0 0 0 10px;
  font-weight: 500;
}

.mobile-overlay__close-button-wrapper {
  display: flex;
  justify-content: end;
}

.mobile-overlay__close-button-wrapper {
  display: flex;
  justify-content: end;
}

.mobile-overlay__list {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-white);
  flex-direction: column;
  row-gap: 16px;
}

.cross-button {
  padding: 0;
  background-color: transparent;
  border: none;
  width: 40px;
  aspect-ratio: 1;
  position: relative;
  border-radius: 5px;
}
.cross-button::before,
.cross-button::after {
  content: '';
  position: absolute;
  top: 28%;
  width: 60%;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 15px;
}
.cross-button::before {
  rotate: 45deg;
}
.cross-button::after {
  rotate: -45deg;
}

.services-slider-section {
  display: flex;
  padding-top: 60px;
  margin-bottom: 90px;
}

/* Заголовок секции */
/* Стили карточек */
.service-card {
  background: white;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 300px;
  display: flex;
  flex-direction: column;
  column-gap: 20px;
  line-height: 30;
}

.service-card:hover {
  transform: translateY(5px);
  box-shadow: 10px 10px 10px rgba(172, 171, 171, 0.12);
}

.card-img {
  width: 100%;
  height: 80%;
  border-radius: 8px;
  border: 1px solid var(--color-gray);
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 20px 20px 24px;
  flex-grow: 1;
}

.card-desc {
  padding-top: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-black);
}

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

/* Кастомные стили для навигации Swiper */
.swiper-btn-next,
.swiper-btn-prev {
  color: var(--color-gray);
  margin-top: 8px;
  height: 60px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.swiper-btn-prev img {
  display: block;
  transform: scaleX(-1);
  transform-origin: center;
}

.swiper-btn-next:hover,
.swiper-btn-prev:hover {
  opacity: 0.7;
  height: 60px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
  .card-content {
    padding: 16px;
  }
  .card-title {
    font-size: 1.2rem;
  }
}
.special__list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.special__item {
  max-width: 340px;
}

.special__item__img {
  border: 1px solid var(--color-gray);
  border-radius: 8px;
  margin-bottom: 5px;
}

.special {
  margin-bottom: 120px;
}

.qualities {
  margin: 90px 0 180px 0;
  color: var(--color-white);
}

.qualities__bg {
  background-color: var(--color-gray);
  max-width: 100%;
  text-align: center;
  overflow-x: hidden;
  box-shadow:
    0 -10px 15px -5px var(--color-gray),
    0 10px 15px -5px var(--color-gray);
}

.qualities__list {
  display: flex;
  justify-content: space-between;
  align-items: self-start;
  padding: 30px 70px;
}

.qualities__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 15px;
  width: 20%;
}

.qualities__descr {
  padding-top: 6px;
  font-weight: 400;
}

.equipment__blocks {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.equipment__blocks__list {
  display: flex;
  justify-content: space-evenly;
  gap: 55px;
}

.equipment__cond {
  margin-top: 90px;
}

.equipment__cond__title {
  color: var(--color-gray) !important;
  letter-spacing: 0.05em;
}

.equipment__cond__list {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.position__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 180px;
}

.position__title {
  margin-bottom: 0 !important;
}

.partners {
  margin-top: 120px;
  padding-top: 60px;
}

.partners__wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.partners__list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.contacts {
  display: flex;
  flex-direction: column;
  margin-top: 110px;
}

.contacts__wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.contacts__list {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 50px;
  margin-left: 150px;
}

.contacts__list__first,
.contacts__list__second {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.custom-map-shape {
  margin-top: -100px;
  clip-path: polygon(
    0% 0%,
    100% 0.02%,
    99.7% 100%,
    0.52% 99.84%,
    12.13% 95.96%,
    21.45% 93.17%,
    27.47% 90.48%,
    30.47% 87.3%,
    31.45% 82.7%,
    31.99% 78.89%,
    31.34% 69.97%,
    29.31% 61.08%,
    26.82% 53.32%,
    19.84% 37.14%,
    14.34% 25.23%
  );
}

.contacts__list__adress::before,
.contacts__list__phone::before,
.contacts__list__mail::before {
  content: '';
  display: inline-block;
  width: 25px;
  height: 25px;
  margin-right: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  vertical-align: middle;
}

.contacts__list__adress::before {
  background-image: url('../src/icons/map_point.svg');
}

.contacts__list__phone::before {
  background-image: url('../src/icons/tel.svg');
}

.contacts__list__mail::before {
  background-image: url('../src/icons/mail.svg');
}

@font-face {
  font-family: 'Jost';
  src: url('../src/fonts/Jost-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../src/fonts/Jost-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('../src/fonts/Jost-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
html {
  scroll-behavior: smooth;
  font-size: 18px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  clip-path: inset(100%) !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

@media (max-width: 589px) {
  .hidden-mobile {
    display: none !important;
  }
}
@media (min-width: 590px) {
  .visible-mobile {
    display: none !important;
  }
}
body {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  color: var(--color-black);
}

h1 {
  font-size: clamp(28px, 3.3333333333vw, 48px);
  font-weight: 500;
}

h2 {
  font-size: clamp(24px, 3.0555555556vw, 44px);
  font-weight: 500;
  letter-spacing: 0.05em;
}

h3 {
  font-size: clamp(20px, 2.7777777778vw, 40px);
  font-weight: 500;
}

h4 {
  font-size: clamp(20px, 1.9444444444vw, 28px);
  font-weight: 500;
}

p {
  font-size: clamp(14px, 1.3888888889vw, 20px);
}

img {
  pointer-events: none;
}
iframe {
  width: 100%;
}

.container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 200px 0 200px;
}

.title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--color-black);
}

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  transition: all 0.5s;
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
}

.header_fixedhead {
  background-image: linear-gradient(var(--color-black), rgba(0, 0, 0, 0.6));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  height: 55px;
}

.logo {
  min-width: 80px;
}

.header__menu-list {
  display: flex;
  gap: 50px;
  color: var(--color-white);
}

.header__menu-link {
  font-size: clamp(16px, 2vw, 20px);
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 35px;
}

.header__menu-link::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50%;
  width: 0;
  height: 2px;
  background-color: var(--color-white);
  transition-duration: 0.3s;
}

.header__menu-link:hover::after {
  width: 100%;
}

/* Главная */
.about__container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 120px 0 120px;
}

.section-main {
  position: relative;
  background-image: url('../src/images/main_bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh; /* на всю высоту экрана */
  background-attachment: fixed;
}

.section-main-content {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 50%;
  transform: translateY(-35%);
}

.section-main__descr {
  max-width: 50%;
}

.main__descr__title {
  color: var(--color-orange);
  margin-bottom: 30px;
  line-height: 1.1;
  font-weight: 700;
}

.main__descr__text {
  font-weight: 500;
  color: var(--color-white);
  margin-bottom: 25px;
}

.main__button {
  width: 240px;
  height: 50px;
  border: 1px solid var(--color-orange);
  background-color: var(--color-black);
  color: var(--color-orange);
  box-shadow:
    0 5px 0 rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 10px 25px 14px 25px;
  font-weight: 500;
  font-size: clamp(14px, 2vw, 20px);
  transition-duration: 0.4s;
}

.main__button:hover {
  background-color: var(--color-orange);
  color: var(--color-black);
}

.section-main__img {
  max-width: 450px;
  min-width: 300px;
  margin-right: auto;
}

.slow_scroll {
  animation: smoothSlideUp 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  transform: translateY(100%);
  will-change: transform;
  /* Добавляем сглаживание */
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
}

@keyframes smoothSlideUp {
  0% {
    transform: translateY(100%);
  }
  40% {
    transform: translateY(-5px); /* Легкий перелет для плавности */
  }
  100% {
    transform: translateY(0);
  }
}
/* О компании */
.section-about {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  height: 100vh;
  align-items: center;
}

.section-about__content {
  display: flex;
  flex-direction: column;
  gap: 45px;
  max-width: 50%;
}

.about__content__list {
  display: flex;
  gap: 50px;
}

.about__item__title {
  margin-bottom: 14px;
}

.about__item__text {
  opacity: 85%;
}

.about__item__title,
.about__content__descr {
  color: var(--color-orange);
}

.about__content__descr {
  font-weight: 500;
}

.about__img {
  max-width: 500px;
}

.foot {
  text-align: right;
  color: var(--color-gray);
}

@media (max-width: 1510px) {
  .container {
    max-width: 1450px;
  }
}

@media (max-width: 1440px) {
  .container {
    max-width: 1220px;
    padding: 0 80px 0 80px;
  }
  .header__container {
    padding-top: 8px;
  }
  .special__list {
    justify-content: space-evenly;
  }
  .special__item {
    max-width: 300px;
  }
}
@media (max-width: 1210px) {
  .container {
    max-width: 1050px;
  }
  .header__container {
    padding-top: 8px;
  }
  /* .logo {
    margin-left: -30px;
  } */
  .header__menu-list {
    gap: 32px;
    padding-right: 14px;
  }
  .section-about__content {
    max-width: 80%;
  }
  .section-about__img {
    max-width: 400px;
  }
  .special__item {
    max-width: 280px;
  }
  .custom-map-shape {
    max-width: 350px;
  }
  .contacts__list__second {
    row-gap: 10px;
  }
}
@media (max-width: 1024px) {
  .container {
    max-width: 800px;
    padding: 0 50px 0 50px;
  }
  .header__container {
    gap: 20px;
    padding-top: 6px;
  }
  /* .logo {
    margin-left: -80px;
  } */
  .main__descr__title,
  .main__descr__text {
    margin-bottom: 15px;
  }
  .section-main__img {
    max-width: 350px;
  }
  .about__container {
    max-width: 800px;
    padding: 0 50px 0 50px;
  }
  .section-about__content {
    max-width: 50%;
    gap: 20px;
  }
  .about__img {
    max-width: 390px;
  }
  .btn-wrapper {
    margin-top: 25px;
  }
  .special__item {
    max-width: 190px;
  }
  .contacts__list {
    gap: 30px;
    margin-left: 80px;
  }
  .title {
    margin-bottom: 40px;
  }
  .main__button {
    max-width: 210px;
    max-height: 35px;
    padding: 2px 4px 4px 8px;
  }
  .custom-map-shape {
    max-width: 300px;
    margin-top: 0;
  }
}
@media (max-width: 820px) {
  .container {
    max-width: 750px;
    padding: 0 50px 0 50px;
  }
  .header__container {
    gap: 20px;
    padding-top: 6px;
  }

  /* .container {
    max-width: 800px;
    margin: 0;
    padding: 0 30px 0 30px;
  }
  .header__container {
    margin-left: 20px;
    max-width: 800px;
  } */
  .header__menu-list {
    gap: 15px;
    padding-right: 40px;
  }

  .about__container {
    max-width: 800px;
    padding: 0 10px 0 10px;
  }
  .contacts__list {
    flex-direction: column;
  }
  .contacts__list__first,
  .contacts__list__second {
    row-gap: 10px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 600px;
    padding: 0;
  }
  .header__container {
    gap: 16px;
    /* padding: 5px 0 0 110px; */
    align-items: center;
    /* justify-content: space-around; */
  }
  .header_fixedhead {
    height: 40px;
  }
  .logo {
    max-width: 100px;
  }
  .main__button {
    max-width: 180px;
    max-height: 35px;
    padding: 4px 4px 4px 10px;
  }
  .main__img {
    max-width: 290px;
  }
  .section-about {
    gap: 18px;
  }
  .about__content__list {
    gap: 30px;
  }
  .about__item__title {
    font-size: 12px;
    margin-bottom: 8px;
  }
  .about__item__text {
    line-height: 1.1;
  }
  .about__img {
    max-width: 320px;
  }
  .special__item {
    max-width: 250px;
  }
  .special__list {
    flex-wrap: wrap;
  }
  .qualities__list {
    flex-wrap: wrap;
    padding: 20px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    place-items: center;
  }
  .qualities__descr {
    display: none;
  }
  .equipment__blocks__list {
    flex-wrap: wrap;
  }
  .equipment__blocks__item {
    max-width: 250px;
  }
  .equipment__cond__list {
    grid-template-columns: 1fr 1fr;
    place-items: center;
  }
  .partners__list {
    grid-template-columns: repeat(3, 1fr);
  }
  .partners__item {
    max-width: 130px;
  }
  .contacts__list {
    font-size: 16px;
  }
  .section-main {
    background-image: url('../src/images/main_bg768.webp');
  }
  .services-slider-section {
    padding-top: 60px;
    margin-bottom: 50px;
  }
  .special {
    margin-bottom: 0;
  }
  .qualities {
    margin: 90px 0 90px 0;
  }
  .partners {
    margin-top: 30px;
    padding-top: 60px;
  }
  .contacts,
  .position__wrapper {
    margin-top: 90px;
  }
}
@media (max-width: 640px) {
  .container {
    max-width: 550px;
  }

  .header__container.container {
    max-height: 38px;
  }
  .header__menu-list {
    gap: 15px;
    padding-right: 0;
  }

  .section-main-content {
    margin: 0 0 0 28px;
  }
  .section-main__img {
    max-width: 280px;
  }
  .section-about__img {
    display: none;
  }
  .section-about {
    text-align: center;
  }
  .section-about__content {
    max-width: 100%;
    gap: 35px;
  }
  .about__content__list {
    justify-content: space-evenly;
  }
  .about__content__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .services-slider-section {
    padding-top: 50px;
    margin-bottom: 50px;
  }
  .special {
    margin-bottom: 0;
  }
  .qualities {
    margin: 80px 0 80px 0;
  }
  .partners {
    margin-top: 20px;
    padding-top: 60px;
  }
  .contacts,
  .position__wrapper {
    margin-top: 80px;
  }
  .contacts__list {
    gap: 15px;
    margin-left: 60px;
  }
}
@media (max-width: 575px) {
  .container {
    max-width: 500px;
  }
  .header__container {
    height: 40px;
  }
  .section-main {
    text-align: center;
  }
  .section-main-content {
    justify-content: center;
    align-items: center;
  }
  .section-main__img {
    display: none;
  }
  .main__button {
    padding: 4px 4px 4px 25px;
  }
  .section-about {
    height: 450px;
    margin: 100px 0 40px 0;
  }
  .services-slider-section .container {
    max-width: 480px;
  }
  .equipment__cond__list {
    gap: 20px;
  }
  .equipment__cond__img {
    max-width: 210px;
  }
  .contacts__list {
    font-size: 14px;
  }
}
@media (max-width: 541px) {
  .custom-map-shape {
    max-width: 180px;
    max-height: 300px;
  }
}
@media (max-width: 500px) {
  .header__container {
    padding: 5px 0 0 15px;
  }
  .services-slider-section .container {
    max-width: 310px;
  }
  .service-card {
    text-align: center;
    margin-bottom: 8px;
  }
  .equipment__cond__img {
    max-width: 170px;
  }
  .equipment__cond__list {
    gap: 10px;
  }
  .qualities__list {
    padding: 15px 10px;
  }
  .partners__item {
    max-width: 100px;
  }
  .contacts__list {
    margin-left: 35px;
  }
  .custom-map-shape {
    max-width: 170px;
  }
  .contacts__list__adress::before,
  .contacts__list__phone::before,
  .contacts__list__mail::before {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 480px) {
  .section-main {
    background-image: url('../src/images/main_bg480.webp');
  }
}
@media (max-width: 440px) {
  .container {
    max-width: 400px;
  }
  .header__container {
    justify-content: space-between;
  }
  .section-main-content {
    margin: 0;
  }
  .services-slider-section .container {
    max-width: 290px;
  }
  .equipment__blocks__item {
    max-width: 220px;
  }
  .equipment__cond__img {
    max-width: 150px;
  }
  .partners__item {
    max-width: 85px;
  }
  .custom-map-shape {
    max-width: 140px;
    margin-top: 0;
  }
}
@media (max-width: 400px) {
  .header__container.container {
    max-width: 365px;
  }
}

/*# sourceMappingURL=styles.css.map */
