/* =========================================================
   TESTIMONIALS — GOOGLE-STYLE SLIDER (premium, consistent)
   ========================================================= */

.cm-section.testimonials{
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 5vw, 86px) 0;
  background: linear-gradient(180deg, #F7F8FC 0%, #EEF2F9 100%);
}
.cm-section.testimonials::before{
  content:"";
  position:absolute;
  inset:-210px -180px -240px -180px;
  background:
    radial-gradient(980px 560px at 22% 18%, rgba(244,180,0,.14), transparent 62%),
    radial-gradient(860px 540px at 82% 18%, rgba(11,18,32,.10), transparent 62%),
    radial-gradient(980px 620px at 50% 112%, rgba(244,180,0,.08), transparent 60%);
  pointer-events:none;
  z-index:0;
}
.cm-section.testimonials::after{
  content:"";
  position:absolute;
  left:0; right:0;
  top:0;
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(11,18,32,.14), transparent);
  z-index:0;
}
.cm-section.testimonials .container{ position:relative; z-index:1; }

.testi-head{ max-width: 920px; }

/* Shell */
.reviews-shell{
  margin-top: 18px;
  border-radius: 28px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  padding: 14px;
}

/* Top bar */
.reviews-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 6px 6px 12px;
}

.reviews-brand{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
}
.gdot{
  width:10px; height:10px; border-radius:999px; display:inline-block;
}
.g1{ background:#4285F4; } .g2{ background:#EA4335; } .g3{ background:#FBBC05; } .g4{ background:#34A853; }
.gtext{
  font-weight: 900;
  letter-spacing: -.2px;
  color: rgba(11,18,32,.92);
}
.gchip{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(11,18,32,.03);
  border: 1px solid rgba(11,18,32,.08);
  color: rgba(11,18,32,.72);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .35px;
}

.reviews-actions{
  display:flex;
  gap: 10px;
}
.rbtn{
  width: 44px;
  height: 44px;
  border-radius: 16px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.90);
  box-shadow: 0 14px 32px rgba(11,18,32,.08);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.rbtn i{ color: rgba(11,18,32,.74); }
.rbtn:hover{
  transform: translateY(-1px);
  border-color: rgba(244,180,0,.28);
  box-shadow: 0 18px 44px rgba(11,18,32,.10);
}

/* Viewport + track */
.reviews-viewport{
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(11,18,32,.08);
  background: rgba(246,247,251,1);
}
.reviews-track{
  display:flex;
  gap: 12px;
  padding: 12px;
  transform: translateX(0);
  transition: transform .35s ease;
  will-change: transform;
}

/* Card */
.review-card{
  flex: 0 0 calc(33.333% - 8px);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(11,18,32,.10);
  box-shadow: var(--shadow1);
  padding: 14px;
  display:flex;
  flex-direction:column;
  min-height: 240px;
}
.review-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.review-user{
  display:flex;
  align-items:center;
  gap: 10px;
}
.review-avatar{
  width: 40px; height: 40px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(244,180,0,.14);
  border: 1px solid rgba(244,180,0,.22);
  color: rgba(11,18,32,.92);
  font-weight: 900;
}
.review-name{
  font-weight: 900;
  color: rgba(11,18,32,.94);
  letter-spacing: -.2px;
}
.review-sub{
  margin-top: 2px;
  color: rgba(11,18,32,.66);
  font-weight: 650;
  font-size: 13.25px;
}
.review-google{
  width: 38px; height: 38px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background: rgba(11,18,32,.03);
  border: 1px solid rgba(11,18,32,.08);
}
.review-google i{ color: #4285F4; font-size: 18px; }

.review-stars{
  margin-top: 10px;
  display:flex;
  align-items:center;
  gap: 6px;
}
.review-stars i{
  color: rgba(244,180,0,.95);
  font-size: 14px;
}
.review-time{
  margin-left: 8px;
  color: rgba(11,18,32,.56);
  font-weight: 700;
  font-size: 12.5px;
}

.review-text{
  margin: 10px 0 0;
  color: rgba(11,18,32,.78);
  font-size: 14.75px;
  line-height: 1.75;
  font-weight: 650;
}
.review-text strong{ color: rgba(11,18,32,.92); font-weight: 900; }

.review-tags{
  margin-top: auto;
  padding-top: 10px;
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}

/* Dots */
.reviews-dots{
  display:flex;
  justify-content:center;
  gap: 8px;
  padding: 12px 6px 6px;
}
.reviews-dots button{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(11,18,32,.18);
  cursor:pointer;
  transition: transform .12s ease, background .12s ease, width .12s ease;
}
.reviews-dots button.is-active{
  background: rgba(244,180,0,.90);
  width: 22px;
}

/* CTA strip */
.reviews-cta{
  margin-top: 10px;
  border-radius: 22px;
  border: 1px solid rgba(11,18,32,.10);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow1);
  padding: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}
.reviews-cta__text{
  color: rgba(11,18,32,.70);
  font-weight: 650;
  line-height: 1.6;
}
.reviews-cta__actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.reviews-cta__actions .btn{
  height: 48px;
  border-radius: 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 0 16px;
  box-shadow: 0 16px 36px rgba(12,16,23,.10);
}

/* Responsive */
@media (max-width: 991px){
  .review-card{ flex-basis: calc(50% - 6px); }
}
@media (max-width: 560px){
  .reviews-top{ flex-direction:column; align-items:flex-start; }
  .reviews-actions{ width:100%; justify-content:flex-end; }
  .review-card{ flex-basis: 100%; }
  .reviews-cta{ flex-direction:column; align-items:stretch; }
  .reviews-cta__actions .btn{ width:100%; }
}
