/* Customer reviews — static quotes and the Google rating badge.
 *
 * Replaces the Elfsight widget (2026-11-21). The quotes are plain HTML so search engines and AI
 * assistants can read them; the widget loaded by script, which crawlers do not run.
 * Self-contained on purpose: the lp-*.html ad pages do not load styles.css, so nothing here may
 * depend on its variables. Light by default; .dark-theme pages (index.html) get the dark set.
 * The approved quote list lives in tests/review-quotes.test.js — edit both together.
 */
.rv {
  --rv-card: #fff;
  --rv-border: #E5E7EB;
  --rv-text: #1F2937;
  --rv-muted: #6B7280;
  --rv-name: #111827;
  --rv-accent: #F17EB1;
  --rv-tag: #0B9B8A;
  --rv-star: #FBBF24;
  text-align: left;
  font-family: 'Jost', system-ui, sans-serif;
}
.dark-theme .rv {
  --rv-card: #1A1A1A;
  --rv-border: #282828;
  --rv-text: #F3F4F6;
  --rv-muted: #9CA3AF;
  --rv-name: #fff;
}

/* Rating bar: score, stars, count, and the two Google links */
.rv-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--rv-card); border: 1px solid var(--rv-border); border-radius: 14px;
  padding: 1.1rem 1.4rem; margin: 1.5rem 0 1.25rem;
}
.rv-score { display: flex; align-items: center; gap: .75rem; }
.rv-score b { font: 700 2rem/1 'Jost', sans-serif; color: var(--rv-name); }
.rv-stars { color: var(--rv-star); letter-spacing: .06em; }
.rv-count { color: var(--rv-muted); font-size: .9rem; display: flex; align-items: center; gap: .4rem; }
.rv-actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.rv-btn {
  display: inline-block; padding: .7rem 1.3rem; border-radius: 999px; font: 600 .92rem 'Jost', sans-serif;
  text-decoration: none; border: 2px solid var(--rv-accent); transition: transform .15s;
}
.rv-btn:hover { transform: translateY(-1px); }
.rv-btn:focus-visible, .rv-foot a:focus-visible, .g-badge:focus-visible { outline: 2px solid var(--rv-accent); outline-offset: 3px; }
.rv-btn--ghost { color: var(--rv-name); border-color: var(--rv-border); background: transparent; }

/* Quote cards */
.rv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px) { .rv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .rv-grid { grid-template-columns: 1fr; }
  .rv-bar { padding: .9rem 1rem; gap: .7rem; }
  .rv-actions { width: 100%; }
  .rv-btn { flex: 1; text-align: center; padding: .6rem; }
}
.rv-card {
  background: var(--rv-card); border: 1px solid var(--rv-border); border-radius: 14px;
  padding: 1.3rem 1.3rem 1.1rem; display: flex; flex-direction: column; gap: .7rem; margin: 0;
}
.rv-tag { font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--rv-tag); }
.rv-card blockquote { margin: 0; color: var(--rv-text); font-size: 1rem; line-height: 1.6; }
.rv-card blockquote::before {
  content: "\201C"; display: block; font: 600 2.6rem/.6 'Cormorant Garamond', Georgia, serif;
  color: var(--rv-accent); margin-bottom: .35rem;
}
.rv-who { display: flex; align-items: center; gap: .65rem; margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--rv-border); }
.rv-avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 .95rem 'Jost', sans-serif; color: #111; flex: none; }
.rv-name { font-weight: 600; color: var(--rv-name); font-size: .92rem; }
.rv-meta { font-size: .78rem; color: var(--rv-muted); }

/* "What customers mention most" — counted from the reviews, our words */
.rv-themes { background: linear-gradient(160deg, #FCEAF3, var(--rv-card) 60%); }
.dark-theme .rv-themes { background: linear-gradient(160deg, #1f1420, #1A1A1A 55%); border-color: #3a2432; }
.rv-themes h3 { font-size: 1.05rem; color: var(--rv-name); margin: 0; }
.rv-themes ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.rv-themes li { display: flex; gap: .6rem; color: var(--rv-text); font-size: .95rem; line-height: 1.45; }
.rv-themes .rv-n { flex: none; min-width: 2.4rem; font: 700 1.1rem 'Jost', sans-serif; color: var(--rv-accent); }
.rv-foot { text-align: center; margin-top: 1.4rem; color: var(--rv-muted); font-size: .85rem; }
/* Brand pink on a light background is ~2.3:1 — too faint for small text. A deeper pink for links
   on light pages (about 5:1); the dark home page keeps the brand pink, which passes there. */
.rv-foot a { color: #B83A78; text-decoration: underline; display: inline-block; padding: .6rem 0; }
.dark-theme .rv-foot a { color: var(--rv-accent); }

/* Small Google rating badge (replaces the Elfsight badge in heroes and side boxes) */
.g-badge {
  display: inline-flex; align-items: center; gap: .55rem; padding: .6rem .9rem; border-radius: 10px;
  background: #1A1A1A; color: #fff; text-decoration: none; font: 500 .9rem 'Jost', sans-serif;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.g-badge b { font-size: 1.15rem; font-weight: 700; }
.g-badge .rv-stars { font-size: .95rem; color: #FBBF24; } /* outside .rv, so no --rv-star here */
.g-badge small { color: #93C5FD; font-size: .8rem; }
