/* =============================================================
   TESTIMONIALS.CSS — Citizens Reverse Mortgage.
   Conditionally enqueued for the page with slug "testimonials".
   Page-specific layout for the 5 wireframe sections.
   Review/rating/video slots keep their designed treatment and carry
   a marked "[Placeholder: …]" label (rule 6) until real content lands.
   ============================================================= */

/* Content-placeholder marker, light variant for dark sections. */
.placeholder--on-dark {
  color: #c9d3ea;
}
.placeholder--on-dark strong {
  color: #fff;
}

/* ── SECTION 01 — SOCIAL PROOF HERO ──────────────────────── */
.tm-hero {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  padding-block: clamp(64px, 8vw, 116px);
  overflow: hidden;
  text-align: center;
}
.tm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      640px circle at 50% -8%,
      rgba(184, 148, 58, 0.26),
      transparent 58%
    ),
    radial-gradient(
      460px circle at 92% 100%,
      rgba(61, 122, 138, 0.24),
      transparent 60%
    );
  pointer-events: none;
}
.tm-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.06) 1px,
    transparent 1px
  );
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  pointer-events: none;
}
.tm-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
}
.tm-hero__eyebrow {
  color: var(--gold-soft);
}
.tm-hero h1 {
  color: #fff;
  margin-bottom: var(--space-md);
}
.tm-hero__sub {
  font-size: clamp(21px, 1.9vw, 26px);
  color: #d8e0f2;
  margin-bottom: var(--space-lg);
}

/* Google rating strip (designed) — carries the marked placeholder text. */
/* Review badge (Trustreviews / Yelp widget) — white card on the navy hero,
   so the widget's name, stars, and "powered by Yelp" logo all read clearly. */
.rating-strip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  border-radius: var(--radius);
  background: #fff;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
/* Normalise the Trustreviews markup inside the badge. */
.rating-strip .trustreviews-header,
.rating-strip .trustreviews-header-inner,
.rating-strip .trustreviews-flex {
  margin: 0;
  padding: 0;
  background: transparent;
}
.rating-strip .trustreviews-name a,
.rating-strip .trustreviews-name span {
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.rating-strip .trustreviews-name a:hover span {
  color: var(--gold);
}
.rating-strip .trustreviews-powered {
  color: var(--text-mid);
  font-size: 12px;
}

/* ── SECTION 02 — FEATURED CLIENT STORIES (designed cards) ─ */
.tm-card {
  position: relative;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--space-xl) var(--space-lg) var(--space-lg);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.tm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.tm-card__quotemark {
  position: absolute;
  top: 8px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 82px;
  line-height: 1;
  color: rgba(184, 148, 58, 0.22);
}
.tm-card .stars {
  position: relative;
  margin-bottom: var(--space-sm);
}
.tm-card__text {
  margin: 0 0 var(--space-md);
  font-style: italic;
  color: var(--text-body);
}
.tm-card__meta {
  margin: 0;
  font-style: normal;
  font-size: 14px;
  color: var(--text-dark);
}

.featured__note,
.reviews-feed__note,
.vt-note {
  text-align: center;
  max-width: 760px;
  margin: var(--space-lg) auto 0;
  font-size: 14px;
  color: var(--text-mid);
}

/* ── SECTION 03 — GOOGLE REVIEWS FEED ────────────────────── */
.reviews-feed__widget {
  min-height: 200px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-md);
  background: var(--white);
}

/* ── SECTION 04 — VIDEO TESTIMONIALS ─────────────────────── */
/* Always 2 videos per row (.video-facade players, see component.css). */
.vt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}
@media (max-width: 600px) {
  .vt-grid {
    grid-template-columns: 1fr;
  } /* stack on small phones */
}

/* ── SECTION 05 — CONSULTATION CTA ───────────────────────── */
.tm-cta__inner {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}
.tm-cta p {
  font-size: clamp(20px, 1.7vw, 24px);
  color: #dce3f2;
}
.tm-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 var(--space-md);
}
.tm-cta__attr {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--gold-light);
  margin-bottom: var(--space-sm);
}
.tm-cta__disclaimer {
  font-size: 12px;
  color: #9fb0d0;
  margin-bottom: 0;
  max-width: 640px;
  margin-inline: auto;
}


.rpi-stars-yelp,
.trustreviews-powered.trustreviews-flex {
  justify-content: center;
}
