/* ==========================================================================
   Section 5 — Social Proof
   Testimonial cards with stars, quote mark, gold rule, and attribution.
   Pre-launch placeholder content; replace with App Store reviews post-launch.
   ========================================================================== */

.section-social {
  background-color: var(--color-cream);
  padding-block: 6rem;
}

.section-social__inner {
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --- Two-line split headline --- */

.section-social__headline {
  text-align: center;
  margin-bottom: 3rem;
}

.section-social__headline-line1 {
  font-family: var(--font-brand);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-soil);
}

.section-social__headline-line2 {
  font-family: var(--font-brand);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-rust);
}

/* --- Trust anchor cards --- */

.trust-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-card {
  background-color: var(--color-stone-moss);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  overflow: hidden;
}

/* Decorative opening quote mark */
.trust-card::before {
  content: '\201C';
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  font-family: var(--font-body);
  font-size: 3.25rem;
  line-height: 1;
  color: var(--color-rust);
  opacity: 0.18;
  pointer-events: none;
}

/* Five-star rating */
.trust-card__stars {
  font-size: 0.875rem;
  color: var(--color-gold);
  letter-spacing: 0.1em;
  padding-top: 1rem; /* clear the quote mark */
}

/* Testimonial quote text */
.trust-card__body {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-soil);
  opacity: 0.9;
  flex: 1;
}

/* Gold rule separating quote from attribution */
.trust-card__divider {
  width: 40px;
  height: 1.5px;
  background-color: var(--color-gold);
  opacity: 0.7;
  margin-top: 0.25rem;
}

/* Name / zone line */
.trust-card__attribution {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  color: var(--color-soil);
  opacity: 0.7;
}

/* Context line (experience · garden type) */
.trust-card__context {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-style: italic;
  color: var(--color-rust);
  opacity: 0.65;
}

/* --- Mobile (≤767px): stacked --- */

@media (max-width: 767px) {
  .section-social {
    padding-block: 3rem;
  }

  .trust-cards {
    grid-template-columns: 1fr;
  }

  .section-social__headline-line1,
  .section-social__headline-line2 {
    font-size: var(--text-subhead);
  }
}

/* --- Tablet (768px–1023px): two columns --- */

@media (min-width: 768px) and (max-width: 1023px) {
  .trust-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
