/* ========================================
   REVIEWS
   ======================================== */
.reviews {
  padding: var(--section-padding);
  background: transparent;
}

.reviews h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.reviews-stars {
  text-align: center;
  margin-bottom: 40px;
}

.reviews-stars .star {
  color: var(--star-yellow);
  font-size: 1.5rem;
}

.reviews-rating {
  margin-left: 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-heading);
}

.reviews-carousel {
  overflow: hidden;
  cursor: grab;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
}

.reviews-carousel:active {
  cursor: grabbing;
}

.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 0.4s ease;
}

.review-card {
  flex-shrink: 0;
  width: calc(33.333% - 16px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 16px rgb(0, 0, 0, 0.06);
  padding: 28px;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.quote-icon {
  font-size: 2.4rem;
  color: var(--primary-blue);
  opacity: 0.3;
  line-height: 1;
  font-weight: 700;
}

.review-stars span {
  color: var(--star-yellow);
  font-size: 1.1rem;
}

.review-text {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-heading);
  flex: 1;
  margin-bottom: 20px;
}

.review-author {
  display: block;
}

.review-author-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.review-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-heading);
}

.review-author span {
  font-size: 0.8rem;
  color: var(--text-body);
}

.reviews-nav {
  text-align: center;
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.review-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary-blue);
  transition:
    border-color 0.2s,
    background 0.2s;
}

.review-arrow:hover {
  border-color: var(--primary-blue);
  background: rgb(22, 93, 252, 0.06);
}
