/**
 * testimonials.css — /testimonials/ (Page ID 971)
 *
 * Foundation: main.css (tokens · base · layout · typography · components)
 * All patterns drawn from the approved cornerstone system.
 *
 * Section background rhythm:
 *   S1 AQUA → S2 WHITE → S3 SOFT-BLUE → S4 WHITE → S5 AQUA
 *
 * Inner containers: .wrap (1160px) for all sections.
 * CSS prefix: tst-
 */


/* ══════════════════════════════════════════════════════════════
   S1 — HERO
   Aqua. Two-column: image (50%) left · trust copy (50%) right.
   Image fills its column with object-fit cover.
   ══════════════════════════════════════════════════════════════ */

.tst-hero {
  background: var(--brand-aqua);
}

.tst-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
  min-height: 520px;
}

.tst-hero-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  align-self: stretch;
  min-height: 420px;
}

.tst-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.tst-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  opacity: .75;
}

.tst-h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 18px;
}

.tst-hero-lead {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  color: var(--text-primary);
  max-width: 48ch;
  margin-bottom: 28px;
}

.tst-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tst-hero .btn             { background: #fff; color: var(--ink); }
.tst-hero .btn:hover       { background: #EEF2F1; transform: translateY(-1px); }
.tst-hero .btn.ghost       { background: transparent; color: var(--ink); border-color: rgba(22, 32, 31, .44); }
.tst-hero .btn.ghost:hover { background: rgba(22, 32, 31, .07); transform: none; }


/* ══════════════════════════════════════════════════════════════
   S2 — THREE VOICES (QUOTE CARDS)
   White. Centered intro + 3-column card grid.
   ══════════════════════════════════════════════════════════════ */

.tst-voices {
  background: #fff;
  border-top: 1px solid var(--border-light);
}

.tst-voices-intro {
  max-width: 600px;
  margin: 0 auto var(--space-md);
  text-align: center;
}

.tst-voices-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.tst-voices-intro p {
  color: var(--text-secondary);
  font-size: clamp(.95rem, 1.2vw, 1rem);
  line-height: 1.6;
}

.tst-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tst-card {
  background: #fff;
  border-radius: var(--r-sm);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .08);
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.tst-card::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 1;
  color: var(--brand-aqua);
  font-family: Georgia, serif;
  position: absolute;
  top: 16px;
  left: 20px;
  opacity: .7;
}

.tst-card-text {
  padding-top: 24px;
  flex: 1;
}

.tst-card-text p {
  font-size: .92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.tst-card-attr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.tst-card-attr strong {
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
}

.tst-card-attr span {
  font-size: .8rem;
  color: var(--text-secondary);
  letter-spacing: .03em;
}


/* ══════════════════════════════════════════════════════════════
   S3 — JOSLIN'S STORY (featured full testimonial)
   Soft-blue. Centered editorial. Full testimonial text.
   ══════════════════════════════════════════════════════════════ */

.tst-joslin {
  background: var(--surface-soft-blue);
}

.tst-joslin-inner {
  max-width: 800px;
  margin: 0 auto;
}

.tst-joslin-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--brand-aqua);
}

.tst-joslin-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}

.tst-joslin-byline {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: .05em;
  margin-bottom: 10px;
}

.tst-joslin-note {
  font-size: .8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  background: rgba(255, 255, 255, .55);
  border-radius: 4px;
  padding: 8px 12px;
  margin-top: 10px;
}

.tst-joslin-text p {
  font-size: clamp(.92rem, 1.2vw, .98rem);
  color: var(--text-primary);
  line-height: 1.78;
  margin-bottom: 16px;
}

.tst-joslin-text p:last-child {
  margin-bottom: 0;
}


/* ══════════════════════════════════════════════════════════════
   S4 — MORE VOICES (full testimonials: Kyndra B. + Shawn)
   White. Two stacked blocks with left-border accent.
   ══════════════════════════════════════════════════════════════ */

.tst-more {
  background: #fff;
  border-top: 1px solid var(--border-light);
}

.tst-more-block {
  padding-bottom: clamp(36px, 4vw, 52px);
  margin-bottom: clamp(36px, 4vw, 52px);
  border-bottom: 1px solid var(--border-light);
}

.tst-more-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.tst-more-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.tst-more-attr {
  padding-top: 4px;
  padding-right: 28px;
  border-right: 3px solid var(--brand-aqua);
}

.tst-more-attr strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.tst-more-attr span {
  display: block;
  font-size: .8rem;
  color: var(--text-secondary);
  letter-spacing: .04em;
}

.tst-more-text p {
  font-size: clamp(.92rem, 1.2vw, .98rem);
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.tst-more-text p:last-child {
  margin-bottom: 0;
}

.tst-list {
  padding-left: 20px;
  margin: 12px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tst-list li {
  font-size: clamp(.9rem, 1.2vw, .96rem);
  color: var(--text-secondary);
  line-height: 1.6;
}

.tst-sign {
  font-style: italic;
  font-size: .88rem;
  color: var(--text-secondary);
  margin-top: 8px;
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .tst-hero-grid   { grid-template-columns: 1fr; min-height: auto; }
  .tst-hero-image-wrap { min-height: 320px; max-height: 400px; }
  .tst-hero-img    { position: static; width: 100%; height: 100%; max-height: 400px; }
  .tst-cards       { grid-template-columns: 1fr; }
  .tst-more-inner  { grid-template-columns: 1fr; gap: 16px; }
  .tst-more-attr   { border-right: none; border-bottom: 2px solid var(--brand-aqua); padding-right: 0; padding-bottom: 12px; }
}

@media (max-width: 640px) {
  .tst-hero-ctas { flex-direction: column; }
}
