/* Главный банер */
.main-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.main-banner__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.main-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  transition: all 1s;
}
.main-banner__image.is-active {
  opacity: 1;
  z-index: 1;
}

.main-banner__container {
  z-index: 2;
}

.main-banner__content {
  width: 100%;
  padding: 170px 0;
  font-family: SourceSerif-;
}

.main-banner__title {
  color: #fff;
  text-transform: none;
  font-family: 'SourceSerif4_36pt-Regular';
  font-weight: 400;
  font-size: 80px;
  line-height: 100%;
  margin-bottom: 40px;
  max-width: 900px;
}

.main-banner__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 35px;
  flex-wrap: wrap;
}
.main-banner-about .main-banner__description {
  max-width: 1105px;
  font-size: 30px;
  line-height: 140%;
}
.main-banner__description {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-size: 38px;
  letter-spacing: 0%;
  max-width: 700px;
  color: white;
}

.btn--banner {
  padding: 16px 48px;
  font-family: Manrope;
  font-weight: 500;
  font-size: 30px;
  line-height: 100%;
  letter-spacing: 0%;
  background-color: white;
  border: 1px solid white;
  color: #1a1a18;
  border-radius: 100px;
  cursor: pointer;
}

.btn--banner:hover {
  background-color: transparent;
  color: white;
}
.main-banner__bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.5) 35%,
    rgba(0, 0, 0, 0) 65%
  );
  pointer-events: none; /* Чтобы градиент не мешал кликам по кнопкам */
}
.main-banner__bg.main-banner-location::before {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 30%,
    rgba(0, 0, 0, 0) 60%
  );
}
.main-banner-contacts .main-banner__bg {
  min-height: 610px;
}
.main-banner-contacts .main-banner__bg::before {
  background: linear-gradient(to right, #FFF4F4 0%, rgba(255, 255, 255, 0.6) 35%, rgba(0, 0, 0, 0) 40%);
}
.main-banner-contacts .main-banner__content {
  padding: 145px 0;
}
.main-banner-contacts .b-btn {
  font-size: 30px;
  padding: 20px 40px;
}
.main-banner-contacts .main-banner__title {
  color: #000;
  margin-bottom: 20px;
}
.main-banner-contacts .main-banner__description {
  color: #000;
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-size: 30px;
  line-height: 41px;
  max-width: 800px;
}
.main-banner-contacts .contacts_map #map2 {
    height: 100% !important;
    min-height: 610px;
}
.main-banner-contacts .main-banner__bottom {
  margin-top: 30px;
  align-items: center;
}
.main-banner-location__bottom .items {
  margin-top: 30px;
  display: flex;
  gap: 50px;
}
.main-banner-location__bottom .items .item {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-banner-location__bottom .items .item .item-image {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
}
.main-banner-location__bottom .items .item .item-title {
  white-space: nowrap;
  color: #fff;
  font-family: 'Manrope';
  font-style: normal;
  font-size: 30px;
  line-height: 41px;
}
/* Адаптивность */
@media (max-width: 1800px) {
.main-banner-contacts .main-banner__description {
  font-size: 26px;
}
}
@media (max-width: 1200px) {
  .main-banner__title {
    font-size: 48px;
  }
  .main-banner-location__bottom .items .item .item-image {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
  }
  .main-banner-location__bottom .items .item .item-title {
    font-size: 18px;
    line-height: 24px;
  }
  .main-banner-contacts .main-banner__bottom {
    max-width: 600px;
    flex-wrap: nowrap;
  }
  .main-banner-contacts .main-banner__description {
    font-size: 16px;
  }
  .main-banner-contacts .b-btn {
    font-size: 24px;
  }
}

@media (max-width: 992px) {
  .main-banner-location__bottom {
    overflow: auto;
    padding-bottom: 10px;
  }
  .main-banner__title {
    font-size: 36px;
  }

  .main-banner-location__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  .main-banner-location__bottom .items .item{
    width: auto;
    max-width: 100%;
  }
  .main-banner-location__bottom .items {
    margin-top: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
  }

  .main-banner-location__bottom .items .item {
    display: inline-flex;
    gap: 20px;
    align-items: center;
    flex-shrink: 0;
  }
}

@media (max-width: 1360px) {
  .main-banner {
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .main-banner__bg::before {
    background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.2) 40%,
    rgba(0, 0, 0, 0) 70%
  );
  }
  .main-banner {
    min-height: 300px;
  }
  .main-banner__title {
    font-size: 32px;
  }

  .main-banner__description {
    font-size: 18px;
  }
  .main-banner-about .main-banner__description {
    font-size: 18px;
  }
  .main-banner__content {
    padding: 40px 0 0;

  }.main-banner__image {
    object-position: center;
  }
}
@media (max-width: 480px) {
  .main-banner-contacts .b-btn {
    font-size: 16px;
    width: 100%;
    text-align: center;
  }
  .main-banner-contacts .main-banner__bg {
    position: relative;
    min-height: auto;
    order: 2;
  }
  .main-banner-contacts .contacts_map #map2 {
    min-height: 480px;
  }
  .main-banner-contacts .main-banner__bg::before {
    background: none;
  }
  .main-banner-contacts .main-banner__content {
    padding: 50px 0;
  }
  .main-banner-contacts .main-banner__bottom {
    flex-wrap: nowrap;
  }
  .main-banner-contacts .main-banner__bottom .item-image {
    display: none;
  }
  .main-banner-contacts .main-banner__description {
    font-size: 16px;
    line-height: 24px;
  }
  .main-banner-contacts {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  .btn--banner {
    font-size: 16px;
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 420px) {
  .main-banner__container {
    align-items: flex-end;
    padding: 0 15px;
  }

  .main-banner__title {
    font-size: 28px;
    margin-bottom: 20px;
    line-height: 35px;
  }

  .main-banner__bottom {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .main-banner__description {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
    max-width: 280px;
  }

  .btn--banner {
    font-size: 16px;
    padding: 14px 20px;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    order: 1;
  }

  .c-header-info.mobile {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 5px;
    width: 100%;
    position: relative;
    order: 2;
  }

  .c-header-info-tg.mobile,
  .c-header-info-wa.mobile {
    display: inline-block;
    width: 44px;
    height: 44px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
  }

  .main-banner__consult-btn {
    font-family: Manrope;
    font-weight: 400;
    font-size: 14px;
    padding: 12px 18px;
    border-radius: 100px;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background-color: transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 160px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    line-height: 1.2;
    box-sizing: border-box;
  }

  .main-banner__consult-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
  }

  @media (max-width: 360px) {
    .c-header-info.mobile {
      gap: 8px;
    }

    .c-header-info-tg.mobile,
    .c-header-info-wa.mobile {
      width: 40px;
      height: 40px;
    }

    .main-banner__consult-btn {
      width: 100%;
      flex: auto;
      white-space: normal;
      min-width: auto;
    }
  }
}

