/* =========================================================
   Voices page — testimonials + Google Reviews band
   Uses tokens from main.css (no new colors).
   ========================================================= */

/* ---------- Hero ---------- */
.voices-hero {
  padding: 6rem 0 3rem;
  border-bottom: 1px solid var(--hairline);
}
.voices-hero__inner { max-width: 720px; }
.voices-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.75rem 0 1rem;
  color: var(--foreground);
}
.voices-hero p {
  color: var(--muted-foreground);
  font-size: 1.0625rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Logo strip ---------- */
.voices-logos {
  border-bottom: 1px solid var(--hairline);
  padding: 2rem 0;
  background: var(--background);
}
.voices-logos__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 4rem);
  flex-wrap: wrap;
}
.voices-logo {
  display: inline-flex;
  align-items: center;
  height: 32px;
  opacity: 0.55;
  filter: grayscale(100%);
  transition: opacity 200ms ease, filter 200ms ease;
}
.voices-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}
.voices-logo img,
.voices-logo svg { height: 100%; width: auto; display: block; }
.voices-logo--placeholder {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  border: 1px dashed var(--hairline);
  padding: 0.5rem 1rem;
  height: auto;
}

/* ---------- Testimonial grid ---------- */
.voices-grid-section { padding: 4rem 0; }
.voices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 720px) {
  .voices-grid { grid-template-columns: 1fr; }
}

.voice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--background);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 2rem 2rem 1.5rem;
  overflow: hidden;
  transition: border-color 260ms ease, transform 260ms ease, box-shadow 260ms ease, background 260ms ease;
}
/* Top hairline that turns gold on hover — echoes the site's gold-divider motif */
.voice-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, hsla(46, 65%, 52%, 0) 0%, hsla(46, 65%, 52%, 0.55) 50%, hsla(46, 65%, 52%, 0) 100%);
  opacity: 0;
  transition: opacity 260ms ease;
}
/* Subtle corner glyph — Arozu mark feel without overpowering */
.voice-card__mark {
  position: absolute;
  top: 1.1rem;
  right: 1.25rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.22;
  pointer-events: none;
  user-select: none;
  font-weight: 500;
}
.voice-card:hover {
  border-color: hsla(150, 11%, 20%, 0.18);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  background: var(--background);
}
.voice-card:hover::before { opacity: 1; }

/* Outcome — editorial metric label, not a chip. Gold dot, terracotta number, muted caption. */
.voice-card__outcome {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px dashed var(--hairline);
  max-width: 90%;
}
.voice-card__outcome-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.voice-card__outcome-label::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: var(--gold);
  display: inline-block;
}
.voice-card__outcome-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--primary);
  line-height: 1.1;
}

.voice-card__quote {
  position: relative;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--foreground);
  margin: 0 0 1.75rem;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 400;
  letter-spacing: -0.011em;
  z-index: 1;
}
.voice-card__quote em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 62%, hsla(46, 65%, 52%, 0.22) 62%);
  padding: 0 0.05em;
}

.voice-card__person {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.875rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hairline);
}
.voice-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  background: var(--background-alt);
  border: 1px solid var(--hairline);
  flex-shrink: 0;
  object-fit: cover;
}
.voice-card__avatar--placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  letter-spacing: 0.04em;
  background: var(--background-alt);
}
.voice-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.voice-card__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground);
  letter-spacing: -0.01em;
}
.voice-card__role {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.voice-card__company-logo {
  height: 14px;
  width: auto;
  opacity: 0.6;
  filter: grayscale(100%);
  transition: opacity 200ms ease, filter 200ms ease;
}
.voice-card:hover .voice-card__company-logo {
  opacity: 0.9;
  filter: grayscale(0%);
}

/* LinkedIn — quiet square icon button */
.voice-card__linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--hairline);
  color: var(--muted-foreground);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
  flex-shrink: 0;
}
.voice-card__linkedin:hover {
  color: var(--primary);
  border-color: hsla(16, 57%, 51%, 0.35);
  background: hsla(16, 57%, 51%, 0.04);
}
.voice-card__linkedin-label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Google Reviews band ---------- */
.google-band {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--background-alt);
  padding: 3.5rem 0;
}
.google-band__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.google-band__title {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex-wrap: wrap;
}
.google-band__stars {
  color: var(--gold);
  letter-spacing: 0.1em;
  font-size: 1rem;
}
.google-band__rating {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
}
.google-band__count {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.google-band__link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  border-bottom: 1px solid hsla(16, 57%, 51%, 0.25);
  padding-bottom: 2px;
  transition: color 160ms ease, border-color 160ms ease;
}
.google-band__link:hover { color: var(--primary-hover); border-bottom-color: var(--primary); }

.google-reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}
.google-reviews::-webkit-scrollbar { height: 6px; }
.google-reviews::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 9999px; }

.google-review {
  scroll-snap-align: start;
  background: var(--background);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.google-review__head { display: flex; align-items: center; gap: 0.625rem; }
.google-review__avatar {
  width: 32px; height: 32px; border-radius: 9999px;
  background: var(--background-alt); object-fit: cover;
}
.google-review__author {
  font-size: 0.875rem; font-weight: 500; color: var(--foreground);
}
.google-review__time {
  font-size: 0.75rem; color: var(--muted-foreground);
}
.google-review__stars { color: var(--gold); font-size: 0.8125rem; letter-spacing: 0.08em; }
.google-review__text {
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted-foreground);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.google-band__empty {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  padding: 1rem 0;
}

/* ---------- Reference CTA band ---------- */
.voices-cta {
  padding: 4rem 0;
  text-align: center;
}
.voices-cta h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}
.voices-cta p {
  color: var(--muted-foreground);
  margin: 0 0 1.5rem;
}

/* ---------- Homepage testimonial pull-band ---------- */
.voice-pull {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--background-alt);
  padding: 2.5rem 0;
}
.voice-pull__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.voice-pull__quote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--foreground);
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
.voice-pull__quote::before {
  content: "“";
  color: var(--gold);
  font-size: 1.4em;
  margin-right: 0.15em;
  vertical-align: -0.2em;
}
.voice-pull__attr {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}
.voice-pull__attr strong { color: var(--foreground); font-weight: 500; }
.voice-pull__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  border-bottom: 1px solid hsla(16, 57%, 51%, 0.25);
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color 160ms ease, border-color 160ms ease;
}
.voice-pull__link:hover { color: var(--primary-hover); border-bottom-color: var(--primary); }
@media (max-width: 720px) {
  .voice-pull__inner { grid-template-columns: 1fr; }
}
