.reviews-section {
  width: 100%;
  /* Fixed vertical rhythm: 5% made the top space depend on the width
     (18px on a phone, so the title touched the section above). */
  padding: 96px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  background: var(--color-off-white);
}

.reviews-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--theme-img-shadow-fx);
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transform: rotate(180deg);
  pointer-events: none;
  z-index: 0;
}

.reviews-section__container {
  width: 100%;
  max-width: 960px;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.reviews-section__header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 40px;
}

.reviews-section__title {
  width: 100%;
  text-align: center;
  color: var(--Color-Marine-Dark, #002542);
  font-size: 68px;
  font-family: 'Rufina', serif;
  font-weight: 400;
  line-height: 1.05;
  word-wrap: break-word;
  margin: 0;
}

.reviews-section__logos {
  width: 100%;
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.trust-logos {
  width: 559px;
  height: 49px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.reviews-section__carousel {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 24px;
}

.reviews-carousel {
  width: 100%;
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.reviews-carousel::-webkit-scrollbar {
  height: 6px;
}

.reviews-carousel::-webkit-scrollbar-track {
  background: rgba(0, 37, 66, 0.08);
  border-radius: 3px;
}

.reviews-carousel::-webkit-scrollbar-thumb {
  background: var(--Color-Primary, #003764);
  border-radius: 3px;
  transition: background 0.3s ease;
}

.reviews-carousel::-webkit-scrollbar-thumb:hover {
  background: var(--Color-Primary, #003764);
  opacity: 0.8;
}

.review-card {
  flex: 1 1 0;
  min-width: 300px;
  padding: 32px;
  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  background: white;
  border-radius: 8px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: box-shadow 0.3s ease;
}

.review-card:hover {
  box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
}

.star-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.star-icon {
  width: 18px;
  height: 18px;
  color: #B9A88D;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.star-icon.filled {
  fill: #B9A88D;
  stroke: none;
}

.star-icon.empty {
  fill: none;
  stroke: #B9A88D;
}

.star-icon:hover {
  transform: scale(1.15);
}

.review-card__quote {
  width: 100%;
  text-align: center;
  color: var(--Color-Primary, #003764);
  font-size: 18px;
  font-family: 'Cronos Pro', serif;
  font-weight: 400;
  line-height: 24px;
  word-wrap: break-word;
  margin: 0;
  padding: 0;
}

.review-card__author {
  width: 100%;
  text-align: center;
  color: var(--Color-Primary, #003764);
  font-size: 12px;
  font-family: 'Instrument Sans', sans-serif;
  font-weight: 500;
  line-height: 20px;
  word-wrap: break-word;
  padding-top: 0.7px;
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 64px 0 48px;
  }

  .reviews-section__container {
    gap: 32px;
  }

  .reviews-section__title {
    font-size: 48px;
  }

  .review-card {
    min-width: 280px;
    padding: 24px;
  }

  .reviews-carousel {
    gap: 16px;
  }

  .star-icon {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .reviews-section__container {
    padding: 0 16px;
  }

  .reviews-section__title {
    font-size: 36px;
  }

  .review-card {
    min-width: 100%;
    padding: 24px;
  }

  .reviews-carousel {
    gap: 12px;
  }

  .review-card__quote {
    font-size: 16px;
    line-height: 22px;
  }

  .star-icon {
    width: 16px;
    height: 16px;
  }
}
