/* Review secton main */
.contacts-page-lower {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--black1);
  padding: 100px 0;
  overflow: hidden;
  transition: padding 0.4s ease;

  .reviews-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    transition: gap 0.4s ease;
  }
  .contacts-page-lower-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .swiper-navigation {
    display: flex;
    gap: 10px;
    transition: gap 0.4s ease;

    .custom-next-button svg,
    .custom-prev-button svg {
      width: 7.5px;
      height: 15px;
    }
    .custom-next-button,
    .custom-prev-button {
      display: flex;
      justify-content: center;
      align-items: center;
      color: var(--blue1);
      background: var(--blue2);
      height: 45px;
      width: 45px;
      border-radius: 8px;
      transition: all 0.4s ease;
    }
    .custom-next-button:hover,
    .custom-prev-button:hover {
      background: var(--blue1);
      color: var(--white1);
      cursor: pointer;
    }
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* single review card */
.review-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border1);
  border-radius: 8px;
  padding: 24px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  transition: padding 0.4s ease;
}
.review-message {
  border-bottom: 1px solid var(--border1);
  padding-bottom: 24px;
  color: var(--black1);
  transition: padding-bottom 0.4s ease;
}
.review-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  transition: padding-top 0.4s ease;
}
.review-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-author {
  color: var(--blue1);
}
.review-city {
  color: var(--grey1);
}
.review-stars {
  display: flex;
  gap: 4px;
  transition: gap 0.4s ease;
}
.review-stars svg {
  height: 22px;
  width: 22px;
  transition: height 0.4s ease, width 0.4s ease;
}

/* Responsive */
@media (max-width: 768px) {
  /* Review section main */
  .contacts-page-lower {
    padding: 50px 0 75px;

    .reviews-container {
      gap: 16px;
    }
    .swiper-navigation {
      gap: 8px;

      .custom-next-button,
      .custom-prev-button {
        height: 40px;
        width: 40px;
      }
    }
  }
  .reviews-section .contacts-page-lower {
    padding: 70px 0;
  }
  /* Review single card */
  .review-card {
    padding: 16px;
  }
  .review-bottom {
    padding-top: 16px;
  }
  .review-message {
    padding-bottom: 16px;
  }
  .review-stars {
    gap: 3px;
  }
  .review-stars svg {
    height: 18px;
    width: 18px;
  }
}
