/* ==========================================================================
   STAY FREE ENTERPRISE — testimonial card
   Consent-flag data attribute, in-card disclaimer slot (equal visual
   weight, never a footnote), NOT-REAL watermark until real content
   lands (plan §6 testimonial spec + §4 anti-AI checklist item 9).
   ========================================================================== */

.sf-testimonial {
  position: relative;
  background: var(--sf-ivory);
  border: 1px solid rgba(14, 74, 60, 0.1);
  border-radius: var(--sf-radius-lg);
  padding: var(--sf-space-5);
  box-shadow: var(--sf-elevation-2);
  display: flex;
  flex-direction: column;
  gap: var(--sf-space-3);
  overflow: hidden;
}

.sf-testimonial__quote {
  font-family: var(--sf-font-display);
  font-size: var(--sf-text-md);
  font-style: italic;
  font-weight: 460;
  line-height: 1.45;
  color: var(--sf-text-primary);
}

.sf-testimonial__meta {
  display: flex;
  align-items: center;
  gap: var(--sf-space-2);
}
.sf-testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sf-sand);
  border: 1px solid rgba(14, 74, 60,.15);
  flex: 0 0 auto;
}
.sf-testimonial__name { font-weight: 700; font-size: var(--sf-text-sm); }
.sf-testimonial__service { display: block; font-size: var(--sf-text-xs); color: var(--sf-teal); text-transform: uppercase; letter-spacing: .06em; }

/* ---- disclaimer: same-screen, adjacent, EQUAL visual weight — never a
   faint footnote (FTC 2023 rule cited in plan §6). Always real DOM.
   Accented with teal (structural color, plan §2), never coral — coral
   stays 100% CTA-exclusive sitewide. ---- */
.sf-testimonial__disclaimer {
  font-size: var(--sf-text-sm);
  color: var(--sf-text-primary);
  background: var(--sf-sand);
  border-left: 3px solid var(--sf-teal);
  padding: var(--sf-space-2) var(--sf-space-3);
  border-radius: var(--sf-radius-sm);
  max-width: none;
}

/* ---- NOT-REAL placeholder watermark: shown whenever consent/real content
   isn't confirmed. Loud on purpose — this must never ship publicly.
   Charcoal/taupe only: coral is 100% CTA-exclusive sitewide (plan §2),
   never used decoratively even for an internal warning state. ---- */
.sf-testimonial[data-consent="false"],
.sf-testimonial[data-real="false"] {
  outline: 2px dashed var(--sf-taupe);
  outline-offset: 4px;
}
.sf-testimonial__watermark {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(-45deg, rgba(42,42,42,.055) 0 14px, rgba(42,42,42,.09) 14px 28px);
  pointer-events: none;
}
.sf-testimonial[data-consent="false"] .sf-testimonial__watermark,
.sf-testimonial[data-real="false"] .sf-testimonial__watermark {
  display: flex;
}
.sf-testimonial__watermark span {
  font-size: var(--sf-text-sm);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sf-charcoal);
  background: var(--sf-ivory);
  border: 1px solid var(--sf-taupe);
  padding: var(--sf-space-1) var(--sf-space-3);
  border-radius: var(--sf-radius-sm);
  transform: rotate(-6deg);
}

/* ---- card wall grid (used on /results, teased in styleguide) ---- */
.sf-testimonial-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sf-space-4);
}
