/* ===== СТИЛИ ДЛЯ СТРАНИЦ СПЕЦИАЛИЗАЦИИ (оригинальные) ===== */

/* Кнопка назад - только новый элемент */
.back-button {
  margin-bottom: 30px;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1fcfcb;
  font-weight: 500;
  transition: 0.3s;
}

.btn-back:hover {
  transform: translateX(-5px);
  color: #252b2b;
}

/* Оригинальные стили из старого файла (без изменений) */
.main-banner {
  width: 100%;
  position: relative;
  padding: 70px 0px;
  background: #252b2b url("../img/bg-banner.png") no-repeat;
  background-position: 0px -100px;
}

.main-banner__wrapper {
  width: 100%;
  max-width: 1300px;
  margin: 0px auto;
  position: relative;
  display: flex;
  align-items: center;
}

.main-banner__content {
  width: 55%;
}

.main-banner__title {
  font-size: 64px;
  line-height: 75px;
  color: #ffffff;
  font-weight: 700;
}

.main-banner__line {
  margin: 50px 0px 40px;
  max-width: 350px;
  width: 100%;
  border: 12px solid #1fcfcb;
  border-radius: 4px;
}

.main-banner__desc {
  margin: 40px 0px;
  font-size: 32px;
  font-weight: 700;
  line-height: 37px;
  color: #ffffff;
}

.main-banner__button {
  max-width: 380px;
  height: 72px;
  font-weight: bold;
  font-size: 24px;
  line-height: 28px;
  color: #ffffff;
  background: #1fcfcb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}

.main-banner__button:hover {
  background: #252b2b;
}

.main-banner__image {
  position: relative;
  width: 45%;
  height: 100%;
}

.main-banner__image img {
  max-height: 730px;
  position: absolute;
  z-index: 9;
  left: 0;
  top: 40px;
  bottom: 0;
  margin: auto;
}

/* Блок преимуществ (3 колонки) */
.section-block {
  width: 100%;
  padding: 70px 0px;
  background: #252b2b;
  position: relative;
}

.section-block__wrapper {
  width: 100%;
  max-width: 1300px;
  margin: 0px auto;
  padding: 0px 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.section-block__content {
  max-width: 50%;
}

.text-block__content {
  width: 49%;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.text-block__image {
  width: 49%;
  min-height: 300px;
}

.main-banner__image img {
  max-height: 730px;
}

.section-block__image img {
  max-height: 300px;
}

.black-text > .main-banner__title,
.black-text > .main-banner__desc {
  color: #000;
}

.wrapper {
  max-width: 1300px;
  margin: 0px auto;
}

.back-button {
  max-width: 1300px;
  margin: 0 auto;
  padding: 10px 0px;
}

/* Адаптив */
@media screen and (max-width: 1440px) {
  .wrapper {
    padding: 0 10px;
  }
  .back-button {
    padding: 10px 10px;
  }
  .main-banner__image {
    display: none;
  }

  .main-banner__desc {
    text-align: left;
  }

  .main-banner__wrapper {
    justify-content: flex-start;
  }

  .main-banner__title {
    text-align: left;
  }
}

@media screen and (max-width: 1024px) {
  .main-banner__line {
    border: 4px solid #1fcfcb;
  }

  .main-banner__desc {
    font-size: 22px;
    line-height: 32px;
  }

  .main-banner__title {
    font-size: 45px;
    line-height: 55px;
  }

  .main-banner__content {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .section-block__content {
    max-width: 100%;
  }
}

.section-info {
  display: flex;
  margin-bottom: 45px;
}

.section-info:last-child {
  margin-bottom: 0px;
}

.section-info__icon {
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1fcfcb;
  margin-right: 20px;
}

.section-info__icon img {
  max-width: 100%;
}

.section-info__title {
  font-size: 32px;
  line-height: 37px;
  color: #edf8f2;
  margin-bottom: 15px;
}

.section-info__text {
  font-size: 14px;
  line-height: 21px;
  color: #edf8f2;
}

.section-block__image {
  width: 43%;
  position: relative;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .section-block__image {
    height: 300px;
    width: 100%;
    position: relative;
  }
}

.section-block__image img {
  margin: 0 auto;
  max-height: 425px;
  display: block;
}

/* Текстовый блок */
.text-block {
  width: 100%;
  padding: 70px 0px;
}

.text-block__wrapper {
  max-width: 1300px;
  margin: 0px auto;
  padding: 0px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.text-block__content {
  padding-right: 30px;
  font-size: 16px;
  line-height: 24px;
  color: #000000;
}

.text-block__content h2 {
  font-size: 36px;
  line-height: 42px;
  margin: 20px 0;
}

.text-block__image {
  width: 49%;
  min-height: 500px;
  height: auto;
  position: relative;
}

.text-block__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

/* Форма связи */
.contacts-block {
  width: 100%;
  padding: 50px 0px 70px;
}

.advantages-block-2__title {
  text-align: center;
  font-weight: bold;
  font-size: 40px;
  line-height: 47px;
  color: #000000;
  margin-bottom: 40px;
}

@media screen and (max-width: 768px) {
  .section-info__icon {
    margin-right: 0;
    margin-right: 20px;
  }
  .text-block {
    padding: 0px 0px 50px 0px;
  }
  .text-block__content {
    width: 100%;
    padding-right: 0px;
  }
  .text-block__image {
    margin-top: 30px;
    width: 100%;
    height: 250px;
  }

  .section-block__image img {
    max-height: 340px;
  }

  .text-block__content h2 {
    font-size: 28px;
    font-weight: 700;
  }

  .text-block__content p {
    width: 100%;
  }

  .advantages-block-2__title {
    font-size: 32px;
  }
}

@media screen and (max-width: 480px) {
  .main-banner__title {
    font-size: 32px;
    line-height: 42px;
  }

  .main-banner__desc {
    font-size: 18px;
  }

  .main-banner__button {
    font-size: 18px;
    height: 56px;
  }

  .section-info__title {
    font-size: 24px;
  }

  .text-block__content h2 {
    font-size: 24px;
  }

  .advantages-block-2__title {
    font-size: 24px;
  }
  section {
    margin-top: 0 !important;
  }
}
