.top__title {
  margin: 10px 0;
  text-align: left;
  color: var(--green-dark);
}

.taxi__banner-text p {
  font-size: 22px;
  line-height: 30px;
}

.form__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
}

.taxi__top-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 60px 40px;
  max-width: 620px;
  width: 100%;
}

.taxi__block {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  max-width: 210px;
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  padding-bottom: 10px;
}

.taxi__block::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--taxi-color);
  border-radius: 2px;
}

.taxi__block img {
  width: 40px;
  margin-right: 10px;
}

.taxi__block h3 {
  font-weight: 700;
  font-size: 18px;
  line-height: 20px;
}

.taxi__form {
  position: relative;
  max-width: 540px;
  width: 100%;
  height: auto;
  background: var(--main-background);
  -webkit-box-shadow: var(--main-shadow);
  box-shadow: var(--main-shadow);
  border-radius: 0 0 12px 12px;
  padding: 35px 30px;
  padding-bottom: 20px;
  margin-top: -20px;
  overflow: hidden;
  z-index: 2;
}

.taxi__form::before,
.taxi__form::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -95px;
  width: 322px;
  height: 322px;
  background: var(--taxi-color);
  -webkit-box-shadow: 0px 4px 5px 3px rgb(0 0 0 / 25%);
  box-shadow: 0px 4px 5px 3px rgb(0 0 0 / 25%);
  border-radius: 50%;
  z-index: -1;
}

.taxi__form::after {
  width: 300px;
  height: 300px;
  background: var(--main-color);
  top: 47%;
  right: -28%;
}

.taxi__form h2 {
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  margin-bottom: 15px;
}

.taxi__form h2 span {
  font-weight: 600;
}

.main__form-input {
  background: transparent;
}

.main__form-btn {
  font-size: 18px;
  line-height: 20px;
  color: var(--main-color);
}

.taxi__filter {
  margin-top: 30px;
}

.taxi__menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
}

.taxi__menu-item {
  position: relative;
  font-weight: 600;
  margin: 0 10px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.taxi__menu-item.active,
.taxi__menu-item:hover {
  color: var(--green-dark);
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  border-bottom: 1px solid var(--green-dark);
}

.taxi__check {
  display: none;
}

.radio__hidden:checked+.radio__img::before,
.main__form-btn,
.card__btn {
  background: var(--taxi-color);
}

.card__special-config span,
.form__check-label a {
  color: var(--taxi-color);
}

.card__price-credit {
  color: var(--grey-color);
}

.radio__hidden:checked+.taxi__radio-img::before {
  background: var(--secondary-color);
}

.taxi__title {
  font-size: 22px;
  line-height: 24px;
  margin: 20px 0;
  color: var(--secondary-color);
}

.taxi__info {
  padding: 20px;
}

.taxi__info h2 {
  font-weight: 700;
  font-size: 20px;
  line-height: 22px;
  color: var(--green-dark);
}

.taxi__info p {
  font-size: 16px;
  line-height: 18px;
  margin: 15px 0;
}

.taxi__info p span {
  font-weight: 600;
  color: var(--green-dark);
}

.taxi__info ul li {
  font-weight: 600;
  font-size: 16px;
  line-height: 18px;
  margin: 5px 0;
}

/* ---------------------- @media -------------------- */

@media screen and (max-width: 1023px) {
  .taxi__top-section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 20px;
  }
}

@media screen and (max-width: 900px) {
  .form__check-label p {
    width: 250px;
  }
}

@media screen and (max-width: 768px) {
  .taxi__banner-car {
    display: none;
  }

  .form__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .taxi__form {
    max-width: 100%;
  }

  .taxi__top-section {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
  }

  .form__check-label p {
    width: 350px;
  }
}

@media screen and (max-width: 767px) {
  .taxi__banner-text {
    width: 100%;
  }

  .top__title {
    font-size: 20px;
    line-height: 22px;
    margin: 0;
  }

  .taxi__filter {
    margin-top: 20px;
  }

  .taxi__banner-text p {
    font-size: 18px;
    line-height: 20px;
  }

  .taxi__info {
    padding: 10px;
  }
}

@media screen and (max-width: 580px) {
  .taxi__banner-main {
    display: none;
  }

  .taxi__banner-car {
    display: block;
    position: absolute;
    top: 55%;
    z-index: 5;
  }

  .taxi__banner-text {
    position: relative;
    top: 0;
    left: 0;
    background: #f0c701;
    -webkit-box-shadow: var(--main-shadow);
    box-shadow: var(--main-shadow);
    border-radius: 12px;
    margin-bottom: 20px;
    height: 310px;
    padding: 15px;
  }

  .taxi__form::before,
  .taxi__form::after {
    content: none;
  }

  .top__title {
    margin-top: 0;
  }

  .taxi__banner-text p {
    color: var(--main-color);
    margin-bottom: 10px;
  }
}

@media screen and (max-width: 475px) {
  .form__check-label p {
    width: 250px;
  }
}

@media screen and (max-width: 425px) {
  .taxi__menu-item {
    font-weight: 400;
    font-size: 14px;
    padding: 5px;
    margin: 0;
  }

  .taxi__info {
    padding: 0;
    padding-bottom: 10px;
  }

  .taxi__info h2 {
    font-size: 16px;
    line-height: 18px;
  }

  .taxi__info p {
    margin: 10px 0;
  }

  .taxi__info p,
  .taxi__info ul li {
    font-size: 14px;
    line-height: 16px;
  }
}

@media screen and (max-width: 370px) {
  .taxi__banner-car {
    top: 62%;
  }

  .taxi__form h2 {
    font-size: 16px;
    line-height: 18px;
  }
}