.customer-reviews {
  width: 100%;
  padding: 118px 0 124px;
  background: var(--foam-paper);
}

.customer-reviews__inner {
  width: min(1200px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 2.18fr);
  gap: 54px;
}

.customer-reviews__intro > span {
  color: var(--action);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.customer-reviews__intro h2 {
  max-width: 410px;
  margin: 14px 0 0;
  font: 700 clamp(2.4rem, 4vw, 3.5rem)/1.02 Poppins, sans-serif;
  letter-spacing: -.04em;
}

.customer-reviews__intro p {
  max-width: 390px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.customer-reviews__rating {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.customer-reviews__rating > strong {
  font: 700 42px/1 Poppins, sans-serif;
  letter-spacing: -.045em;
}

.customer-reviews__rating div,
.customer-reviews__rating small { display: block; }
.customer-reviews__rating span { color: #e4a400; font-size: 17px; letter-spacing: .06em; }
.customer-reviews__rating small { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 700; }

.customer-reviews__google-link {
  width: fit-content;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--action);
  font-size: 13px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.customer-reviews__google-link:focus-visible { outline: 3px solid var(--sky); outline-offset: 5px; }

.customer-reviews__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.customer-review {
  min-width: 0;
  min-height: 390px;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.customer-review--blue { background: #edf6f8; }
.customer-review--green { background: #f0f5e9; }
.customer-review__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.customer-review__meta > span:first-child { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.customer-review__stars { color: #e4a400; font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
.customer-review blockquote { margin: 48px 0 0; font: 600 18px/1.55 Manrope, sans-serif; }
.customer-review footer { margin-top: auto; padding-top: 32px; display: flex; align-items: center; gap: 13px; border-top: 1px solid rgba(16, 24, 32, .14); }
.customer-review footer > span { width: 42px; height: 42px; display: grid; place-items: center; background: var(--carbon); color: var(--white); font-size: 11px; font-weight: 800; }
.customer-review footer div { min-width: 0; }
.customer-review footer strong,
.customer-review footer small { display: block; }
.customer-review footer strong { font: 700 12px/1.3 Poppins, sans-serif; }
.customer-review footer small { margin-top: 4px; color: #4f5a63; font-size: 11px; line-height: 1.4; }
@media (max-width: 1040px) {
  .customer-reviews__inner { width: min(100% - 40px, 760px); grid-template-columns: 1fr; gap: 42px; }
  .customer-reviews__intro { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 28px; }
  .customer-reviews__intro > span,
  .customer-reviews__intro h2,
  .customer-reviews__intro p { grid-column: 1; }
  .customer-reviews__rating,
  .customer-reviews__google-link { grid-column: 2; }
  .customer-reviews__rating { grid-row: 1 / span 2; align-self: end; margin-top: 0; }
  .customer-reviews__google-link { grid-row: 3; align-self: start; }
  .customer-reviews__list { grid-template-columns: 1fr; }
  .customer-review { min-height: 300px; }
  .customer-review blockquote { margin-top: 36px; font-size: 20px; }
}

@media (max-width: 620px) {
  .customer-reviews { padding: 82px 0 88px; }
  .customer-reviews__inner { width: calc(100% - 32px); gap: 32px; }
  .customer-reviews__intro { display: block; }
  .customer-reviews__intro h2 { font-size: clamp(2.35rem, 11.5vw, 3.15rem); }
  .customer-reviews__intro p { font-size: 15px; }
  .customer-reviews__rating { margin-top: 26px; }
  .customer-reviews__google-link { margin-top: 19px; }
  .customer-review { min-height: 330px; padding: 25px 22px 23px; }
  .customer-review blockquote { margin-top: 38px; font-size: 18px; }
}
