.reviews-section {
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.reviews-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.reviews-rating {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.reviews-section .section-kicker {
  color: #5a5a5a;
}

.reviews-section h2 {
  color: #1f2937;
}

.review-text {
  color: #444;
}

.reviews-stars,
.review-stars {
  color: #d4a93d;
  letter-spacing: 0.08em;
}

.reviews-score {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark-blue);
}

.reviews-count {
  color: #4f4f4f;
  font-size: 0.9rem;
}

.reviews-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.reviews-slider {
  display: block;
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.35s ease;
  will-change: transform;
}

.review-card {
  display: flex;
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
}

.review-card__inner {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 2rem;
  border: 1px solid #ececec;
  background: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.review-stars {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.review-text {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: auto;
  padding-top: 1rem;
}

.review-author__meta {
  min-width: 0;
}

.review-avatar {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
  background: #e5e7eb;
  color: #6b7280;
  font-weight: 700;
  flex: 0 0 42px;
}

.review-avatar--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-name {
  margin: 0 0 0.2rem !important;
  color: var(--dark-blue);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
}

.review-date {
  margin: 0 !important;
  color: var(--gold-dark);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.3;
}

.review-date a {
  color: inherit;
  text-decoration: none;
}

.reviews-nav {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid #c7ccd4;
  border-radius: 50%;
  background: linear-gradient(180deg, #f2f4f7 0%, #d9dee5 100%);
  color: #6a7480;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 6px 14px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.reviews-nav:hover {
  border-color: #b5bcc6;
  background: linear-gradient(180deg, #e8ebef 0%, #cdd3db 100%);
  color: var(--dark-blue);
  transform: translateY(-1px);
}

.reviews-nav:disabled {
  opacity: 0.45;
  cursor: default;
  transform: none;
}

.reviews-nav__icon {
  display: block;
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.reviews-nav-prev .reviews-nav__icon {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.reviews-nav-next .reviews-nav__icon {
  transform: rotate(45deg);
  margin-right: 4px;
}

.reviews-cta {
  margin-top: 2.5rem;
  text-align: center;
}

@media (max-width: 900px) {
  .reviews-head {
    flex-direction: column;
    align-items: start;
    margin-bottom: 2rem;
  }

  .reviews-slider {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
  }

  .reviews-nav {
    width: 44px;
    height: 44px;
  }

  .review-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }

  .review-card__inner {
    padding: 1.5rem;
  }
}

@media (max-width: 640px) {
  .reviews-slider {
    grid-template-columns: 1fr;
  }

  .reviews-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
  }

  .reviews-nav__icon {
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    margin: 0;
    flex: 0 0 10px;
  }

  .reviews-nav-prev .reviews-nav__icon {
    transform: rotate(-135deg);
  }

  .reviews-nav-next .reviews-nav__icon {
    transform: rotate(45deg);
  }

  .review-card {
    flex: 0 0 100%;
  }

  .review-card__inner {
    padding: 1.5rem;
  }
}