/* === SOCIAL PROOF PAGE === */

/* Hero */
.sp-hero {
  padding: 140px var(--pad-x) 80px;
  background: var(--cream);
  text-align: center;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}

.sp-hero-inner {
  max-width: 640px;
  margin: 0 auto;
}

.sp-title {
  font-size: clamp(40px, 6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--charcoal);
  margin-bottom: 20px;
}

.sp-subtitle {
  font-size: 18px;
  color: var(--charcoal-mid);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* Main content */
.sp-main {
  background: var(--cream);
}

/* Stats bar */
.sp-stats {
  background: var(--cream-warm);
  padding: 56px var(--pad-x);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
}

.sp-stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.sp-stat {
  text-align: center;
  padding: 0 56px;
  flex: 1;
}

.sp-stat-value {
  font-size: 40px;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}

.sp-stat-label {
  font-size: 13px;
  color: var(--warm-grey);
  line-height: 1.4;
  max-width: 120px;
  margin: 0 auto;
}

.sp-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(26, 26, 26, 0.12);
  flex-shrink: 0;
}

/* Section titles */
.sp-section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 0;
}

.sp-testimonials-header {
  padding: 80px var(--pad-x) 48px;
}

.sp-testimonials-header .section-label {
  margin-bottom: 12px;
}

/* Testimonials */
.sp-testimonials {
  padding: 0 var(--pad-x) 80px;
}

.sp-testimonials-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.sp-testimonial {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sp-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.sp-testimonial-quote {
  flex: 1;
}

.sp-quote-icon {
  width: 28px;
  height: 24px;
  margin-bottom: 16px;
}

.sp-testimonial-quote p {
  font-size: 16px;
  color: var(--charcoal-mid);
  line-height: 1.7;
  font-style: italic;
}

.sp-testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sp-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.sp-author-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.3;
}

.sp-author-role {
  font-size: 13px;
  color: var(--warm-grey);
  line-height: 1.3;
  margin-top: 2px;
}

/* Portfolio gallery */
.sp-portfolio {
  padding: 80px var(--pad-x);
  background: var(--cream-warm);
  border-top: 1px solid rgba(26, 26, 26, 0.06);
}

.sp-portfolio-header {
  max-width: var(--max-w);
  margin: 0 auto 48px;
}

.sp-portfolio-sub {
  font-size: 16px;
  color: var(--charcoal-mid);
  line-height: 1.6;
  max-width: 520px;
  margin-top: 12px;
}

.sp-gallery-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.sp-gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--light-surface);
}

.sp-gallery-item--tall {
  grid-row: span 2;
}

.sp-gallery-item--wide {
  grid-column: span 2;
}

.sp-gallery-img-wrap {
  position: absolute;
  inset: 0;
}

.sp-gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sp-gallery-item:hover .sp-gallery-img-wrap img {
  transform: scale(1.04);
}

.sp-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 20px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
}

.sp-caption-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.3;
}

.sp-caption-tag {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  line-height: 1.3;
}

/* CTA */
.sp-cta {
  padding: var(--section-gap) var(--pad-x);
  background: var(--cream);
  text-align: center;
}

.sp-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.sp-cta-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.15;
}

.sp-cta-sub {
  font-size: 16px;
  color: var(--charcoal-mid);
  line-height: 1.65;
  margin-bottom: 36px;
}

.sp-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary--dark {
  background: var(--charcoal);
  color: var(--white);
}

.btn-primary--dark:hover {
  background: var(--charcoal-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.btn-ghost {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  border: 1.5px solid rgba(26, 26, 26, 0.25);
  border-radius: 50px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

/* Footer */
.footer {
  padding: 60px var(--pad-x) 40px;
  background: var(--cream);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.footer-copy {
  font-size: 13px;
  color: var(--warm-grey);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social a {
  font-size: 13px;
  color: var(--warm-grey);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--charcoal);
}

/* Responsive */
@media (max-width: 900px) {
  .sp-testimonials-grid {
    grid-template-columns: 1fr;
  }

  .sp-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sp-gallery-item--tall {
    grid-row: span 1;
  }

  .sp-gallery-item--wide {
    grid-column: span 1;
  }

  .sp-stats-inner {
    flex-wrap: wrap;
    gap: 32px;
  }

  .sp-stat-divider {
    display: none;
  }

  .sp-stat {
    padding: 0 24px;
    flex: 0 0 calc(50% - 48px);
  }
}

@media (max-width: 600px) {
  .sp-gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .sp-gallery-item--wide {
    grid-column: span 1;
  }

  .sp-testimonial {
    padding: 28px 24px;
  }

  .sp-cta-actions {
    flex-direction: column;
    gap: 12px;
  }

  .btn-ghost {
    width: 100%;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}