/* =========================================================
   DC Bookkeeping — Testimonials page
   ========================================================= */

.testimonials-hero *,
.testimonials-intro *,
.testimonials-section *,
.testimonials-trust *,
.review-cta-section *,
.testimonials-cta * {
  box-sizing: border-box;
}

.testimonials-eyebrow {
  margin: 0 0 14px;
  color: #179447;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.testimonials-eyebrow-light {
  color: #91e4a8;
}

/* Hero */

.testimonials-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background:
    radial-gradient(
      circle at 4% 18%,
      rgba(91, 51, 125, 0.19),
      transparent 32%
    ),
    radial-gradient(
      circle at 98% 14%,
      rgba(32, 174, 82, 0.23),
      transparent 38%
    ),
    linear-gradient(
      115deg,
      #f7f1fa 0%,
      #ffffff 48%,
      #e3f7e8 100%
    );
}

.testimonials-hero::after {
  content: "";
  position: absolute;
  right: -220px;
  bottom: -380px;
  width: 760px;
  height: 760px;
  border: 115px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.testimonials-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: 80px;
}

.testimonials-hero-copy h1 {
  max-width: 830px;
  margin: 0 0 24px;
  color: #29283d;
  font-family: "Poppins", sans-serif;
  font-size: clamp(3.1rem, 5.6vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.testimonials-hero-copy h1 span {
  display: block;
  color: #5b337d;
}

.testimonials-hero-text {
  max-width: 720px;
  margin: 0;
  color: #55596b;
  font-size: 1.1rem;
  line-height: 1.75;
}

.testimonials-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.testimonials-outline-button {
  border: 2px solid #5b337d;
  background: transparent;
  color: #5b337d;
  box-shadow: none;
}

.testimonials-outline-button:hover {
  border-color: #5b337d;
  background: #5b337d;
  color: #ffffff;
}

.testimonials-hero-card {
  position: relative;
  overflow: hidden;
  padding: 45px 40px;
  border-radius: 28px;
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 255, 255, 0.11),
      transparent 42%
    ),
    linear-gradient(
      135deg,
      #3b2451,
      #633986
    );
  color: #ffffff;
  box-shadow: 0 30px 70px rgba(57, 35, 77, 0.25);
}

.testimonials-quote-mark {
  height: 72px;
  margin-bottom: 5px;
  color: #73dc91;
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 0.9;
}

.testimonials-hero-card > p {
  margin: 0 0 25px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.45;
}

.testimonials-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 14px;
  color: #8ce3a6;
  font-size: 1.2rem;
}

.testimonials-hero-card small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Introduction */

.testimonials-intro {
  padding: 94px 0;
  background: #ffffff;
}

.testimonials-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
}

.testimonials-intro h2 {
  margin: 0;
  color: #29283d;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.13;
}

.testimonials-intro-grid > div:last-child {
  padding-top: 28px;
}

.testimonials-intro-grid > div:last-child p {
  margin: 0 0 20px;
  color: #5d6071;
  font-size: 1.02rem;
  line-height: 1.85;
}

/* Testimonials */

.testimonials-section {
  padding: 92px 0;
  background: #f7f7fa;
}

.testimonials-section-heading {
  max-width: 800px;
  margin: 0 auto 55px;
  text-align: center;
}

.testimonials-section-heading h2 {
  margin: 0 0 15px;
  color: #5b337d;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.15rem, 3.6vw, 3.3rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.testimonials-section-heading > p:last-child {
  margin: 0;
  color: #686b78;
  line-height: 1.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  display: flex;
  min-height: 390px;
  padding: 30px;
  flex-direction: column;
  border: 1px solid #e4e3e9;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 13px 34px rgba(45, 39, 56, 0.07);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.testimonial-card:hover {
  border-color: rgba(32, 174, 82, 0.5);
  transform: translateY(-7px);
  box-shadow: 0 22px 48px rgba(45, 39, 56, 0.13);
}

.featured-testimonial {
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(32, 174, 82, 0.08),
      transparent 42%
    ),
    #ffffff;
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 25px;
}

.testimonial-stars {
  color: #20ae52;
  font-size: 0.93rem;
  letter-spacing: 0.08em;
}

.testimonial-card-top > span {
  color: #8a8b95;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.testimonial-card blockquote {
  margin: 0 0 30px;
  color: #37394b;
  font-family: "Poppins", sans-serif;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.75;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid #ecebf0;
}

.testimonial-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: #eee7f3;
  color: #5b337d;
  font-size: 0.8rem;
  font-weight: 800;
}

.testimonial-author strong,
.testimonial-author span {
  display: block;
}

.testimonial-author strong {
  margin-bottom: 4px;
  color: #39254e;
}

.testimonial-author span {
  color: #767885;
  font-size: 0.82rem;
}

/* Trust section */

.testimonials-trust {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 255, 255, 0.08),
      transparent 36%
    ),
    linear-gradient(
      120deg,
      #342044,
      #5b337d
    );
}

.testimonials-heading-light h2 {
  color: #ffffff;
}

.testimonials-heading-light > p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.testimonials-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.testimonials-trust-grid article {
  padding: 29px 25px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(7px);
}

.testimonials-trust-grid article > span {
  display: grid;
  width: 49px;
  height: 49px;
  margin-bottom: 21px;
  place-items: center;
  border-radius: 50%;
  background: #20ae52;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
}

.testimonials-trust-grid h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: 1.18rem;
}

.testimonials-trust-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Review CTA */

.review-cta-section {
  padding: 92px 0;
  background: #ffffff;
}

.review-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  align-items: center;
  gap: 90px;
}

.review-cta-section h2 {
  max-width: 730px;
  margin: 0 0 18px;
  color: #29283d;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  letter-spacing: -0.035em;
  line-height: 1.13;
}

.review-cta-section p {
  max-width: 720px;
  margin: 0;
  color: #626573;
  line-height: 1.8;
}

.review-cta-card {
  padding: 34px;
  border: 1px solid #e4e3e9;
  border-radius: 22px;
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(32, 174, 82, 0.1),
      transparent 42%
    ),
    #ffffff;
  box-shadow: 0 18px 44px rgba(45, 39, 56, 0.1);
}

.review-cta-icon {
  display: grid;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 16px;
  background: #e1f6e7;
  color: #20ae52;
  font-size: 1.45rem;
}

.review-cta-card h3 {
  margin: 0 0 12px;
  color: #39254e;
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
}

.review-cta-card p {
  margin-bottom: 24px;
}

/* Main CTA */

.testimonials-cta {
  padding: 70px 0;
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 255, 255, 0.13),
      transparent 38%
    ),
    linear-gradient(
      120deg,
      #15863f,
      #20ae52
    );
}

.testimonials-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55px;
}

.testimonials-cta h2 {
  max-width: 790px;
  margin: 0 0 11px;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 3.7vw, 3.25rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.testimonials-cta p:not(.testimonials-eyebrow) {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.testimonials-white-button {
  flex-shrink: 0;
  border-color: #ffffff;
  background: #ffffff;
  color: #3f2854;
  box-shadow: none;
}

.testimonials-white-button:hover {
  border-color: #5b337d;
  background: #5b337d;
  color: #ffffff;
}

/* Responsive */

@media (max-width: 1050px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .testimonials-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .testimonials-hero-grid,
  .testimonials-intro-grid,
  .review-cta-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .testimonials-intro-grid > div:last-child {
    padding-top: 0;
  }

  .testimonials-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .testimonials-hero,
  .testimonials-intro,
  .testimonials-section,
  .testimonials-trust,
  .review-cta-section {
    padding: 68px 0;
  }

  .testimonials-hero-copy h1 {
    font-size: clamp(2.65rem, 12vw, 3.8rem);
  }

  .testimonials-hero-card {
    padding: 30px 25px;
  }

  .testimonials-grid,
  .testimonials-trust-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: auto;
  }

  .testimonials-cta {
    padding: 56px 0;
  }

  .testimonials-cta .button {
    width: 100%;
  }
}