.reference-reviews {
  width: min(1040px, calc(100% - 32px));
  min-height: 440px;
  margin-inline: auto;
  padding: 24px 0 32px;
}
.reference-reviews-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 268px;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 300px);
  align-items: center;
  gap: 30px;
  overflow: hidden;
  padding: 33px;
  border: 1px solid #ffffff17;
  border-radius: 24px;
  background: radial-gradient(ellipse at 100% 0, #ffb74d47, transparent 44%),
    radial-gradient(ellipse at 0 100%, #732bdc66, transparent 48%),
    linear-gradient(120deg, #241043, #3d1464 55%, #681a59);
  color: #fff;
}
.reference-reviews-hero::after {
  position: absolute;
  z-index: -1;
  right: -26px;
  bottom: -78px;
  width: 230px;
  height: 230px;
  background: #ffffff0e;
  clip-path: polygon(50% 0, 64% 32%, 100% 38%, 73% 63%, 80% 100%, 50% 82%, 19% 100%, 25% 63%, 0 38%, 36% 32%);
  content: "";
}
.reference-reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #39d5a821;
  color: #60e8bb;
  font-size: 12px;
  font-weight: 800;
}
.reference-reviews-badge > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #36d6a0;
}
.reference-reviews-hero h1 {
  margin: 0 0 12px;
  font: 900 clamp(30px, 4vw, 42px)/1.05 Inter, system-ui, sans-serif;
  letter-spacing: -.035em;
}
.reference-reviews-hero h1 span,
.reference-rating-summary > strong {
  background: linear-gradient(90deg, #ffe37d, #ffc732, #f283a8);
  background-clip: text;
  color: transparent;
}
.reference-reviews-hero p {
  max-width: 510px;
  margin: 0;
  color: #e0d3ef;
  font-size: 14px;
  line-height: 1.6;
}
.reference-reviews-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.reference-reviews-actions > :is(a, .reference-reviews-info) {
  padding: 6px 12px;
  border: 1px solid #ffffff26;
  border-radius: 12px;
  background: #ffffff19;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.reference-reviews-actions a:hover { background: #ffffff30; }
.reference-reviews-actions > :is(a, .reference-reviews-info) span { margin-inline-end: 3px; color: #ffd053; }

.reference-reviews-rating {
  min-height: 200px;
  padding: 16px 20px;
  border: 1px solid #dfb35059;
  border-radius: 20px;
  background: #251126aa;
  color: #efe4f9;
  font-size: 13px;
}
.reference-reviews-rating[hidden] { display: none; }
.reference-rating-summary { display: flex; align-items: center; gap: 12px; margin-bottom: 7px; }
.reference-rating-summary > strong {
  background-image: linear-gradient(#fff2ab, #ffc014 75%, #f4a421);
  font: 900 58px/1 Inter, system-ui, sans-serif;
  letter-spacing: -.045em;
}
.reference-rating-summary > div { display: grid; gap: 3px; }
.reference-rating-stars {
  background: linear-gradient(90deg, #ffc438 var(--rating-fill, 0%), #866d86 var(--rating-fill, 0%));
  background-clip: text;
  color: transparent;
  font-size: 22px;
  letter-spacing: 1px;
  line-height: 1;
}
.reference-rating-total { font-weight: 750; }
.reference-rating-distribution { display: grid; gap: 3px; margin: 0; padding: 0; list-style: none; }
.reference-rating-distribution li {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr) 43px;
  align-items: center;
  gap: 9px;
  color: #dfcfe1;
  font-size: 11px;
  font-weight: 750;
}
.reference-rating-distribution li > :last-child { text-align: end; }
.reference-rating-track { height: 6px; overflow: hidden; border-radius: 999px; background: #ffffff1c; }
.reference-rating-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #ffa400, #ffe58d); }

.reference-reviews-order {
  display: flex;
  min-height: 90px;
  align-items: center;
  gap: 15px;
  margin-top: 14px;
  padding: 14px 17px;
  border: 1px solid #af7a295f;
  border-radius: 16px;
  background: #211c18;
}
.reference-reviews-order-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  border-radius: 14px;
  background: #ffc13a24;
  color: #ffc13a;
  font-size: 23px;
}
.reference-reviews-order strong { color: #fff; font-size: 14px; font-weight: 850; }
.reference-reviews-order strong span { color: #ffc13a; }
.reference-reviews-order p { margin: 3px 0 0; color: #bdb5b8; font-size: 12.5px; line-height: 1.5; }
.reference-reviews-order a {
  flex: none;
  margin-inline-start: auto;
  border-radius: 999px;
  padding: 10px 21px;
  background: linear-gradient(100deg, #7c3aed, #dc3c9f);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.reference-reviews-order a span { margin-inline-end: 4px; }
.reference-reviews-order a:hover { background: #9e3cc9; }

.imported-reviews { margin: 22px 0 0; color: #f3eff8; }
.imported-reviews-status { margin: 0 0 14px; color: #bcb5c9; font-size: 14px; }
.imported-reviews-list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.imported-review {
  min-width: 0;
  padding: 17px 18px 14px;
  border: 1px solid #ffffff14;
  border-radius: 18px;
  background: #1e1c22;
}
.imported-review-heading { display: flex; align-items: center; gap: 12px; }
.imported-review-avatar {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #7c3aed, #dc3c9f);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
}
.imported-review:nth-child(3n + 2) .imported-review-avatar { background: linear-gradient(135deg, #225ed6, #0fb7bf); }
.imported-review:nth-child(3n) .imported-review-avatar { background: linear-gradient(135deg, #db3768, #d9683d); }
.imported-review h3 { margin: 0; color: #ede7f7; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.imported-review-score { display: block; color: #ffc245; font-size: 13px; line-height: 1.1; letter-spacing: .07em; }
.imported-review p { margin: 10px 0 0; color: #dfd9e9; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.imported-review-service {
  display: inline-block;
  margin-top: 10px;
  padding: 3px 10px;
  border: 1px solid #7348bb70;
  border-radius: 999px;
  background: #7034b330;
  color: #d5c3fa;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.2;
}
.imported-reviews-more {
  display: flex;
  width: fit-content;
  margin: 20px auto 0;
  gap: 8px;
  border: 1px solid #7348bb70;
  border-radius: 999px;
  color: #e2d4fa;
  background: #34214e;
}
.imported-reviews-more:hover { background: #563684; }
.imported-reviews-more[hidden] { display: none; }

@media (max-width: 680px) {
  .reference-reviews { width: 100%; padding-top: 16px; }
  .reference-reviews-hero { grid-template-columns: 1fr; align-content: space-between; gap: 18px; padding: 23px 17px; border-radius: 20px; }
  .reference-reviews-hero h1 { font-size: 30px; }
  .reference-reviews-rating { min-height: 210px; padding: 17px 20px; }
  .reference-rating-summary > strong { font-size: 48px; }
  .reference-rating-distribution { gap: 6px; }
  .reference-reviews-order { align-items: flex-start; flex-direction: column; gap: 10px; }
  .reference-reviews-order a { margin-inline-start: 0; }
  .imported-reviews { margin-inline: 12px; }
}
@media (360px <= width <= 420px) {
  .reference-reviews-hero { min-height: 526px; }
}
