/* ═══════════════════════════════════════════════════════
   QA REVIEWS SECTION — continuous loop slider
   Dark green gradient · 5 cards · infinite scroll
═══════════════════════════════════════════════════════ */

.qa-rev-section {
  padding: 52px 0 58px;           /* no horizontal padding — track bleeds edge to edge */
  background: linear-gradient(135deg, #0b3118 0%, #1a5c2a 55%, #0b3118 100%);
  position: relative;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 520px;
}

/* Radial glow behind heading */
.qa-rev-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 260px;
  background: radial-gradient(ellipse, rgba(201,162,39,.11) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle dot-grid texture */
.qa-rev-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
}

.qa-rev-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}


/* ════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════ */

.qa-rev-header {
  text-align: center;
  margin-bottom: 36px;
}

.qa-rev-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 12px;
}

.qa-rev-eyebrow::before,
.qa-rev-eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: #c9a227;
  border-radius: 1px;
  flex-shrink: 0;
}

.qa-rev-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 2.8vw, 38px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.4px;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

.qa-rev-lead {
  font-size: 13.5px;
  color: rgba(255,255,255,.68);
  line-height: 1.8;
  max-width: 500px;
  margin: 0 auto 18px;
}

/* Aggregate rating pill */
.qa-rev-aggregate {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(201,162,39,.30);
  border-radius: 40px;
  padding: 7px 18px;
  backdrop-filter: blur(4px);
}

.qa-rev-agg-stars {
  display: flex;
  gap: 2px;
}

.qa-rev-agg-stars svg {
  width: 13px;
  height: 13px;
  fill: #c9a227;
}

.qa-rev-agg-score {
  font-size: 13.5px;
  font-weight: 800;
  color: #c9a227;
  line-height: 1;
}

.qa-rev-agg-divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,.22);
  flex-shrink: 0;
}

.qa-rev-agg-label {
  font-size: 11.5px;
  color: rgba(255,255,255,.58);
}


/* ════════════════════════════════════════════════════
   SLIDER — continuous loop track
════════════════════════════════════════════════════ */

.qa-rev-slider-wrap {
  overflow: hidden;
  position: relative;
}

.qa-rev-track {
  display: flex;
  gap: 20px;
  will-change: transform;
  /* no transition — animation handled by JS requestAnimationFrame */
}


/* ════════════════════════════════════════════════════
   CARD
════════════════════════════════════════════════════ */

.qa-rev-card {
  flex: 0 0 300px;                /* fixed width so JS can measure precisely */
  background: #fff;
  border-radius: 16px;
  padding: 24px 22px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,.22), 0 1px 4px rgba(0,0,0,.10);
  border: 1px solid rgba(201,162,39,.10);
  display: flex;
  flex-direction: column;
  transition: transform .28s ease, box-shadow .28s ease;
  cursor: default;
}

.qa-rev-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 52px rgba(0,0,0,.30), 0 2px 8px rgba(0,0,0,.12);
}

/* Slim gold left accent bar */
.qa-rev-card::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #c9a227, #e4c060 50%, #c9a227);
  border-radius: 0 2px 2px 0;
}

/* Large gold open-quote at top-right */
.qa-rev-quote {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 56px;
  line-height: 1;
  color: #c9a227;
  opacity: .13;
  font-family: Georgia, serif;
  font-weight: 900;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Stars */
.qa-rev-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.qa-rev-stars svg {
  width: 15px;
  height: 15px;
  fill: #c9a227;
}

/* Review text */
.qa-rev-text {
  font-size: 13.5px;
  color: #4a4a4a;
  line-height: 1.78;
  margin: 0 0 18px;
  padding: 0;
  border: none;
  quotes: none;
  flex: 1;
  position: relative;
  z-index: 1;
}

.qa-rev-text::before,
.qa-rev-text::after { content: none; }

.qa-rev-text p { margin: 0; }

/* Author row */
.qa-rev-author {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid rgba(201,162,39,.14);
  padding-top: 14px;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.qa-rev-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c9a227;
  flex-shrink: 0;
  background: #e8f0e9;
}

.qa-rev-author-info { flex: 1; min-width: 0; }

.qa-rev-name {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0d3d1a;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.qa-rev-location {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  color: #aaa;
  margin-top: 1px;
}

.qa-rev-location svg {
  width: 10px;
  height: 10px;
  fill: #c9a227;
  flex-shrink: 0;
}

/* Verified badge */
.qa-rev-verified {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e8f5e9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qa-rev-verified svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: #1a5c2a;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* ════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .qa-rev-section { padding: 44px 0 52px; }
  .qa-rev-header  { margin-bottom: 30px; }
  .qa-rev-card    { flex: 0 0 270px; }
}

@media (max-width: 600px) {
  .qa-rev-section { padding: 40px 0 48px; }
  .qa-rev-header  { margin-bottom: 24px; }
  .qa-rev-inner   { padding: 0 20px; }
  .qa-rev-card    { flex: 0 0 240px; padding: 20px 18px 16px; }
  .qa-rev-aggregate { flex-wrap: wrap; justify-content: center; gap: 6px; }
}
