/* Google Reviews slider */

.reviews-section {
  background: #f7f4ee;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.reviews-section__header {
  max-width: 1200px;
  margin: 0 auto 48px;
  text-align: center;
}

.reviews-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #8a7a4f;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.reviews-section__eyebrow svg {
  width: 18px;
  height: 18px;
}

.reviews-section__title {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 700;
  color: #1e2a3b;
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.reviews-section__subtitle {
  font-size: 16px;
  color: #55606f;
  margin: 0 auto;
  max-width: 620px;
  line-height: 1.6;
}

.reviews-section__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.reviews-section__stat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #1e2a3b;
  font-weight: 500;
}

.reviews-section__stat strong {
  font-size: 22px;
  color: #c9a14a;
  font-weight: 700;
}

.reviews-section__stat--stars {
  letter-spacing: 2px;
  color: #f5b301;
  font-size: 18px;
}

/* Slider */
.reviews-slider {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
}

.reviews-slider__viewport {
  overflow: hidden;
  padding: 10px 4px 30px;
}

.reviews-slider__track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #ffffff;
  border-radius: 14px;
  padding: 32px 28px 28px;
  box-shadow: 0 6px 24px rgba(30, 42, 59, 0.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
  border: 1px solid rgba(30, 42, 59, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 42, 59, 0.1);
}

.review-card__stars {
  color: #f5b301;
  font-size: 18px;
  letter-spacing: 3px;
  line-height: 1;
}

.review-card__body {
  color: #2b3443;
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
  flex: 1;
  /* clamp very long reviews */
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card__body::before {
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 0;
  color: #c9a14a;
  margin-right: 6px;
  vertical-align: -10px;
}

.review-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(30, 42, 59, 0.08);
}

.review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.review-card__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.review-card__name {
  font-weight: 600;
  color: #1e2a3b;
  font-size: 15px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-card__source {
  font-size: 12px;
  color: #7e8896;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.review-card__source svg {
  width: 12px;
  height: 12px;
}

/* Controls */
.reviews-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.reviews-slider__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid #1e2a3b;
  background: transparent;
  color: #1e2a3b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.reviews-slider__arrow:hover:not(:disabled) {
  background: #1e2a3b;
  color: #ffffff;
  transform: scale(1.05);
}

.reviews-slider__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.reviews-slider__arrow svg { width: 20px; height: 20px; }

.reviews-slider__dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.reviews-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(30, 42, 59, 0.25);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.reviews-slider__dot.is-active {
  background: #c9a14a;
  transform: scale(1.3);
}

/* CTA */
.reviews-section__cta {
  text-align: center;
  margin-top: 40px;
}

.reviews-section__cta a {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid #c9a14a;
  color: #c9a14a;
  background: transparent;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.4px;
  border-radius: 2px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.reviews-section__cta a:hover {
  background: #c9a14a;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
  .review-card { flex-basis: calc((100% - 24px) / 2); }
}

@media (max-width: 680px) {
  .reviews-section { padding: 56px 16px; }
  .review-card { flex-basis: 100%; padding: 26px 22px 22px; min-height: 0; }
  .reviews-slider__arrow { width: 42px; height: 42px; }
}
