.reviews-section {
  padding: 40px 0;
  background: var(--surface-soft);
}

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

.reviews-label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.reviews-head h2 {
  font-size: 42px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}

.reviews-head h2 span {
  color: var(--teal);
  position: relative;
}

.reviews-container {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 60px;
  box-shadow: var(--shadow-md);
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.reviews-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  margin: 0 -40px;
  /* Slight offset for internal padding */
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 33.333%;
  display: flex;
  flex-direction: column;
  padding: 0 40px;
  scroll-snap-align: start;
}

.review-card:not(:last-child) {
  border-right: 1px solid var(--line);
}

/* Footer Controls */
.reviews-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
}

.review-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
}

.review-btn:hover {
  background: var(--surface-soft);
  border-color: var(--teal);
}

.review-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.review-btn.prev svg {
  transform: rotate(90deg);
}

.review-btn.next svg {
  transform: rotate(-90deg);
}

.reviews-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s;
}

.dot.active {
  background: var(--teal);
  width: 20px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .review-card {
    flex: 0 0 100%;
  }

  .review-card:not(:last-child) {
    border-right: 0;
  }

  .reviews-container {
    padding: 40px 24px;
  }

  .reviews-track {
    margin: 0;
    padding-bottom: 24px;
  }
  .reviews-head {
    margin-bottom: 20px;
  }
}


.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.star-icon {
  width: 18px;
  height: 18px;
  fill: var(--yellow);
}

.review-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 24px;
  flex-grow: 1;
  font-style: italic;
}

.review-author {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.review-author span {
  font-weight: 400;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .review-card:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 48px;
  }

  .reviews-container {
    padding: 40px 24px;
  }
}