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

.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 {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end; /* Прижимаем контент к низу */
}

.main-banner__content {
  width: 100%;
  padding-bottom: 155px; /* Отступ от нижнего края */
}

.main-banner__title {
  color: #fff;
  text-transform: uppercase;
  font-family: SourceSerif4_36pt-Regular;
  font-weight: 400;
  /* font-style: Regular; */
  font-size: 122px;
  line-height: 100%;
  margin-bottom: 40px;
}

.main-banner__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 35px;
  flex-wrap: wrap;
}

.main-banner__description {
  font-family: Manrope;
  font-weight: 400;
  font-style: Regular;
  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: #4b6186;
  border-radius: 100px;
}

.btn--banner:hover {
  background-color: transparent;
  color: white;
}

/* Адаптивность */
@media (max-width: 1200px) {
  .main-banner {
    height: 800px;
  }

  .main-banner__title {
    font-size: 56px;
  }
}

@media (max-width: 992px) {
  .main-banner {
    height: 700px;
  }

  .main-banner__title {
    font-size: 48px;
  }

  .main-banner__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
}

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

@media (max-width: 768px) {
  .main-banner {
    height: 600px;
  }

  .main-banner__title {
    font-size: 36px;
  }

  .main-banner__description {
    font-size: 18px;
  }

  .main-banner__content {
    padding-bottom: 40px;
  }
}
@media (max-width: 480px) {
  .btn--banner {
      font-size: 16px;
      width: 100%;
      text-align: center;
  }
}
  @media (max-width: 420px) {
  .main-banner {
    height: 100vh;
    min-height: 700px;
    margin-top: 0;
  }

  .main-banner__container {
    align-items: flex-end;
    padding: 0 15px;
  }

  .main-banner__content {
    padding-bottom: 30px;
  }

  .main-banner__title {
    font-size: 32px;
    margin-bottom: 20px;
    max-width: 280px;
  }

  .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;
    }
  }
}