/* Reviews: testimonial slider + Wall of Love.
   Built on the site's tokens (--background, --accent, --border) and fonts
   (Marcellus for quotes, Montserrat for labels). Everything is prefixed rv-. */
:root {
  --rv-card: #1c1c1c;
  --rv-text: #ebe7df;
  --rv-muted: #9b9789;
  --rv-line: rgba(230, 180, 0, 0.22);
}

.rv-stars { display: inline-flex; gap: 4px; color: var(--accent); }
.rv-stars svg { width: 13px; height: 13px; display: block; }

.rv-name { font: 500 12px/1.4 Montserrat, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.rv-date { font: 400 11px/1.4 Montserrat, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: var(--rv-muted); }

/* ---------- Slider ---------- */
.rv-slider { position: relative; width: 100%; }
.rv-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none; padding: 4px 2px 8px; margin: 0; list-style: none;
}
.rv-track::-webkit-scrollbar { display: none; }
.rv-slide {
  flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 22px; min-height: 340px;
  padding: 40px 34px 34px; background: var(--rv-card); border: 1px solid var(--rv-line);
  box-sizing: border-box; position: relative;
}
.rv-slide::before {
  content: "\201C"; position: absolute; top: 14px; right: 26px;
  font: 400 72px/1 Marcellus, serif; color: var(--accent); opacity: 0.18; pointer-events: none;
}
.rv-quote {
  margin: 0; flex: 1; color: var(--rv-text); font: 400 18px/1.65 Marcellus, serif;
  display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden;
}
.rv-foot { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid var(--rv-line); }
.rv-more { align-self: flex-start; font: 500 11px/1 Montserrat, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--rv-muted); text-decoration: none; border-bottom: 1px solid transparent; padding-bottom: 3px; transition: color .3s ease, border-color .3s ease; }
.rv-more:hover { color: var(--accent); border-color: var(--accent); }

.rv-controls { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 40px; }
.rv-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: transparent;
  color: var(--heading); display: grid; place-items: center; cursor: pointer; padding: 0;
  transition: border-color .3s ease, color .3s ease, opacity .3s ease;
}
.rv-arrow svg { width: 16px; height: 16px; }
.rv-arrow:hover { border-color: var(--accent); color: var(--accent); }
.rv-arrow:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.rv-arrow[disabled] { opacity: 0.3; cursor: default; border-color: var(--border); color: var(--heading); }
.rv-count { font: 500 12px/1 Montserrat, sans-serif; letter-spacing: 3px; color: var(--rv-muted); min-width: 64px; text-align: center; }
.rv-count b { color: var(--heading); font-weight: 500; }
.rv-all { display: flex; justify-content: center; margin-top: 34px; }

@media screen and (max-width: 991px) {
  .rv-slide { flex-basis: calc((100% - 24px) / 2); }
}
@media screen and (max-width: 767px) {
  .rv-track { gap: 14px; }
  .rv-slide { flex-basis: 86%; padding: 34px 26px 28px; min-height: 0; }
  .rv-quote { font-size: 17px; -webkit-line-clamp: 9; }
}

/* ---------- Wall of Love ---------- */
.rv-summary { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; margin: 0 auto 70px; }
.rv-score { font: 400 76px/1 Marcellus, serif; color: var(--heading); letter-spacing: 2px; }
.rv-summary .rv-stars svg { width: 18px; height: 18px; }
.rv-summary .rv-stars { gap: 6px; }
.rv-summary-text { font: 500 12px/1.5 Montserrat, sans-serif; letter-spacing: 3px; text-transform: uppercase; color: var(--rv-muted); }
.rv-rule { width: 60px; height: 1px; background: var(--accent); opacity: 0.6; margin-top: 8px; }

.rv-wall { column-count: 3; column-gap: 28px; }
.rv-card {
  break-inside: avoid; display: flex; flex-direction: column; gap: 22px; margin: 0 0 28px;
  padding: 44px 36px 34px; background: var(--rv-card); border: 1px solid var(--rv-line); position: relative;
  scroll-margin-top: 140px; transition: border-color .4s ease, transform .4s ease;
}
.rv-card::before {
  content: "\201C"; position: absolute; top: 16px; right: 28px;
  font: 400 80px/1 Marcellus, serif; color: var(--accent); opacity: 0.16; pointer-events: none;
}
.rv-card:hover { border-color: rgba(230, 180, 0, 0.5); }
.rv-card:target { border-color: var(--accent); box-shadow: 0 0 40px rgba(230, 180, 0, 0.12); }
.rv-card .rv-quote { display: block; -webkit-line-clamp: unset; overflow: visible; }
.rv-card.is-long .rv-quote { font-size: 17px; }

/* Gentle reveal as cards scroll in (only when JS is running) */
.rv-js .rv-card { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease, border-color .4s ease; }
.rv-js .rv-card.is-in { opacity: 1; transform: none; }

.rv-cta { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; margin-top: 60px; }
.rv-cta h4 { margin: 0; }

@media screen and (max-width: 991px) {
  .rv-wall { column-count: 2; column-gap: 20px; }
  .rv-card { margin-bottom: 20px; }
}
@media screen and (max-width: 767px) {
  .rv-wall { column-count: 1; }
  .rv-card { padding: 38px 26px 28px; }
  .rv-score { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .rv-track { scroll-behavior: auto; }
  .rv-js .rv-card { opacity: 1; transform: none; transition: none; }
}
