/* David Coating Services — customer feedback section */
.reviews-section{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:88px 0 92px;
  background:#0b0b0b;
  color:#fff;
}
.reviews-section::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(7,7,7,.96),rgba(7,7,7,.86) 52%,rgba(7,7,7,.74)),
    url("images/exterior-cladding-2.jpg") center 46%/cover no-repeat;
  transform:scale(1.02);
}
.reviews-section::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:linear-gradient(180deg,rgba(216,173,56,.07),transparent 38%,rgba(0,0,0,.2));
  pointer-events:none;
}
.reviews-section .container{position:relative;z-index:1}
.reviews-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:30px;
}
.reviews-heading h2{
  max-width:900px;
  margin:0;
  color:#fff;
  font-size:clamp(36px,4.4vw,58px);
  line-height:1.02;
  letter-spacing:-.045em;
}
.reviews-heading p:not(.eyebrow){
  max-width:700px;
  margin:14px 0 0;
  color:#d5d5d5;
  font-size:17px;
}
.reviews-quote-btn,
.google-review-primary{
  flex:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 21px;
  border:2px solid var(--gold,#d8ad38);
  border-radius:999px;
  background:var(--gold,#d8ad38);
  color:#111;
  font-weight:900;
  line-height:1.2;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease;
}
.reviews-quote-btn:hover,
.google-review-primary:hover{
  transform:translateY(-1px);
  background:#e1b947;
  box-shadow:0 10px 28px rgba(216,173,56,.28);
}
.reviews-quote-btn:focus-visible,
.google-review-primary:focus-visible,
.review-card-link:focus-visible{
  outline:3px solid #fff;
  outline-offset:3px;
}
.google-rating-summary{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:22px;
  padding:20px 22px;
  border:1px solid rgba(255,255,255,.7);
  border-radius:18px;
  background:rgba(255,255,255,.98);
  color:#171717;
  box-shadow:0 20px 55px rgba(0,0,0,.28);
}
.google-rating-summary p{margin:6px 0 0;color:#525252;font-size:16px}
.google-rating-summary .review-stars{margin:0}
.google-reviews-mark{
  width:58px;
  height:58px;
  flex:none;
  display:grid;
  place-items:center;
  border:1px solid #ececec;
  border-radius:15px;
  background:#fff;
  color:#4285f4;
  box-shadow:0 7px 20px rgba(0,0,0,.09);
  font:900 31px/1 Arial,sans-serif;
}
.review-stars{
  margin-bottom:10px;
  color:#fbbc04;
  font-size:23px;
  letter-spacing:2px;
  line-height:1;
}
.customer-review-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
  margin-top:22px;
}
.customer-review-card{
  position:relative;
  min-width:0;
  display:flex;
  flex-direction:column;
  padding:24px;
  border:1px solid rgba(255,255,255,.82);
  border-radius:18px;
  background:rgba(255,255,255,.98);
  color:#1b1b1b;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
  transition:transform .2s ease,box-shadow .2s ease;
}
.customer-review-card:hover{
  transform:translateY(-3px);
  box-shadow:0 25px 58px rgba(0,0,0,.32);
}
.customer-review-card::before{
  content:"“";
  position:absolute;
  top:8px;
  right:17px;
  color:rgba(216,173,56,.25);
  font:900 72px/1 Georgia,serif;
  pointer-events:none;
}
.review-card-top{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:18px;
  padding-right:34px;
}
.review-card-top h3{margin:0;color:#171717;font-size:18px;line-height:1.25}
.review-card-top span{display:block;margin-top:3px;color:#747474;font-size:13px}
.review-avatar{
  width:46px;
  height:46px;
  flex:none;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#1f5da8;
  color:#fff;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
  font-size:19px;
  font-weight:900;
}
.customer-review-card:nth-child(2) .review-avatar{background:#d46b1f}
.customer-review-card:nth-child(3) .review-avatar{background:#765849}
.customer-review-card blockquote{
  display:-webkit-box;
  overflow:hidden;
  min-height:156px;
  margin:10px 0 18px;
  color:#353535;
  font-size:15px;
  line-height:1.62;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:6;
}
.review-card-link{
  width:max-content;
  margin-top:auto;
  color:#72550a;
  font-size:14px;
  font-weight:900;
  text-decoration:underline;
  text-decoration-color:rgba(114,85,10,.35);
  text-underline-offset:4px;
}
.review-card-link:hover{color:#9b710a;text-decoration-color:currentColor}
@media(max-width:1000px){
  .customer-review-grid{
    display:flex;
    overflow-x:auto;
    gap:16px;
    padding:2px 2px 16px;
    scroll-snap-type:x mandatory;
    scrollbar-width:thin;
    scrollbar-color:var(--gold,#d8ad38) rgba(255,255,255,.2);
  }
  .customer-review-card{
    flex:0 0 min(72vw,390px);
    scroll-snap-align:start;
  }
}
@media(max-width:700px){
  .reviews-section{padding:68px 0 72px}
  .reviews-heading{display:block;margin-bottom:24px}
  .reviews-heading h2{font-size:clamp(34px,10vw,46px)}
  .reviews-quote-btn{margin-top:20px}
  .google-rating-summary{
    grid-template-columns:auto minmax(0,1fr);
    gap:15px;
    padding:18px;
    border-radius:16px;
  }
  .google-rating-summary .google-review-primary{grid-column:1/-1;width:100%}
  .google-reviews-mark{width:52px;height:52px;font-size:28px}
  .review-stars{font-size:21px;letter-spacing:1px}
  .customer-review-card{flex-basis:min(86vw,345px);padding:22px;border-radius:16px}
  .customer-review-card blockquote{min-height:150px}
}
@media(prefers-reduced-motion:reduce){
  .reviews-quote-btn,
  .google-review-primary,
  .customer-review-card{transition:none}
}
