.rc-reviews {
  color: #dbe8ff;
  font-family: Montserrat, Arial, sans-serif;
}

.rc-reviews,
.rc-reviews * {
  box-sizing: border-box;
}

.rc-reviews__summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(53, 184, 255, .22);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 18%, rgba(0, 128, 255, .18), transparent 30%),
    linear-gradient(135deg, rgba(2, 12, 28, .94), rgba(1, 5, 13, .96));
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
}

.rc-reviews__eyebrow {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 10px;
  border: 1px solid rgba(53, 184, 255, .36);
  border-radius: 999px;
  color: #35b8ff;
  background: rgba(0, 99, 227, .12);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.rc-reviews h3,
.rc-reviews h4 {
  margin: 0 0 10px;
  color: #ffffff;
  font-weight: 850;
  line-height: 1.15;
}

.rc-reviews h3 {
  font-size: clamp(26px, 3vw, 38px);
}

.rc-reviews h4 {
  font-size: 22px;
}

.rc-reviews p {
  margin: 0;
  color: #b9c8df;
  line-height: 1.7;
}

.rc-reviews__score {
  min-width: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(255, 255, 255, .04);
  text-align: center;
}

.rc-reviews__score strong {
  display: block;
  color: #ffffff;
  font-size: 44px;
  line-height: 1;
}

.rc-reviews__score small {
  display: block;
  margin-top: 6px;
  color: #91a5c2;
  font-size: 12px;
}

.rc-stars {
  position: relative;
  display: inline-block;
  color: rgba(255, 255, 255, .18);
  font-size: 18px;
  line-height: 1;
  letter-spacing: 2px;
}

.rc-stars__base,
.rc-stars__fill {
  display: block;
  white-space: nowrap;
}

.rc-stars__fill {
  position: absolute;
  inset: 0 auto auto 0;
  overflow: hidden;
  color: #35b8ff;
  text-shadow: 0 0 14px rgba(53, 184, 255, .55);
}

.rc-reviews__list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.rc-review {
  padding: 22px;
  border: 1px solid rgba(53, 184, 255, .16);
  border-radius: 16px;
  background: rgba(4, 13, 27, .78);
}

.rc-review__head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
}

.rc-review__avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #0063e3, #35b8ff);
  font-weight: 900;
}

.rc-review__head strong {
  display: block;
  color: #ffffff;
}

.rc-review__head time {
  color: #8398b5;
  font-size: 12px;
}

.rc-review__stars {
  font-size: 14px;
}

.rc-review__content {
  color: #c8d7ef;
}

.rc-review__content p {
  color: inherit;
}

.rc-reviews__form {
  margin-top: 18px;
  padding: 24px;
  border: 1px solid rgba(53, 184, 255, .18);
  border-radius: 18px;
  background: rgba(255, 255, 255, .04);
}

.rc-reviews__form form {
  display: grid;
  gap: 14px;
}

.rc-reviews__form label {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-weight: 750;
}

.rc-reviews__form input,
.rc-reviews__form select,
.rc-reviews__form textarea {
  width: 100%;
  border: 1px solid rgba(53, 184, 255, .24);
  border-radius: 12px;
  background: rgba(2, 8, 18, .88);
  color: #ffffff;
  padding: 13px 14px;
  outline: none;
}

.rc-reviews__form input:focus,
.rc-reviews__form select:focus,
.rc-reviews__form textarea:focus {
  border-color: #35b8ff;
  box-shadow: 0 0 0 3px rgba(53, 184, 255, .16);
}

.rc-review-submit {
  justify-self: start;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0063e3, #35b8ff);
  color: #ffffff;
  padding: 13px 22px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 99, 227, .28);
}

.rc-review-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

@media (max-width: 767px) {
  .rc-reviews__summary,
  .rc-review__head {
    grid-template-columns: 1fr;
  }

  .rc-reviews__score {
    width: 100%;
    text-align: left;
  }

  .rc-review__stars {
    justify-self: start;
  }

  .rc-reviews__summary,
  .rc-review,
  .rc-reviews__form {
    padding: 20px;
    border-radius: 14px;
  }
}
