.services::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/main/bg_1.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.btn_white {
  max-width: 384px;
  min-width: 0;
  min-height: 72px;
}

.reviews {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding-bottom: 96px;
  padding-top: 96px;
  background: var(--grey);
  position: relative;
}
.reviews::after {
  content: "";
  position: absolute;
  left: 978px;
  top: 0;
  right: 0;
  bottom: 0;
  background-image: url("../img/main/bg_2.webp");
  max-width: 1042px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
}
.reviews > * {
  position: relative;
  z-index: 2;
}
.reviews h2 {
  margin-bottom: 20px;
  margin-top: 20px;
  color: var(--black);
  text-align: center;
}
.ta_center {
  text-align: center;
}

.rev_items {
  display: flex;
  gap: 40px;
}

.rev_item {
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 527px;
  min-width: 527px;
  padding: 20px;
  border-radius: 16px;
}
.rev_item:hover {
  transform: scale(1.1);
}
.star_list {
  display: flex;
  gap: 4px;
  align-items: center;
}
.star_list img {
  max-width: 16px;
  max-height: 16px;
}
.rev_text {
  font-weight: 600;
  font-size: 18px;
  line-height: 140%;
  color: var(--dark);
  max-height: 200px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}
.rev_text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: linear-gradient(
    to bottom,
    rgba(254, 248, 255, 0),
    rgba(254, 248, 255, 1)
  );
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.rev_text.expanded {
  max-height: 1000px;
}
.rev_text.expanded::after {
  opacity: 0;
}

.rev_autor {
  display: flex;
  justify-content: space-between;
}
.rev_autor span {
  font-weight: 300;
  font-size: 12px;
  line-height: 140%;
}
.orange-arrow {
  display: inline-block;
  position: relative;
  width: 20px;
  height: 0.7px;
  background-color: var(--orange);
  vertical-align: middle;
}

.orange-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 53%;
  width: 5px;
  height: 5px;
  border-top: 0.7px solid var(--orange);
  border-right: 0.7px solid var(--orange);
  transform: translateY(-50%) rotate(45deg);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.detail {
  color: var(--orange);
  cursor: pointer;
}
@media (max-width: 750px) {
  .in_left_items {
    flex-direction: row !important;
  }
  .in_left_item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 32% !important;
    min-height: 136px !important;
  }
}
@media (max-width: 481px) {
  .intro_btns {
    flex-wrap: nowrap !important;
    gap: 22px;
  }
  .intro_btns .btn_orange,
  .intro_btns .btn_transp {
    padding: 13px 1px;
    min-width: 220px;
    text-align: center;
  }
  .in_left_items {
    flex-wrap: nowrap !important;
    flex-direction: row !important;
  }

  .intro_right {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .in_right_item {
    gap: 0px;
    padding: 4px 0px !important;
  }
  .in_right_item span {
    font-size: 10px !important;
  }
  .in_right_item .size_80 {
    font-size: 40px !important;
    width: 42px !important;
    height: 45px !important;
  }
  .in_right_item img {
    max-width: 61px !important;
    max-height: 55px !important;
  }
}

@media (max-width: 470px) {
  .intro_btns {
    flex-direction: column;
  }
  .intro_right {
    grid-template-columns: repeat(1, 1fr) !important;
  }
}
