/* Customer photos and testimonials, matching the supplied second-fold reference. */
.before-after {
  padding: 36px 24px 53px;
  background: #ffedc6;
  color: #000;
  text-align: center;
}

.before-after-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.before-after-heading {
  margin-bottom: 32px;
}

.before-after-heading h2 {
  margin: 0 0 12px;
  color: #000;
  font: 800 44px/1.2 'Manrope', Arial, sans-serif;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.before-after-heading p {
  margin: 0;
  color: #000;
  font: 400 24px/1.28 'DM Sans', Arial, sans-serif;
}

.before-after-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.before-after-card {
  min-width: 0;
}

.before-after-image {
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid #fff;
  margin: 0 auto 21px;
}

.review-stars {
  display: block;
  width: fit-content;
  margin: 0 auto 4px;
  color: #f4a747;
  font: 400 17px/1.2 Arial, sans-serif;
  letter-spacing: -1px;
}

.review-stars .partial-star {
  display: inline-block;
  color: transparent;
  background: linear-gradient(90deg, #f4a747 50%, #c8d4db 50%);
  background-clip: text;
  -webkit-background-clip: text;
}

.before-after-name {
  margin: 0 0 18px;
  color: #000;
  font: 700 26px/1.05 'Lato', Arial, sans-serif;
  letter-spacing: -0.4px;
}

.before-after-quote {
  margin: 0;
  color: #000;
  font: 400 20px/1.38 'Lato', Arial, sans-serif;
}

.before-after-cta {
  margin-top: 50px;
}

.before-after-cta .button {
  min-height: 58px;
  max-width: 100%;
  padding: 15px 35px;
  gap: 12px;
  border-radius: 5px;
  background: #00b36c;
  color: #fff;
  box-shadow: none;
  font: 700 20px/1.25 'Lato', Arial, sans-serif;
  letter-spacing: 0;
  text-align: center;
}

.before-after-cta .button:hover {
  background: #00985c;
}

.before-after-cta .button span {
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 1000px) {
  .before-after {
    padding: 40px 24px 48px;
  }

  .before-after-heading h2 {
    font-size: 38px;
  }

  .before-after-heading p {
    font-size: 22px;
    line-height: 1.4;
  }

  .before-after-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 28px;
    max-width: 680px;
    margin: 0 auto;
  }

  .before-after-name {
    margin-bottom: 12px;
    line-height: 1.15;
  }

  .before-after-quote {
    line-height: 1.25;
  }
}

@media (max-width: 560px) {
  .before-after {
    padding: 36px 20px 40px;
  }

  .before-after-heading {
    margin-bottom: 28px;
  }

  .before-after-heading h2 {
    font-size: 32px;
    line-height: 1.15;
  }

  .before-after-heading p {
    font-size: 20px;
  }

  .before-after-heading p br {
    display: none;
  }

  .before-after-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 350px;
    gap: 36px;
  }

  .before-after-image {
    margin-bottom: 17px;
  }

  .before-after-name {
    font-size: 26px;
  }

  .before-after-cta {
    margin-top: 34px;
  }

  .before-after-cta .button {
    padding: 16px 18px;
    font-size: 18px;
  }
}
