/* =========================
   STUDENT REVIEWS
========================= */

.reviews-section {
  --reviews-ink: #111111;
  background: #fff;
  color: var(--reviews-ink);
  padding: 56px 0 64px;
  margin: 48px 0 0;
}

.reviews-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

.reviews-section .section-label {
  color: #888;
  text-align: center;
}

.reviews-title {
  font-family: var(--font-sans);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  text-align: center;
  margin: 0 0 32px;
  line-height: 1.4;
  color: var(--reviews-ink);
}

.reviews-slider {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.reviews-track {
  position: relative;
  min-height: 220px;
}

.review-card {
  display: none;
  position: relative;
  background: #fff;
  color: var(--reviews-ink);
  border: 1px solid #e5e5e5;
  border-radius: 24px;
  padding: 36px 28px 40px;
  text-align: center;
  box-sizing: border-box;
  margin: 12px 8px 28px;
}

.review-card.is-active {
  display: block;
}

/* Speech-bubble tail */
.review-card::after {
  content: "";
  position: absolute;
  left: 36px;
  bottom: -15px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 16px solid #fff;
  filter: drop-shadow(0 1px 0 #e5e5e5);
}

/* Opening quote (top-left) */
.review-card::before {
  content: "“";
  position: absolute;
  top: -18px;
  left: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: 1;
  color: var(--reviews-ink);
  z-index: 1;
}

.review-quote-end {
  position: absolute;
  right: 10px;
  bottom: -28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 1;
  color: var(--reviews-ink);
  pointer-events: none;
}

.review-name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--reviews-ink);
  margin: 0 0 14px;
}

.review-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--reviews-ink);
}

.review-divider::before,
.review-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(17, 17, 17, 0.2);
}

.review-divider span {
  font-family: Georgia, serif;
  font-size: 14px;
  line-height: 1;
}

.review-text {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--reviews-ink);
  margin: 0 0 16px;
}

.review-card .review-divider:last-of-type {
  margin-bottom: 0;
}

.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.reviews-nav button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: transparent;
  color: var(--reviews-ink);
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.reviews-nav button:hover {
  background: #f5f5f5;
  border-color: #111;
}

@media (max-width: 600px) {
  .reviews-section {
    padding: 44px 0 52px;
  }

  .review-card {
    padding: 32px 20px 36px;
  }

  .review-card::before {
    font-size: 56px;
    left: 8px;
    top: -14px;
  }

  .review-quote-end {
    font-size: 48px;
    bottom: -22px;
    right: 8px;
  }
}
