/**
 * Client testimonials — /testimonial
 * Scoped: body.page-testimonial (this file is only loaded by testimonial.html).
 */

html {
  margin: 0;
  padding: 0;
  background: #f8fafc;
}

body.page-testimonial * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body.page-testimonial {
  margin: 0;
  padding: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #f8fafc;
  color: #0f172a;
  overflow-x: hidden;
}

body.page-testimonial a {
  text-decoration: none;
  color: inherit;
}

body.page-testimonial .container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

body.page-testimonial .page-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.page-testimonial .header-embed {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  display: block;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

body.page-testimonial .header-frame {
  width: 100%;
  height: 82px;
  border: 0;
  display: block;
  background: transparent;
}

body.page-testimonial .full-footer-embed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  line-height: 0;
  margin-top: auto;
}

body.page-testimonial .full-footer-frame {
  width: 100%;
  height: 286px;
  border: 0;
  display: block;
  background: transparent;
}

body.page-testimonial .float-icon {
  position: fixed;
  bottom: 12px;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
  z-index: 9999;
}

body.page-testimonial .float-wa {
  left: 14px;
  background: #25d366;
  font-size: 36px;
}

body.page-testimonial .float-call {
  right: 14px;
  background: #1d4ed8;
  font-size: 24px;
}

/* Hero */
body.page-testimonial .page-hero {
  padding: 52px 0 44px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #e8eef8;
}

body.page-testimonial .page-hero .eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 12px;
}

body.page-testimonial .page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 780px;
  margin: 0 auto 16px;
}

body.page-testimonial .page-hero p {
  font-size: 1rem;
  color: #475569;
  max-width: 640px;
  margin: 0 auto 24px;
  line-height: 1.75;
}

body.page-testimonial .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  font-size: 0.82rem;
  color: #94a3b8;
  list-style: none;
}

body.page-testimonial .breadcrumb a {
  color: #2563eb;
  font-weight: 600;
}

body.page-testimonial .breadcrumb li + li::before {
  content: "/";
  margin-right: 6px;
  opacity: 0.5;
}

/* Sections */
body.page-testimonial .section-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2563eb;
  margin-bottom: 10px;
}

body.page-testimonial .section-title {
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.25;
}

body.page-testimonial .section-title .accent {
  color: #2563eb;
}

/* Quote cards */
body.page-testimonial .quote-section {
  padding: 52px 0;
  background: #f8fafc;
}

body.page-testimonial .quote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

body.page-testimonial .quote-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}

body.page-testimonial .quote-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

body.page-testimonial .quote-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #dbe5f3;
}

body.page-testimonial .quote-name {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

body.page-testimonial .quote-role {
  font-size: 0.82rem;
  color: #64748b;
  margin-top: 2px;
}

body.page-testimonial .quote-text {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.65;
}

/* Written testimonials — minimal cards */
body.page-testimonial .written-section {
  padding: 48px 0 56px;
  background: #f8fafc;
  border-top: 1px solid #e8eef8;
}

body.page-testimonial .written-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

/* Two testimonials per row on tablets and up */
@media (min-width: 640px) {
  body.page-testimonial .written-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }
}

body.page-testimonial .written-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px 18px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  min-width: 0;
}

body.page-testimonial .written-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.35;
}

body.page-testimonial .written-card p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

/* Gallery */
body.page-testimonial .gallery-section {
  padding: 52px 0;
}

body.page-testimonial .gallery-section.alt {
  background: #fff;
  padding: 52px 0 0;
}

body.page-testimonial .image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

body.page-testimonial .image-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Stats + CTA */
body.page-testimonial .stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 44px 0;
}

body.page-testimonial .stat-item {
  text-align: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 16px;
  box-shadow: 0 4px 16px rgba(15, 42, 100, 0.05);
}

body.page-testimonial .stat-num {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

body.page-testimonial .stat-lbl {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

body.page-testimonial .cta-box {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  border-radius: 20px;
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin: 52px 0;
}

body.page-testimonial .cta-box h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  color: #fff;
  max-width: 560px;
  line-height: 1.3;
}

body.page-testimonial .cta-box p {
  color: #bfdbfe;
  font-size: 0.95rem;
  margin-top: 8px;
  max-width: 500px;
}

body.page-testimonial .cta-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

body.page-testimonial .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.92rem;
}

body.page-testimonial .cta-btn.wa {
  background: #25d366;
  color: #fff;
}

body.page-testimonial .cta-btn.call {
  background: #fff;
  color: #0f172a;
}

@media (max-width: 700px) {
  body.page-testimonial .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  body.page-testimonial .quote-grid {
    grid-template-columns: 1fr;
  }

  body.page-testimonial .cta-box {
    padding: 28px 22px;
  }

  body.page-testimonial .header-frame {
    height: 74px;
  }

  body.page-testimonial .full-footer-frame {
    height: 330px;
  }

  body.page-testimonial .float-icon {
    width: 60px;
    height: 60px;
    bottom: 10px;
  }

  body.page-testimonial .float-wa {
    left: 10px;
    font-size: 31px;
  }

  body.page-testimonial .float-call {
    right: 10px;
    font-size: 22px;
  }
}
