/* ═══════════════════════════════════════════════════════════════════════
   VividHome — Social Proof / Reviews Section
   Stats bar, horizontal-scrolling review cards, trusted-by row
   ═══════════════════════════════════════════════════════════════════════ */

.vh-reviews {
  position: relative;
  padding: var(--vh-section-py) 0;
  background-color: var(--vh-white);
  overflow: hidden;
}


/* ── Section header ── */

.vh-reviews__header {
  text-align: center;
  margin-bottom: var(--vh-space-12);
}

.vh-reviews__eyebrow {
  display: inline-block;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  font-weight: var(--vh-weight-semibold);
  letter-spacing: var(--vh-tracking-widest);
  text-transform: uppercase;
  color: var(--vh-purple);
  margin-bottom: var(--vh-space-4);
}

.vh-reviews__title {
  font-family: var(--vh-font-heading);
  font-size: clamp(2rem, 4.5vw, var(--vh-text-5xl));
  font-weight: var(--vh-weight-light);
  line-height: var(--vh-leading-tight);
  letter-spacing: var(--vh-tracking-tighter);
  color: var(--vh-ink);
}

.vh-reviews__title em {
  font-style: normal;
  background: var(--vh-gradient-cta);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* ── Stats bar ── */

.vh-reviews__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--vh-space-10);
  margin-bottom: var(--vh-space-14);
  padding: var(--vh-space-8) var(--vh-space-10);
  background: var(--vh-cream);
  border-radius: var(--vh-radius-2xl);
  border: 1px solid var(--vh-sand);
}

.vh-reviews__stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--vh-space-1);
}

.vh-reviews__stat-value {
  font-family: var(--vh-font-heading);
  font-size: var(--vh-text-4xl);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
  line-height: 1;
}

.vh-reviews__stat-label {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-charcoal);
}

.vh-reviews__stat-sep {
  width: 1px;
  height: 48px;
  background: var(--vh-sand);
}

.vh-reviews__stars {
  display: flex;
  gap: 2px;
  margin: var(--vh-space-1) 0;
}

.vh-reviews__star {
  width: 18px;
  height: 18px;
  color: #D4A017;
}

.vh-reviews__star--partial {
  opacity: 0.5;
}


/* ── Review cards — horizontal scroll ── */

.vh-reviews__track-wrap {
  position: relative;
  margin: 0 calc(var(--vh-space-6) * -1);
  padding: 0 var(--vh-space-6);
  mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 3%, black 97%, transparent);
}

.vh-reviews__track {
  display: flex;
  gap: var(--vh-space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--vh-space-4) var(--vh-space-2);
  margin-bottom: var(--vh-space-14);
}

.vh-reviews__track::-webkit-scrollbar {
  display: none;
}

.vh-reviews__card {
  flex: 0 0 340px;
  scroll-snap-align: start;
  background: var(--vh-white);
  border: 1px solid var(--vh-sand);
  border-radius: var(--vh-radius-xl);
  padding: var(--vh-space-7);
  transition: all var(--vh-duration-base) var(--vh-ease-out);
  display: flex;
  flex-direction: column;
  gap: var(--vh-space-4);
}

.vh-reviews__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--vh-shadow-lg);
  border-color: transparent;
}

.vh-reviews__card-stars {
  display: flex;
  gap: 2px;
}

.vh-reviews__card-stars svg {
  width: 16px;
  height: 16px;
  color: #D4A017;
}

.vh-reviews__card-text {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-charcoal);
  line-height: var(--vh-leading-relaxed);
  flex: 1;
  margin: 0;
  padding: 0;
  border: 0;
}

.vh-reviews__card-product {
  font-size: var(--vh-text-xs);
  color: var(--vh-stone);
  font-style: italic;
}

.vh-reviews__card-author {
  display: flex;
  align-items: center;
  gap: var(--vh-space-3);
  padding-top: var(--vh-space-4);
  border-top: 1px solid var(--vh-sand);
}

.vh-reviews__card-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--vh-gradient-cta);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vh-white);
  font-family: var(--vh-font-heading);
  font-size: var(--vh-text-lg);
  font-weight: var(--vh-weight-semibold);
  flex-shrink: 0;
}

.vh-reviews__card-name {
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  font-weight: var(--vh-weight-semibold);
  color: var(--vh-ink);
}

.vh-reviews__card-location {
  font-size: var(--vh-text-xs);
  color: var(--vh-stone);
}


/* ── Trusted by Professionals ── */

.vh-reviews__pros {
  text-align: center;
}

.vh-reviews__pros-label {
  display: inline-block;
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-xs);
  font-weight: var(--vh-weight-semibold);
  letter-spacing: var(--vh-tracking-wider);
  text-transform: uppercase;
  color: var(--vh-stone);
  margin-bottom: var(--vh-space-6);
}

.vh-reviews__pros-row {
  display: flex;
  justify-content: center;
  gap: var(--vh-space-10);
  flex-wrap: wrap;
}

.vh-reviews__pro {
  display: flex;
  align-items: center;
  gap: var(--vh-space-3);
  font-family: var(--vh-font-body);
  font-size: var(--vh-text-sm);
  color: var(--vh-charcoal);
}

.vh-reviews__pro svg {
  width: 24px;
  height: 24px;
  stroke: var(--vh-purple);
  flex-shrink: 0;
}


/* ── Responsive ── */

@media (max-width: 767px) {
  .vh-reviews__stats {
    flex-direction: column;
    gap: var(--vh-space-6);
    padding: var(--vh-space-6);
  }

  .vh-reviews__stat-sep {
    width: 60px;
    height: 1px;
  }

  .vh-reviews__card {
    flex: 0 0 280px;
  }

  .vh-reviews__pros-row {
    gap: var(--vh-space-6);
  }
}
