/*-----------------------------------*\
  #REVIEWS
\*-----------------------------------*/

.reviews-section {
  width: 100%;
  background-color: var(--main-beige-02);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 64px 0;
  min-height: 440px;
}

.reviews-main-container {
  display: flex;
  max-width: 640px;
  width: 100%;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  position: relative;
}

.reviews-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.reviews-count {
  margin-top: 8px;
  color: var(--beige-03);
  font-size: 14px;
  font-weight: var(--medium);
  line-height: 22px;
  letter-spacing: 0.5px;
}

.reviews-slider {
  position: relative;
  width: 100%;
  min-height: 220px;
  margin-top: 12px;
}

.review-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.45s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.7s;
}

.review-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.45s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.review-text {
  margin-top: 0;
  color: var(--beige-02);
  font-size: 18px;
  font-weight: var(--medium);
  line-height: 1.45;
  letter-spacing: 0.5px;
}

.reviews-author {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 16px;
  color: var(--beige-03);
  font-family: "Montserrat Alternates", sans-serif;
  font-size: 16px;
  font-weight: var(--semiBold);
  line-height: 1.2;
  letter-spacing: 0.5px;
  padding-left: 42px;
}

.reviews-author::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 26px;
  height: 1px;
  background-color: var(--beige-02);
  transform: translateY(-50%);
}

.reviews-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
}

.reviews-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--beige-03);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.reviews-arrow:hover {
  background-color: rgba(245, 234, 223, 0.08);
  border-color: var(--beige-02);
}

.reviews-arrow:focus-visible {
  outline: 1px solid rgba(245, 234, 223, 0.95);
  outline-offset: 4px;
}

.reviews-arrow:active {
  transform: scale(0.97);
}

.reviews-arrow img {
  width: 24px;
  height: auto;
  object-fit: contain;
}

@media (max-width: 700px) {
  .reviews-section {
    padding: 56px 24px;
  }

  .reviews-slider {
    min-height: 250px;
  }

  .review-text {
    font-size: 17px;
  }

  .reviews-navigation {
    gap: 18px;
  }

  .reviews-arrow {
    width: 62px;
  }
}

@media (max-width: 500px) {
  .review-text {
    font-size: 14px;
    line-height: 22px;
  }

  .reviews-navigation {
    margin-top: 0;
  }
}
