ul {
  margin: 0;
  padding: 0 0 0 20px;
}

.banner {
  position: relative;
  height: 270px;
}

.banner__bg {
  width: 100%;
  margin-bottom: var(--block-offset);
  background-image: url(./img/banners/banner_test.jpg);
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.banner__title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 27px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-black);
  width: max-content;
}


.banner__subtitle {
  font-size: 27px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.banner__content {
  width: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  padding-left: 70px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-profit__items {
  display: flex;
  flex-direction: row;
  gap: 20px;

}
.section-profit__title {
  font-size: 1.5rem;
}
.section-profit__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 40px 60px 40px;
}
.section-profit__icon {
  width:56px;
  height:56px;
  background-repeat: no-repeat;
  background-size: cover;
}
.section-profit__icon_economics {
  background-image: url('./img/icons/economics.svg');
}

.section-profit__icon_universal {
  background-image: url('./img/icons/universal.svg');
}

.section-profit__title {
  font-weight: bold;
}
.section-tariffs__items {
  display: flex;
  flex-direction: row;
  gap:20px;

}
.section-tariffs__item {
  display: flex;
  flex-direction: column;
}
.tariff-item__title {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 108px;
  font-size: 1.5rem;
  font-weight: bold;
  border-bottom: 2px solid #FFD200;
}
.section-tariffs__items .flex-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 20px;
}
.tariff-item__description {
  display: flex;
  flex-direction: column;
  gap:20px;
  justify-content: center;
  align-items: center;
  width:70%;
  min-height: 240px;
}
.tariff-item__description:first-child {
  border-bottom: 1px solid #D7D7D7;
}
.tariff-item__option {
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0 10%;
  text-align: center;
}
.tariif-item__price {
  font-weight: 500;
  font-size: 2rem;
}
.tariff-item__profit {
  min-height: 1.5rem;
}

.section-list__items {
  display: flex;
  flex-direction: column;
  gap:20px;
}
.section-tradein {
  display: flex;

}
.section-tradein__text-block {
  padding:50px 60px;
  flex: 1 2 65%;
}
.line-th {
  text-decoration: line-through;
}
.section-tradein .text-block__big-text {
  font-size: 1.5rem;

}
.bold {
  font-weight: bold;
}
.section-tariffs__item .tariff__button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 184px;
  height: 45px;
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  font-size: 18px;
}
.section-tradein__img-block {
  flex: 2 1 30%;
  background-image:url('./img/kassa.jpg');
  background-size: cover;
  background-position: 50% 50%;
}
.section-questions {
  display: flex;
  flex-direction: column;
  gap:20px;
}
.section-questions__items {
  display: flex;
  flex-direction: column;
  gap:20px;
}
.section-questions p {
  margin: 0;
}
.section-questions .question {
  padding:30px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.section-questions .answer {
  background-color: white;
  transition: all .4s ease-out;

  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding-left: 30px;
  padding-right: 30px;


}
.section-questions__item {
  position: relative;
}
.section-questions .section-questions__item_active .answer {
  padding-bottom: 20px;
}

.section-questions .section-questions__arrow {
  color: var(--color-primary);
  transform: rotate(90deg);
  transition: transform .2s ease-in;
  /* margin-right: 40px; */
  margin-left: auto;
}
.section-questions .section-questions__arrow_active {
  transform: rotate(270deg);
}
@media (max-width: 1400px) {

}

@media (max-width: 1200px) {
  .banner__content {
    gap: 10px;
  }

  .banner__subtitle {
    font-size: 20px;
  }

  .banner__bg {
    background-position: 70% 100%;
  }
  .section-tradein__img-block {
    flex: 2 1 40%;
  }
}

@media (max-width: 992px) {
  .banner__content {
    width: 60%;
    padding-left: 50px;
  }

  .banner__content h1 {
    font-size: 2rem;
  }

  .banner {
    height: 200px;
  }
.section-tariffs__items {
  flex-wrap: wrap;
}
.section-tariffs__item {
  width:100%;
}
}

@media (max-width: 768px) {
  .banner__content {
    position: static;
    padding: 0;
    width: 100%;
    transform: translateY(0);
    width: auto;
  }

  .banner__content h1 {
    font-size: 2rem;
  }

  .banner__bg {
    position: static;
    background-position: 85% 100%;
    height: 200px;
  }

  .banner__title {
    width: auto;
  }

  .banner {
    height: auto;
  }

  .page .section.section-banner {
    margin-bottom: 40px;
  }
  .section-profit__items {
    flex-direction: column;

  }
  .section-tradein {
    flex-direction: column;
  }
  .section-tradein__img-block {
    min-height: 400px;
  }
}

@media (max-width: 568px) {
  .banner__content h1 {
    font-size: 1.7rem;
  }
  .section-profit__item {
    padding: 20px 30px 50px 30px;
  }
  .section-tradein__img-block {
    min-height: 300px;
  }
  .section-tradein__text-block {
    padding:30px 40px;
  }
}
